@smals-belgium-shared/vidis-medication-scheme-list 3.0.1 → 3.0.2-snapshot.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,74 @@
1
+ var jne=Object.defineProperty;var db=e=>{throw TypeError(e)};var Hne=(e,t,n)=>t in e?jne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var o=(e,t,n)=>Hne(e,typeof t!="symbol"?t+"":t,n),ub=(e,t,n)=>t.has(e)||db("Cannot "+n);var kn=(e,t,n)=>(ub(e,t,"read from private field"),n?n.call(e):t.get(e)),hb=(e,t,n)=>t.has(e)?db("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),pb=(e,t,n,a)=>(ub(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n);var Une=Object.create,qd=Object.defineProperty,Wne=Object.defineProperties,qne=Object.getOwnPropertyDescriptor,$ne=Object.getOwnPropertyDescriptors,Yne=Object.getOwnPropertyNames,nd=Object.getOwnPropertySymbols,Gne=Object.getPrototypeOf,Fm=Object.prototype.hasOwnProperty,z0=Object.prototype.propertyIsEnumerable,mb=(e,t,n)=>t in e?qd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ge=(e,t)=>{for(var n in t||(t={}))Fm.call(t,n)&&mb(e,n,t[n]);if(nd)for(var n of nd(t))z0.call(t,n)&&mb(e,n,t[n]);return e},yt=(e,t)=>Wne(e,$ne(t)),Zne=(e,t)=>{var n={};for(var a in e)Fm.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&nd)for(var a of nd(e))t.indexOf(a)<0&&z0.call(e,a)&&(n[a]=e[a]);return n},Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ve=(e,t)=>{for(var n in t)qd(e,n,{get:t[n],enumerable:!0})},Kne=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Yne(t))!Fm.call(e,i)&&i!==n&&qd(e,i,{get:()=>t[i],enumerable:!(a=qne(t,i))||a.enumerable});return e},B0=(e,t,n)=>(n=e!=null?Une(Gne(e)):{},Kne(t||!e||!e.__esModule?qd(n,"default",{value:e,enumerable:!0}):n,e)),_a=(e,t,n)=>new Promise((a,i)=>{var r=c=>{try{l(n.next(c))}catch(d){i(d)}},s=c=>{try{l(n.throw(c))}catch(d){i(d)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(r,s);l((n=n.apply(e,t)).next())}),Qne=Ae((e,t)=>{(function(n,a){typeof e=="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):(n=typeof globalThis<"u"?globalThis:n||self,n.MessageFormat=a())})(e,function(){var n=function(){return n=Object.assign||function(m){for(var f,v=1,y=arguments.length;v<y;v++){f=arguments[v];for(var x in f)Object.prototype.hasOwnProperty.call(f,x)&&(m[x]=f[x])}return m},n.apply(this,arguments)};function a(m){var f=typeof Symbol=="function"&&Symbol.iterator,v=f&&m[f],y=0;if(v)return v.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&y>=m.length&&(m=void 0),{value:m&&m[y++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(m,f){var v=typeof Symbol=="function"&&m[Symbol.iterator];if(!v)return m;var y=v.call(m),x,C=[],A;try{for(;(f===void 0||f-- >0)&&!(x=y.next()).done;)C.push(x.value)}catch(M){A={error:M}}finally{try{x&&!x.done&&(v=y.return)&&v.call(y)}finally{if(A)throw A.error}}return C}function r(m,f,v){if(arguments.length===2)for(var y=0,x=f.length,C;y<x;y++)(C||!(y in f))&&(C||(C=Array.prototype.slice.call(f,0,y)),C[y]=f[y]);return m.concat(C||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class s extends Error{constructor(f,v,y){super(f),this.token=v,this.type=y||"error"}}let l=m=>m<4?"short":m===4?"long":"narrow",c=m=>m%2===0?"2-digit":"numeric";function d(m,f){switch(m.char){case"y":return{year:c(m.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${m.desc} is not supported; falling back to year:numeric`,s.WARNING),{year:"numeric"}}}function u(m,f){switch(m.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${m.desc} is not supported with width ${m.width}`);return}}function p(m,f){let{char:v,desc:y,width:x}=m;if(v==="d")return c(x);f(`${y} is not supported`)}function b(m,f){let{char:v,desc:y,width:x}=m;if((v==="c"||v==="e")&&x<3){let C=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(C,s.WARNING)}return l(x)}function g(m){let f=c(m.width),v;switch(m.char){case"h":v="h12";break;case"H":v="h23";break;case"k":v="h24";break;case"K":v="h11";break}return v?{hour:f,hourCycle:v}:{hour:f}}function w(m,f){let{char:v,desc:y,width:x}=m;switch(v){case"v":case"z":return x===4?"long":"short";case"V":if(x===4)return"long";f(`${y} is not supported with width ${x}`);return;case"X":f(`${y} is not supported`);return}return"short"}function k(m,f){switch(m.field){case"era":return{era:l(m.width)};case"year":return d(m,f);case"month":return{month:u(m,f)};case"day":return{day:p(m,f)};case"weekday":return{weekday:b(m,f)};case"period":return;case"hour":return g(m);case"min":return{minute:c(m.width)};case"sec":return{second:c(m.width)};case"tz":return{timeZoneName:w(m,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${m.desc} is not supported`)}}function E(m,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:C=>{throw C},y={timeZone:f},x=[];for(let C of m){let{error:A,field:M,str:F}=C;if(A){let De=new s(A.message,C);De.stack=A.stack,v(De)}if(F){let De=`Ignoring string part: ${F}`;v(new s(De,C,s.WARNING))}M&&(x.indexOf(M)===-1?x.push(M):v(new s(`Duplicate ${M} token`,C)));let K=k(C,(De,Ve)=>v(new s(De,C,Ve)));K&&Object.assign(y,K)}return y}let O={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},B=m=>m>="A"&&m<="Z"||m>="a"&&m<="z";function j(m,f){let v=m[f],y=1;for(;m[++f]===v;)++y;let x=O[v];if(!x){let C=`The letter ${v} is not a valid field identifier`;return{char:v,error:new Error(C),width:y}}return{char:v,field:x.field,desc:x.desc,width:y}}function fe(m,f){let v=m[++f],y=2;if(v==="'")return{char:"'",str:v,width:y};for(;;){let x=m[++f];if(++y,x===void 0){let C=`Unterminated quoted literal in pattern: ${v||m}`;return{char:"'",error:new Error(C),str:v,width:y}}else if(x==="'"){if(m[++f]!=="'")return{char:"'",str:v,width:y};++y}v+=x}}function Pe(m,f){let v=m[f];if(!v)return null;if(B(v))return j(m,f);if(v==="'")return fe(m,f);let y=v,x=1;for(;;){let C=m[++f];if(!C||B(C)||C==="'")return{char:v,str:y,width:x};y+=C,x+=1}}function He(m){let f=[],v=0;for(;;){let y=Pe(m,v);if(!y)return f;f.push(y),v+=y.width}}function ba(m,f,v,y){typeof f=="string"&&(f=He(f)),typeof v=="function"&&(y=v,v=void 0);let x=E(f,v,y),C=new Intl.DateTimeFormat(m,x);return A=>C.format(A)}function Qt(m,f,v,y){typeof f=="string"&&(f=He(f)),typeof v=="function"&&(y=v,v=void 0);let x=E(f,v,y);return["(function() {",`var opt = ${JSON.stringify(x)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(m)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
2
+ `)+`
3
+ })()`}class Tt extends Error{constructor(f,v){super(v),this.code=f}}class oa extends Tt{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class me extends Tt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class ne extends Tt{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class qe extends Tt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class $ extends Tt{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class Q extends Tt{constructor(f,v,y){let x=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${x} (got ${v.length})`),this.stem=f,this.options=v}}function le(m,f){let{numberingSystem:v}=f;return Array.isArray(m)||(m=[m]),v?m.map(y=>{let x=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${x}-${v}`}).concat(m):m}function Qe(m,f){let v=+m+f/2;return v-v%+f}function St(m){let{scale:f,unit:v}=m,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Pa(m){let f=St(m),{precision:v}=m;return v&&v.style==="precision-increment"?y=>Qe(y,v.increment)*f:y=>y*f}function it(m){let f=St(m),{precision:v}=m;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,x=`x - (x % +${v.increment})`;return f!==1&&(x=`(${x}) * ${f}`),`function(n) { var x = ${y}; return ${x}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function lt(m,f){let{decimal:v,group:y,integerWidth:x,notation:C,precision:A,roundingMode:M,sign:F,unit:K,unitPer:De,unitWidth:Ve}=m,Je=(Mt,Xt)=>{},de={};if(K)switch(K.style){case"base-unit":de.style="decimal";break;case"currency":de.style="currency",de.currency=K.currency;break;case"measure-unit":de.style="unit",de.unit=K.unit.replace(/.*-/,""),De&&(de.unit+="-per-"+De.replace(/.*-/,""));break;case"percent":de.style="percent";break}switch(Ve){case"unit-width-full-name":de.currencyDisplay="name",de.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":de.currencyDisplay="code";break;case"unit-width-narrow":de.currencyDisplay="narrowSymbol",de.unitDisplay="narrow";break;case"unit-width-short":de.currencyDisplay="symbol",de.unitDisplay="short";break}switch(y){case"group-off":de.useGrouping=!1;break;case"group-auto":de.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":de.useGrouping=!0;break}if(A)switch(A.style){case"precision-fraction":{let{minFraction:Mt,maxFraction:Xt,minSignificant:ya,maxSignificant:Ua,source:Ti}=A;typeof Mt=="number"&&(de.minimumFractionDigits=Mt,typeof ya=="number"&&Je()),typeof Xt=="number"&&(de.maximumFractionDigits=Xt),typeof ya=="number"&&(de.minimumSignificantDigits=ya),typeof Ua=="number"&&(de.maximumSignificantDigits=Ua);break}case"precision-integer":de.maximumFractionDigits=0;break;case"precision-unlimited":de.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":de.trailingZeroDisplay=A.trailingZero;break;case"precision-currency-cash":Je(A.style);break}if(C)switch(C.style){case"compact-short":de.notation="compact",de.compactDisplay="short";break;case"compact-long":de.notation="compact",de.compactDisplay="long";break;case"notation-simple":de.notation="standard";break;case"scientific":case"engineering":{let{expDigits:Mt,expSign:Xt,source:ya,style:Ua}=C;de.notation=Ua;break}}if(x){let{min:Mt,max:Xt,source:ya}=x;if(Mt>0&&(de.minimumIntegerDigits=Mt),Number(Xt)>0){let Ua=de.notation==="engineering"||de.notation==="scientific";Xt===3&&Ua?de.notation="engineering":Je()}}switch(F){case"sign-auto":de.signDisplay="auto";break;case"sign-always":de.signDisplay="always";break;case"sign-except-zero":de.signDisplay="exceptZero";break;case"sign-never":de.signDisplay="never";break;case"sign-accounting":de.currencySign="accounting";break;case"sign-accounting-always":de.currencySign="accounting",de.signDisplay="always";break;case"sign-accounting-except-zero":de.currencySign="accounting",de.signDisplay="exceptZero";break}return de}function Bt(m,f,v){let y=m[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let x=1;for(;m[++f]==="¤";)++x;switch(x){case 1:return{char:y,currency:"default",width:x};case 2:return{char:y,currency:"iso-code",width:x};case 3:return{char:y,currency:"full-name",width:x};case 5:return{char:y,currency:"narrow",width:x};default:{let C=`Invalid number (${x}) of ¤ chars in pattern`;return v(new $("¤",C)),null}}}case"*":{let x=m[f+1];if(x)return{char:y,pad:x,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let x=m[++f],C=2;if(x==="'")return{char:y,str:x,width:C};for(;;){let A=m[++f];if(++C,A===void 0){let M=`Unterminated quoted literal in pattern: ${x}`;return v(new $("'",M)),{char:y,str:x,width:C}}else if(A==="'"){if(m[++f]!=="'")return{char:y,str:x,width:C};++C}x+=A}}}return null}let Ai=m=>m>="0"&&m<="9";function Ot(m,f){let v=m[f];if(Ai(v)){let y=v;for(;;){let x=m[++f];if(Ai(x))y+=x;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;m[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;m[++f]==="@";)++y;let x=y;for(f-=1;m[++f]==="#";)++x;return{char:v,min:y,width:x}}case"E":{let y=m[f+1]==="+";y&&++f;let x=0;for(;m[++f]==="0";)++x;let C=(y?2:1)+x;if(x)return{char:v,expDigits:x,plus:y,width:C};break}case".":case",":return{char:v,width:1}}return null}function Na(m,f,v){let y;(function(K){K[K.Prefix=0]="Prefix",K[K.Number=1]="Number",K[K.Suffix=2]="Suffix"})(y||(y={}));let x=[],C=[],A=[],M=y.Prefix,F="";for(;f<m.length;){let K=m[f];if(K===";"){f+=1;break}switch(M){case y.Prefix:{let De=Bt(m,f,v);if(De)F&&(x.push({char:"'",str:F,width:F.length}),F=""),x.push(De),f+=De.width;else{let Ve=Ot(m,f);Ve?(F&&(x.push({char:"'",str:F,width:F.length}),F=""),M=y.Number,C.push(Ve),f+=Ve.width):(F+=K,f+=1)}break}case y.Number:{let De=Ot(m,f);De?(C.push(De),f+=De.width):M=y.Suffix;break}case y.Suffix:{let De=Bt(m,f,v);De?(F&&(A.push({char:"'",str:F,width:F.length}),F=""),A.push(De),f+=De.width):(F+=K,f+=1);break}}}return F&&A.push({char:"'",str:F,width:F.length}),{pattern:{prefix:x,number:C,suffix:A},pos:f}}function va(m,f){let{pattern:v,pos:y}=Na(m,0,f);if(y<m.length){let{pattern:x}=Na(m,y,f);return{tokens:v,negative:x}}return{tokens:v}}function Hi(m,f){let v={},y=!1,x=!1,C=0,A="",M=-1,F="",K=0;for(let Ve=0;Ve<m.length;++Ve){let Je=m[Ve];switch(Je.char){case"#":{if(M===-1){if(A){let de="Pattern has # after integer digits";f(new $("#",de))}C+=Je.width}else K+=Je.width;break}case"0":{if(M===-1)A+=Je.digits;else{if(K){let de="Pattern has digits after # in fraction";f(new $("0",de))}F+=Je.digits}break}case"@":{v.precision&&f(new ne("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:Je.min,maxSignificant:Je.width};break}case",":y=!0;break;case".":if(M===1){let de="Pattern has more than one decimal separator";f(new $(".",de))}M=Ve;break;case"E":{if(x&&f(new ne("exponent",v.notation)),y){let de="Exponential patterns may not contain grouping separators";f(new $("E",de))}v.notation={style:"scientific"},Je.expDigits>1&&(v.notation.expDigits=Je.expDigits),Je.plus&&(v.notation.expSign="sign-always"),x=!0}}}y?v.group="group-auto":C+A.length>3&&(v.group="group-off");let De=+`${A||"0"}.${F}`;if(De&&(v.precision={style:"precision-increment",increment:De}),!x)A.length>1&&(v.integerWidth={min:A.length}),!v.precision&&(F.length||K)&&(v.precision={style:"precision-fraction",minFraction:F.length,maxFraction:F.length+K});else if((!v.precision||De)&&(v.integerWidth=C?{min:1,max:C+A.length}:{min:Math.max(1,A.length)}),v.precision)De||(v.integerWidth={min:1,max:1});else{let Ve=A.length+F.length;M===-1?Ve>0&&(v.precision={style:"precision-fraction",maxSignificant:Ve}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,Ve)+K},Ve>1&&(v.precision.minSignificant=Ve))}return v}function Hn(m,f,v,y,x){let C=!1,A="";for(let M of m)switch(M.char){case"%":f.unit={style:M.style},x?C=!0:A="";break;case"¤":if(!v){let F="The ¤ pattern requires a currency";y(new $("¤",F));break}switch(f.unit={style:"currency",currency:v},M.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}x?C=!0:A="";break;case"*":break;case"+":C||(A+="+");break;case"'":C||(A+=M.str);break}return A}function Xl(m,f){let v=!1,y="";for(let x of m)switch(x.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=x.str);break}return y}function Jl(m,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:F=>{throw F},{tokens:y,negative:x}=va(m,v),C=Hi(y.number,v),A=Hn(y.prefix,C,f,v,!0),M=Hn(y.suffix,C,f,v,!1);if(x){let F=Xl(x.prefix,!0),K=Xl(x.suffix,!1);C.affix={pos:[A,M],neg:[F,K]},C.sign="sign-never"}else(A||M)&&(C.affix={pos:[A,M]});return C}function Jie(m){return["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(m)!==-1}function Xg(m){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=m.split("-",1);return f.indexOf(v)!==-1}let Jg={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},eb={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function ene(m){return m in Jg}function tne(m){return m in eb}function ane(m,f,v){if(ene(m)){let y=Jg[m];if(f.length>y){if(y===0)for(let x of f)v(new oa(m,x));else v(new Q(m,f,y));return!1}else if(tne(m)&&f.length<eb[m])return v(new qe(m)),!1}return!0}function Gu(m,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=m&&m.match(v);if(y){let x=y[1].length;switch(y[2].charAt(0)){case"":return{min:x,max:x};case"+":return{min:x,max:null};case"#":return{min:x,max:x+y[2].length}}}return null}function ine(m,f,v){let y=Gu(m,"fraction");if(y){f.length>1&&v(new Q(m,f,1));let C={style:"precision-fraction",source:m,minFraction:y.min};y.max!=null&&(C.maxFraction=y.max);let A=f[0],M=Gu(A,"significant");return M?(C.source=`${m}/${A}`,C.minSignificant=M.min,M.max!=null&&(C.maxSignificant=M.max)):A&&v(new oa(m,A)),C}let x=Gu(m,"significant");if(x){for(let A of f)v(new oa(m,A));let C={style:"precision-fraction",source:m,minSignificant:x.min};return x.max!=null&&(C.maxSignificant=x.max),C}return null}class nne{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new oa(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new ne(f,v))}parseToken(f,v){if(!ane(f,v,this.onError))return;let y=v[0],x=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),x.notation={style:f};break;case"scientific":case"engineering":{let C=null,A;for(let F of v)switch(F){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":A=F;break;default:/^\+e+$/.test(F)?C=F.length-1:this.badOption(f,F)}this.assertEmpty("notation");let M=v.join("/");x.notation=C&&A?{style:f,source:M,expDigits:C,expSign:A}:C?{style:f,source:M,expDigits:C}:A?{style:f,source:M,expSign:A}:{style:f,source:M};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),x.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),x.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{Xg(y)?(this.assertEmpty("unit"),x.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{Xg(y)?(this.assertEmpty("unitPer"),x.unitPer=y):this.badOption(f,y);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),x.unitWidth=f;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),x.precision={style:f};break;case"precision-currency-standard":this.assertEmpty("precision"),y==="w"?x.precision={style:f,trailingZero:"stripIfInteger"}:x.precision={style:f};break;case"precision-increment":{let C=Number(y);C>0?(this.assertEmpty("precision"),x.precision={style:f,increment:C}):this.badOption(f,y);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),x.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(y))this.assertEmpty("integerWidth"),x.integerWidth={source:y,min:y.length-1};else{let C=y.match(/^#*(0*)$/);C?(this.assertEmpty("integerWidth"),x.integerWidth={source:y,min:C[1].length,max:C[0].length}):this.badOption(f,y)}break}case"scale":{let C=Number(y);C>0?(this.assertEmpty("scale"),x.scale=C):this.badOption(f,y);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),x.group=f;break;case"latin":this.assertEmpty("numberingSystem"),x.numberingSystem="latn";break;case"numbering-system":{Jie(y)?(this.assertEmpty("numberingSystem"),x.numberingSystem=y):this.badOption(f,y);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),x.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),x.decimal=f;break;default:{let C=ine(f,v,this.onError);C?(this.assertEmpty("precision"),x.precision=C):this.onError(new me(f))}}}}function tb(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x=>{throw x},v=[];for(let x of m.split(" "))if(x){let C=x.split("/"),A=C.shift()||"";v.push({stem:A,options:C})}let y=new nne(f);for(let{stem:x,options:C}of v)y.parseToken(x,C);return y.skeleton}function rne(m,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?tb(f.slice(2),y):Jl(f,v,y));let x=le(m,f),C=lt(f),A=Pa(f),M=new Intl.NumberFormat(x,C);if(f.affix){let[F,K]=f.affix.pos,[De,Ve]=f.affix.neg||["",""];return Je=>{let de=M.format(A(Je));return Je<0?`${De}${de}${Ve}`:`${F}${de}${K}`}}return F=>M.format(A(F))}function one(m,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?tb(f.slice(2),y):Jl(f,v,y));let x=le(m,f),C=lt(f),A=it(f),M=["(function() {",`var opt = ${JSON.stringify(C)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(x)}, opt);`],F="nf.format(value)";if(A&&(M.push(`var mod = ${A};`),F="nf.format(mod(value))"),f.affix){let[K,De]=f.affix.pos.map(Ve=>JSON.stringify(Ve));if(f.affix.neg){let[Ve,Je]=f.affix.neg.map(de=>JSON.stringify(de));F=`value < 0 ? ${Ve} + ${F} + ${Je} : ${K} + ${F} + ${De}`}else F=`${K} + ${F} + ${De}`}return M.push(`return function(value) { return ${F}; }`),M.join(`
4
+ `)+`
5
+ })()`}var Zu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sne(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var bs={},ab={},ib={exports:{}};(function(m){(function(f,v){m.exports?m.exports=v():f.moo=v()})(Zu,function(){var f=Object.prototype.hasOwnProperty,v=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function x(H){return H&&v.call(H)==="[object RegExp]"}function C(H){return H&&typeof H=="object"&&!x(H)&&!Array.isArray(H)}function A(H){return H.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function M(H){var ae=new RegExp("|"+H);return ae.exec("").length-1}function F(H){return"("+H+")"}function K(H){if(!H.length)return"(?!)";var ae=H.map(function(we){return"(?:"+we+")"}).join("|");return"(?:"+ae+")"}function De(H){if(typeof H=="string")return"(?:"+A(H)+")";if(x(H)){if(H.ignoreCase)throw new Error("RegExp /i flag not allowed");if(H.global)throw new Error("RegExp /g flag is implied");if(H.sticky)throw new Error("RegExp /y flag is implied");if(H.multiline)throw new Error("RegExp /m flag is implied");return H.source}else throw new Error("Not a pattern: "+H)}function Ve(H,ae){return H.length>ae?H:Array(ae-H.length+1).join(" ")+H}function Je(H,ae){for(var we=H.length,Ie=0;;){var Ue=H.lastIndexOf(`
6
+ `,we-1);if(Ue===-1||(Ie++,we=Ue,Ie===ae)||we===0)break}var Fe=Ie<ae?0:we+1;return H.substring(Fe).split(`
7
+ `)}function de(H){for(var ae=Object.getOwnPropertyNames(H),we=[],Ie=0;Ie<ae.length;Ie++){var Ue=ae[Ie],Fe=H[Ue],nt=[].concat(Fe);if(Ue==="include"){for(var Vt=0;Vt<nt.length;Vt++)we.push({include:nt[Vt]});continue}var bt=[];nt.forEach(function(Be){C(Be)?(bt.length&&we.push(Xt(Ue,bt)),we.push(Xt(Ue,Be)),bt=[]):bt.push(Be)}),bt.length&&we.push(Xt(Ue,bt))}return we}function Mt(H){for(var ae=[],we=0;we<H.length;we++){var Ie=H[we];if(Ie.include){for(var Ue=[].concat(Ie.include),Fe=0;Fe<Ue.length;Fe++)ae.push({include:Ue[Fe]});continue}if(!Ie.type)throw new Error("Rule has no type: "+JSON.stringify(Ie));ae.push(Xt(Ie.type,Ie))}return ae}function Xt(H,ae){if(C(ae)||(ae={match:ae}),ae.include)throw new Error("Matching rules cannot also include states");var we={defaultType:H,lineBreaks:!!ae.error||!!ae.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var Ie in ae)f.call(ae,Ie)&&(we[Ie]=ae[Ie]);if(typeof we.type=="string"&&H!==we.type)throw new Error("Type transform cannot be a string (type '"+we.type+"' for token '"+H+"')");var Ue=we.match;return we.match=Array.isArray(Ue)?Ue:Ue?[Ue]:[],we.match.sort(function(Fe,nt){return x(Fe)&&x(nt)?0:x(nt)?-1:x(Fe)?1:nt.length-Fe.length}),we}function ya(H){return Array.isArray(H)?Mt(H):de(H)}var Ua=Xt("error",{lineBreaks:!0,shouldThrow:!0});function Ti(H,ae){for(var we=null,Ie=Object.create(null),Ue=!0,Fe=null,nt=[],Vt=[],bt=0;bt<H.length;bt++)H[bt].fallback&&(Ue=!1);for(var bt=0;bt<H.length;bt++){var Be=H[bt];if(Be.include)throw new Error("Inheritance is not allowed in stateless lexers");if(Be.error||Be.fallback){if(we)throw!Be.fallback==!we.fallback?new Error("Multiple "+(Be.fallback?"fallback":"error")+" rules not allowed (for token '"+Be.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+Be.defaultType+"')");we=Be}var sa=Be.match.slice();if(Ue)for(;sa.length&&typeof sa[0]=="string"&&sa[0].length===1;){var lo=sa.shift();Ie[lo.charCodeAt(0)]=Be}if(Be.pop||Be.push||Be.next){if(!ae)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+Be.defaultType+"')");if(Be.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+Be.defaultType+"')")}if(sa.length!==0){Ue=!1,nt.push(Be);for(var qi=0;qi<sa.length;qi++){var vr=sa[qi];if(x(vr)){if(Fe===null)Fe=vr.unicode;else if(Fe!==vr.unicode&&Be.fallback===!1)throw new Error("If one rule is /u then all must be")}}var co=K(sa.map(De)),Oi=new RegExp(co);if(Oi.test(""))throw new Error("RegExp matches empty string: "+Oi);var ys=M(co);if(ys>0)throw new Error("RegExp has capture groups: "+Oi+`
8
+ Use (?: … ) instead`);if(!Be.lineBreaks&&Oi.test(`
9
+ `))throw new Error("Rule should declare lineBreaks: "+Oi);Vt.push(F(co))}}var uo=we&&we.fallback,_s=y&&!uo?"ym":"gm",oc=y||uo?"":"|";Fe===!0&&(_s+="u");var Bne=new RegExp(K(Vt)+oc,_s);return{regexp:Bne,groups:nt,fast:Ie,error:we||Ua}}function Wn(H){var ae=Ti(ya(H));return new $t({start:ae},"start")}function yn(H,ae,we){var Ie=H&&(H.push||H.next);if(Ie&&!we[Ie])throw new Error("Missing state '"+Ie+"' (in token '"+H.defaultType+"' of state '"+ae+"')");if(H&&H.pop&&+H.pop!=1)throw new Error("pop must be 1 (in token '"+H.defaultType+"' of state '"+ae+"')")}function _n(H,ae){var we=H.$all?ya(H.$all):[];delete H.$all;var Ie=Object.getOwnPropertyNames(H);ae||(ae=Ie[0]);for(var Ue=Object.create(null),Fe=0;Fe<Ie.length;Fe++){var nt=Ie[Fe];Ue[nt]=ya(H[nt]).concat(we)}for(var Fe=0;Fe<Ie.length;Fe++)for(var nt=Ie[Fe],Vt=Ue[nt],bt=Object.create(null),Be=0;Be<Vt.length;Be++){var sa=Vt[Be];if(sa.include){var lo=[Be,1];if(sa.include!==nt&&!bt[sa.include]){bt[sa.include]=!0;var qi=Ue[sa.include];if(!qi)throw new Error("Cannot include nonexistent state '"+sa.include+"' (in state '"+nt+"')");for(var vr=0;vr<qi.length;vr++){var co=qi[vr];Vt.indexOf(co)===-1&&lo.push(co)}}Vt.splice.apply(Vt,lo),Be--}}for(var Oi=Object.create(null),Fe=0;Fe<Ie.length;Fe++){var nt=Ie[Fe];Oi[nt]=Ti(Ue[nt],!0)}for(var Fe=0;Fe<Ie.length;Fe++){for(var ys=Ie[Fe],uo=Oi[ys],_s=uo.groups,Be=0;Be<_s.length;Be++)yn(_s[Be],ys,Oi);for(var oc=Object.getOwnPropertyNames(uo.fast),Be=0;Be<oc.length;Be++)yn(uo.fast[oc[Be]],ys,Oi)}return new $t(Oi,ae)}function xn(H){for(var ae=typeof Map<"u",we=ae?new Map:Object.create(null),Ie=Object.getOwnPropertyNames(H),Ue=0;Ue<Ie.length;Ue++){var Fe=Ie[Ue],nt=H[Fe],Vt=Array.isArray(nt)?nt:[nt];Vt.forEach(function(bt){if(typeof bt!="string")throw new Error("keyword must be string (in keyword '"+Fe+"')");ae?we.set(bt,Fe):we[bt]=Fe})}return function(bt){return ae?we.get(bt):we[bt]}}var $t=function(H,ae){this.startState=ae,this.states=H,this.buffer="",this.stack=[],this.reset()};$t.prototype.reset=function(H,ae){return this.buffer=H||"",this.index=0,this.line=ae?ae.line:1,this.col=ae?ae.col:1,this.queuedToken=ae?ae.queuedToken:null,this.queuedText=ae?ae.queuedText:"",this.queuedThrow=ae?ae.queuedThrow:null,this.setState(ae?ae.state:this.startState),this.stack=ae&&ae.stack?ae.stack.slice():[],this},$t.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},$t.prototype.setState=function(H){if(!(!H||this.state===H)){this.state=H;var ae=this.states[H];this.groups=ae.groups,this.error=ae.error,this.re=ae.regexp,this.fast=ae.fast}},$t.prototype.popState=function(){this.setState(this.stack.pop())},$t.prototype.pushState=function(H){this.stack.push(this.state),this.setState(H)};var nc=y?function(H,ae){return H.exec(ae)}:function(H,ae){var we=H.exec(ae);return we[0].length===0?null:we};$t.prototype._getGroup=function(H){for(var ae=this.groups.length,we=0;we<ae;we++)if(H[we+1]!==void 0)return this.groups[we];throw new Error("Cannot find token type for matched text")};function rc(){return this.value}if($t.prototype.next=function(){var H=this.index;if(this.queuedGroup){var ae=this._token(this.queuedGroup,this.queuedText,H);return this.queuedGroup=null,this.queuedText="",ae}var we=this.buffer;if(H!==we.length){var nt=this.fast[we.charCodeAt(H)];if(nt)return this._token(nt,we.charAt(H),H);var Ie=this.re;Ie.lastIndex=H;var Ue=nc(Ie,we),Fe=this.error;if(Ue==null)return this._token(Fe,we.slice(H,we.length),H);var nt=this._getGroup(Ue),Vt=Ue[0];return Fe.fallback&&Ue.index!==H?(this.queuedGroup=nt,this.queuedText=Vt,this._token(Fe,we.slice(H,Ue.index),H)):this._token(nt,Vt,H)}},$t.prototype._token=function(H,ae,we){var Ie=0;if(H.lineBreaks){var Ue=/\n/g,Fe=1;if(ae===`
10
+ `)Ie=1;else for(;Ue.exec(ae);)Ie++,Fe=Ue.lastIndex}var nt={type:typeof H.type=="function"&&H.type(ae)||H.defaultType,value:typeof H.value=="function"?H.value(ae):ae,text:ae,toString:rc,offset:we,lineBreaks:Ie,line:this.line,col:this.col},Vt=ae.length;if(this.index+=Vt,this.line+=Ie,Ie!==0?this.col=Vt-Fe+1:this.col+=Vt,H.shouldThrow){var bt=new Error(this.formatError(nt,"invalid syntax"));throw bt}return H.pop?this.popState():H.push?this.pushState(H.push):H.next&&this.setState(H.next),nt},typeof Symbol<"u"&&Symbol.iterator){var wn=function(H){this.lexer=H};wn.prototype.next=function(){var H=this.lexer.next();return{value:H,done:!H}},wn.prototype[Symbol.iterator]=function(){return this},$t.prototype[Symbol.iterator]=function(){return new wn(this)}}return $t.prototype.formatError=function(Ie,ae){if(Ie==null)var we=this.buffer.slice(this.index),Ie={text:we,offset:this.index,lineBreaks:we.indexOf(`
11
+ `)===-1?0:1,line:this.line,col:this.col};var Ue=2,Fe=Math.max(Ie.line-Ue,1),nt=Ie.line+Ue,Vt=String(nt).length,bt=Je(this.buffer,this.line-Ie.line+Ue+1).slice(0,5),Be=[];Be.push(ae+" at line "+Ie.line+" col "+Ie.col+":"),Be.push("");for(var sa=0;sa<bt.length;sa++){var lo=bt[sa],qi=Fe+sa;Be.push(Ve(String(qi),Vt)+" "+lo),qi===Ie.line&&Be.push(Ve("",Vt+Ie.col+1)+"^")}return Be.join(`
12
+ `)},$t.prototype.clone=function(){return new $t(this.states,this.state)},$t.prototype.has=function(H){return!0},{compile:Wn,states:_n,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:xn}})})(ib);var lne=ib.exports;(function(m){var f=Zu&&Zu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(m,"__esModule",{value:!0}),m.lexer=m.states=void 0;let v=f(lne);m.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},m.lexer=v.default.states(m.states)})(ab),Object.defineProperty(bs,"__esModule",{value:!0});var nb=bs.parse=bs.ParseError=void 0;let rb=ab,ec=m=>({offset:m.offset,line:m.line,col:m.col,text:m.text,lineBreaks:m.lineBreaks}),Ku=m=>m==="plural"||m==="select"||m==="selectordinal";function cne(m,f){let v="",y="";for(let x of f){let C=x.ctx.text;switch(y+=C,x.type){case"content":v+=x.value;break;case"argument":case"function":case"octothorpe":v+=C;break;default:throw new Sa(m,`Unsupported part in strict mode function arg style: ${C}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let dne=["number","date","time","spellout","ordinal","duration"],ob=["zero","one","two","few","many","other"];class Sa extends Error{constructor(f,v){super(rb.lexer.formatError(f,v))}}bs.ParseError=Sa;class une{constructor(f,v){var y,x,C,A;this.lexer=rb.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:ob,this.ordinalKeys=(x=v==null?void 0:v.ordinal)!==null&&x!==void 0?x:ob,this.strict=(C=v==null?void 0:v.strict)!==null&&C!==void 0?C:!1,this.strictPluralKeys=(A=v==null?void 0:v.strictPluralKeys)!==null&&A!==void 0?A:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new Sa(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let x=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&x.length>0&&!x.includes(y)){let C=`The ${v} case ${y} is not valid in this locale`;throw new Sa(f,C)}}}parseSelect(f,v,y,x){let{value:C}=f,A={type:x,arg:C,cases:[],ctx:y};x==="plural"||x==="selectordinal"?v=!0:this.strict&&(v=!1);for(let M of this.lexer)switch(M.type){case"offset":if(x==="select")throw new Sa(M,"Unexpected plural offset for select");if(A.cases.length>0)throw new Sa(M,"Plural offset must be set before cases");A.pluralOffset=Number(M.value),y.text+=M.text,y.lineBreaks+=M.lineBreaks;break;case"case":{this.checkSelectKey(M,x,M.value),A.cases.push({key:M.value,tokens:this.parseBody(v),ctx:ec(M)});break}case"end":return A;default:throw new Sa(M,`Unexpected lexer token: ${M.type}`)}throw new Sa(null,"Unexpected message end")}parseArgToken(f,v){let y=ec(f),x=this.lexer.next();if(!x)throw new Sa(null,"Unexpected message end");if(y.text+=x.text,y.lineBreaks+=x.lineBreaks,this.strict&&(x.type==="func-simple"||x.type==="func-args")&&!dne.includes(x.value)){let C=`Invalid strict mode function arg type: ${x.value}`;throw new Sa(f,C)}switch(x.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let C=this.lexer.next();if(!C)throw new Sa(null,"Unexpected message end");if(C.type!=="end")throw new Sa(C,`Unexpected lexer token: ${C.type}`);if(y.text+=C.text,Ku(x.value.toLowerCase()))throw new Sa(x,`Invalid type identifier: ${x.value}`);return{type:"function",arg:f.value,key:x.value,ctx:y}}case"func-args":{if(Ku(x.value.toLowerCase())){let A=`Invalid type identifier: ${x.value}`;throw new Sa(x,A)}let C=this.parseBody(this.strict?!1:v);return this.strict&&C.length>0&&(C=cne(f,C)),{type:"function",arg:f.value,key:x.value,param:C,ctx:y}}case"select":if(Ku(x.value))return this.parseSelect(f,v,y,x.value);throw new Sa(x,`Unexpected select type ${x.value}`);default:throw new Sa(x,`Unexpected lexer token: ${x.type}`)}}parseBody(f,v){let y=[],x=null;for(let C of this.lexer)if(C.type==="argument")x&&(x=null),y.push(this.parseArgToken(C,f));else if(C.type==="octothorpe"&&f)x&&(x=null),y.push({type:"octothorpe",ctx:ec(C)});else{if(C.type==="end"&&!v)return y;{let A=C.value;if(!f&&C.type==="quoted"&&A[0]==="#"){if(A.includes("{")){let M=`Unsupported escape pattern: ${A}`;throw new Sa(C,M)}A=C.text}x?(x.value+=A,x.ctx.text+=C.text,x.ctx.lineBreaks+=C.lineBreaks):(x={type:"content",value:A,ctx:ec(C)},y.push(x))}}if(v)return y;throw new Sa(null,"Unexpected message end")}}function hne(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new une(m,f).parse()}nb=bs.parse=hne;function vs(m){return vs[m]||(vs[m]=new Intl.NumberFormat(m))}function pne(m,f,v){return vs(m).format(f-v)}function mne(m,f,v,y){var x=f-v;if(isNaN(x))throw new Error("`"+y+"` or its offset is not a number");return vs(m).format(x)}function fne(m,f,v,y,x){if({}.hasOwnProperty.call(y,m))return y[m];f&&(m-=f);var C=v(m,x);return C in y?y[C]:y.other}function gne(m,f){return{}.hasOwnProperty.call(f,m)?f[m]:f.other}function bne(m,f){for(var v=0;v<m.length;++v)if(!f||f[m[v]]===void 0)throw new Error("Message requires argument '".concat(m[v],"'"))}var vne=Object.freeze({__proto__:null,_nf:vs,number:pne,plural:fne,reqArgs:bne,select:gne,strictNumber:mne});function yne(m,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(m).toLocaleDateString(f,y)}function _ne(m){if(typeof m!="number"&&(m=Number(m)),!isFinite(m))return String(m);var f="";m<0?(f="-",m=Math.abs(m)):m=Number(m);var v=m%60,y=[Math.round(v)===v?v:v.toFixed(3)];m<60?y.unshift(0):(m=Math.round((m-Number(y[0]))/60),y.unshift(m%60),m>=60&&(m=Math.round((m-Number(y[0]))/60),y.unshift(m)));var x=y.shift();return f+x+":"+y.map(function(C){return Number(C)<10?"0"+String(C):String(C)}).join(":")}var Qu={};function tc(m,f){var v=String(m)+JSON.stringify(f);return Qu[v]||(Qu[v]=new Intl.NumberFormat(m,f)),Qu[v]}function xne(m,f,v,y){var x=v&&v.split(":")||[],C=x[0],A=x[1],M={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:A&&A.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return tc(f,M[C]||{}).format(m)}var wne=function(m,f,v){return tc(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(m)},kne=function(m,f){return tc(f,{maximumFractionDigits:0}).format(m)},Cne=function(m,f){return tc(f,{style:"percent"}).format(m)};function Sne(m,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(m).toLocaleTimeString(f,y)}var Xu=Object.freeze({__proto__:null,date:yne,duration:_ne,numberCurrency:wne,numberFmt:xne,numberInteger:kne,numberPercent:Cne,time:Sne}),Ene={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}},Ju=sne(Ene);function Dne(m){let f=0;for(let v=0;v<m.length;++v){let y=m.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function Un(m,f){f&&(m+=" "+Dne(m).toString(36));let v=m.trim().replace(/\W+/g,"_");return Ju.ES3[v]||Ju.ESnext[v]||/^\d/.test(v)?"_"+v:v}function eh(m,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Ju.ES3[f])return m?m+"."+f:f;{let v=JSON.stringify(f);return m?m+"["+v+"]":v}}var Ine=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Ane=new RegExp("^"+Ine.join("|^"));function Tne(m,f){var v=Ane.test(f),y=JSON.stringify(v?"‏":"‎");return"".concat(y," + ").concat(m," + ").concat(y)}var One="@messageformat/runtime",Mne="@messageformat/runtime/lib/cardinals",sb="@messageformat/runtime/lib/plurals",Rne="@messageformat/runtime/lib/formatters",Pne=function(){function m(f){this.arguments=[],this.runtime={},this.options=f}return m.prototype.compile=function(f,v,y){var x,C,A=this,M=this.options,F=M.localeCodeFromKey,K=M.requireAllArguments,De=M.strict,Ve=M.strictPluralKeys;if(typeof f=="object"){var Je={};try{for(var de=a(Object.keys(f)),Mt=de.next();!Mt.done;Mt=de.next()){var Xt=Mt.value,ya=F?F(Xt):Xt,Ua=y&&ya&&y[ya]||v;Je[Xt]=this.compile(f[Xt],Ua,y)}}catch($t){x={error:$t}}finally{try{Mt&&!Mt.done&&(C=de.return)&&C.call(de)}finally{if(x)throw x.error}}return Je}this.plural=v;var Ti={cardinal:v.cardinals,ordinal:v.ordinals,strict:De,strictPluralKeys:Ve};this.arguments=[];var Wn=nb(f,Ti).map(function($t){return A.token($t,null)}),yn=this.arguments.length>0,_n=this.concatenate(Wn,!0);if(K&&yn){this.setRuntimeFn("reqArgs");var xn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(xn,", d); return ").concat(_n,"; }")}return"(".concat(yn?"d":"",") => ").concat(_n)},m.prototype.cases=function(f,v){var y=this,x=!0,C=f.cases.map(function(De){var Ve=De.key,Je=De.tokens;Ve==="other"&&(x=!1);var de=Je.map(function(Mt){return y.token(Mt,v)});return"".concat(eh(null,Ve.replace(/^=/,"")),": ").concat(y.concatenate(de,!1))});if(x){var A=f.type,M=this.plural,F=M.cardinals,K=M.ordinals;if(A==="select"||A==="plural"&&F.includes("other")||A==="selectordinal"&&K.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(C.join(", ")," }")},m.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},m.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,x=y.id,C=y.lc,A,M;switch("arg"in f?(this.arguments.push(f.arg),A=[eh("d",f.arg)]):A=[],f.type){case"argument":return this.options.biDiSupport?Tne(String(A[0]),C):String(A[0]);case"select":M="select",v&&this.options.strict&&(v=null),A.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":M="plural",A.push(f.pluralOffset||0,x,this.cases(f,f),1),this.setLocale(x,!0),this.setRuntimeFn("plural");break;case"plural":M="plural",A.push(f.pluralOffset||0,x,this.cases(f,f)),this.setLocale(x,!1),this.setRuntimeFn("plural");break;case"function":{var F=this.options.customFormatters[f.key],K=F&&"module"in F&&typeof F.module=="function";if(!F){if(f.key==="date"){M=this.setDateFormatter(f,A,v);break}else if(f.key==="number"){M=this.setNumberFormatter(f,A,v);break}}if(A.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var De=this.getFormatterArg(f,v);De&&A.push(De)}M=K?Un("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(M,f.key);break}case"octothorpe":if(!v)return'"#"';A=[JSON.stringify(this.plural.locale),eh("d",v.arg),v.pluralOffset||0],this.options.strict?(M="strictNumber",A.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(M="number",this.setRuntimeFn("number"));break}if(!M)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(M,"(").concat(A.join(", "),")")},m.prototype.runtimeIncludes=function(f,v){if(Un(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},m.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),x=this.plural,C=x.getCardinal,A=x.getPlural,M=x.isDefault,F,K,De;if(!v&&M&&C){if(y)return;F=function(Ve){return C(Ve)},K=Mne,De=function(){return String(C)}}else{if(y&&(!M||y.module===sb))return;F=function(Ve,Je){return A(Ve,Je)},K=M?sb:A.module||null,De=function(){return String(A)}}this.runtime[f]=Object.assign(F,{id:f,module:K,toString:De,type:"locale"})},m.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(vne[f],{id:f,module:One,type:"runtime"}))},m.prototype.getFormatterArg=function(f,v){var y,x,C,A,M=this,F=f.key,K=f.param,De=this.options.customFormatters[F]||lb(F)&&Xu[F];if(!De||!K)return null;var Ve="arg"in De&&De.arg||"string";if(Ve==="options"){var Je="";try{for(var de=a(K),Mt=de.next();!Mt.done;Mt=de.next()){var Xt=Mt.value;if(Xt.type==="content")Je+=Xt.value;else throw new SyntaxError("Expected literal options for ".concat(F," formatter"))}}catch(wn){y={error:wn}}finally{try{Mt&&!Mt.done&&(x=de.return)&&x.call(de)}finally{if(y)throw y.error}}var ya={};try{for(var Ua=a(Je.split(",")),Ti=Ua.next();!Ti.done;Ti=Ua.next()){var Wn=Ti.value,yn=Wn.indexOf(":");if(yn===-1)ya[Wn.trim()]=null;else{var _n=Wn.substring(0,yn).trim(),xn=Wn.substring(yn+1).trim();if(xn==="true")ya[_n]=!0;else if(xn==="false")ya[_n]=!1;else if(xn==="null")ya[_n]=null;else{var $t=Number(xn);ya[_n]=Number.isFinite($t)?$t:xn}}}}catch(wn){C={error:wn}}finally{try{Ti&&!Ti.done&&(A=Ua.return)&&A.call(Ua)}finally{if(C)throw C.error}}return JSON.stringify(ya)}else{var nc=K.map(function(wn){return M.token(wn,v)});if(Ve==="raw")return"[".concat(nc.join(", "),"]");var rc=nc.join(" + ");return rc?"(".concat(rc,").trim()"):'""'}},m.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var x=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(x.formatter.bind({}),n(n({},x.formatter.prototype),{toString:function(){return String(x.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Un(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(lb(f))this.runtime[f]=Object.assign(Xu[f],{type:"formatter"},{id:f,module:Rne});else throw new Error("Formatting function not found: ".concat(f))}},m.prototype.setDateFormatter=function(f,v,y){var x=this,C=f.param,A=this.plural.locale,M=C&&C.length===1&&C[0];if(M&&M.type==="content"&&/^\s*::/.test(M.value)){var F=M.value.trim().substr(2),K=Un("date_".concat(A,"_").concat(F),!0);if(!this.runtimeIncludes(K,"formatter")){var De=ba(A,F,this.options.timeZone);this.runtime[K]=Object.assign(De,{id:K,module:null,toString:function(){return Qt(A,F,x.options.timeZone)},type:"formatter"})}return K}if(v.push(JSON.stringify(A)),C&&C.length>0){y&&this.options.strict&&(y=null);var Ve=C.map(function(Je){return x.token(Je,y)});v.push("("+(Ve.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},m.prototype.setNumberFormatter=function(f,v,y){var x=this,C=f.param,A=this.plural.locale;if(!C||C.length===0)return v.unshift(JSON.stringify(A)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(A)),C.length===1&&C[0].type==="content"){var M=C[0].value.trim();switch(M){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var F=M.match(/^currency:([A-Z]+)$/);if(F)return v.push(JSON.stringify(F[1])),this.setFormatter("numberCurrency"),"numberCurrency";var K=Un("number_".concat(A,"_").concat(M),!0);if(!this.runtimeIncludes(K,"formatter")){var De=this.options.currency,Ve=rne(A,M,De);this.runtime[K]=Object.assign(Ve,{id:null,module:null,toString:function(){return one(A,M,De)},type:"formatter"})}return K}y&&this.options.strict&&(y=null);var Je=C.map(function(de){return x.token(de,y)});return v.push("("+(Je.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},m}();function lb(m){return m in Xu}let X=m=>m==1?"one":"other",mn=m=>m==0||m==1?"one":"other",Ui=m=>m>=0&&m<=1?"one":"other",Ta=m=>{let f=String(m).split("."),v=!f[1];return m==1&&v?"one":"other"},rt=m=>"other",fn=m=>m==1?"one":m==2?"two":"other";var Nne=Object.freeze({__proto__:null,af:X,ak:mn,am:Ui,an:X,ar:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Ui,asa:X,ast:Ta,az:X,bal:X,be:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-1),x=v&&f[0].slice(-2);return y==1&&x!=11?"one":y>=2&&y<=4&&(x<12||x>14)?"few":v&&y==0||y>=5&&y<=9||x>=11&&x<=14?"many":"other"},bem:X,bez:X,bg:X,bho:mn,bm:rt,bn:Ui,bo:rt,br:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-1),x=v&&f[0].slice(-2),C=v&&f[0].slice(-6);return y==1&&x!=11&&x!=71&&x!=91?"one":y==2&&x!=12&&x!=72&&x!=92?"two":(y==3||y==4||y==9)&&(x<10||x>19)&&(x<70||x>79)&&(x<90||x>99)?"few":m!=0&&v&&C==0?"many":"other"},brx:X,bs:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=v.slice(-2),M=y.slice(-1),F=y.slice(-2);return x&&C==1&&A!=11||M==1&&F!=11?"one":x&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(F<12||F>14)?"few":"other"},ca:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},ce:X,ceb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&C!=4&&C!=6&&C!=9||!x&&A!=4&&A!=6&&A!=9?"one":"other"},cgg:X,chr:X,ckb:X,cs:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return m==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:m=>m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:m=>{let f=String(m).split("."),v=f[0],y=Number(f[0])==m;return m==1||!y&&(v==0||v==1)?"one":"other"},de:Ta,doi:Ui,dsb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-2),A=y.slice(-2);return x&&C==1||A==1?"one":x&&C==2||A==2?"two":x&&(C==3||C==4)||A==3||A==4?"few":"other"},dv:X,dz:rt,ee:X,el:X,en:Ta,eo:X,es:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1?"one":v!=0&&x==0&&y?"many":"other"},et:Ta,eu:X,fa:Ui,ff:m=>m>=0&&m<2?"one":"other",fi:Ta,fil:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&C!=4&&C!=6&&C!=9||!x&&A!=4&&A!=6&&A!=9?"one":"other"},fo:X,fr:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m>=0&&m<2?"one":v!=0&&x==0&&y?"many":"other"},fur:X,fy:Ta,ga:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==1?"one":m==2?"two":v&&m>=3&&m<=6?"few":v&&m>=7&&m<=10?"many":"other"},gd:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==1||m==11?"one":m==2||m==12?"two":v&&m>=3&&m<=10||v&&m>=13&&m<=19?"few":"other"},gl:Ta,gsw:X,gu:Ui,guw:mn,gv:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),C=v.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(C==0||C==20||C==40||C==60||C==80)?"few":y?"other":"many"},ha:X,haw:X,he:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Ui,hnj:rt,hr:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=v.slice(-2),M=y.slice(-1),F=y.slice(-2);return x&&C==1&&A!=11||M==1&&F!=11?"one":x&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(F<12||F>14)?"few":"other"},hsb:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-2),A=y.slice(-2);return x&&C==1||A==1?"one":x&&C==2||A==2?"two":x&&(C==3||C==4)||A==3||A==4?"few":"other"},hu:X,hy:m=>m>=0&&m<2?"one":"other",ia:Ta,id:rt,ig:rt,ii:rt,io:Ta,is:m=>{let f=String(m).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),x=Number(f[0])==m,C=v.slice(-1),A=v.slice(-2);return x&&C==1&&A!=11||y%10==1&&y%100!=11?"one":"other"},it:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},iu:fn,ja:rt,jbo:rt,jgo:X,jmc:X,jv:rt,jw:rt,ka:X,kab:m=>m>=0&&m<2?"one":"other",kaj:X,kcg:X,kde:rt,kea:rt,kk:X,kkj:X,kl:X,km:rt,kn:Ui,ko:rt,ks:X,ksb:X,ksh:m=>m==0?"zero":m==1?"one":"other",ku:X,kw:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2),x=v&&f[0].slice(-3),C=v&&f[0].slice(-5),A=v&&f[0].slice(-6);return m==0?"zero":m==1?"one":y==2||y==22||y==42||y==62||y==82||v&&x==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||m!=0&&A==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":m!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:X,lag:m=>{let f=String(m).split("."),v=f[0];return m==0?"zero":(v==0||v==1)&&m!=0?"one":"other"},lb:X,lg:X,lij:Ta,lkt:rt,ln:mn,lo:rt,lt:m=>{let f=String(m).split("."),v=f[1]||"",y=Number(f[0])==m,x=y&&f[0].slice(-1),C=y&&f[0].slice(-2);return x==1&&(C<11||C>19)?"one":x>=2&&x<=9&&(C<11||C>19)?"few":v!=0?"many":"other"},lv:m=>{let f=String(m).split("."),v=f[1]||"",y=v.length,x=Number(f[0])==m,C=x&&f[0].slice(-1),A=x&&f[0].slice(-2),M=v.slice(-2),F=v.slice(-1);return x&&C==0||A>=11&&A<=19||y==2&&M>=11&&M<=19?"zero":C==1&&A!=11||y==2&&F==1&&M!=11||y!=2&&F==1?"one":"other"},mas:X,mg:mn,mgo:X,mk:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=v.slice(-2),M=y.slice(-1),F=y.slice(-2);return x&&C==1&&A!=11||M==1&&F!=11?"one":"other"},ml:X,mn:X,mo:m=>{let f=String(m).split("."),v=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&v?"one":!v||m==0||m!=1&&x>=1&&x<=19?"few":"other"},mr:X,ms:rt,mt:m=>{let f=String(m).split("."),v=Number(f[0])==m,y=v&&f[0].slice(-2);return m==1?"one":m==2?"two":m==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:rt,nah:X,naq:fn,nb:X,nd:X,ne:X,nl:Ta,nn:X,nnh:X,no:X,nqo:rt,nr:X,nso:mn,ny:X,nyn:X,om:X,or:X,os:X,osa:rt,pa:mn,pap:X,pcm:Ui,pl:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),C=v.slice(-2);return m==1&&y?"one":y&&x>=2&&x<=4&&(C<12||C>14)?"few":y&&v!=1&&(x==0||x==1)||y&&x>=5&&x<=9||y&&C>=12&&C<=14?"many":"other"},prg:m=>{let f=String(m).split("."),v=f[1]||"",y=v.length,x=Number(f[0])==m,C=x&&f[0].slice(-1),A=x&&f[0].slice(-2),M=v.slice(-2),F=v.slice(-1);return x&&C==0||A>=11&&A<=19||y==2&&M>=11&&M<=19?"zero":C==1&&A!=11||y==2&&F==1&&M!=11||y!=2&&F==1?"one":"other"},ps:X,pt:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return v==0||v==1?"one":v!=0&&x==0&&y?"many":"other"},pt_PT:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},rm:X,ro:m=>{let f=String(m).split("."),v=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&v?"one":!v||m==0||m!=1&&x>=1&&x<=19?"few":"other"},rof:X,ru:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),C=v.slice(-2);return y&&x==1&&C!=11?"one":y&&x>=2&&x<=4&&(C<12||C>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&C>=11&&C<=14?"many":"other"},rwk:X,sah:rt,saq:X,sat:fn,sc:Ta,scn:Ta,sd:X,sdh:X,se:fn,seh:X,ses:rt,sg:rt,sh:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=v.slice(-2),M=y.slice(-1),F=y.slice(-2);return x&&C==1&&A!=11||M==1&&F!=11?"one":x&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(F<12||F>14)?"few":"other"},shi:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m>=0&&m<=1?"one":v&&m>=2&&m<=10?"few":"other"},si:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"";return m==0||m==1||v==0&&y==1?"one":"other"},sk:m=>{let f=String(m).split("."),v=f[0],y=!f[1];return m==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(x==3||x==4)||!y?"few":"other"},sma:fn,smi:fn,smj:fn,smn:fn,sms:fn,sn:X,so:X,sq:X,sr:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=v.slice(-2),M=y.slice(-1),F=y.slice(-2);return x&&C==1&&A!=11||M==1&&F!=11?"one":x&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(F<12||F>14)?"few":"other"},ss:X,ssy:X,st:X,su:rt,sv:Ta,sw:Ta,syr:X,ta:X,te:X,teo:X,th:rt,ti:mn,tig:X,tk:X,tl:m=>{let f=String(m).split("."),v=f[0],y=f[1]||"",x=!f[1],C=v.slice(-1),A=y.slice(-1);return x&&(v==1||v==2||v==3)||x&&C!=4&&C!=6&&C!=9||!x&&A!=4&&A!=6&&A!=9?"one":"other"},tn:X,to:rt,tpi:rt,tr:X,ts:X,tzm:m=>{let f=String(m).split("."),v=Number(f[0])==m;return m==0||m==1||v&&m>=11&&m<=99?"one":"other"},ug:X,uk:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-1),C=v.slice(-2);return y&&x==1&&C!=11?"one":y&&x>=2&&x<=4&&(C<12||C>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&C>=11&&C<=14?"many":"other"},und:rt,ur:Ta,uz:X,ve:X,vec:m=>{let f=String(m).split("."),v=f[0],y=!f[1],x=v.slice(-6);return m==1&&y?"one":v!=0&&x==0&&y?"many":"other"},vi:rt,vo:X,vun:X,wa:mn,wae:X,wo:rt,xh:X,xog:X,yi:Ta,yo:rt,yue:rt,zh:rt,zu:Ui});let gn="zero",re="one",Ft="two",$e="few",Ze="many",U="other",q={cardinal:[re,U],ordinal:[U]},br={cardinal:[re,U],ordinal:[re,U]},dt={cardinal:[U],ordinal:[U]},Wi={cardinal:[re,Ft,U],ordinal:[U]};var cb=Object.freeze({__proto__:null,af:q,ak:q,am:q,an:q,ar:{cardinal:[gn,re,Ft,$e,Ze,U],ordinal:[U]},ars:{cardinal:[gn,re,Ft,$e,Ze,U],ordinal:[U]},as:{cardinal:[re,U],ordinal:[re,Ft,$e,Ze,U]},asa:q,ast:q,az:{cardinal:[re,U],ordinal:[re,$e,Ze,U]},bal:br,be:{cardinal:[re,$e,Ze,U],ordinal:[$e,U]},bem:q,bez:q,bg:q,bho:q,bm:dt,bn:{cardinal:[re,U],ordinal:[re,Ft,$e,Ze,U]},bo:dt,br:{cardinal:[re,Ft,$e,Ze,U],ordinal:[U]},brx:q,bs:{cardinal:[re,$e,U],ordinal:[U]},ca:{cardinal:[re,Ze,U],ordinal:[re,Ft,$e,U]},ce:q,ceb:q,cgg:q,chr:q,ckb:q,cs:{cardinal:[re,$e,Ze,U],ordinal:[U]},cy:{cardinal:[gn,re,Ft,$e,Ze,U],ordinal:[gn,re,Ft,$e,Ze,U]},da:q,de:q,doi:q,dsb:{cardinal:[re,Ft,$e,U],ordinal:[U]},dv:q,dz:dt,ee:q,el:q,en:{cardinal:[re,U],ordinal:[re,Ft,$e,U]},eo:q,es:{cardinal:[re,Ze,U],ordinal:[U]},et:q,eu:q,fa:q,ff:q,fi:q,fil:br,fo:q,fr:{cardinal:[re,Ze,U],ordinal:[re,U]},fur:q,fy:q,ga:{cardinal:[re,Ft,$e,Ze,U],ordinal:[re,U]},gd:{cardinal:[re,Ft,$e,U],ordinal:[re,Ft,$e,U]},gl:q,gsw:q,gu:{cardinal:[re,U],ordinal:[re,Ft,$e,Ze,U]},guw:q,gv:{cardinal:[re,Ft,$e,Ze,U],ordinal:[U]},ha:q,haw:q,he:Wi,hi:{cardinal:[re,U],ordinal:[re,Ft,$e,Ze,U]},hnj:dt,hr:{cardinal:[re,$e,U],ordinal:[U]},hsb:{cardinal:[re,Ft,$e,U],ordinal:[U]},hu:br,hy:br,ia:q,id:dt,ig:dt,ii:dt,io:q,is:q,it:{cardinal:[re,Ze,U],ordinal:[Ze,U]},iu:Wi,ja:dt,jbo:dt,jgo:q,jmc:q,jv:dt,jw:dt,ka:{cardinal:[re,U],ordinal:[re,Ze,U]},kab:q,kaj:q,kcg:q,kde:dt,kea:dt,kk:{cardinal:[re,U],ordinal:[Ze,U]},kkj:q,kl:q,km:dt,kn:q,ko:dt,ks:q,ksb:q,ksh:{cardinal:[gn,re,U],ordinal:[U]},ku:q,kw:{cardinal:[gn,re,Ft,$e,Ze,U],ordinal:[re,Ze,U]},ky:q,lag:{cardinal:[gn,re,U],ordinal:[U]},lb:q,lg:q,lij:{cardinal:[re,U],ordinal:[Ze,U]},lkt:dt,ln:q,lo:{cardinal:[U],ordinal:[re,U]},lt:{cardinal:[re,$e,Ze,U],ordinal:[U]},lv:{cardinal:[gn,re,U],ordinal:[U]},mas:q,mg:q,mgo:q,mk:{cardinal:[re,U],ordinal:[re,Ft,Ze,U]},ml:q,mn:q,mo:{cardinal:[re,$e,U],ordinal:[re,U]},mr:{cardinal:[re,U],ordinal:[re,Ft,$e,U]},ms:{cardinal:[U],ordinal:[re,U]},mt:{cardinal:[re,Ft,$e,Ze,U],ordinal:[U]},my:dt,nah:q,naq:Wi,nb:q,nd:q,ne:br,nl:q,nn:q,nnh:q,no:q,nqo:dt,nr:q,nso:q,ny:q,nyn:q,om:q,or:{cardinal:[re,U],ordinal:[re,Ft,$e,Ze,U]},os:q,osa:dt,pa:q,pap:q,pcm:q,pl:{cardinal:[re,$e,Ze,U],ordinal:[U]},prg:{cardinal:[gn,re,U],ordinal:[U]},ps:q,pt:{cardinal:[re,Ze,U],ordinal:[U]},pt_PT:{cardinal:[re,Ze,U],ordinal:[U]},rm:q,ro:{cardinal:[re,$e,U],ordinal:[re,U]},rof:q,ru:{cardinal:[re,$e,Ze,U],ordinal:[U]},rwk:q,sah:dt,saq:q,sat:Wi,sc:{cardinal:[re,U],ordinal:[Ze,U]},scn:{cardinal:[re,U],ordinal:[Ze,U]},sd:q,sdh:q,se:Wi,seh:q,ses:dt,sg:dt,sh:{cardinal:[re,$e,U],ordinal:[U]},shi:{cardinal:[re,$e,U],ordinal:[U]},si:q,sk:{cardinal:[re,$e,Ze,U],ordinal:[U]},sl:{cardinal:[re,Ft,$e,U],ordinal:[U]},sma:Wi,smi:Wi,smj:Wi,smn:Wi,sms:Wi,sn:q,so:q,sq:{cardinal:[re,U],ordinal:[re,Ze,U]},sr:{cardinal:[re,$e,U],ordinal:[U]},ss:q,ssy:q,st:q,su:dt,sv:br,sw:q,syr:q,ta:q,te:q,teo:q,th:dt,ti:q,tig:q,tk:{cardinal:[re,U],ordinal:[$e,U]},tl:br,tn:q,to:dt,tpi:dt,tr:q,ts:q,tzm:q,ug:q,uk:{cardinal:[re,$e,Ze,U],ordinal:[$e,U]},und:dt,ur:q,uz:q,ve:q,vec:{cardinal:[re,Ze,U],ordinal:[Ze,U]},vi:{cardinal:[U],ordinal:[re,U]},vo:q,vun:q,wa:q,wae:q,wo:dt,xh:q,xog:q,yi:q,yo:dt,yue:dt,zh:dt,zu:q});let oe=(m,f)=>f?"other":m==1?"one":"other",bn=(m,f)=>f?"other":m==0||m==1?"one":"other",so=(m,f)=>f?"other":m>=0&&m<=1?"one":"other",vi=(m,f)=>{let v=String(m).split("."),y=!v[1];return f?"other":m==1&&y?"one":"other"},ut=(m,f)=>"other",vn=(m,f)=>f?"other":m==1?"one":m==2?"two":"other";var ac=Object.freeze({__proto__:null,af:oe,ak:bn,am:so,an:oe,ar:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":x>=3&&x<=10?"few":x>=11&&x<=99?"many":"other"},ars:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":x>=3&&x<=10?"few":x>=11&&x<=99?"many":"other"},as:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",asa:oe,ast:vi,az:(m,f)=>{let v=String(m).split("."),y=v[0],x=y.slice(-1),C=y.slice(-2),A=y.slice(-3);return f?x==1||x==2||x==5||x==7||x==8||C==20||C==50||C==70||C==80?"one":x==3||x==4||A==100||A==200||A==300||A==400||A==500||A==600||A==700||A==800||A==900?"few":y==0||x==6||C==40||C==60||C==90?"many":"other":m==1?"one":"other"},bal:(m,f)=>m==1?"one":"other",be:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),C=y&&v[0].slice(-2);return f?(x==2||x==3)&&C!=12&&C!=13?"few":"other":x==1&&C!=11?"one":x>=2&&x<=4&&(C<12||C>14)?"few":y&&x==0||x>=5&&x<=9||C>=11&&C<=14?"many":"other"},bem:oe,bez:oe,bg:oe,bho:bn,bm:ut,bn:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",bo:ut,br:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),C=y&&v[0].slice(-2),A=y&&v[0].slice(-6);return f?"other":x==1&&C!=11&&C!=71&&C!=91?"one":x==2&&C!=12&&C!=72&&C!=92?"two":(x==3||x==4||x==9)&&(C<10||C>19)&&(C<70||C>79)&&(C<90||C>99)?"few":m!=0&&y&&A==0?"many":"other"},brx:oe,bs:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=y.slice(-2),F=x.slice(-1),K=x.slice(-2);return f?"other":C&&A==1&&M!=11||F==1&&K!=11?"one":C&&A>=2&&A<=4&&(M<12||M>14)||F>=2&&F<=4&&(K<12||K>14)?"few":"other"},ca:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?m==1||m==3?"one":m==2?"two":m==4?"few":"other":m==1&&x?"one":y!=0&&C==0&&x?"many":"other"},ce:oe,ceb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=x.slice(-1);return f?"other":C&&(y==1||y==2||y==3)||C&&A!=4&&A!=6&&A!=9||!C&&M!=4&&M!=6&&M!=9?"one":"other"},cgg:oe,chr:oe,ckb:oe,cs:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},cy:(m,f)=>f?m==0||m==7||m==8||m==9?"zero":m==1?"one":m==2?"two":m==3||m==4?"few":m==5||m==6?"many":"other":m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:(m,f)=>{let v=String(m).split("."),y=v[0],x=Number(v[0])==m;return f?"other":m==1||!x&&(y==0||y==1)?"one":"other"},de:vi,doi:so,dsb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-2),M=x.slice(-2);return f?"other":C&&A==1||M==1?"one":C&&A==2||M==2?"two":C&&(A==3||A==4)||M==3||M==4?"few":"other"},dv:oe,dz:ut,ee:oe,el:oe,en:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,C=x&&v[0].slice(-1),A=x&&v[0].slice(-2);return f?C==1&&A!=11?"one":C==2&&A!=12?"two":C==3&&A!=13?"few":"other":m==1&&y?"one":"other"},eo:oe,es:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?"other":m==1?"one":y!=0&&C==0&&x?"many":"other"},et:vi,eu:oe,fa:so,ff:(m,f)=>f?"other":m>=0&&m<2?"one":"other",fi:vi,fil:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=x.slice(-1);return f?m==1?"one":"other":C&&(y==1||y==2||y==3)||C&&A!=4&&A!=6&&A!=9||!C&&M!=4&&M!=6&&M!=9?"one":"other"},fo:oe,fr:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?m==1?"one":"other":m>=0&&m<2?"one":y!=0&&C==0&&x?"many":"other"},fur:oe,fy:vi,ga:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1?"one":"other":m==1?"one":m==2?"two":y&&m>=3&&m<=6?"few":y&&m>=7&&m<=10?"many":"other"},gd:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1||m==11?"one":m==2||m==12?"two":m==3||m==13?"few":"other":m==1||m==11?"one":m==2||m==12?"two":y&&m>=3&&m<=10||y&&m>=13&&m<=19?"few":"other"},gl:vi,gsw:oe,gu:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",guw:bn,gv:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-1),A=y.slice(-2);return f?"other":x&&C==1?"one":x&&C==2?"two":x&&(A==0||A==20||A==40||A==60||A==80)?"few":x?"other":"many"},ha:oe,haw:oe,he:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":y==1&&x||y==0&&!x?"one":y==2&&x?"two":"other"},hi:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",hnj:ut,hr:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=y.slice(-2),F=x.slice(-1),K=x.slice(-2);return f?"other":C&&A==1&&M!=11||F==1&&K!=11?"one":C&&A>=2&&A<=4&&(M<12||M>14)||F>=2&&F<=4&&(K<12||K>14)?"few":"other"},hsb:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-2),M=x.slice(-2);return f?"other":C&&A==1||M==1?"one":C&&A==2||M==2?"two":C&&(A==3||A==4)||M==3||M==4?"few":"other"},hu:(m,f)=>f?m==1||m==5?"one":"other":m==1?"one":"other",hy:(m,f)=>f?m==1?"one":"other":m>=0&&m<2?"one":"other",ia:vi,id:ut,ig:ut,ii:ut,io:vi,is:(m,f)=>{let v=String(m).split("."),y=v[0],x=(v[1]||"").replace(/0+$/,""),C=Number(v[0])==m,A=y.slice(-1),M=y.slice(-2);return f?"other":C&&A==1&&M!=11||x%10==1&&x%100!=11?"one":"other"},it:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&C==0&&x?"many":"other"},iu:vn,ja:ut,jbo:ut,jgo:oe,jmc:oe,jv:ut,jw:ut,ka:(m,f)=>{let v=String(m).split("."),y=v[0],x=y.slice(-2);return f?y==1?"one":y==0||x>=2&&x<=20||x==40||x==60||x==80?"many":"other":m==1?"one":"other"},kab:(m,f)=>f?"other":m>=0&&m<2?"one":"other",kaj:oe,kcg:oe,kde:ut,kea:ut,kk:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1);return f?x==6||x==9||y&&x==0&&m!=0?"many":"other":m==1?"one":"other"},kkj:oe,kl:oe,km:ut,kn:so,ko:ut,ks:oe,ksb:oe,ksh:(m,f)=>f?"other":m==0?"zero":m==1?"one":"other",ku:oe,kw:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2),C=y&&v[0].slice(-3),A=y&&v[0].slice(-5),M=y&&v[0].slice(-6);return f?y&&m>=1&&m<=4||x>=1&&x<=4||x>=21&&x<=24||x>=41&&x<=44||x>=61&&x<=64||x>=81&&x<=84?"one":m==5||x==5?"many":"other":m==0?"zero":m==1?"one":x==2||x==22||x==42||x==62||x==82||y&&C==0&&(A>=1e3&&A<=2e4||A==4e4||A==6e4||A==8e4)||m!=0&&M==1e5?"two":x==3||x==23||x==43||x==63||x==83?"few":m!=1&&(x==1||x==21||x==41||x==61||x==81)?"many":"other"},ky:oe,lag:(m,f)=>{let v=String(m).split("."),y=v[0];return f?"other":m==0?"zero":(y==0||y==1)&&m!=0?"one":"other"},lb:oe,lg:oe,lij:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m;return f?m==11||m==8||x&&m>=80&&m<=89||x&&m>=800&&m<=899?"many":"other":m==1&&y?"one":"other"},lkt:ut,ln:bn,lo:(m,f)=>f&&m==1?"one":"other",lt:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=Number(v[0])==m,C=x&&v[0].slice(-1),A=x&&v[0].slice(-2);return f?"other":C==1&&(A<11||A>19)?"one":C>=2&&C<=9&&(A<11||A>19)?"few":y!=0?"many":"other"},lv:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=y.length,C=Number(v[0])==m,A=C&&v[0].slice(-1),M=C&&v[0].slice(-2),F=y.slice(-2),K=y.slice(-1);return f?"other":C&&A==0||M>=11&&M<=19||x==2&&F>=11&&F<=19?"zero":A==1&&M!=11||x==2&&K==1&&F!=11||x!=2&&K==1?"one":"other"},mas:oe,mg:bn,mgo:oe,mk:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=y.slice(-2),F=x.slice(-1),K=x.slice(-2);return f?A==1&&M!=11?"one":A==2&&M!=12?"two":(A==7||A==8)&&M!=17&&M!=18?"many":"other":C&&A==1&&M!=11||F==1&&K!=11?"one":"other"},ml:oe,mn:oe,mo:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,C=x&&v[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&C>=1&&C<=19?"few":"other"},mr:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":"other":m==1?"one":"other",ms:(m,f)=>f&&m==1?"one":"other",mt:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-2);return f?"other":m==1?"one":m==2?"two":m==0||x>=3&&x<=10?"few":x>=11&&x<=19?"many":"other"},my:ut,nah:oe,naq:vn,nb:oe,nd:oe,ne:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?y&&m>=1&&m<=4?"one":"other":m==1?"one":"other"},nl:vi,nn:oe,nnh:oe,no:oe,nqo:ut,nr:oe,nso:bn,ny:oe,nyn:oe,om:oe,or:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?m==1||m==5||y&&m>=7&&m<=9?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m==1?"one":"other"},os:oe,osa:ut,pa:bn,pap:oe,pcm:so,pl:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-1),A=y.slice(-2);return f?"other":m==1&&x?"one":x&&C>=2&&C<=4&&(A<12||A>14)?"few":x&&y!=1&&(C==0||C==1)||x&&C>=5&&C<=9||x&&A>=12&&A<=14?"many":"other"},prg:(m,f)=>{let v=String(m).split("."),y=v[1]||"",x=y.length,C=Number(v[0])==m,A=C&&v[0].slice(-1),M=C&&v[0].slice(-2),F=y.slice(-2),K=y.slice(-1);return f?"other":C&&A==0||M>=11&&M<=19||x==2&&F>=11&&F<=19?"zero":A==1&&M!=11||x==2&&K==1&&F!=11||x!=2&&K==1?"one":"other"},ps:oe,pt:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&C==0&&x?"many":"other"},pt_PT:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?"other":m==1&&x?"one":y!=0&&C==0&&x?"many":"other"},rm:oe,ro:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,C=x&&v[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&C>=1&&C<=19?"few":"other"},rof:oe,ru:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-1),A=y.slice(-2);return f?"other":x&&C==1&&A!=11?"one":x&&C>=2&&C<=4&&(A<12||A>14)?"few":x&&C==0||x&&C>=5&&C<=9||x&&A>=11&&A<=14?"many":"other"},rwk:oe,sah:ut,saq:oe,sat:vn,sc:(m,f)=>{let v=String(m).split("."),y=!v[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},scn:(m,f)=>{let v=String(m).split("."),y=!v[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},sd:oe,sdh:oe,se:vn,seh:oe,ses:ut,sg:ut,sh:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=y.slice(-2),F=x.slice(-1),K=x.slice(-2);return f?"other":C&&A==1&&M!=11||F==1&&K!=11?"one":C&&A>=2&&A<=4&&(M<12||M>14)||F>=2&&F<=4&&(K<12||K>14)?"few":"other"},shi:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?"other":m>=0&&m<=1?"one":y&&m>=2&&m<=10?"few":"other"},si:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"";return f?"other":m==0||m==1||y==0&&x==1?"one":"other"},sk:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},sl:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-2);return f?"other":x&&C==1?"one":x&&C==2?"two":x&&(C==3||C==4)||!x?"few":"other"},sma:vn,smi:vn,smj:vn,smn:vn,sms:vn,sn:oe,so:oe,sq:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1),C=y&&v[0].slice(-2);return f?m==1?"one":x==4&&C!=14?"many":"other":m==1?"one":"other"},sr:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=y.slice(-2),F=x.slice(-1),K=x.slice(-2);return f?"other":C&&A==1&&M!=11||F==1&&K!=11?"one":C&&A>=2&&A<=4&&(M<12||M>14)||F>=2&&F<=4&&(K<12||K>14)?"few":"other"},ss:oe,ssy:oe,st:oe,su:ut,sv:(m,f)=>{let v=String(m).split("."),y=!v[1],x=Number(v[0])==m,C=x&&v[0].slice(-1),A=x&&v[0].slice(-2);return f?(C==1||C==2)&&A!=11&&A!=12?"one":"other":m==1&&y?"one":"other"},sw:vi,syr:oe,ta:oe,te:oe,teo:oe,th:ut,ti:bn,tig:oe,tk:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m,x=y&&v[0].slice(-1);return f?x==6||x==9||m==10?"few":"other":m==1?"one":"other"},tl:(m,f)=>{let v=String(m).split("."),y=v[0],x=v[1]||"",C=!v[1],A=y.slice(-1),M=x.slice(-1);return f?m==1?"one":"other":C&&(y==1||y==2||y==3)||C&&A!=4&&A!=6&&A!=9||!C&&M!=4&&M!=6&&M!=9?"one":"other"},tn:oe,to:ut,tpi:ut,tr:oe,ts:oe,tzm:(m,f)=>{let v=String(m).split("."),y=Number(v[0])==m;return f?"other":m==0||m==1||y&&m>=11&&m<=99?"one":"other"},ug:oe,uk:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=Number(v[0])==m,A=C&&v[0].slice(-1),M=C&&v[0].slice(-2),F=y.slice(-1),K=y.slice(-2);return f?A==3&&M!=13?"few":"other":x&&F==1&&K!=11?"one":x&&F>=2&&F<=4&&(K<12||K>14)?"few":x&&F==0||x&&F>=5&&F<=9||x&&K>=11&&K<=14?"many":"other"},und:ut,ur:vi,uz:oe,ve:oe,vec:(m,f)=>{let v=String(m).split("."),y=v[0],x=!v[1],C=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&C==0&&x?"many":"other"},vi:(m,f)=>f&&m==1?"one":"other",vo:oe,vun:oe,wa:bn,wae:oe,wo:ut,xh:oe,xog:oe,yi:vi,yo:ut,yue:ut,zh:ut,zu:so});function th(m){if(typeof m!="string"||m.length<2)throw new RangeError("Invalid language tag: ".concat(m));if(m.startsWith("pt-PT"))return"pt-PT";var f=m.match(/.+?(?=[-_])/);return f?f[0]:m}function ic(m){if(typeof m=="function"){var f=th(m.name);return{isDefault:!1,id:Un(f),lc:f,locale:m.name,getPlural:m,cardinals:m.cardinals||[],ordinals:m.ordinals||[]}}var v=th(m),y=Un(v);return Vne(y)?{isDefault:!0,id:y,lc:v,locale:m,getCardinal:Nne[y],getPlural:ac[y],cardinals:cb[y].cardinal,ordinals:cb[y].ordinal}:null}function Lne(m){var f=Object.keys(ac).filter(function(v){return v!==m});return f.unshift(m),f.map(ic)}function Fne(m){var f=th(m);return Un(f)in ac}function Vne(m){return m in ac}var zne=function(){function m(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=Lne(m.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(ic).filter(Boolean);else if(f){var y=ic(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=ic(m.defaultLocale);this.plurals=[y]}}return m.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},m.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(Fne)},m.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},m.prototype.compile=function(f){var v,y,x=new Pne(this.options),C="return "+x.compile(f,this.plurals[0]),A=[],M=[];try{for(var F=a(Object.entries(x.runtime)),K=F.next();!K.done;K=F.next()){var De=i(K.value,2),Ve=De[0],Je=De[1];A.push(Ve),M.push(Je)}}catch(Mt){v={error:Mt}}finally{try{K&&!K.done&&(y=F.return)&&y.call(F)}finally{if(v)throw v.error}}var de=new(Function.bind.apply(Function,r(r([void 0],i(A),!1),[C],!1)));return de.apply(void 0,r([],i(M),!1))},m.defaultLocale="en",m}();return zne})}),gi=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function a(i,r){t(this,a),this.data=i,this.text=r.text||i,this.options=r};e.default=n}),Xne=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function E(O,B){for(var j=0;j<B.length;j++){var fe=B[j];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(O,fe.key,fe)}}return function(O,B,j){return B&&E(O.prototype,B),j&&E(O,j),O}}(),n=gi(),a=i(n);function i(E){return E&&E.__esModule?E:{default:E}}function r(E,O){if(!(E instanceof O))throw new TypeError("Cannot call a class as a function")}function s(E,O){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:E}function l(E,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);E.prototype=Object.create(O&&O.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(E,O):E.__proto__=O)}var c=function(E){l(O,E);function O(B,j){return r(this,O),B=B.toUpperCase(),j.mod43&&(B+=g(k(B))),s(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,B,j))}return t(O,[{key:"encode",value:function(){for(var B=p("*"),j=0;j<this.data.length;j++)B+=p(this.data[j])+"0";return B+=p("*"),{data:B,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),O}(a.default),d=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],u=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function p(E){return b(w(E))}function b(E){return u[E].toString(2)}function g(E){return d[E]}function w(E){return d.indexOf(E)}function k(E){for(var O=0,B=0;B<E.length;B++)O+=w(E[B]);return O=O%43,O}e.CODE39=c}),ml=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(d,u,p){return u in d?Object.defineProperty(d,u,{value:p,enumerable:!0,configurable:!0,writable:!0}):d[u]=p,d}var a=e.SET_A=0,i=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var s=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,s,a),n(t,l,i),n(t,c,r),t),e.SWAP={101:a,100:i,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),$d=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=gi(),a=r(n),i=ml();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){s(this,p);var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(k){return k.charCodeAt(0)}),w}return t(p,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=i.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(i.FNC1);var k=p.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:p.getBar(g)+k.result+p.getBar((k.checksum+g)%i.MODULO)+p.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return i.BARS[b]?i.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===i.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===i.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var k=void 0,E=void 0;if(b[0]>=200){E=b.shift()-105;var O=i.SWAP[E];O!==void 0?k=p.next(b,g+1,O):((w===i.SET_A||w===i.SET_B)&&E===i.SHIFT&&(b[0]=w===i.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),k=p.next(b,g+1,w))}else E=p.correctIndex(b,w),k=p.next(b,g+1,w);var B=p.getBar(E),j=E*g;return{result:B+k.result,checksum:j+k.checksum}}}]),p}(a.default);e.default=d}),Jne=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=ml(),n=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,c){var d=c?t.A_CHARS:t.B_CHARS,u=l.match(new RegExp("^("+d+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+s(l.substring(u[1].length));var p=l.match(new RegExp("^"+d+"+"))[0];return p.length===l.length?l:p+String.fromCharCode(c?205:206)+r(l.substring(p.length),!c)}function s(l){var c=i(l),d=c.length;if(d===l.length)return l;l=l.substring(d);var u=n(l)>=a(l);return c+String.fromCharCode(u?206:205)+r(l,u)}e.default=function(l){var c=void 0,d=i(l).length;if(d>=2)c=t.C_START_CHAR+s(l);else{var u=n(l)>a(l);c=(u?t.A_START_CHAR:t.B_START_CHAR)+r(l,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(p,b){return"Ë"+b})}}),ere=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=$d(),n=r(t),a=Jne(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){if(s(this,p),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,(0,i.default)(b),g));else var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g));return l(w)}return p}(n.default);e.default=d}),tre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=$d(),a=r(n),i=ml();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.A_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),are=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=$d(),a=r(n),i=ml();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.B_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),ire=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=$d(),a=r(n),i=ml();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.C_START_CHAR+b,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),nre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=ere(),n=d(t),a=tre(),i=d(a),r=are(),s=d(r),l=ire(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=i.default,e.CODE128B=s.default,e.CODE128C=c.default}),fl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),gl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=fl(),n=function(a,i,r){var s=a.split("").map(function(c,d){return t.BINARIES[i[d]]}).map(function(c,d){return c?c[a[d]]:""});if(r){var l=a.length-1;s=s.map(function(c,d){return d<l?c+r:c})}return s.join("")};e.default=n}),j0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var E=w[k];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=fl(),a=gl(),i=l(a),r=gi(),s=l(r);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function d(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var p=function(b){u(g,b);function g(w,k){c(this,g);var E=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return E.fontSize=!k.flat&&k.fontSize>k.width*10?k.width*10:k.fontSize,E.guardHeight=k.height+E.fontSize/2+k.textMargin,E}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,k){return this.text.substr(w,k)}},{key:"leftEncode",value:function(w,k){return(0,i.default)(w,k)}},{key:"rightText",value:function(w,k){return this.text.substr(w,k)}},{key:"rightEncode",value:function(w,k){return(0,i.default)(w,k)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},k={height:this.guardHeight};return[{data:n.SIDE_BIN,options:k},{data:this.leftEncode(),text:this.leftText(),options:w},{data:n.MIDDLE_BIN,options:k},{data:this.rightEncode(),text:this.rightText(),options:w},{data:n.SIDE_BIN,options:k}]}},{key:"encodeFlat",value:function(){var w=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(s.default);e.default=p}),rre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var E=w[k];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=function b(g,w,k){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,w);if(E===void 0){var O=Object.getPrototypeOf(g);return O===null?void 0:b(O,w,k)}else{if("value"in E)return E.value;var B=E.get;return B===void 0?void 0:B.call(k)}},a=fl(),i=j0(),r=s(i);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var u=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,k,E){return E%2?w+k*3:w+k},0);return(10-g%10)%10},p=function(b){d(g,b);function g(w,k){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=u(w));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return E.lastChar=k.lastChar,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),k=a.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,k)}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(r.default);e.default=p}),ore=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function p(b,g){for(var w=0;w<g.length;w++){var k=g[w];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,g,w){return g&&p(b.prototype,g),w&&p(b,w),b}}(),n=function p(b,g,w){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,g);if(k===void 0){var E=Object.getPrototypeOf(b);return E===null?void 0:p(E,g,w)}else{if("value"in k)return k.value;var O=k.get;return O===void 0?void 0:O.call(w)}},a=j0(),i=r(a);function r(p){return p&&p.__esModule?p:{default:p}}function s(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}function l(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:p}function c(p,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}var d=function(p){var b=p.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,k){return k%2?g+w:g+w*3},0);return(10-b%10)%10},u=function(p){c(b,p);function b(g,w){return s(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(i.default);e.default=u}),sre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,k){for(var E=0;E<k.length;E++){var O=k[E];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(w,O.key,O)}}return function(w,k,E){return k&&g(w.prototype,k),E&&g(w,E),w}}(),n=fl(),a=gl(),i=l(a),r=gi(),s=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function d(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function u(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var p=function(g){var w=g.split("").map(function(k){return+k}).reduce(function(k,E,O){return O%2?k+E*9:k+E*3},0);return w%10},b=function(g){u(w,g);function w(k,E){return c(this,w),d(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,k,E))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var k=n.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,i.default)(this.data,k,"01"),text:this.text}}}]),w}(s.default);e.default=b}),lre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var E=w[k];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}(),n=fl(),a=gl(),i=l(a),r=gi(),s=l(r);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function d(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var p=function(b){u(g,b);function g(w,k){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,w,"01"),text:this.text}}}]),g}(s.default);e.default=p}),H0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var k=0;k<w.length;k++){var E=w[k];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,w,k){return w&&b(g.prototype,w),k&&b(g,k),g}}();e.checksum=p;var n=gl(),a=s(n),i=gi(),r=s(i);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var u=function(b){d(g,b);function g(w,k){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=p(w));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,k));return E.displayValue=k.displayValue,k.fontSize>k.width*10?E.fontSize=k.width*10:E.fontSize=k.fontSize,E.guardHeight=k.height+E.fontSize/2+k.textMargin,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,a.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,a.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,a.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,a.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,a.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,a.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(r.default);function p(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=u}),cre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function k(E,O){for(var B=0;B<O.length;B++){var j=O[B];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(E,j.key,j)}}return function(E,O,B){return O&&k(E.prototype,O),B&&k(E,B),E}}(),n=gl(),a=l(n),i=gi(),r=l(i),s=H0();function l(k){return k&&k.__esModule?k:{default:k}}function c(k,E){if(!(k instanceof E))throw new TypeError("Cannot call a class as a function")}function d(k,E){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:k}function u(k,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);k.prototype=Object.create(E&&E.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(k,E):k.__proto__=E)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(k){u(E,k);function E(O,B){c(this,E);var j=d(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,O,B));if(j.isValid=!1,O.search(/^[0-9]{6}$/)!==-1)j.middleDigits=O,j.upcA=w(O,"0"),j.text=B.text||""+j.upcA[0]+O+j.upcA[j.upcA.length-1],j.isValid=!0;else if(O.search(/^[01][0-9]{7}$/)!==-1)if(j.middleDigits=O.substring(1,O.length-1),j.upcA=w(j.middleDigits,O[0]),j.upcA[j.upcA.length-1]===O[O.length-1])j.isValid=!0;else return d(j);else return d(j);return j.displayValue=B.displayValue,B.fontSize>B.width*10?j.fontSize=B.width*10:j.fontSize=B.fontSize,j.guardHeight=B.height+j.fontSize/2+B.textMargin,j}return t(E,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var O="";return O+="101",O+=this.encodeMiddleDigits(),O+="010101",{data:O,text:this.text}}},{key:"guardedEncoding",value:function(){var O=[];return this.displayValue&&O.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),O.push({data:"101",options:{height:this.guardHeight}}),O.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),O.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&O.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),O}},{key:"encodeMiddleDigits",value:function(){var O=this.upcA[0],B=this.upcA[this.upcA.length-1],j=b[parseInt(B)][parseInt(O)];return(0,a.default)(this.middleDigits,j)}}]),E}(r.default);function w(k,E){for(var O=parseInt(k[k.length-1]),B=p[O],j="",fe=0,Pe=0;Pe<B.length;Pe++){var He=B[Pe];He==="X"?j+=k[fe++]:j+=He}return j=""+E+j,""+j+(0,s.checksum)(j)}e.default=g}),dre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=rre(),n=g(t),a=ore(),i=g(a),r=sre(),s=g(r),l=lre(),c=g(l),d=H0(),u=g(d),p=cre(),b=g(p);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=n.default,e.EAN8=i.default,e.EAN5=s.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=b.default}),ure=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),U0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=ure(),a=gi(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return t(p,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=n.BINARIES[b[1]];return n.BINARIES[b[0]].split("").map(function(w,k){return(w==="1"?"111":"1")+(g[k]==="1"?"000":"0")}).join("")}}]),p}(i.default);e.default=d}),hre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=U0(),a=i(n);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function s(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function l(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var c=function(u){var p=u.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(p/10)*10-p},d=function(u){l(p,u);function p(b,g){return r(this,p),b.search(/^[0-9]{13}$/)!==-1&&(b+=c(b)),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),p}(a.default);e.default=d}),pre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=U0(),n=r(t),a=hre(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=i.default}),bl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=gi(),a=i(n);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function s(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function l(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var c=function(u){l(p,u);function p(b,g){return r(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),k=w.toString(2);k=d(k,4-k.length);for(var E=0;E<k.length;E++)b+=k[E]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),p}(a.default);function d(u,p){for(var b=0;b<p;b++)u="0"+u;return u}e.default=c}),Yd=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(a){for(var i=0,r=0;r<a.length;r++){var s=parseInt(a[r]);(r+a.length)%2===0?i+=s:i+=s*2%10+Math.floor(s*2/10)}return(10-i%10)%10}function n(a){for(var i=0,r=[2,3,4,5,6,7],s=0;s<a.length;s++){var l=parseInt(a[a.length-1-s]);i+=r[s%r.length]*l}return(11-i%11)%11}}),mre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=bl(),n=i(t),a=Yd();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod10)(p),b))}return u}(n.default);e.default=c}),fre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=bl(),n=i(t),a=Yd();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod11)(p),b))}return u}(n.default);e.default=c}),gre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=bl(),n=i(t),a=Yd();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),p+=(0,a.mod10)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return u}(n.default);e.default=c}),bre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=bl(),n=i(t),a=Yd();function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),p+=(0,a.mod11)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return u}(n.default);e.default=c}),vre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=bl(),n=p(t),a=mre(),i=p(a),r=fre(),s=p(r),l=gre(),c=p(l),d=bre(),u=p(d);function p(b){return b&&b.__esModule?b:{default:b}}e.MSI=n.default,e.MSI10=i.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),yre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=gi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b));return g.number=parseInt(p,10),g}return t(u,[{key:"encode",value:function(){for(var p=this.number,b="";!isNaN(p)&&p!=0;)p%2===0?(b="11100"+b,p=(p-2)/2):(b="100"+b,p=(p-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(a.default);e.pharmacode=c}),_re=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=gi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){r(this,u),p.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(p="A"+p+"A");var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p.toUpperCase(),b));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(u,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var p=[],b=this.getEncodings(),g=0;g<this.data.length;g++)p.push(b[this.data.charAt(g)]),g!==this.data.length-1&&p.push("0");return{text:this.text,data:p.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),u}(a.default);e.codabar=c}),xre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),W0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,b,g){return b&&u(p.prototype,b),g&&u(p,g),p}}(),n=xre(),a=gi(),i=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function l(u,p){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:u}function c(u,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);u.prototype=Object.create(p&&p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(u,p):u.__proto__=p)}var d=function(u){c(p,u);function p(b,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,b,g))}return t(p,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(E){return n.MULTI_SYMBOLS[E]||E}),g=b.map(function(E){return p.getEncoding(E)}).join(""),w=p.checksum(b,20),k=p.checksum(b.concat(w),15);return{text:this.text,data:p.getEncoding("ÿ")+g+p.getEncoding(w)+p.getEncoding(k)+p.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return n.BINARIES[p.symbolValue(b)]}},{key:"getSymbol",value:function(b){return n.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return n.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(k,E,O){var B=O%g+1;return k+p.symbolValue(E)*B},0);return p.getSymbol(w%47)}}]),p}(i.default);e.default=d}),wre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=W0(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(a.default);e.default=c}),kre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=W0(),n=r(t),a=wre(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=i.default}),Cre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=gi(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(p,b){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,b))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(a.default);e.GenericBarcode=c}),Sre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xne(),n=nre(),a=dre(),i=pre(),r=vre(),s=yre(),l=_re(),c=kre(),d=Cre();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:a.EAN13,EAN8:a.EAN8,EAN5:a.EAN5,EAN2:a.EAN2,UPC:a.UPC,UPCE:a.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}}),Gd=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};e.default=function(n,a){return t({},n,a)}}),Ere=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var a=[];function i(r){if(Array.isArray(r))for(var s=0;s<r.length;s++)i(r[s]);else r.text=r.text||"",r.data=r.data||"",a.push(r)}return i(n),a}}),Dre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){return n.marginTop=n.marginTop||n.margin,n.marginBottom=n.marginBottom||n.margin,n.marginRight=n.marginRight||n.margin,n.marginLeft=n.marginLeft||n.margin,n}}),q0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var a=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in a)a.hasOwnProperty(i)&&(i=a[i],typeof n[i]=="string"&&(n[i]=parseInt(n[i],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),$0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),Ire=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=q0(),n=r(t),a=$0(),i=r(a);function r(l){return l&&l.__esModule?l:{default:l}}function s(l){var c={};for(var d in i.default)i.default.hasOwnProperty(d)&&(l.hasAttribute("jsbarcode-"+d.toLowerCase())&&(c[d]=l.getAttribute("jsbarcode-"+d.toLowerCase())),l.hasAttribute("data-"+d.toLowerCase())&&(c[d]=l.getAttribute("data-"+d.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,n.default)(c),c}e.default=s}),Y0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Gd(),n=a(t);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,p){return p.height+(p.displayValue&&u.text.length>0?p.fontSize+p.textMargin:0)+p.marginTop+p.marginBottom}function r(u,p,b){if(b.displayValue&&p<u){if(b.textAlign=="center")return Math.floor((u-p)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(u-p)}return 0}function s(u,p,b){for(var g=0;g<u.length;g++){var w=u[g],k=(0,n.default)(p,w.options),E;k.displayValue?E=d(w.text,k,b):E=0;var O=w.data.length*k.width;w.width=Math.ceil(Math.max(E,O)),w.height=i(w,k),w.barcodePadding=r(E,O,k)}}function l(u){for(var p=0,b=0;b<u.length;b++)p+=u[b].width;return p}function c(u){for(var p=0,b=0;b<u.length;b++)u[b].height>p&&(p=u[b].height);return p}function d(u,p,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=p.fontOptions+" "+p.fontSize+"px "+p.font;var w=g.measureText(u);if(!w)return 0;var k=w.width;return k}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=i,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),Are=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var p=0;p<u.length;p++){var b=u[p];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,u,p){return u&&c(d.prototype,u),p&&c(d,p),d}}(),n=Gd(),a=r(n),i=Y0();function r(c){return c&&c.__esModule?c:{default:c}}function s(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,p){s(this,c),this.canvas=d,this.encodings=u,this.options=p}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var d=0;d<this.encodings.length;d++){var u=(0,a.default)(this.options,this.encodings[d].options);this.drawCanvasBarcode(u,this.encodings[d]),this.drawCanvasText(u,this.encodings[d]),this.moveCanvasDrawing(this.encodings[d])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var d=this.canvas.getContext("2d");d.save(),(0,i.calculateEncodingAttributes)(this.encodings,this.options,d);var u=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=p,d.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(d.fillStyle=this.options.background,d.fillRect(0,0,this.canvas.width,this.canvas.height)),d.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(d,u){var p=this.canvas.getContext("2d"),b=u.data,g;d.textPosition=="top"?g=d.marginTop+d.fontSize+d.textMargin:g=d.marginTop,p.fillStyle=d.lineColor;for(var w=0;w<b.length;w++){var k=w*d.width+u.barcodePadding;b[w]==="1"?p.fillRect(k,g,d.width,d.height):b[w]&&p.fillRect(k,g,d.width,d.height*b[w])}}},{key:"drawCanvasText",value:function(d,u){var p=this.canvas.getContext("2d"),b=d.fontOptions+" "+d.fontSize+"px "+d.font;if(d.displayValue){var g,w;d.textPosition=="top"?w=d.marginTop+d.fontSize-d.textMargin:w=d.height+d.textMargin+d.marginTop+d.fontSize,p.font=b,d.textAlign=="left"||u.barcodePadding>0?(g=0,p.textAlign="left"):d.textAlign=="right"?(g=u.width-1,p.textAlign="right"):(g=u.width/2,p.textAlign="center"),p.fillText(u.text,g,w)}}},{key:"moveCanvasDrawing",value:function(d){var u=this.canvas.getContext("2d");u.translate(d.width,0)}},{key:"restoreCanvas",value:function(){var d=this.canvas.getContext("2d");d.restore()}}]),c}();e.default=l}),Tre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var b=0;b<p.length;b++){var g=p[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,b){return p&&d(u.prototype,p),b&&d(u,b),u}}(),n=Gd(),a=r(n),i=Y0();function r(d){return d&&d.__esModule?d:{default:d}}function s(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function d(u,p,b){s(this,d),this.svg=u,this.encodings=p,this.options=b,this.document=b.xmlDocument||document}return t(d,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var p=0;p<this.encodings.length;p++){var b=this.encodings[p],g=(0,a.default)(this.options,b.options),w=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),u+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,i.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings),b=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,p),this.options.background&&this.drawRect(0,0,b,p,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(u,p,b){var g=b.data,w;p.textPosition=="top"?w=p.fontSize+p.textMargin:w=0;for(var k=0,E=0,O=0;O<g.length;O++)E=O*p.width+b.barcodePadding,g[O]==="1"?k++:k>0&&(this.drawRect(E-p.width*k,w,p.width*k,p.height,u),k=0);k>0&&this.drawRect(E-p.width*(k-1),w,p.width*k,p.height,u)}},{key:"drawSVGText",value:function(u,p,b){var g=this.document.createElementNS(l,"text");if(p.displayValue){var w,k;g.setAttribute("style","font:"+p.fontOptions+" "+p.fontSize+"px "+p.font),p.textPosition=="top"?k=p.fontSize-p.textMargin:k=p.height+p.textMargin+p.fontSize,p.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):p.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",k),g.appendChild(this.document.createTextNode(b.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,p){var b=this.svg;b.setAttribute("width",u+"px"),b.setAttribute("height",p+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+u+" "+p),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(u,p,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+p+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(u,p){u.setAttribute("style","fill:"+p.lineColor+";")}},{key:"drawRect",value:function(u,p,b,g,w){var k=this.document.createElementNS(l,"rect");return k.setAttribute("x",u),k.setAttribute("y",p),k.setAttribute("width",b),k.setAttribute("height",g),w.appendChild(k),k}}]),d}();e.default=c}),Ore=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&i(r.prototype,s),l&&i(r,l),r}}();function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function(){function i(r,s,l){n(this,i),this.object=r,this.encodings=s,this.options=l}return t(i,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),i}();e.default=a}),Mre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Are(),n=l(t),a=Tre(),i=l(a),r=Ore(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:i.default,ObjectRenderer:s.default}}),G0=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function n(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function a(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var i=function(l){a(c,l);function c(d,u){t(this,c);var p=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return p.name="InvalidInputException",p.symbology=d,p.input=u,p.message='"'+p.input+'" is not a valid input for '+p.symbology,p}return c}(Error),r=function(l){a(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="InvalidElementException",d.message="Not supported type to render on",d}return c}(Error),s=function(l){a(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="NoElementException",d.message="No element to render on.",d}return c}(Error);e.InvalidInputException=i,e.InvalidElementException=r,e.NoElementException=s}),Rre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},n=Ire(),a=l(n),i=Mre(),r=l(i),s=G0();function l(p){return p&&p.__esModule?p:{default:p}}function c(p){if(typeof p=="string")return d(p);if(Array.isArray(p)){for(var b=[],g=0;g<p.length;g++)b.push(c(p[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLImageElement)return u(p);if(p&&p.nodeName&&p.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&p instanceof SVGElement)return{element:p,options:(0,a.default)(p),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement)return{element:p,options:(0,a.default)(p),renderer:r.default.CanvasRenderer};if(p&&p.getContext)return{element:p,renderer:r.default.CanvasRenderer};if(p&&(typeof p>"u"?"undefined":t(p))==="object"&&!p.nodeName)return{element:p,renderer:r.default.ObjectRenderer};throw new s.InvalidElementException}}function d(p){var b=document.querySelectorAll(p);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(c(b[w]));return g}}function u(p){var b=document.createElement("canvas");return{element:b,options:(0,a.default)(p),renderer:r.default.CanvasRenderer,afterRender:function(){p.setAttribute("src",b.toDataURL())}}}e.default=c}),Pre=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&i(r.prototype,s),l&&i(r,l),r}}();function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function(){function i(r){n(this,i),this.api=r}return t(i,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var s=r.apply(void 0,arguments);return this.api._options.valid(!0),s}catch(l){return this.handleCatch(l),this.api}}}]),i}();e.default=a}),Nre=Ae((e,t)=>{var n=Sre(),a=j(n),i=Gd(),r=j(i),s=Ere(),l=j(s),c=Dre(),d=j(c),u=Rre(),p=j(u),b=q0(),g=j(b),w=Pre(),k=j(w),E=G0(),O=$0(),B=j(O);function j(me){return me&&me.__esModule?me:{default:me}}var fe=function(){},Pe=function(me,ne,qe){var $=new fe;if(typeof me>"u")throw Error("No element to render on was provided.");return $._renderProperties=(0,p.default)(me),$._encodings=[],$._options=B.default,$._errorHandler=new k.default($),typeof ne<"u"&&(qe=qe||{},qe.format||(qe.format=Tt()),$.options(qe)[qe.format](ne,qe).render()),$};Pe.getModule=function(me){return a.default[me]};for(He in a.default)a.default.hasOwnProperty(He)&&ba(a.default,He);var He;function ba(me,ne){fe.prototype[ne]=fe.prototype[ne.toUpperCase()]=fe.prototype[ne.toLowerCase()]=function(qe,$){var Q=this;return Q._errorHandler.wrapBarcodeCall(function(){$.text=typeof $.text>"u"?void 0:""+$.text;var le=(0,r.default)(Q._options,$);le=(0,g.default)(le);var Qe=me[ne],St=Qt(qe,Qe,le);return Q._encodings.push(St),Q})}}function Qt(me,ne,qe){me=""+me;var $=new ne(me,qe);if(!$.valid())throw new E.InvalidInputException($.constructor.name,me);var Q=$.encode();Q=(0,l.default)(Q);for(var le=0;le<Q.length;le++)Q[le].options=(0,r.default)(qe,Q[le].options);return Q}function Tt(){return a.default.CODE128?"CODE128":Object.keys(a.default)[0]}fe.prototype.options=function(me){return this._options=(0,r.default)(this._options,me),this},fe.prototype.blank=function(me){var ne=new Array(me+1).join("0");return this._encodings.push({data:ne}),this},fe.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var me;for(var ne in this._renderProperties){me=this._renderProperties[ne];var qe=(0,r.default)(this._options,me.options);qe.format=="auto"&&(qe.format=Tt()),this._errorHandler.wrapBarcodeCall(function(){var $=qe.value,Q=a.default[qe.format.toUpperCase()],le=Qt($,Q,qe);oa(me,le,qe)})}}},fe.prototype.render=function(){if(!this._renderProperties)throw new E.NoElementException;if(Array.isArray(this._renderProperties))for(var me=0;me<this._renderProperties.length;me++)oa(this._renderProperties[me],this._encodings,this._options);else oa(this._renderProperties,this._encodings,this._options);return this},fe.prototype._defaults=B.default;function oa(me,ne,qe){ne=(0,l.default)(ne);for(var $=0;$<ne.length;$++)ne[$].options=(0,r.default)(qe,ne[$].options),(0,d.default)(ne[$].options);(0,d.default)(qe);var Q=me.renderer,le=new Q(me.element,ne,qe);le.render(),me.afterRender&&me.afterRender()}typeof window<"u"&&(window.JsBarcode=Pe),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(me,ne){var qe=[];return jQuery(this).each(function(){qe.push(this)}),Pe(qe,me,ne)}),t.exports=Pe});function Vm(e,t){return Object.is(e,t)}var Jt=null,zc=!1,zm=1,La=Symbol("SIGNAL");function Ke(e){let t=Jt;return Jt=e,t}function Lre(){return Jt}var Ko={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 vl(e){if(zc)throw new Error("");if(Jt===null)return;Jt.consumerOnSignalRead(e);let t=Jt.nextProducerIndex++;if(Xd(Jt),t<Jt.producerNode.length&&Jt.producerNode[t]!==e&&$s(Jt)){let n=Jt.producerNode[t];Qd(n,Jt.producerIndexOfThis[t])}Jt.producerNode[t]!==e&&(Jt.producerNode[t]=e,Jt.producerIndexOfThis[t]=$s(Jt)?Q0(e,Jt,t):0),Jt.producerLastReadVersion[t]=e.version}function Fre(){zm++}function yl(e){if(!($s(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===zm)){if(!e.producerMustRecompute(e)&&!Bm(e)){rd(e);return}e.producerRecomputeValue(e),rd(e)}}function Z0(e){if(e.liveConsumerNode===void 0)return;let t=zc;zc=!0;try{for(let n of e.liveConsumerNode)n.dirty||Vre(n)}finally{zc=t}}function K0(){return(Jt==null?void 0:Jt.consumerAllowSignalWrites)!==!1}function Vre(e){var t;e.dirty=!0,Z0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function rd(e){e.dirty=!1,e.lastCleanEpoch=zm}function qs(e){return e&&(e.nextProducerIndex=0),Ke(e)}function Zd(e,t){if(Ke(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if($s(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Qd(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Bm(e){Xd(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],a=e.producerLastReadVersion[t];if(a!==n.version||(yl(n),a!==n.version))return!0}return!1}function Kd(e){if(Xd(e),$s(e))for(let t=0;t<e.producerNode.length;t++)Qd(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Q0(e,t,n){if(X0(e),e.liveConsumerNode.length===0&&J0(e))for(let a=0;a<e.producerNode.length;a++)e.producerIndexOfThis[a]=Q0(e.producerNode[a],e,a);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Qd(e,t){if(X0(e),e.liveConsumerNode.length===1&&J0(e))for(let a=0;a<e.producerNode.length;a++)Qd(e.producerNode[a],e.producerIndexOfThis[a]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let a=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Xd(i),i.producerIndexOfThis[a]=t}}function $s(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Xd(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function X0(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function J0(e){return e.producerNode!==void 0}function e_(e,t){let n=Object.create(zre);n.computation=e,t!==void 0&&(n.equal=t);let a=()=>{if(yl(n),vl(n),n.value===Jn)throw n.error;return n.value};return a[La]=n,a}var Or=Symbol("UNSET"),Eo=Symbol("COMPUTING"),Jn=Symbol("ERRORED"),zre=yt(ge({},Ko),{value:Or,dirty:!0,error:null,equal:Vm,kind:"computed",producerMustRecompute(e){return e.value===Or||e.value===Eo},producerRecomputeValue(e){if(e.value===Eo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Eo;let n=qs(e),a,i=!1;try{a=e.computation(),Ke(null),i=t!==Or&&t!==Jn&&a!==Jn&&e.equal(t,a)}catch(r){a=Jn,e.error=r}finally{Zd(e,n)}if(i){e.value=t;return}e.value=a,e.version++}});function Bre(){throw new Error}var t_=Bre;function a_(e){t_(e)}function jre(e){t_=e}function Hre(e,t){let n=Object.create(n_);n.value=e,t!==void 0&&(n.equal=t);let a=()=>(vl(n),n.value);return a[La]=n,a}function _l(e,t){K0()||a_(e),e.equal(e.value,t)||(e.value=t,Ure(e))}function i_(e,t){K0()||a_(e),_l(e,t(e.value))}var n_=yt(ge({},Ko),{equal:Vm,value:void 0,kind:"signal"});function Ure(e){e.version++,Fre(),Z0(e)}function fb(e,t,n){let a=Object.create($re);a.source=e,a.computation=t,n!=null&&(a.equal=n);let i=()=>{if(yl(a),vl(a),a.value===Jn)throw a.error;return a.value};return i[La]=a,i}function Wre(e,t){yl(e),_l(e,t),rd(e)}function qre(e,t){yl(e),i_(e,t),rd(e)}var $re=yt(ge({},Ko),{value:Or,dirty:!0,error:null,equal:Vm,kind:"linkedSignal",producerMustRecompute(e){return e.value===Or||e.value===Eo},producerRecomputeValue(e){if(e.value===Eo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Eo;let n=qs(e),a;try{let i=e.source(),r=t===Or||t===Jn?void 0:{source:e.sourceValue,value:t};a=e.computation(i,r),e.sourceValue=i}catch(i){a=Jn,e.error=i}finally{Zd(e,n)}if(t!==Or&&a!==Jn&&e.equal(t,a)){e.value=t;return}e.value=a,e.version++}});function Yre(e){let t=Ke(null);try{return e()}finally{Ke(t)}}var hp;function Bc(){return hp}function $n(e){let t=hp;return hp=e,t}var r_=Symbol("NotFound");function Rt(e){return typeof e=="function"}function jm(e){let t=e(n=>{Error.call(n),n.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ah=jm(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
+ ${t.map((n,a)=>`${a+1}) ${n.toString()}`).join(`
14
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function od(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ge=class pp{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let r of n)r.remove(this);else n.remove(this);let{initialTeardown:a}=this;if(Rt(a))try{a()}catch(r){t=r instanceof ah?r.errors:[r]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let r of i)try{gb(r)}catch(s){t=t??[],s instanceof ah?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ah(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gb(t);else{if(t instanceof pp){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&od(n,t)}remove(t){let{_finalizers:n}=this;n&&od(n,t),t instanceof pp&&t._removeParent(this)}};Ge.EMPTY=(()=>{let e=new Ge;return e.closed=!0,e})();var o_=Ge.EMPTY;function s_(e){return e instanceof Ge||e&&"closed"in e&&Rt(e.remove)&&Rt(e.add)&&Rt(e.unsubscribe)}function gb(e){Rt(e)?e():e.unsubscribe()}var Gre={Promise:void 0},Zre={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function l_(e){Zre.setTimeout(()=>{throw e})}function mp(){}function jc(e){e()}var Hm=class extends Ge{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,s_(e)&&e.add(this)):this.destination=Xre}static create(e,t,n){return new Ys(e,t,n)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Kre=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){sc(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){sc(n)}else sc(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){sc(t)}}},Ys=class extends Hm{constructor(e,t,n){super();let a;Rt(e)||!e?a={next:e??void 0,error:t??void 0,complete:n??void 0}:a=e,this.destination=new Kre(a)}};function sc(e){l_(e)}function Qre(e){throw e}var Xre={closed:!0,next:mp,error:Qre,complete:mp},Um=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Qo(e){return e}function Jre(e){return e.length===0?Qo:e.length===1?e[0]:function(t){return e.reduce((n,a)=>a(n),t)}}var kt=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let a=new e;return a.source=this,a.operator=n,a}subscribe(n,a,i){let r=toe(n)?n:new Ys(n,a,i);return jc(()=>{let{operator:s,source:l}=this;r.add(s?s.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(a){n.error(a)}}forEach(n,a){return a=bb(a),new a((i,r)=>{let s=new Ys({next:l=>{try{n(l)}catch(c){r(c),s.unsubscribe()}},error:r,complete:i});this.subscribe(s)})}_subscribe(n){var a;return(a=this.source)===null||a===void 0?void 0:a.subscribe(n)}[Um](){return this}pipe(...n){return Jre(n)(this)}toPromise(n){return n=bb(n),new n((a,i)=>{let r;this.subscribe(s=>r=s,s=>i(s),()=>a(r))})}}return e.create=t=>new e(t),e})();function bb(e){var t;return(t=e??Gre.Promise)!==null&&t!==void 0?t:Promise}function eoe(e){return e&&Rt(e.next)&&Rt(e.error)&&Rt(e.complete)}function toe(e){return e&&e instanceof Hm||eoe(e)&&s_(e)}function c_(e){return Rt(e==null?void 0:e.lift)}function ka(e){return t=>{if(c_(t))return t.lift(function(n){try{return e(n,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}function ia(e,t,n,a,i){return new aoe(e,t,n,a,i)}var aoe=class extends Hm{constructor(e,t,n,a,i,r){super(e),this.onFinalize=i,this.shouldUnsubscribe=r,this._next=t?function(s){try{t(s)}catch(l){e.error(l)}}:super._next,this._error=a?function(s){try{a(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function ioe(){return ka((e,t)=>{let n=null;e._refCount++;let a=ia(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let i=e._connection,r=n;n=null,i&&(!r||i===r)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(a),a.closed||(n=e.connect())})}var noe=class extends kt{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,c_(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Ge;let t=this.getSubject();e.add(this.source.subscribe(ia(t,void 0,()=>{this._teardown(),t.complete()},n=>{this._teardown(),t.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Ge.EMPTY)}return e}refCount(){return ioe()(this)}},roe=jm(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ue=(()=>{class e extends kt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let a=new vb(this,this);return a.operator=n,a}_throwIfClosed(){if(this.closed)throw new roe}next(n){jc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let a of this.currentObservers)a.next(n)}})}error(n){jc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:a}=this;for(;a.length;)a.shift().error(n)}})}complete(){jc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:a,isStopped:i,observers:r}=this;return a||i?o_:(this.currentObservers=null,r.push(n),new Ge(()=>{this.currentObservers=null,od(r,n)}))}_checkFinalizedStatuses(n){let{hasError:a,thrownError:i,isStopped:r}=this;a?n.error(i):r&&n.complete()}asObservable(){let n=new kt;return n.source=this,n}}return e.create=(t,n)=>new vb(t,n),e})(),vb=class extends ue{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.next)===null||n===void 0||n.call(t,e)}error(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.error)===null||n===void 0||n.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,n;return(n=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&n!==void 0?n:o_}},Pr=class extends ue{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}},Wm={now(){return(Wm.delegate||Date).now()},delegate:void 0},qm=class extends ue{constructor(e=1/0,t=1/0,n=Wm){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:n,_infiniteTimeWindow:a,_timestampProvider:i,_windowTime:r}=this;t||(n.push(e),!a&&n.push(i.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:a}=this,i=a.slice();for(let r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:a}=this,i=(a?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!a){let r=t.now(),s=0;for(let l=1;l<n.length&&n[l]<=r;l+=2)s=l;s&&n.splice(0,s+1)}}},ooe=class extends Ge{constructor(e,t){super()}schedule(e,t=0){return this}},fp={setInterval(e,t,...n){let{delegate:a}=fp;return a!=null&&a.setInterval?a.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},soe=class extends ooe{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;let a=this.id,i=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(i,a,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return fp.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return t;t!=null&&fp.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,t);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,a;try{this.work(e)}catch(i){n=!0,a=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),a}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,od(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},gp=class d_{constructor(t,n=d_.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,a){return new this.schedulerActionCtor(this,t).schedule(a,n)}};gp.now=Wm.now;var loe=class extends gp{constructor(e,t=gp.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},$m=new loe(soe),coe=$m,xl=new kt(e=>e.complete());function u_(e){return e&&Rt(e.schedule)}function Ym(e){return e[e.length-1]}function h_(e){return Rt(Ym(e))?e.pop():void 0}function wl(e){return u_(Ym(e))?e.pop():void 0}function doe(e,t){return typeof Ym(e)=="number"?e.pop():t}function uoe(e,t,n,a){function i(r){return r instanceof n?r:new n(function(s){s(r)})}return new(n||(n=Promise))(function(r,s){function l(u){try{d(a.next(u))}catch(p){s(p)}}function c(u){try{d(a.throw(u))}catch(p){s(p)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((a=a.apply(e,[])).next())})}function yb(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Do(e){return this instanceof Do?(this.v=e,this):new Do(e)}function hoe(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=n.apply(e,t||[]),i,r=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(g){return function(w){return Promise.resolve(w).then(g,p)}}function l(g,w){a[g]&&(i[g]=function(k){return new Promise(function(E,O){r.push([g,k,E,O])>1||c(g,k)})},w&&(i[g]=w(i[g])))}function c(g,w){try{d(a[g](w))}catch(k){b(r[0][3],k)}}function d(g){g.value instanceof Do?Promise.resolve(g.value.v).then(u,p):b(r[0][2],g)}function u(g){c("next",g)}function p(g){c("throw",g)}function b(g,w){g(w),r.shift(),r.length&&c(r[0][0],r[0][1])}}function poe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof yb=="function"?yb(e):e[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(r){n[r]=e[r]&&function(s){return new Promise(function(l,c){s=e[r](s),i(l,c,s.done,s.value)})}}function i(r,s,l,c){Promise.resolve(c).then(function(d){r({value:d,done:l})},s)}}var p_=e=>e&&typeof e.length=="number"&&typeof e!="function";function m_(e){return Rt(e==null?void 0:e.then)}function f_(e){return Rt(e[Um])}function g_(e){return Symbol.asyncIterator&&Rt(e==null?void 0:e[Symbol.asyncIterator])}function b_(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function moe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var v_=moe();function y_(e){return Rt(e==null?void 0:e[v_])}function __(e){return hoe(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:a}=yield Do(t.read());if(a)return yield Do(void 0);yield yield Do(n)}}finally{t.releaseLock()}})}function x_(e){return Rt(e==null?void 0:e.getReader)}function ni(e){if(e instanceof kt)return e;if(e!=null){if(f_(e))return foe(e);if(p_(e))return goe(e);if(m_(e))return boe(e);if(g_(e))return w_(e);if(y_(e))return voe(e);if(x_(e))return yoe(e)}throw b_(e)}function foe(e){return new kt(t=>{let n=e[Um]();if(Rt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function goe(e){return new kt(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function boe(e){return new kt(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,l_)})}function voe(e){return new kt(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function w_(e){return new kt(t=>{_oe(e,t).catch(n=>t.error(n))})}function yoe(e){return w_(__(e))}function _oe(e,t){var n,a,i,r;return uoe(this,void 0,void 0,function*(){try{for(n=poe(e);a=yield n.next(),!a.done;){let s=a.value;if(t.next(s),t.closed)return}}catch(s){i={error:s}}finally{try{a&&!a.done&&(r=n.return)&&(yield r.call(n))}finally{if(i)throw i.error}}t.complete()})}function Mn(e,t,n,a=0,i=!1){let r=t.schedule(function(){n(),i?e.add(this.schedule(null,a)):this.unsubscribe()},a);if(e.add(r),!i)return r}function k_(e,t=0){return ka((n,a)=>{n.subscribe(ia(a,i=>Mn(a,e,()=>a.next(i),t),()=>Mn(a,e,()=>a.complete(),t),i=>Mn(a,e,()=>a.error(i),t)))})}function C_(e,t=0){return ka((n,a)=>{a.add(e.schedule(()=>n.subscribe(a),t))})}function xoe(e,t){return ni(e).pipe(C_(t),k_(t))}function woe(e,t){return ni(e).pipe(C_(t),k_(t))}function koe(e,t){return new kt(n=>{let a=0;return t.schedule(function(){a===e.length?n.complete():(n.next(e[a++]),n.closed||this.schedule())})})}function Coe(e,t){return new kt(n=>{let a;return Mn(n,t,()=>{a=e[v_](),Mn(n,t,()=>{let i,r;try{({value:i,done:r}=a.next())}catch(s){n.error(s);return}r?n.complete():n.next(i)},0,!0)}),()=>Rt(a==null?void 0:a.return)&&a.return()})}function S_(e,t){if(!e)throw new Error("Iterable cannot be null");return new kt(n=>{Mn(n,t,()=>{let a=e[Symbol.asyncIterator]();Mn(n,t,()=>{a.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Soe(e,t){return S_(__(e),t)}function Eoe(e,t){if(e!=null){if(f_(e))return xoe(e,t);if(p_(e))return koe(e,t);if(m_(e))return woe(e,t);if(g_(e))return S_(e,t);if(y_(e))return Coe(e,t);if(x_(e))return Soe(e,t)}throw b_(e)}function dr(e,t){return t?Eoe(e,t):ni(e)}function Dt(...e){let t=wl(e);return dr(e,t)}function Doe(e,t){let n=Rt(e)?e:()=>e,a=i=>i.error(n());return new kt(a)}function Io(e){return!!e&&(e instanceof kt||Rt(e.lift)&&Rt(e.subscribe))}var Ioe=jm(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Aoe(e,t){return new Promise((n,a)=>{let i=!1,r;e.subscribe({next:s=>{r=s,i=!0},error:a,complete:()=>{i?n(r):a(new Ioe)}})})}function Toe(e){return e instanceof Date&&!isNaN(e)}function It(e,t){return ka((n,a)=>{let i=0;n.subscribe(ia(a,r=>{a.next(e.call(t,r,i++))}))})}var{isArray:Ooe}=Array;function Moe(e,t){return Ooe(t)?e(...t):e(t)}function E_(e){return It(t=>Moe(e,t))}var{isArray:Roe}=Array,{getPrototypeOf:Poe,prototype:Noe,keys:Loe}=Object;function D_(e){if(e.length===1){let t=e[0];if(Roe(t))return{args:t,keys:null};if(Foe(t)){let n=Loe(t);return{args:n.map(a=>t[a]),keys:n}}}return{args:e,keys:null}}function Foe(e){return e&&typeof e=="object"&&Poe(e)===Noe}function I_(e,t){return e.reduce((n,a,i)=>(n[a]=t[i],n),{})}function Hc(...e){let t=wl(e),n=h_(e),{args:a,keys:i}=D_(e);if(a.length===0)return dr([],t);let r=new kt(Voe(a,t,i?s=>I_(i,s):Qo));return n?r.pipe(E_(n)):r}function Voe(e,t,n=Qo){return a=>{_b(t,()=>{let{length:i}=e,r=new Array(i),s=i,l=i;for(let c=0;c<i;c++)_b(t,()=>{let d=dr(e[c],t),u=!1;d.subscribe(ia(a,p=>{r[c]=p,u||(u=!0,l--),l||a.next(n(r.slice()))},()=>{--s||a.complete()}))},a)},a)}}function _b(e,t,n){e?Mn(n,e,t):t()}function zoe(e,t,n,a,i,r,s,l){let c=[],d=0,u=0,p=!1,b=()=>{p&&!c.length&&!d&&t.complete()},g=k=>d<a?w(k):c.push(k),w=k=>{d++;let E=!1;ni(n(k,u++)).subscribe(ia(t,O=>{t.next(O)},()=>{E=!0},void 0,()=>{if(E)try{for(d--;c.length&&d<a;){let O=c.shift();s?Mn(t,s,()=>w(O)):w(O)}b()}catch(O){t.error(O)}}))};return e.subscribe(ia(t,g,()=>{p=!0,b()})),()=>{}}function Gs(e,t,n=1/0){return Rt(t)?Gs((a,i)=>It((r,s)=>t(a,r,i,s))(ni(e(a,i))),n):(typeof t=="number"&&(n=t),ka((a,i)=>zoe(a,i,e,n)))}function A_(e=1/0){return Gs(Qo,e)}function Boe(){return A_(1)}function Zs(...e){return Boe()(dr(e,wl(e)))}function Ks(e){return new kt(t=>{ni(e()).subscribe(t)})}function Gm(...e){let t=h_(e),{args:n,keys:a}=D_(e),i=new kt(r=>{let{length:s}=n;if(!s){r.complete();return}let l=new Array(s),c=s,d=s;for(let u=0;u<s;u++){let p=!1;ni(n[u]).subscribe(ia(r,b=>{p||(p=!0,d--),l[u]=b},()=>c--,void 0,()=>{(!c||!p)&&(d||r.next(a?I_(a,l):l),r.complete())}))}});return t?i.pipe(E_(t)):i}function T_(e=0,t,n=coe){let a=-1;return t!=null&&(u_(t)?n=t:a=t),new kt(i=>{let r=Toe(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=a?this.schedule(void 0,a):i.complete())},r)})}function ha(...e){let t=wl(e),n=doe(e,1/0),a=e;return a.length?a.length===1?ni(a[0]):A_(n)(dr(a,t)):xl}function ea(e,t){return ka((n,a)=>{let i=0;n.subscribe(ia(a,r=>e.call(t,r,i++)&&a.next(r)))})}function joe(e){return ka((t,n)=>{let a=!1,i=null,r=null,s=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,a){a=!1;let d=i;i=null,n.next(d)}s&&n.complete()},c=()=>{r=null,s&&n.complete()};t.subscribe(ia(n,d=>{a=!0,i=d,r||ni(e(d)).subscribe(r=ia(n,l,c))},()=>{s=!0,(!a||!r||r.closed)&&n.complete()}))})}function O_(e,t=$m){return joe(()=>T_(e,t))}function M_(e){return ka((t,n)=>{let a=null,i=!1,r;a=t.subscribe(ia(n,void 0,void 0,s=>{r=ni(e(s,M_(e)(t))),a?(a.unsubscribe(),a=null,r.subscribe(n)):i=!0})),i&&(a.unsubscribe(),a=null,r.subscribe(n))})}function R_(e,t){return Rt(t)?Gs(e,t,1):Gs(e,1)}function Jd(e,t=$m){return ka((n,a)=>{let i=null,r=null,s=null,l=()=>{if(i){i.unsubscribe(),i=null;let d=r;r=null,a.next(d)}};function c(){let d=s+e,u=t.now();if(u<d){i=this.schedule(void 0,d-u),a.add(i);return}l()}n.subscribe(ia(a,d=>{r=d,s=t.now(),i||(i=t.schedule(c,e),a.add(i))},()=>{l(),a.complete()},void 0,()=>{r=i=null}))})}function $a(e){return e<=0?()=>xl:ka((t,n)=>{let a=0;t.subscribe(ia(n,i=>{++a<=e&&(n.next(i),e<=a&&n.complete())}))})}function Hoe(e,t=Qo){return e=e??Uoe,ka((n,a)=>{let i,r=!0;n.subscribe(ia(a,s=>{let l=t(s);(r||!e(i,l))&&(r=!1,i=l,a.next(s))}))})}function Uoe(e,t){return e===t}function P_(e){return ka((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Woe(){return ka((e,t)=>{let n,a=!1;e.subscribe(ia(t,i=>{let r=n;n=i,a&&t.next([r,i]),a=!0}))})}function N_(e={}){let{connector:t=()=>new ue,resetOnError:n=!0,resetOnComplete:a=!0,resetOnRefCountZero:i=!0}=e;return r=>{let s,l,c,d=0,u=!1,p=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),s=c=void 0,u=p=!1},w=()=>{let k=s;g(),k==null||k.unsubscribe()};return ka((k,E)=>{d++,!p&&!u&&b();let O=c=c??t();E.add(()=>{d--,d===0&&!p&&!u&&(l=ih(w,i))}),O.subscribe(E),!s&&d>0&&(s=new Ys({next:B=>O.next(B),error:B=>{p=!0,b(),l=ih(g,n,B),O.error(B)},complete:()=>{u=!0,b(),l=ih(g,a),O.complete()}}),ni(k).subscribe(s))})(r)}}function ih(e,t,...n){if(t===!0){e();return}if(t===!1)return;let a=new Ys({next:()=>{a.unsubscribe(),e()}});return ni(t(...n)).subscribe(a)}function bp(e,t,n){let a,i=!1;return e&&typeof e=="object"?{bufferSize:a=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e:a=e??1/0,N_({connector:()=>new qm(a,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Zm(e){return ea((t,n)=>e<=n)}function Da(...e){let t=wl(e);return ka((n,a)=>{(t?Zs(e,n,t):Zs(e,n)).subscribe(a)})}function rr(e,t){return ka((n,a)=>{let i=null,r=0,s=!1,l=()=>s&&!i&&a.complete();n.subscribe(ia(a,c=>{i==null||i.unsubscribe();let d=0,u=r++;ni(e(c,u)).subscribe(i=ia(a,p=>a.next(t?t(c,p,u,d++):p),()=>{i=null,l()}))},()=>{s=!0,l()}))})}function zt(e){return ka((t,n)=>{ni(e).subscribe(ia(n,()=>n.complete(),mp)),!n.closed&&t.subscribe(n)})}function qoe(e,t=!1){return ka((n,a)=>{let i=0;n.subscribe(ia(a,r=>{let s=e(r,i++);(s||t)&&a.next(r),!s&&a.complete()}))})}function Uc(e,t,n){let a=Rt(e)||t||n?{next:e,error:t,complete:n}:e;return a?ka((i,r)=>{var s;(s=a.subscribe)===null||s===void 0||s.call(a);let l=!0;i.subscribe(ia(r,c=>{var d;(d=a.next)===null||d===void 0||d.call(a,c),r.next(c)},()=>{var c;l=!1,(c=a.complete)===null||c===void 0||c.call(a),r.complete()},c=>{var d;l=!1,(d=a.error)===null||d===void 0||d.call(a,c),r.error(c)},()=>{var c,d;l&&((c=a.unsubscribe)===null||c===void 0||c.call(a)),(d=a.finalize)===null||d===void 0||d.call(a)}))}):Qo}var L_="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",J=class extends Error{constructor(t,n){super(F_(t,n));o(this,"code");this.code=t}};function $oe(e){return`NG0${Math.abs(e)}`}function F_(e,t){return`${$oe(e)}${t?": "+t:""}`}var eu=Symbol("InputSignalNode#UNSET"),V_=yt(ge({},n_),{transformFn:void 0,applyValueToInputSignal(e,t){_l(e,t)}});function z_(e,t){let n=Object.create(V_);n.value=e,n.transformFn=t==null?void 0:t.transform;function a(){if(vl(n),n.value===eu){let i=null;throw new J(-950,i)}return n.value}return a[La]=n,a}function kl(e){return{toString:e}.toString()}var lc="__parameters__";function Yoe(e){return function(...t){}}function B_(e,t,n){return kl(()=>{let a=Yoe();function i(...r){if(this instanceof i)return a.apply(this,r),this;let s=new i(...r);return l.annotation=s,l;function l(c,d,u){let p=c.hasOwnProperty(lc)?c[lc]:Object.defineProperty(c,lc,{value:[]})[lc];for(;p.length<=u;)p.push(null);return(p[u]=p[u]||[]).push(s),c}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var Zn=globalThis;function Pt(e){for(let t in e)if(e[t]===Pt)return t;throw Error("Could not find renamed property on target object.")}function Goe(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function wi(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(wi).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let a=n.indexOf(`
15
+ `);return a>=0?n.slice(0,a):n}function vp(e,t){return e?t?`${e} ${t}`:e:t||""}var Zoe=Pt({__forward_ref__:Pt});function Kr(e){return e.__forward_ref__=Kr,e.toString=function(){return wi(this())},e}function Oa(e){return j_(e)?e():e}function j_(e){return typeof e=="function"&&e.hasOwnProperty(Zoe)&&e.__forward_ref__===Kr}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Km(e){return xb(e,H_)||xb(e,U_)}function xb(e,t){return e.hasOwnProperty(t)?e[t]:null}function Koe(e){return e&&(e[H_]||e[U_])||null}function wb(e){return e&&(e.hasOwnProperty(kb)||e.hasOwnProperty(Qoe))?e[kb]:null}var H_=Pt({ɵprov:Pt}),kb=Pt({ɵinj:Pt}),U_=Pt({ngInjectableDef:Pt}),Qoe=Pt({ngInjectorDef:Pt}),Y=class{constructor(e,t){o(this,"_desc");o(this,"ngMetadataName","InjectionToken");o(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=G({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function W_(e){return e&&!!e.ɵproviders}var Xoe=Pt({ɵcmp:Pt}),Joe=Pt({ɵdir:Pt}),ese=Pt({ɵpipe:Pt}),sd=Pt({ɵfac:Pt}),Vs=Pt({__NG_ELEMENT_ID__:Pt}),Cb=Pt({__NG_ENV_ID__:Pt});function Fr(e){return typeof e=="string"?e:e==null?"":String(e)}function tse(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Fr(e)}function q_(e,t){throw new J(-200,e)}function Qm(e,t){throw new J(-201,!1)}var Xe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Xe||{}),yp;function $_(){return yp}function ti(e){let t=yp;return yp=e,t}function Y_(e,t,n){let a=Km(e);if(a&&a.providedIn=="root")return a.value===void 0?a.value=a.factory():a.value;if(n&Xe.Optional)return null;if(t!==void 0)return t;Qm()}var ase={},Nr=ase,_p="__NG_DI_FLAG__",G_=class{constructor(e){o(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?r_:Nr,n)}},ld="ngTempTokenPath",ise="ngTokenPath",nse=/\n/gm,rse="ɵ",Sb="__source";function ose(e,t=Xe.Default){if(Bc()===void 0)throw new J(-203,!1);if(Bc()===null)return Y_(e,void 0,t);{let n=Bc(),a;return n instanceof G_?a=n.injector:a=n,a.get(e,t&Xe.Optional?null:void 0,t)}}function ke(e,t=Xe.Default){return($_()||ose)(Oa(e),t)}function _(e,t=Xe.Default){return ke(e,tu(t))}function tu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xp(e){let t=[];for(let n=0;n<e.length;n++){let a=Oa(e[n]);if(Array.isArray(a)){if(a.length===0)throw new J(900,!1);let i,r=Xe.Default;for(let s=0;s<a.length;s++){let l=a[s],c=sse(l);typeof c=="number"?c===-1?i=l.token:r|=c:i=l}t.push(ke(i,r))}else t.push(ke(a))}return t}function Z_(e,t){return e[_p]=t,e.prototype[_p]=t,e}function sse(e){return e[_p]}function lse(e,t,n,a){let i=e[ld];throw t[Sb]&&i.unshift(t[Sb]),e.message=cse(`
16
+ `+e.message,i,n,a),e[ise]=i,e[ld]=null,e}function cse(e,t,n,a=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==rse?e.slice(2):e;let i=wi(t);if(Array.isArray(t))i=t.map(wi).join(" -> ");else if(typeof t=="object"){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];r.push(s+":"+(typeof l=="string"?JSON.stringify(l):wi(l)))}i=`{${r.join(", ")}}`}return`${n}${a?"("+a+")":""}[${i}]: ${e.replace(nse,`
18
+ `)}`}var Xo=Z_(B_("Optional"),8),Jo=Z_(B_("SkipSelf"),4);function Vr(e,t){return e.hasOwnProperty(sd)?e[sd]:null}function dse(e,t,n){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){let i=e[a],r=t[a];if(n&&(i=n(i),r=n(r)),r!==i)return!1}return!0}function use(e){return e.flat(Number.POSITIVE_INFINITY)}function Xm(e,t){e.forEach(n=>Array.isArray(n)?Xm(n,t):t(n))}function K_(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cd(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hse(e,t){let n=[];for(let a=0;a<e;a++)n.push(t);return n}function pse(e,t,n,a){let i=e.length;if(i==t)e.push(n,a);else if(i===1)e.push(a,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let r=i-2;e[i]=e[r],i--}e[t]=n,e[t+1]=a}}function au(e,t,n){let a=Cl(e,t);return a>=0?e[a|1]=n:(a=~a,pse(e,a,t,n)),a}function nh(e,t){let n=Cl(e,t);if(n>=0)return e[n|1]}function Cl(e,t){return mse(e,t,1)}function mse(e,t,n){let a=0,i=e.length>>n;for(;i!==a;){let r=a+(i-a>>1),s=e[r<<n];if(t===s)return r<<n;s>t?i=r:a=r+1}return~(i<<n)}var en={},Ya=[],dd=new Y(""),Q_=new Y("",-1),X_=new Y(""),J_=class{get(e,t=Nr){if(t===Nr){let n=new Error(`NullInjectorError: No provider for ${wi(e)}!`);throw n.name="NullInjectorError",n}return t}};function No(e){return e[Xoe]||null}function ex(e){return e[Joe]||null}function fse(e){return e[ese]||null}function Jm(e){return{ɵproviders:e}}function gse(...e){return{ɵproviders:tx(!0,e),ɵfromNgModule:!0}}function tx(e,...t){let n=[],a=new Set,i,r=s=>{n.push(s)};return Xm(t,s=>{let l=s;wp(l,r,[],a)&&(i||(i=[]),i.push(l))}),i!==void 0&&ax(i,r),n}function ax(e,t){for(let n=0;n<e.length;n++){let{ngModule:a,providers:i}=e[n];ef(i,r=>{t(r,a)})}}function wp(e,t,n,a){if(e=Oa(e),!e)return!1;let i=null,r=wb(e),s=!r&&No(e);if(!r&&!s){let c=e.ngModule;if(r=wb(c),r)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=e}let l=a.has(i);if(s){if(l)return!1;if(a.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)wp(d,t,n,a)}}else if(r){if(r.imports!=null&&!l){a.add(i);let d;try{Xm(r.imports,u=>{wp(u,t,n,a)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&ax(d,t)}if(!l){let d=Vr(i)||(()=>new i);t({provide:i,useFactory:d,deps:Ya},i),t({provide:X_,useValue:i,multi:!0},i),t({provide:dd,useValue:()=>ke(i),multi:!0},i)}let c=r.providers;if(c!=null&&!l){let d=e;ef(c,u=>{t(u,d)})}}else return!1;return i!==e&&e.providers!==void 0}function ef(e,t){for(let n of e)W_(n)&&(n=n.ɵproviders),Array.isArray(n)?ef(n,t):t(n)}var bse=Pt({provide:String,useValue:Pt});function ix(e){return e!==null&&typeof e=="object"&&bse in e}function vse(e){return!!(e&&e.useExisting)}function yse(e){return!!(e&&e.useFactory)}function Lo(e){return typeof e=="function"}function _se(e){return!!e.useClass}var tf=new Y(""),Wc={},Eb={},rh;function iu(){return rh===void 0&&(rh=new J_),rh}var tn=class{},af=class extends tn{constructor(t,n,a,i){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=a,this.scopes=i,Cp(t,s=>this.processProvider(s)),this.records.set(Q_,_o(void 0,this)),i.has("environment")&&this.records.set(tn,_o(void 0,this));let r=this.records.get(tf);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(X_,Ya,Xe.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let a=n;return this.get(t,a.optional?r_:Nr,a)}destroy(){Ms(this),this._destroyed=!0;let t=Ke(null);try{for(let a of this._ngOnDestroyHooks)a.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let a of n)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ke(t)}}onDestroy(t){return Ms(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ms(this);let n=$n(this),a=ti(void 0);try{return t()}finally{$n(n),ti(a)}}get(t,n=Nr,a=Xe.Default){if(Ms(this),t.hasOwnProperty(Cb))return t[Cb](this);a=tu(a);let i=$n(this),r=ti(void 0);try{if(!(a&Xe.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Sse(t)&&Km(t);c&&this.injectableDefInScope(c)?l=_o(kp(t),Wc):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,a)}let s=a&Xe.Self?iu():this.parent;return n=a&Xe.Optional&&n===Nr?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[ld]=s[ld]||[]).unshift(wi(t)),i)throw s;return lse(s,t,"R3InjectorError",this.source)}else throw s}finally{ti(r),$n(i)}}resolveInjectorInitializers(){let t=Ke(null),n=$n(this),a=ti(void 0);try{let i=this.get(dd,Ya,Xe.Self);for(let r of i)r()}finally{$n(n),ti(a),Ke(t)}}toString(){let t=[],n=this.records;for(let a of n.keys())t.push(wi(a));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Oa(t);let n=Lo(t)?t:Oa(t&&t.provide),a=wse(t);if(!Lo(t)&&t.multi===!0){let i=this.records.get(n);i||(i=_o(void 0,Wc,!0),i.factory=()=>xp(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,a)}hydrate(t,n,a){let i=Ke(null);try{return n.value===Eb?q_(wi(t)):n.value===Wc&&(n.value=Eb,n.value=n.factory(void 0,a)),typeof n.value=="object"&&n.value&&Cse(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Ke(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Oa(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function kp(e){let t=Km(e),n=t!==null?t.factory:Vr(e);if(n!==null)return n;if(e instanceof Y)throw new J(204,!1);if(e instanceof Function)return xse(e);throw new J(204,!1)}function xse(e){if(e.length>0)throw new J(204,!1);let t=Koe(e);return t!==null?()=>t.factory(e):()=>new e}function wse(e){if(ix(e))return _o(void 0,e.useValue);{let t=nx(e);return _o(t,Wc)}}function nx(e,t,n){let a;if(Lo(e)){let i=Oa(e);return Vr(i)||kp(i)}else if(ix(e))a=()=>Oa(e.useValue);else if(yse(e))a=()=>e.useFactory(...xp(e.deps||[]));else if(vse(e))a=(i,r)=>ke(Oa(e.useExisting),r!==void 0&&r&Xe.Optional?Xe.Optional:void 0);else{let i=Oa(e&&(e.useClass||e.provide));if(kse(e))a=()=>new i(...xp(e.deps));else return Vr(i)||kp(i)}return a}function Ms(e){if(e.destroyed)throw new J(205,!1)}function _o(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kse(e){return!!e.deps}function Cse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Sse(e){return typeof e=="function"||typeof e=="object"&&e instanceof Y}function Cp(e,t){for(let n of e)Array.isArray(n)?Cp(n,t):n&&W_(n)?Cp(n.ɵproviders,t):t(n)}function nu(e,t){let n;e instanceof af?(Ms(e),n=e):n=new G_(e);let a=$n(n),i=ti(void 0);try{return t()}finally{$n(a),ti(i)}}function rx(){return $_()!==void 0||Bc()!=null}function Sl(e){if(!rx())throw new J(-203,!1)}function Ese(e){return typeof e=="function"}var Ln=0,je=1,Le=2,za=3,Li=4,ri=5,Fo=6,Ao=7,xa=8,Vo=9,Pn=10,Ht=11,Qs=12,Db=13,es=14,mi=15,zr=16,xo=17,Fi=18,ru=19,ox=20,er=21,oh=22,In=23,ki=24,tr=25,Ut=26,sx=1,Br=7,ud=8,zo=9,Fa=10;function ar(e){return Array.isArray(e)&&typeof e[sx]=="object"}function Fn(e){return Array.isArray(e)&&e[sx]===!0}function nf(e){return(e.flags&4)!==0}function ts(e){return e.componentOffset>-1}function ou(e){return(e.flags&1)===1}function an(e){return!!e.template}function hd(e){return(e[Le]&512)!==0}function as(e){return(e[Le]&256)===256}var Dse=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function lx(e,t,n,a){t!==null?t.applyValueToInputSignal(t,a):e[n]=a}var Kt=(()=>{let e=()=>cx;return e.ngInherit=!0,e})();function cx(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ase),Ise}function Ise(){let e=ux(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===en)e.previous=t;else for(let a in t)n[a]=t[a];e.current=null,this.ngOnChanges(t)}}function Ase(e,t,n,a,i){let r=this.declaredInputs[a],s=ux(e)||Tse(e,{previous:en,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new Dse(d&&d.currentValue,n,c===en),lx(e,t,i,n)}var dx="__ngSimpleChanges__";function ux(e){return e[dx]||null}function Tse(e,t){return e[dx]=t}var jr=function(e,t=null,n){},hx="svg",Ose="math";function nn(e){for(;Array.isArray(e);)e=e[Ln];return e}function px(e,t){return nn(t[e])}function cn(e,t){return nn(t[e.index])}function rf(e,t){return e.data[t]}function is(e,t){return e[t]}function of(e,t,n,a){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=a}function rn(e,t){let n=t[e];return ar(n)?n:n[Ln]}function Mse(e){return(e[Le]&4)===4}function sf(e){return(e[Le]&128)===128}function Rse(e){return Fn(e[za])}function Hr(e,t){return t==null?null:e[t]}function mx(e){e[xo]=0}function lf(e){e[Le]&1024||(e[Le]|=1024,sf(e)&&ns(e))}function Pse(e,t){for(;e>0;)t=t[es],e--;return t}function El(e){var t;return!!(e[Le]&9216||(t=e[ki])!=null&&t.dirty)}function Sp(e){var t;(t=e[Pn].changeDetectionScheduler)==null||t.notify(8),e[Le]&64&&(e[Le]|=1024),El(e)&&ns(e)}function ns(e){var n;(n=e[Pn].changeDetectionScheduler)==null||n.notify(0);let t=Ur(e);for(;t!==null&&!(t[Le]&8192||(t[Le]|=8192,!sf(t)));)t=Ur(t)}function fx(e,t){if(as(e))throw new J(911,!1);e[er]===null&&(e[er]=[]),e[er].push(t)}function Nse(e,t){if(e[er]===null)return;let n=e[er].indexOf(t);n!==-1&&e[er].splice(n,1)}function Ur(e){let t=e[za];return Fn(t)?t[za]:t}function cf(e){return e[Ao]??(e[Ao]=[])}function df(e){return e.cleanup??(e.cleanup=[])}function Lse(e,t,n,a){let i=cf(t);i.push(n),e.firstCreatePass&&df(e).push(a,i.length-1)}var We={lFrame:wx(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Ep=!1;function Fse(){return We.lFrame.elementDepthCount}function Vse(){We.lFrame.elementDepthCount++}function zse(){We.lFrame.elementDepthCount--}function Bse(){return We.bindingsEnabled}function gx(){return We.skipHydrationRootTNode!==null}function jse(e){return We.skipHydrationRootTNode===e}function Hse(){We.skipHydrationRootTNode=null}function Re(){return We.lFrame.lView}function Lt(){return We.lFrame.tView}function Ce(e){return We.lFrame.contextLView=e,e[xa]}function Se(e){return We.lFrame.contextLView=null,e}function Ha(){let e=bx();for(;e!==null&&e.type===64;)e=e.parent;return e}function bx(){return We.lFrame.currentTNode}function Use(){let e=We.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ur(e,t){let n=We.lFrame;n.currentTNode=e,n.isParent=t}function uf(){return We.lFrame.isParent}function hf(){We.lFrame.isParent=!1}function vx(){return We.lFrame.contextLView}function yx(){return Ep}function pd(e){let t=Ep;return Ep=e,t}function hr(){let e=We.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wse(){return We.lFrame.bindingIndex}function qse(e){return We.lFrame.bindingIndex=e}function Qr(){return We.lFrame.bindingIndex++}function pf(e){let t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $se(){return We.lFrame.inI18n}function Yse(e,t){let n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,Dp(t)}function Gse(){return We.lFrame.currentDirectiveIndex}function Dp(e){We.lFrame.currentDirectiveIndex=e}function Zse(e){let t=We.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function mf(){return We.lFrame.currentQueryIndex}function su(e){We.lFrame.currentQueryIndex=e}function Kse(e){let t=e[je];return t.type===2?t.declTNode:t.type===1?e[ri]:null}function _x(e,t,n){if(n&Xe.SkipSelf){let i=t,r=e;for(;(i=i.parent,i===null&&!(n&Xe.Host))&&(i=Kse(r),!(i===null||(r=r[es],i.type&10))););if(i===null)return!1;t=i,e=r}let a=We.lFrame=xx();return a.currentTNode=t,a.lView=e,!0}function ff(e){let t=xx(),n=e[je];We.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xx(){let e=We.lFrame,t=e===null?null:e.child;return t===null?wx(e):t}function wx(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function kx(){let e=We.lFrame;return We.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Cx=kx;function gf(){let e=kx();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Qse(e){return(We.lFrame.contextLView=Pse(e,We.lFrame.contextLView))[xa]}function dn(){return We.lFrame.selectedIndex}function Wr(e){We.lFrame.selectedIndex=e}function lu(){let e=We.lFrame;return rf(e.tView,e.selectedIndex)}function ir(){We.lFrame.currentNamespace=hx}function Ib(){Xse()}function Xse(){We.lFrame.currentNamespace=null}function Jse(){return We.lFrame.currentNamespace}var Sx=!0;function cu(){return Sx}function du(e){Sx=e}function ele(e,t,n){let{ngOnChanges:a,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(a){let s=cx(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,i),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function bf(e,t){for(let n=t.directiveStart,a=t.directiveEnd;n<a;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=i;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function qc(e,t,n){Ex(e,t,3,n)}function $c(e,t,n,a){(e[Le]&3)===n&&Ex(e,t,n,a)}function sh(e,t){let n=e[Le];(n&3)===t&&(n&=16383,n+=1,e[Le]=n)}function Ex(e,t,n,a){let i=a!==void 0?e[xo]&65535:0,r=a??-1,s=t.length-1,l=0;for(let c=i;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],a!=null&&l>=a)break}else t[c]<0&&(e[xo]+=65536),(l<r||r==-1)&&(tle(e,n,t,c),e[xo]=(e[xo]&4294901760)+c+2),c++}function Ab(e,t){let n=Ke(null);try{t.call(e)}finally{Ke(n)}}function tle(e,t,n,a){let i=n[a]<0,r=n[a+1],s=i?-n[a]:n[a],l=e[s];i?e[Le]>>14<e[xo]>>16&&(e[Le]&3)===t&&(e[Le]+=16384,Ab(l,r)):Ab(l,r)}var To=-1,Dl=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function ale(e){return(e.flags&8)!==0}function ile(e){return(e.flags&16)!==0}function nle(e,t,n){let a=0;for(;a<n.length;){let i=n[a];if(typeof i=="number"){if(i!==0)break;a++;let r=n[a++],s=n[a++],l=n[a++];e.setAttribute(t,s,l,r)}else{let r=i,s=n[++a];rle(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),a++}}return a}function Dx(e){return e===3||e===4||e===6}function rle(e){return e.charCodeAt(0)===64}function Bo(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let a=0;a<t.length;a++){let i=t[a];typeof i=="number"?n=i:n===0||(n===-1||n===2?Tb(e,n,i,null,t[++a]):Tb(e,n,i,null,null))}}return e}function Tb(e,t,n,a,i){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){i!==null&&(e[r+1]=i);return}r++,i!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),i!==null&&e.splice(r++,0,i)}function Ix(e){return e!==To}function md(e){return e&32767}function ole(e){return e>>16}function fd(e,t){let n=ole(e),a=t;for(;n>0;)a=a[es],n--;return a}var Ip=!0;function gd(e){let t=Ip;return Ip=e,t}var sle=256,Ax=sle-1,Tx=5,lle=0,Qi={};function cle(e,t,n){let a;typeof n=="string"?a=n.charCodeAt(0)||0:n.hasOwnProperty(Vs)&&(a=n[Vs]),a==null&&(a=n[Vs]=lle++);let i=a&Ax,r=1<<i;t.data[e+(i>>Tx)]|=r}function bd(e,t){let n=Ox(e,t);if(n!==-1)return n;let a=t[je];a.firstCreatePass&&(e.injectorIndex=t.length,lh(a.data,e),lh(t,null),lh(a.blueprint,null));let i=vf(e,t),r=e.injectorIndex;if(Ix(i)){let s=md(i),l=fd(i,t),c=l[je].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=i,r}function lh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ox(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function vf(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,a=null,i=t;for(;i!==null;){if(a=Lx(i),a===null)return To;if(n++,i=i[es],a.injectorIndex!==-1)return a.injectorIndex|n<<16}return To}function Ap(e,t,n){cle(e,t,n)}function dle(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let a=n.length,i=0;for(;i<a;){let r=n[i];if(Dx(r))break;if(r===0)i=i+2;else if(typeof r=="number")for(i++;i<a&&typeof n[i]=="string";)i++;else{if(r===t)return n[i+1];i=i+2}}}return null}function Mx(e,t,n){if(n&Xe.Optional||e!==void 0)return e;Qm()}function Rx(e,t,n,a){if(n&Xe.Optional&&a===void 0&&(a=null),(n&(Xe.Self|Xe.Host))===0){let i=e[Vo],r=ti(void 0);try{return i?i.get(t,a,n&Xe.Optional):Y_(t,a,n&Xe.Optional)}finally{ti(r)}}return Mx(a,t,n)}function Px(e,t,n,a=Xe.Default,i){if(e!==null){if(t[Le]&2048&&!(a&Xe.Self)){let s=mle(e,t,n,a,Qi);if(s!==Qi)return s}let r=Nx(e,t,n,a,Qi);if(r!==Qi)return r}return Rx(t,n,a,i)}function Nx(e,t,n,a,i){let r=hle(n);if(typeof r=="function"){if(!_x(t,e,a))return a&Xe.Host?Mx(i,n,a):Rx(t,n,a,i);try{let s;if(s=r(a),s==null&&!(a&Xe.Optional))Qm(n);else return s}finally{Cx()}}else if(typeof r=="number"){let s=null,l=Ox(e,t),c=To,d=a&Xe.Host?t[mi][ri]:null;for((l===-1||a&Xe.SkipSelf)&&(c=l===-1?vf(e,t):t[l+8],c===To||!Mb(a,!1)?l=-1:(s=t[je],l=md(c),t=fd(c,t)));l!==-1;){let u=t[je];if(Ob(r,l,u.data)){let p=ule(l,t,n,s,a,d);if(p!==Qi)return p}c=t[l+8],c!==To&&Mb(a,t[je].data[l+8]===d)&&Ob(r,l,t)?(s=u,l=md(c),t=fd(c,t)):l=-1}}return i}function ule(e,t,n,a,i,r){let s=t[je],l=s.data[e+8],c=a==null?ts(l)&&Ip:a!=s&&(l.type&3)!==0,d=i&Xe.Host&&r===l,u=Yc(l,s,n,c,d);return u!==null?Xs(t,s,u,l,i):Qi}function Yc(e,t,n,a,i){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,p=a?l:l+u,b=i?l+u:d;for(let g=p;g<b;g++){let w=s[g];if(g<c&&n===w||g>=c&&w.type===n)return g}if(i){let g=s[c];if(g&&an(g)&&g.type===n)return c}return null}function Xs(e,t,n,a,i){let r=e[n],s=t.data;if(r instanceof Dl){let l=r;l.resolving&&q_(tse(s[n]));let c=gd(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?ti(l.injectImpl):null;_x(e,a,Xe.Default);try{r=e[n]=l.factory(void 0,i,s,e,a),t.firstCreatePass&&n>=a.directiveStart&&ele(n,s[n],t)}finally{d!==null&&ti(d),gd(c),l.resolving=!1,Cx()}}return r}function hle(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vs)?e[Vs]:void 0;return typeof t=="number"?t>=0?t&Ax:ple:t}function Ob(e,t,n){let a=1<<e;return!!(n[t+(e>>Tx)]&a)}function Mb(e,t){return!(e&Xe.Self)&&!(e&Xe.Host&&t)}var zs=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return Px(this._tNode,this._lView,e,tu(n),t)}};function ple(){return new zs(Ha(),Re())}function ot(e){return kl(()=>{let t=e.prototype.constructor,n=t[sd]||Tp(t),a=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==a;){let r=i[sd]||Tp(i);if(r&&r!==n)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function Tp(e){return j_(e)?()=>{let t=Tp(Oa(e));return t&&t()}:Vr(e)}function mle(e,t,n,a,i){let r=e,s=t;for(;r!==null&&s!==null&&s[Le]&2048&&!hd(s);){let l=Nx(r,s,n,a|Xe.Self,Qi);if(l!==Qi)return l;let c=r.parent;if(!c){let d=s[ox];if(d){let u=d.get(n,Qi,a);if(u!==Qi)return u}c=Lx(s),s=s[es]}r=c}return i}function Lx(e){let t=e[je],n=t.type;return n===2?t.declTNode:n===1?e[ri]:null}function fle(e){return dle(Ha(),e)}function Rb(e,t=null,n=null,a){let i=gle(e,t,n,a);return i.resolveInjectorInitializers(),i}function gle(e,t=null,n=null,a,i=new Set){let r=[n||Ya,gse(e)];return a=a||(typeof e=="object"?void 0:wi(e)),new af(r,t||iu(),a||null,i)}var $i,ct=($i=class{static create(t,n){if(Array.isArray(t))return Rb({name:""},n,t,"");{let a=t.name??"";return Rb({name:a},t.parent,t.providers,a)}}},o($i,"THROW_IF_NOT_FOUND",Nr),o($i,"NULL",new J_),o($i,"ɵprov",G({token:$i,providedIn:"any",factory:()=>ke(Q_)})),o($i,"__NG_ELEMENT_ID__",-1),$i),rs=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>fle(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},ble=new Y("");ble.__NG_ELEMENT_ID__=e=>{let t=Ha();if(t===null)throw new J(204,!1);if(t.type&2)return t.value;if(e&Xe.Optional)return null;throw new J(204,!1)};var Fx=!1,fi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",vle),o(e,"__NG_ENV_ID__",n=>n),e})(),Vx=class extends fi{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return as(n)?(t(),()=>{}):(fx(n,t),()=>Nse(n,t))}};function vle(){return new Vx(Re())}var os=class{},zx=new Y("",{providedIn:"root",factory:()=>!1}),Bx=new Y(""),jx=new Y(""),Il=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new Pr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let a=this.taskId++;return this.pendingTasks.add(a),a}has(a){return this.pendingTasks.has(a)}remove(a){this.pendingTasks.delete(a),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),yle=class extends ue{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,rx()&&(this.destroyRef=_(fi,{optional:!0})??void 0,this.pendingTasks=_(Il,{optional:!0})??void 0)}emit(t){let n=Ke(null);try{super.next(t)}finally{Ke(n)}}subscribe(t,n,a){var c,d,u;let i=t,r=n||(()=>null),s=a;if(t&&typeof t=="object"){let p=t;i=(c=p.next)==null?void 0:c.bind(p),r=(d=p.error)==null?void 0:d.bind(p),s=(u=p.complete)==null?void 0:u.bind(p)}this.__isAsync&&(r=this.wrapInTimeout(r),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:i,error:r,complete:s});return t instanceof Ge&&t.add(l),l}wrapInTimeout(t){return n=>{var i;let a=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var r;try{t(n)}finally{a!==void 0&&((r=this.pendingTasks)==null||r.remove(a))}})}}},ee=yle;function Js(...e){}function Hx(e){let t,n;function a(){e=Js;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),a()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),a()})),()=>a()}function Pb(e){return queueMicrotask(()=>e()),()=>{e=Js}}var yf="isAngularZone",vd=yf+"_ID",_le=0,Ne=class Op{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ee(!1));o(this,"onMicrotaskEmpty",new ee(!1));o(this,"onStable",new ee(!1));o(this,"onError",new ee(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=Fx}=t;if(typeof Zone>"u")throw new J(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&a,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=r,kle(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yf)===!0}static assertInAngularZone(){if(!Op.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(Op.isInAngularZone())throw new J(909,!1)}run(t,n,a){return this._inner.run(t,n,a)}runTask(t,n,a,i){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,xle,Js,Js);try{return r.runTask(s,n,a)}finally{r.cancelTask(s)}}runGuarded(t,n,a){return this._inner.runGuarded(t,n,a)}runOutsideAngular(t){return this._outer.run(t)}},xle={};function _f(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wle(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Hx(()=>{e.callbackScheduled=!1,Mp(e),e.isCheckStableRunning=!0,_f(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Mp(e)}function kle(e){let t=()=>{wle(e)},n=_le++;e._inner=e._inner.fork({name:"angular",properties:{[yf]:!0,[vd]:n,[vd+n]:!0},onInvokeTask:(a,i,r,s,l,c)=>{if(Sle(c))return a.invokeTask(r,s,l,c);try{return Nb(e),a.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Lb(e)}},onInvoke:(a,i,r,s,l,c,d)=>{try{return Nb(e),a.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ele(c)&&t(),Lb(e)}},onHasTask:(a,i,r,s)=>{a.hasTask(r,s),i===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Mp(e),_f(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(a,i,r,s)=>(a.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Mp(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nb(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lb(e){e._nesting--,_f(e)}var Cle=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ee);o(this,"onMicrotaskEmpty",new ee);o(this,"onStable",new ee);o(this,"onError",new ee)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,a){return e.apply(t,n)}};function Sle(e){return Ux(e,"__ignore_ng_zone__")}function Ele(e){return Ux(e,"__scheduler_tick__")}function Ux(e,t){var n,a;return!Array.isArray(e)||e.length!==1?!1:((a=(n=e[0])==null?void 0:n.data)==null?void 0:a[t])===!0}var Vi=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},Dle=new Y("",{providedIn:"root",factory:()=>{let e=_(Ne),t=_(Vi);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Wx=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",_(Vi,{optional:!0}));o(this,"destroyRef",_(fi));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new J(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,a;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((a=this.listeners)==null||a.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(F_(953,!1));return}if(this.listeners===null)return;let t=Ke(null);try{for(let a of this.listeners)try{a(e)}catch(i){(n=this.errorHandler)==null||n.handleError(i)}}finally{Ke(t)}}};function qr(e){return new Wx}function Fb(e,t){return z_(e,t)}function Ile(e){return z_(eu,e)}var Oe=(Fb.required=Ile,Fb);function Ale(){return ss(Ha(),Re())}function ss(e,t){return new Te(cn(e,t))}var Te=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",Ale),e})();function qx(e){return e instanceof Te?e.nativeElement:e}function el(e){return typeof e=="function"&&e[La]!==void 0}function Ga(e,t){let n=Hre(e,t==null?void 0:t.equal),a=n[La];return n.set=i=>_l(a,i),n.update=i=>i_(a,i),n.asReadonly=xf.bind(n),n}function xf(){let e=this[La];if(e.readonlyFn===void 0){let t=()=>this();t[La]=e,e.readonlyFn=t}return e.readonlyFn}function $x(e){return el(e)&&typeof e.set=="function"}function Tle(){return this._results[Symbol.iterator]()}var F0,jo=(F0=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,F0,Tle);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ue)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=use(e);(this._changesDetected=!dse(this._results,n,t))&&(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(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Yx(e){return(e.flags&128)===128}var Gx=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Gx||{}),Zx=new Map,Ole=0;function Mle(){return Ole++}function Rle(e){Zx.set(e[ru],e)}function Rp(e){Zx.delete(e[ru])}var Vb="__ngContext__";function ls(e,t){ar(t)?(e[Vb]=t[ru],Rle(t)):e[Vb]=t}function Kx(e){return Xx(e[Qs])}function Qx(e){return Xx(e[Li])}function Xx(e){for(;e!==null&&!Fn(e);)e=e[Li];return e}var Pp;function Ple(e){Pp=e}function Jx(){if(Pp!==void 0)return Pp;if(typeof document<"u")return document;throw new J(210,!1)}var uu=new Y("",{providedIn:"root",factory:()=>Nle}),Nle="ng",e1=new Y(""),hu=new Y("",{providedIn:"platform",factory:()=>"unknown"}),Ia=new Y(""),wf=new Y("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Jx().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),t1=!1,Lle=new Y("",{providedIn:"root",factory:()=>t1}),kf=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(kf||{}),Al=new Y(""),zb=new Set;function Xr(e){var t;zb.has(e)||(zb.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Cf=(()=>{class e{constructor(n,a){o(this,"view");o(this,"node");this.view=n,this.node=a}}return o(e,"__NG_ELEMENT_ID__",Fle),e})();function Fle(){return new Cf(Re(),Ha())}var wo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wo||{}),a1=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var a;(a=this.impl)==null||a.execute()}};o(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Vle=[wo.EarlyRead,wo.Write,wo.MixedReadWrite,wo.Read],zle=(()=>{const t=class t{constructor(){o(this,"ngZone",_(Ne));o(this,"scheduler",_(os));o(this,"errorHandler",_(Vi,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);_(Al,{optional:!0})}execute(){var a;this.sequences.size>0,this.executing=!0;for(let i of Vle)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[i];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(a=this.errorHandler)==null||a.handleError(s)}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()}register(a){let{view:i}=a;i!==void 0?((i[tr]??(i[tr]=[])).push(a),ns(i),i[Le]|=8192):this.executing?this.deferredRegistrations.add(a):this.addSequence(a)}addSequence(a){this.sequences.add(a),this.scheduler.notify(7)}unregister(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))}maybeTrace(a,i){return i?i.run(kf.AFTER_NEXT_RENDER,a):a()}};o(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Ble=class{constructor(e,t,n,a,i,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=a,this.snapshot=r,this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,n;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(n=this.view)==null?void 0:n[tr];e&&(this.view[tr]=e.filter(a=>a!==this))}};function Sf(e,t){!(t!=null&&t.injector)&&Sl();let n=(t==null?void 0:t.injector)??_(ct);return Xr("NgAfterRender"),i1(e,n,t,!1)}function Nn(e,t){!(t!=null&&t.injector)&&Sl();let n=(t==null?void 0:t.injector)??_(ct);return Xr("NgAfterNextRender"),i1(e,n,t,!0)}function jle(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function i1(e,t,n,a){let i=t.get(a1);i.impl??(i.impl=t.get(zle));let r=t.get(Al,null,{optional:!0}),s=(n==null?void 0:n.phase)??wo.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get(fi):null,c=t.get(Cf,null,{optional:!0}),d=new Ble(i.impl,jle(e,s),c==null?void 0:c.view,a,l,r==null?void 0:r.snapshot(null));return i.impl.register(d),d}var Hle=()=>null;function n1(e,t,n=!1){return Hle()}function r1(e,t){let n=e.contentQueries;if(n!==null){let a=Ke(null);try{for(let i=0;i<n.length;i+=2){let r=n[i],s=n[i+1];if(s!==-1){let l=e.data[s];su(r),l.contentQueries(2,t[s],s)}}}finally{Ke(a)}}}function Np(e,t,n){su(0);let a=Ke(null);try{t(e,n)}finally{Ke(a)}}function Ef(e,t,n){if(nf(t)){let a=Ke(null);try{let i=t.directiveStart,r=t.directiveEnd;for(let s=i;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{Ke(a)}}}var An=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(An||{}),cc;function Ule(){if(cc===void 0&&(cc=null,Zn.trustedTypes))try{cc=Zn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return cc}function pu(e){var t;return((t=Ule())==null?void 0:t.createHTML(e))||e}var dc;function Wle(){if(dc===void 0&&(dc=null,Zn.trustedTypes))try{dc=Zn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return dc}function Bb(e){var t;return((t=Wle())==null?void 0:t.createHTML(e))||e}var Jr=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${L_})`}},qle=class extends Jr{getTypeName(){return"HTML"}},$le=class extends Jr{getTypeName(){return"Style"}},Yle=class extends Jr{getTypeName(){return"Script"}},Gle=class extends Jr{getTypeName(){return"URL"}},Zle=class extends Jr{getTypeName(){return"ResourceURL"}};function Dn(e){return e instanceof Jr?e.changingThisBreaksApplicationSecurity:e}function Tr(e,t){let n=Kle(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${L_})`)}return n===t}function Kle(e){return e instanceof Jr&&e.getTypeName()||null}function Qle(e){return new qle(e)}function Xle(e){return new $le(e)}function Jle(e){return new Yle(e)}function ece(e){return new Gle(e)}function tce(e){return new Zle(e)}function ace(e){let t=new nce(e);return rce()?new ice(t):t}var ice=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(pu(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},nce=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=pu(e),t}};function rce(){try{return!!new window.DOMParser().parseFromString(pu(""),"text/html")}catch{return!1}}var oce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Df(e){return e=String(e),e.match(oce)?e:"unsafe:"+e}function Vn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Tl(...e){let t={};for(let n of e)for(let a in n)n.hasOwnProperty(a)&&(t[a]=!0);return t}var o1=Vn("area,br,col,hr,img,wbr"),s1=Vn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),l1=Vn("rp,rt"),sce=Tl(l1,s1),lce=Tl(s1,Vn("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")),cce=Tl(l1,Vn("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")),jb=Tl(o1,lce,cce,sce),c1=Vn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dce=Vn("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"),uce=Vn("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"),hce=Tl(c1,dce,uce),pce=Vn("script,style,template"),mce=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,a=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){a.push(t),t=bce(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=gce(t);if(i){t=i;break}t=a.pop()}}return this.buf.join("")}startElement(e){let t=Hb(e).toLowerCase();if(!jb.hasOwnProperty(t))return this.sanitizedSomething=!0,!pce.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let a=0;a<n.length;a++){let i=n.item(a),r=i.name,s=r.toLowerCase();if(!hce.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=i.value;c1[s]&&(l=Df(l)),this.buf.push(" ",r,'="',Ub(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Hb(e).toLowerCase();jb.hasOwnProperty(t)&&!o1.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ub(e))}};function fce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw d1(t);return t}function bce(e){let t=e.firstChild;if(t&&fce(e,t))throw d1(t);return t}function Hb(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function d1(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yce=/([^\#-~ |!])/g;function Ub(e){return e.replace(/&/g,"&amp;").replace(vce,function(t){let n=t.charCodeAt(0),a=t.charCodeAt(1);return"&#"+((n-55296)*1024+(a-56320)+65536)+";"}).replace(yce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var uc;function u1(e,t){let n=null;try{uc=uc||ace(e);let a=t?String(t):"";n=uc.getInertBodyElement(a);let i=5,r=a;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,a=r,r=n.innerHTML,n=uc.getInertBodyElement(a)}while(a!==r);let s=new mce().sanitizeChildren(Wb(n)||n);return pu(s)}finally{if(n){let a=Wb(n)||n;for(;a.firstChild;)a.firstChild.remove()}}}function Wb(e){return"content"in e&&_ce(e)?e.content:null}function _ce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ai=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ai||{});function h1(e){let t=p1();return t?Bb(t.sanitize(ai.HTML,e)||""):Tr(e,"HTML")?Bb(Dn(e)):u1(Jx(),Fr(e))}function If(e){let t=p1();return t?t.sanitize(ai.URL,e)||"":Tr(e,"URL")?Dn(e):Df(Fr(e))}function p1(){let e=Re();return e&&e[Pn].sanitizer}var xce=/^>|^->|<!--|-->|--!>|<!-$/g,wce=/(<|>)/g,kce="​$1​";function Cce(e){return e.replace(xce,t=>t.replace(wce,kce))}function Sce(e,t,n){let a=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let r=t.length;if(i+r===a||e.charCodeAt(i+r)<=32)return i}n=i+1}}var m1="ng-template";function Ece(e,t,n,a){let i=0;if(a){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&Sce(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Af(e))return!1;if(i=t.indexOf(1,i),i>-1){let r;for(;++i<t.length&&typeof(r=t[i])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Af(e){return e.type===4&&e.value!==m1}function Dce(e,t,n){let a=e.type===4&&!n?m1:e.value;return t===a}function Ice(e,t,n){let a=4,i=e.attrs,r=i!==null?Oce(i):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!Mi(a)&&!Mi(c))return!1;if(s&&Mi(c))continue;s=!1,a=c|a&1;continue}if(!s)if(a&4){if(a=2|a&1,c!==""&&!Dce(e,c,n)||c===""&&t.length===1){if(Mi(a))return!1;s=!0}}else if(a&8){if(i===null||!Ece(e,i,c,n)){if(Mi(a))return!1;s=!0}}else{let d=t[++l],u=Ace(c,i,Af(e),n);if(u===-1){if(Mi(a))return!1;s=!0;continue}if(d!==""){let p;if(u>r?p="":p=i[u+1].toLowerCase(),a&2&&d!==p){if(Mi(a))return!1;s=!0}}}}return Mi(a)||s}function Mi(e){return(e&1)===0}function Ace(e,t,n,a){if(t===null)return-1;let i=0;if(a||!n){let r=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++i];for(;typeof l=="string";)l=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=r?1:2}return-1}else return Mce(t,e)}function f1(e,t,n=!1){for(let a=0;a<t.length;a++)if(Ice(e,t[a],n))return!0;return!1}function Tce(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Oce(e){for(let t=0;t<e.length;t++){let n=e[t];if(Dx(n))return t}return e.length}function Mce(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let a=e[n];if(typeof a=="number")return-1;if(a===t)return n;n++}return-1}function Rce(e,t){e:for(let n=0;n<t.length;n++){let a=t[n];if(e.length===a.length){for(let i=0;i<e.length;i++)if(e[i]!==a[i])continue e;return!0}}return!1}function qb(e,t){return e?":not("+t.trim()+")":t}function Pce(e){let t=e[0],n=1,a=2,i="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(a&2){let l=e[++n];i+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else a&8?i+="."+s:a&4&&(i+=" "+s);else i!==""&&!Mi(s)&&(t+=qb(r,i),i=""),a=s,r=r||!Mi(a);n++}return i!==""&&(t+=qb(r,i)),t}function Nce(e){return e.map(Pce).join(",")}function Lce(e){let t=[],n=[],a=1,i=2;for(;a<e.length;){let r=e[a];if(typeof r=="string")i===2?r!==""&&t.push(r,e[++a]):i===8&&n.push(r);else{if(!Mi(i))break;i=r}a++}return n.length&&t.push(1,...n),t}var bi={};function Fce(e,t){return e.createText(t)}function Vce(e,t,n){e.setValue(t,n)}function zce(e,t){return e.createComment(Cce(t))}function g1(e,t,n){return e.createElement(t,n)}function yd(e,t,n,a,i){e.insertBefore(t,n,a,i)}function b1(e,t,n){e.appendChild(t,n)}function $b(e,t,n,a,i){a!==null?yd(e,t,n,a,i):b1(e,t,n)}function Bce(e,t,n){e.removeChild(null,t,n)}function jce(e,t,n){e.setAttribute(t,"style",n)}function Hce(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function v1(e,t,n){let{mergedAttrs:a,classes:i,styles:r}=n;a!==null&&nle(e,t,a),i!==null&&Hce(e,t,i),r!==null&&jce(e,t,r)}function Tf(e,t,n,a,i,r,s,l,c,d,u){let p=Ut+a,b=p+i,g=Uce(p,b),w=typeof d=="function"?d():d;return g[je]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:w,incompleteFirstPass:!1,ssrId:u}}function Uce(e,t){let n=[];for(let a=0;a<t;a++)n.push(a<e?null:bi);return n}function Wce(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Tf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Of(e,t,n,a,i,r,s,l,c,d,u){let p=t.blueprint.slice();return p[Ln]=i,p[Le]=a|4|128|8|64|1024,(d!==null||e&&e[Le]&2048)&&(p[Le]|=2048),mx(p),p[za]=p[es]=e,p[xa]=n,p[Pn]=s||e&&e[Pn],p[Ht]=l||e&&e[Ht],p[Vo]=c||e&&e[Vo]||null,p[ri]=r,p[ru]=Mle(),p[Fo]=u,p[ox]=d,p[mi]=t.type==2?e[mi]:p,p}function qce(e,t,n){let a=cn(t,e),i=Wce(n),r=e[Pn].rendererFactory,s=Mf(e,Of(e,i,null,y1(n),a,t,null,r.createRenderer(a,n),null,null,null));return e[t.index]=s}function y1(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function _1(e,t,n,a){if(n===0)return-1;let i=t.length;for(let r=0;r<n;r++)t.push(a),e.blueprint.push(a),e.data.push(null);return i}function Mf(e,t){return e[Qs]?e[Db][Li]=t:e[Qs]=t,e[Db]=t,t}function S(e=1){x1(Lt(),Re(),dn()+e)}function x1(e,t,n,a){if((t[Le]&3)===3){let i=e.preOrderCheckHooks;i!==null&&qc(t,i,n)}else{let i=e.preOrderHooks;i!==null&&$c(t,i,0,n)}Wr(n)}var mu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(mu||{});function Lp(e,t,n,a){let i=Ke(null);try{let[r,s,l]=e.inputs[n],c=null;s&mu.SignalBased&&(c=t[r][La]),c!==null&&c.transformFn!==void 0?a=c.transformFn(a):l!==null&&(a=l.call(t,a)),e.setInput!==null?e.setInput(t,c,a,n,r):lx(t,c,r,a)}finally{Ke(i)}}function w1(e,t,n,a,i){let r=dn(),s=a&2;try{Wr(-1),s&&t.length>Ut&&x1(e,t,Ut,!1),jr(s?2:0,i),n(a,i)}finally{Wr(r)}}function fu(e,t,n){Zce(e,t,n),(n.flags&64)===64&&Kce(e,t,n)}function Rf(e,t,n=cn){let a=t.localNames;if(a!==null){let i=t.index+1;for(let r=0;r<a.length;r+=2){let s=a[r+1],l=s===-1?n(t,e):e[s];e[i++]=l}}}function $ce(e,t,n,a){let i=a.get(Lle,t1)||n===An.ShadowDom;return e.selectRootElement(t,i)}function Yce(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Pf(e,t,n,a,i,r,s,l){if(!l&&Lf(t,e,n,a,i)){ts(t)&&Gce(n,t.index);return}if(t.type&3){let c=cn(t,n);a=Yce(a),i=s!=null?s(i,t.value||"",a):i,r.setProperty(c,a,i)}else t.type&12}function Gce(e,t){let n=rn(t,e);n[Le]&16||(n[Le]|=64)}function Zce(e,t,n){let a=n.directiveStart,i=n.directiveEnd;ts(n)&&qce(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||bd(n,t);let r=n.initialInputs;for(let s=a;s<i;s++){let l=e.data[s],c=Xs(t,e,s,n);if(ls(c,t),r!==null&&ede(t,s-a,c,l,n,r),an(l)){let d=rn(n.index,t);d[xa]=Xs(t,e,s,n)}}}function Kce(e,t,n){let a=n.directiveStart,i=n.directiveEnd,r=n.index,s=Gse();try{Wr(r);for(let l=a;l<i;l++){let c=e.data[l],d=t[l];Dp(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Qce(c,d)}}finally{Wr(-1),Dp(s)}}function Qce(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Nf(e,t){let n=e.directiveRegistry,a=null;if(n)for(let i=0;i<n.length;i++){let r=n[i];f1(t,r.selectors,!1)&&(a??(a=[]),an(r)?a.unshift(r):a.push(r))}return a}function Xce(e,t,n,a,i,r){let s=cn(e,t);Jce(t[Ht],s,r,e.value,n,a,i)}function Jce(e,t,n,a,i,r,s){if(r==null)e.removeAttribute(t,i,n);else{let l=s==null?Fr(r):s(r,a||"",i);e.setAttribute(t,i,l,n)}}function ede(e,t,n,a,i,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];Lp(a,n,c,d)}}function tde(e,t){let n=e[Vo],a=n?n.get(Vi,null):null;a&&a.handleError(t)}function Lf(e,t,n,a,i){var c,d;let r=(c=e.inputs)==null?void 0:c[a],s=(d=e.hostDirectiveInputs)==null?void 0:d[a],l=!1;if(s)for(let u=0;u<s.length;u+=2){let p=s[u],b=s[u+1],g=t.data[p];Lp(g,n[p],b,i),l=!0}if(r)for(let u of r){let p=n[u],b=t.data[u];Lp(b,p,a,i),l=!0}return l}function ade(e,t){let n=rn(t,e),a=n[je];ide(a,n);let i=n[Ln];i!==null&&n[Fo]===null&&(n[Fo]=n1(i,n[Vo])),Ff(a,n,n[xa]),jr(19,n[xa])}function ide(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ff(e,t,n){var a;ff(t);try{let i=e.viewQuery;i!==null&&Np(1,i,n);let r=e.template;r!==null&&w1(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(a=t[Fi])==null||a.finishViewCreation(e),e.staticContentQueries&&r1(e,t),e.staticViewQueries&&Np(2,e.viewQuery,n);let s=e.components;s!==null&&nde(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[Le]&=-5,gf()}}function nde(e,t){for(let n=0;n<t.length;n++)ade(e,t[n])}function Ol(e,t,n,a){let i=Ke(null);try{let r=t.tView,s=e[Le]&4096?4096:16,l=Of(e,r,n,s,null,t,null,null,(a==null?void 0:a.injector)??null,(a==null?void 0:a.embeddedViewInjector)??null,(a==null?void 0:a.dehydratedView)??null),c=e[t.index];l[zr]=c;let d=e[Fi];return d!==null&&(l[Fi]=d.createEmbeddedView(r)),Ff(r,l,n),l}finally{Ke(i)}}function Ho(e,t){return!t||t.firstChild===null||Yx(e)}var rde;function Vf(e,t){return rde(e,t)}var Kn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Kn||{});function zf(e){return(e.flags&32)===32}function ko(e,t,n,a,i){if(a!=null){let r,s=!1;Fn(a)?r=a:ar(a)&&(s=!0,a=a[Ln]);let l=nn(a);e===0&&n!==null?i==null?b1(t,n,l):yd(t,n,l,i||null,!0):e===1&&n!==null?yd(t,n,l,i||null,!0):e===2?Bce(t,l,s):e===3&&t.destroyNode(l),r!=null&&fde(t,e,r,n,i)}}function ode(e,t){k1(e,t),t[Ln]=null,t[ri]=null}function sde(e,t,n,a,i,r){a[Ln]=i,a[ri]=t,vu(e,a,n,1,i,r)}function k1(e,t){var n;(n=t[Pn].changeDetectionScheduler)==null||n.notify(9),vu(e,t,t[Ht],2,null,null)}function lde(e){let t=e[Qs];if(!t)return ch(e[je],e);for(;t;){let n=null;if(ar(t))n=t[Qs];else{let a=t[Fa];a&&(n=a)}if(!n){for(;t&&!t[Li]&&t!==e;)ar(t)&&ch(t[je],t),t=t[za];t===null&&(t=e),ar(t)&&ch(t[je],t),n=t&&t[Li]}t=n}}function Bf(e,t){let n=e[zo],a=n.indexOf(t);n.splice(a,1)}function gu(e,t){if(as(t))return;let n=t[Ht];n.destroyNode&&vu(e,t,n,3,null,null),lde(t)}function ch(e,t){if(as(t))return;let n=Ke(null);try{t[Le]&=-129,t[Le]|=256,t[ki]&&Kd(t[ki]),dde(e,t),cde(e,t),t[je].type===1&&t[Ht].destroy();let a=t[zr];if(a!==null&&Fn(t[za])){a!==t[za]&&Bf(a,t);let i=t[Fi];i!==null&&i.detachView(e)}Rp(t)}finally{Ke(n)}}function cde(e,t){let n=e.cleanup,a=t[Ao];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?a[l]():a[-l].unsubscribe(),s+=2}else{let l=a[n[s+1]];n[s].call(l)}a!==null&&(t[Ao]=null);let i=t[er];if(i!==null){t[er]=null;for(let s=0;s<i.length;s++){let l=i[s];l()}}let r=t[In];if(r!==null){t[In]=null;for(let s of r)s.destroy()}}function dde(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let a=0;a<n.length;a+=2){let i=t[n[a]];if(!(i instanceof Dl)){let r=n[a+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=i[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(i)}finally{}}}}function C1(e,t,n){return ude(e,t.parent,n)}function ude(e,t,n){let a=t;for(;a!==null&&a.type&168;)t=a,a=t.parent;if(a===null)return n[Ln];if(ts(a)){let{encapsulation:i}=e.data[a.directiveStart+a.componentOffset];if(i===An.None||i===An.Emulated)return null}return cn(a,n)}function S1(e,t,n){return pde(e,t,n)}function hde(e,t,n){return e.type&40?cn(e,n):null}var pde=hde;function bu(e,t,n,a){let i=C1(e,a,t),r=t[Ht],s=a.parent||t[ri],l=S1(s,a,t);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)$b(r,i,n[c],l,!1);else $b(r,i,n,l,!1)}function Rs(e,t){if(t!==null){let n=t.type;if(n&3)return cn(t,e);if(n&4)return Fp(-1,e[t.index]);if(n&8){let a=t.child;if(a!==null)return Rs(e,a);{let i=e[t.index];return Fn(i)?Fp(-1,i):nn(i)}}else{if(n&128)return Rs(e,t.next);if(n&32)return Vf(t,e)()||nn(e[t.index]);{let a=E1(e,t);if(a!==null){if(Array.isArray(a))return a[0];let i=Ur(e[mi]);return Rs(i,a)}else return Rs(e,t.next)}}}return null}function E1(e,t){if(t!==null){let n=e[mi][ri],a=t.projection;return n.projection[a]}return null}function Fp(e,t){let n=Fa+e+1;if(n<t.length){let a=t[n],i=a[je].firstChild;if(i!==null)return Rs(a,i)}return t[Br]}function jf(e,t,n,a,i,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=a[n.index],c=n.type;if(s&&t===0&&(l&&ls(nn(l),a),n.flags|=2),!zf(n))if(c&8)jf(e,t,n.child,a,i,r,!1),ko(t,e,i,l,r);else if(c&32){let d=Vf(n,a),u;for(;u=d();)ko(t,e,i,u,r);ko(t,e,i,l,r)}else c&16?D1(e,t,a,n,i,r):ko(t,e,i,l,r);n=s?n.projectionNext:n.next}}function vu(e,t,n,a,i,r){jf(n,a,e.firstChild,t,i,r,!1)}function mde(e,t,n){let a=t[Ht],i=C1(e,n,t),r=n.parent||t[ri],s=S1(r,n,t);D1(a,0,t,n,i,s)}function D1(e,t,n,a,i,r){let s=n[mi],l=s[ri].projection[a.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];ko(t,e,i,d,r)}else{let c=l,d=s[za];Yx(a)&&(c.flags|=128),jf(e,t,c,d,i,r,!0)}}function fde(e,t,n,a,i){let r=n[Br],s=nn(n);r!==s&&ko(t,e,a,r,i);for(let l=Fa;l<n.length;l++){let c=n[l];vu(c[je],c,e,t,a,r)}}function gde(e,t,n,a,i){if(t)i?e.addClass(n,a):e.removeClass(n,a);else{let r=a.indexOf("-")===-1?void 0:Kn.DashCase;i==null?e.removeStyle(n,a,r):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),r|=Kn.Important),e.setStyle(n,a,i,r))}}function _d(e,t,n,a,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&a.push(nn(r)),Fn(r)&&bde(r,a);let s=n.type;if(s&8)_d(e,t,n.child,a);else if(s&32){let l=Vf(n,t),c;for(;c=l();)a.push(c)}else if(s&16){let l=E1(t,n);if(Array.isArray(l))a.push(...l);else{let c=Ur(t[mi]);_d(c[je],c,l,a,!0)}}n=i?n.projectionNext:n.next}return a}function bde(e,t){for(let n=Fa;n<e.length;n++){let a=e[n],i=a[je].firstChild;i!==null&&_d(a[je],a,i,t)}e[Br]!==e[Ln]&&t.push(e[Br])}function I1(e){if(e[tr]!==null){for(let t of e[tr])t.impl.addSequence(t);e[tr].length=0}}var A1=[];function vde(e){return e[ki]??yde(e)}function yde(e){let t=A1.pop()??Object.create(xde);return t.lView=e,t}function _de(e){e.lView[ki]!==e&&(e.lView=null,A1.push(e))}var xde=yt(ge({},Ko),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ns(e.lView)},consumerOnSignalRead(){this.lView[ki]=this}});function wde(e){let t=e[ki]??Object.create(kde);return t.lView=e,t}var kde=yt(ge({},Ko),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ur(e.lView);for(;t&&!T1(t[je]);)t=Ur(t);t&&lf(t)},consumerOnSignalRead(){this.lView[ki]=this}});function T1(e){return e.type!==2}function O1(e){if(e[In]===null)return;let t=!0;for(;t;){let n=!1;for(let a of e[In])a.dirty&&(n=!0,a.zone===null||Zone.current===a.zone?a.run():a.zone.run(()=>a.run()));t=n&&!!(e[Le]&8192)}}var Cde=100;function M1(e,t=!0,n=0){var i,r;let a=e[Pn].rendererFactory;(i=a.begin)==null||i.call(a);try{Sde(e,n)}catch(s){throw t&&tde(e,s),s}finally{(r=a.end)==null||r.call(a)}}function Sde(e,t){let n=yx();try{pd(!0),Vp(e,t);let a=0;for(;El(e);){if(a===Cde)throw new J(103,!1);a++,Vp(e,1)}}finally{pd(n)}}function Ede(e,t,n,a){if(as(t))return;let i=t[Le],r=!1,s=!1;ff(t);let l=!0,c=null,d=null;T1(e)?(d=vde(t),c=qs(d)):Lre()===null?(l=!1,d=wde(t),c=qs(d)):t[ki]&&(Kd(t[ki]),t[ki]=null);try{mx(t),qse(e.bindingStartIndex),n!==null&&w1(e,t,n,2,a);let u=(i&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&qc(t,g,null)}else{let g=e.preOrderHooks;g!==null&&$c(t,g,0,null),sh(t,0)}if(s||Dde(t),O1(t),R1(t,0),e.contentQueries!==null&&r1(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&qc(t,g)}else{let g=e.contentHooks;g!==null&&$c(t,g,1),sh(t,1)}Ade(e,t);let p=e.components;p!==null&&N1(t,p,0);let b=e.viewQuery;if(b!==null&&Np(2,b,a),!r)if(u){let g=e.viewCheckHooks;g!==null&&qc(t,g)}else{let g=e.viewHooks;g!==null&&$c(t,g,2),sh(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[oh]){for(let g of t[oh])g();t[oh]=null}r||(I1(t),t[Le]&=-73)}catch(u){throw ns(t),u}finally{d!==null&&(Zd(d,c),l&&_de(d)),gf()}}function R1(e,t){for(let n=Kx(e);n!==null;n=Qx(n))for(let a=Fa;a<n.length;a++){let i=n[a];P1(i,t)}}function Dde(e){for(let t=Kx(e);t!==null;t=Qx(t)){if(!(t[Le]&2))continue;let n=t[zo];for(let a=0;a<n.length;a++){let i=n[a];lf(i)}}}function Ide(e,t,n){let a=rn(t,e);P1(a,n),jr(19,a[xa])}function P1(e,t){sf(e)&&Vp(e,t)}function Vp(e,t){let n=e[je],a=e[Le],i=e[ki],r=!!(t===0&&a&16);if(r||(r=!!(a&64&&t===0)),r||(r=!!(a&1024)),r||(r=!!(i!=null&&i.dirty&&Bm(i))),r||(r=!1),i&&(i.dirty=!1),e[Le]&=-9217,r)Ede(n,e,n.template,e[xa]);else if(a&8192){O1(e),R1(e,1);let s=n.components;s!==null&&N1(e,s,1),I1(e)}}function N1(e,t,n){for(let a=0;a<t.length;a++)Ide(e,t[a],n)}function Ade(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let a=0;a<n.length;a++){let i=n[a];if(i<0)Wr(~i);else{let r=i,s=n[++a],l=n[++a];Yse(s,r);let c=t[r];jr(24,c),l(2,c),jr(25,c)}}}finally{Wr(-1)}}function Hf(e,t){var a;let n=yx()?64:1088;for((a=e[Pn].changeDetectionScheduler)==null?void 0:a.notify(t);e;){e[Le]|=n;let i=Ur(e);if(hd(e)&&!i)return e;e=i}return null}function L1(e,t,n,a){return[e,!0,0,t,null,a,null,n,null,null]}function F1(e,t){let n=Fa+t;if(n<e.length)return e[n]}function Ml(e,t,n,a=!0){let i=t[je];if(Tde(i,t,e,n),a){let s=Fp(n,e),l=t[Ht],c=l.parentNode(e[Br]);c!==null&&sde(i,e[ri],l,t,c,s)}let r=t[Fo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function V1(e,t){let n=tl(e,t);return n!==void 0&&gu(n[je],n),n}function tl(e,t){if(e.length<=Fa)return;let n=Fa+t,a=e[n];if(a){let i=a[zr];i!==null&&i!==e&&Bf(i,a),t>0&&(e[n-1][Li]=a[Li]);let r=cd(e,Fa+t);ode(a[je],a);let s=r[Fi];s!==null&&s.detachView(r[je]),a[za]=null,a[Li]=null,a[Le]&=-129}return a}function Tde(e,t,n,a){let i=Fa+a,r=n.length;a>0&&(n[i-1][Li]=t),a<r-Fa?(t[Li]=n[i],K_(n,Fa+a,t)):(n.push(t),t[Li]=null),t[za]=n;let s=t[zr];s!==null&&n!==s&&z1(s,t);let l=t[Fi];l!==null&&l.insertView(e),Sp(t),t[Le]|=128}function z1(e,t){let n=e[zo],a=t[za];if(ar(a))e[Le]|=2;else{let i=a[za][mi];t[mi]!==i&&(e[Le]|=2)}n===null?e[zo]=[t]:n.push(t)}var al=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[je];return _d(t,e,t.firstChild,[])}get context(){return this._lView[xa]}set context(e){this._lView[xa]=e}get destroyed(){return as(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[za];if(Fn(e)){let t=e[ud],n=t?t.indexOf(this):-1;n>-1&&(tl(e,n),cd(t,n))}this._attachedToViewContainer=!1}gu(this._lView[je],this._lView)}onDestroy(e){fx(this._lView,e)}markForCheck(){Hf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Le]&=-129}reattach(){Sp(this._lView),this._lView[Le]|=128}detectChanges(){this._lView[Le]|=1024,M1(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=hd(this._lView),t=this._lView[zr];t!==null&&!e&&Bf(t,this._lView),k1(this._lView[je],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=e;let t=hd(this._lView),n=this._lView[zr];n!==null&&!t&&z1(n,this._lView),Sp(this._lView)}};function Ode(e){return El(e._lView)||!!(e._lView[Le]&64)}function Mde(e){lf(e._cdRefInjectingView||e._lView)}var ma=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Nde),e})(),Rde=ma,Pde=class extends Rde{constructor(t,n,a){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=a}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,a){let i=Ol(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:a});return new al(i)}};function Nde(){return yu(Ha(),Re())}function yu(e,t){return e.type&4?new Pde(t,e,ss(e,t)):null}function cs(e,t,n,a,i){let r=e.data[t];if(r===null)r=Lde(e,t,n,a,i),$se()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=a,r.attrs=i;let s=Use();r.injectorIndex=s===null?-1:s.injectorIndex}return ur(r,!0),r}function Lde(e,t,n,a,i){let r=bx(),s=uf(),l=s?r:r&&r.parent,c=e.data[t]=Vde(e,l,n,t,a,i);return Fde(e,c,r,s),c}function Fde(e,t,n,a){e.firstChild===null&&(e.firstChild=t),n!==null&&(a?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Vde(e,t,n,a,i,r){let s=t?t.injectorIndex:-1,l=0;return gx()&&(l|=128),{type:n,index:a,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var zde=()=>null;function Uo(e,t){return zde()}var Bde=class{},B1=class{},jde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${wi(e)}.`)}},dp,Rl=(dp=class{},o(dp,"NULL",new jde),dp),Ii=class{},oi=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>Hde()),e})();function Hde(){let e=Re(),t=Ha(),n=rn(t.index,e);return(ar(n)?n:e)[Ht]}var Ude=(()=>{const t=class t{};o(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),dh={},Wde=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=tu(n);let a=this.injector.get(e,dh,n);return a!==dh||t===dh?a:this.parentInjector.get(e,t,n)}};function zp(e,t,n){let a=n?e.styles:null,i=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)i=vp(i,l);else if(r==2){let c=l,d=t[++s];a=vp(a,c+": "+d+";")}}n?e.styles=a:e.stylesWithoutHost=a,n?e.classes=i:e.classesWithoutHost=i}function Gt(e,t=Xe.Default){let n=Re();if(n===null)return ke(e,t);let a=Ha();return Px(a,n,Oa(e),t)}function qde(){let e="invalid";throw new Error(e)}function Uf(e,t,n,a,i){let r=a===null?null:{"":-1},s=i(e,n);if(s!==null){let l,c=null,d=null,u=Yde(s);u===null?l=s:[l,c,d]=u,Kde(e,t,n,l,r,c,d)}r!==null&&a!==null&&$de(n,a,r)}function $de(e,t,n){let a=e.localNames=[];for(let i=0;i<t.length;i+=2){let r=n[t[i+1]];if(r==null)throw new J(-301,!1);a.push(t[i],r)}}function Yde(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&an(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let a=null,i=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(a??(a=[]),i??(i=new Map),r??(r=new Map),Gde(s,a,r,i)),s===t&&(a??(a=[]),a.push(s));return a!==null?(a.push(...t===null?e:e.slice(1)),[a,i,r]):null}function Gde(e,t,n,a){let i=t.length;e.findHostDirectiveDefs(e,t,a),n.set(e,[i,t.length-1])}function Zde(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function Kde(e,t,n,a,i,r,s){let l=a.length,c=!1;for(let b=0;b<l;b++){let g=a[b];!c&&an(g)&&(c=!0,Zde(e,n,b)),Ap(bd(n,t),e,g.type)}aue(n,e.data.length,l);for(let b=0;b<l;b++){let g=a[b];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,p=_1(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=a[b];if(n.mergedAttrs=Bo(n.mergedAttrs,g.hostAttrs),Xde(e,n,t,p,g),tue(p,g,i),s!==null&&s.has(g)){let[k,E]=s.get(g);n.directiveToIndex.set(g.type,[p,k+n.directiveStart,E+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,p);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let w=g.type.prototype;!d&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),p++}Qde(e,n,r)}function Qde(e,t,n){for(let a=t.directiveStart;a<t.directiveEnd;a++){let i=e.data[a];if(n===null||!n.has(i))Yb(0,t,i,a),Yb(1,t,i,a),Zb(t,a,!1);else{let r=n.get(i);Gb(0,t,r,a),Gb(1,t,r,a),Zb(t,a,!0)}}}function Yb(e,t,n,a){let i=e===0?n.inputs:n.outputs;for(let r in i)if(i.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(a),j1(t,r)}}function Gb(e,t,n,a){let i=e===0?n.inputs:n.outputs;for(let r in i)if(i.hasOwnProperty(r)){let s=i[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(a,r),j1(t,s)}}function j1(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zb(e,t,n){let{attrs:a,inputs:i,hostDirectiveInputs:r}=e;if(a===null||!n&&i===null||n&&r===null||Af(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<a.length;){let c=a[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&i.hasOwnProperty(c)){let d=i[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,a[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],a[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function Xde(e,t,n,a,i){e.data[a]=i;let r=i.factory||(i.factory=Vr(i.type)),s=new Dl(r,an(i),Gt);e.blueprint[a]=s,n[a]=s,Jde(e,t,a,_1(e,n,i.hostVars,bi),i)}function Jde(e,t,n,a,i){let r=i.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;eue(s)!=l&&s.push(l),s.push(n,a,r)}}function eue(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function tue(e,t,n){if(n){if(t.exportAs)for(let a=0;a<t.exportAs.length;a++)n[t.exportAs[a]]=e;an(t)&&(n[""]=e)}}function aue(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function H1(e,t,n,a,i,r,s,l){let c=t.consts,d=Hr(c,s),u=cs(t,e,2,a,d);return Uf(t,n,u,Hr(c,l),i),u.mergedAttrs=Bo(u.mergedAttrs,u.attrs),u.attrs!==null&&zp(u,u.attrs,!1),u.mergedAttrs!==null&&zp(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function U1(e,t){bf(e,t),nf(t)&&e.queries.elementEnd(t)}var iue=class extends Rl{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=No(t);return new Wf(n,this.ngModule)}};function nue(e){return Object.keys(e).map(t=>{let[n,a,i]=e[t],r={propName:n,templateName:t,isSignal:(a&mu.SignalBased)!==0};return i&&(r.transform=i),r})}function rue(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function oue(e,t,n){let a=t instanceof tn?t:t==null?void 0:t.injector;return a&&e.getStandaloneInjector!==null&&(a=e.getStandaloneInjector(a)||a),a?new Wde(n,a):n}function sue(e){let t=e.get(Ii,null);if(t===null)throw new J(407,!1);let n=e.get(Ude,null),a=e.get(os,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:a}}function lue(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return g1(t,n,n==="svg"?hx:n==="math"?Ose:null)}var Wf=class extends B1{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Nce(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=nue(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=rue(this.componentDef.outputs)),this.cachedOutputs}create(t,n,a,i){let r=Ke(null);try{let s=this.componentDef,l=a?["ng-version","19.2.14"]:Lce(this.componentDef.selectors[0]),c=Tf(0,null,null,1,0,null,null,null,null,[l],null),d=oue(s,i||this.ngModule,t),u=sue(d),p=u.rendererFactory.createRenderer(null,s),b=a?$ce(p,a,s.encapsulation,d):lue(s,p),g=Of(null,c,null,512|y1(s),null,null,u,p,d,null,n1(b,d,!0));g[Ut]=b,ff(g);let w=null;try{let k=H1(Ut,c,g,"#host",()=>[this.componentDef],!0,0);b&&(v1(p,b,k),ls(b,g)),fu(c,g,k),Ef(c,k,g),U1(c,k),n!==void 0&&due(k,this.ngContentSelectors,n),w=rn(k.index,g),g[xa]=w[xa],Ff(c,g,null)}catch(k){throw w!==null&&Rp(w),Rp(g),k}finally{jr(23),gf()}return new cue(this.componentType,g)}finally{Ke(r)}}},cue=class extends Bde{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=rf(n[je],Ut),this.location=ss(this._tNode,n),this.instance=rn(this._tNode.index,n)[xa],this.hostView=this.changeDetectorRef=new al(n,void 0,!1),this.componentType=t}setInput(t,n){let a=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Lf(a,i[je],i,t,n),this.previousInputValues.set(t,n);let r=rn(a.index,i);Hf(r,1)}get injector(){return new zs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function due(e,t,n){let a=e.projection=[];for(let i=0;i<t.length;i++){let r=n[i];a.push(r!=null&&r.length?Array.from(r):null)}}var Qa=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",uue),e})();function uue(){let e=Ha();return q1(e,Re())}var hue=Qa,W1=class extends hue{constructor(t,n,a){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=a}get element(){return ss(this._hostTNode,this._hostLView)}get injector(){return new zs(this._hostTNode,this._hostLView)}get parentInjector(){let t=vf(this._hostTNode,this._hostLView);if(Ix(t)){let n=fd(t,this._hostLView),a=md(t),i=n[je].data[a+8];return new zs(i,n)}else return new zs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Kb(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Fa}createEmbeddedView(t,n,a){let i,r;typeof a=="number"?i=a:a!=null&&(i=a.index,r=a.injector);let s=Uo(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,i,Ho(this._hostTNode,s)),l}createComponent(t,n,a,i,r){let s=t&&!Ese(t),l;if(s)l=n;else{let w=n||{};l=w.index,a=w.injector,i=w.projectableNodes,r=w.environmentInjector||w.ngModuleRef}let c=s?t:new Wf(No(t)),d=a||this.parentInjector;if(!r&&c.ngModule==null){let w=(s?d:this.parentInjector).get(tn,null);w&&(r=w)}let u=No(c.componentType??{}),p=Uo(this._lContainer,(u==null?void 0:u.id)??null),b=null,g=c.create(d,i,b,r);return this.insertImpl(g.hostView,l,Ho(this._hostTNode,p)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,a){let i=t._lView;if(Rse(i)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=i[za],d=new W1(c,c[ri],c[za]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Ml(s,i,r,a),t.attachToViewContainerRef(),K_(uh(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Kb(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),a=tl(this._lContainer,n);a&&(cd(uh(this._lContainer),n),gu(a[je],a))}detach(t){let n=this._adjustIndex(t,-1),a=tl(this._lContainer,n);return a&&cd(uh(this._lContainer),n)!=null?new al(a):null}_adjustIndex(t,n=0){return t??this.length+n}};function Kb(e){return e[ud]}function uh(e){return e[ud]||(e[ud]=[])}function q1(e,t){let n,a=t[e.index];return Fn(a)?n=a:(n=L1(a,t,null,e),t[e.index]=n,Mf(t,n)),mue(n,t,e,a),new W1(n,e,t)}function pue(e,t){let n=e[Ht],a=n.createComment(""),i=cn(t,e),r=n.parentNode(i);return yd(n,r,a,n.nextSibling(i),!1),a}var mue=fue;function fue(e,t,n,a){if(e[Br])return;let i;n.type&8?i=nn(a):i=pue(t,n),e[Br]=i}var gue=class $1{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new $1(this.queryList)}setDirty(){this.queryList.setDirty()}},bue=class Y1{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let a=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let r=0;r<a;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];i.push(l.clone())}return new Y1(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)$f(t,n).matches!==null&&this.queries[n].setDirty()}},G1=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=Sue(e):this.predicate=e}},vue=class Z1{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let a=0;a<this.queries.length;a++)this.queries[a].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let a=0;a<this.length;a++){let i=n!==null?n.length:0,r=this.getByIndex(a).embeddedTView(t,i);r&&(r.indexInDeclarationView=a,n!==null?n.push(r):n=[r])}return n!==null?new Z1(n):null}template(t,n){for(let a=0;a<this.queries.length;a++)this.queries[a].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},yue=class K1{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new K1(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,a=t.parent;for(;a!==null&&a.type&8&&a.index!==n;)a=a.parent;return n===(a!==null?a.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let a=this.metadata.predicate;if(Array.isArray(a))for(let i=0;i<a.length;i++){let r=a[i];this.matchTNodeWithReadOption(t,n,_ue(n,r)),this.matchTNodeWithReadOption(t,n,Yc(n,t,r,!1,!1))}else a===ma?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Yc(n,t,a,!1,!1))}matchTNodeWithReadOption(t,n,a){if(a!==null){let i=this.metadata.read;if(i!==null)if(i===Te||i===Qa||i===ma&&n.type&4)this.addMatch(n.index,-2);else{let r=Yc(n,t,i,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,a)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function _ue(e,t){let n=e.localNames;if(n!==null){for(let a=0;a<n.length;a+=2)if(n[a]===t)return n[a+1]}return null}function xue(e,t){return e.type&11?ss(e,t):e.type&4?yu(e,t):null}function wue(e,t,n,a){return n===-1?xue(t,e):n===-2?kue(e,t,a):Xs(e,e[je],n,t)}function kue(e,t,n){if(n===Te)return ss(t,e);if(n===ma)return yu(t,e);if(n===Qa)return q1(t,e)}function Q1(e,t,n,a){let i=t[Fi].queries[a];if(i.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(wue(t,u,s[c+1],n.metadata.read))}}i.matches=l}return i.matches}function Bp(e,t,n,a){let i=e.queries.getByIndex(n),r=i.matches;if(r!==null){let s=Q1(e,t,i,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)a.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let p=Fa;p<u.length;p++){let b=u[p];b[zr]===b[za]&&Bp(b[je],b,d,a)}if(u[zo]!==null){let p=u[zo];for(let b=0;b<p.length;b++){let g=p[b];Bp(g[je],g,d,a)}}}}}return a}function qf(e,t){return e[Fi].queries[t].queryList}function X1(e,t,n){let a=new jo((n&4)===4);return Lse(e,t,a,a.destroy),(t[Fi]??(t[Fi]=new bue)).queries.push(new gue(a))-1}function Cue(e,t,n){let a=Lt();return a.firstCreatePass&&(ew(a,new G1(e,t,n),-1),(t&2)===2&&(a.staticViewQueries=!0)),X1(a,Re(),t)}function J1(e,t,n,a){let i=Lt();if(i.firstCreatePass){let r=Ha();ew(i,new G1(t,n,a),r.index),Eue(i,e),(n&2)===2&&(i.staticContentQueries=!0)}return X1(i,Re(),n)}function Sue(e){return e.split(",").map(t=>t.trim())}function ew(e,t,n){e.queries===null&&(e.queries=new vue),e.queries.track(new yue(t,n))}function Eue(e,t){let n=e.contentQueries||(e.contentQueries=[]),a=n.length?n[n.length-1]:-1;t!==a&&n.push(e.queries.length-1,t)}function $f(e,t){return e.queries.getByIndex(t)}function tw(e,t){let n=e[je],a=$f(n,t);return a.crossesNgTemplate?Bp(n,e,t,[]):Q1(n,e,a,t)}function aw(e,t,n){let a,i=e_(()=>{a._dirtyCounter();let r=Tue(a,e);if(t&&r===void 0)throw new J(-951,!1);return r});return a=i[La],a._dirtyCounter=Ga(0),a._flatValue=void 0,i}function Due(e){return aw(!0,!1)}function Iue(e){return aw(!0,!0)}function Aue(e,t){let n=e[La];n._lView=Re(),n._queryIndex=t,n._queryList=qf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(a=>a+1))}function Tue(e,t){let n=e._lView,a=e._queryIndex;if(n===void 0||a===void 0||n[Le]&4)return t?void 0:Ya;let i=qf(n,a),r=tw(n,a);return i.reset(r,qx),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function Qb(e,t){return Due()}function Oue(e,t){return Iue()}var Mue=(Qb.required=Oue,Qb);function iw(e,t){let n=Object.create(V_),a=new Wx;n.value=e;function i(){return vl(n),Xb(n.value),n.value}return i[La]=n,i.asReadonly=xf.bind(i),i.set=r=>{n.equal(n.value,r)||(_l(n,r),a.emit(r))},i.update=r=>{Xb(n.value),i.set(r(n.value))},i.subscribe=a.subscribe.bind(a),i.destroyRef=a.destroyRef,i}function Xb(e){if(e===eu)throw new J(952,!1)}function Jb(e,t){return iw(e)}function Rue(e){return iw(eu)}var ds=(Jb.required=Rue,Jb),il=class{},nw=class extends il{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new iue(this));o(this,"instance",null);let n=new af([...t.providers,{provide:il,useValue:this},{provide:Rl,useValue:this.componentFactoryResolver}],t.parent||iu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pue(e,t,n=null){return new nw({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Nue=(()=>{const t=class t{constructor(a){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=a}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){let i=tx(!1,a.type),r=i.length>0?Pue([i],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,r)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(let a of this.cachedInjectors.values())a!==null&&a.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",G({token:t,providedIn:"environment",factory:()=>new t(ke(tn))}));let e=t;return e})();function se(e){return kl(()=>{let t=rw(e),n=yt(ge({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Gx.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(Nue).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||An.Emulated,styles:e.styles||Ya,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Xr("NgStandalone"),ow(n);let a=e.dependencies;return n.directiveDefs=ev(a,!1),n.pipeDefs=ev(a,!0),n.id=Bue(n),n})}function Lue(e){return No(e)||ex(e)}function Fue(e){return e!==null}function ft(e){return kl(()=>({type:e.type,bootstrap:e.bootstrap||Ya,declarations:e.declarations||Ya,imports:e.imports||Ya,exports:e.exports||Ya,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vue(e,t){if(e==null)return en;let n={};for(let a in e)if(e.hasOwnProperty(a)){let i=e[a],r,s,l,c;Array.isArray(i)?(l=i[0],r=i[1],s=i[2]??r,c=i[3]||null):(r=i,s=i,l=mu.None,c=null),n[r]=[a,l,c],t[r]=s}return n}function zue(e){if(e==null)return en;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function he(e){return kl(()=>{let t=rw(e);return ow(t),t})}function ga(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function rw(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||en,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ya,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vue(e.inputs,t),outputs:zue(e.outputs),debugInfo:null}}function ow(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function ev(e,t){if(!e)return null;let n=t?fse:Lue;return()=>(typeof e=="function"?e():e).map(a=>n(a)).filter(Fue)}function Bue(e){let t=0,n=typeof e.consts=="function"?"":e.consts,a=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of a.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function jue(e){return Object.getPrototypeOf(e.prototype).constructor}function ze(e){let t=jue(e.type),n=!0,a=[e];for(;t;){let i;if(an(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new J(903,!1);i=t.ɵdir}if(i){if(n){a.push(i);let s=e;s.inputs=hh(e.inputs),s.declaredInputs=hh(e.declaredInputs),s.outputs=hh(e.outputs);let l=i.hostBindings;l&&$ue(e,l);let c=i.viewQuery,d=i.contentQueries;if(c&&Wue(e,c),d&&que(e,d),Hue(e,i),Goe(e.outputs,i.outputs),an(i)&&i.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let r=i.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===ze&&(n=!1)}}t=Object.getPrototypeOf(t)}Uue(a)}function Hue(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let a=t.inputs[n];a!==void 0&&(e.inputs[n]=a,e.declaredInputs[n]=t.declaredInputs[n])}}function Uue(e){let t=0,n=null;for(let a=e.length-1;a>=0;a--){let i=e[a];i.hostVars=t+=i.hostVars,i.hostAttrs=Bo(i.hostAttrs,n=Bo(n,i.hostAttrs))}}function hh(e){return e===en?{}:e===Ya?[]:e}function Wue(e,t){let n=e.viewQuery;n?e.viewQuery=(a,i)=>{t(a,i),n(a,i)}:e.viewQuery=t}function que(e,t){let n=e.contentQueries;n?e.contentQueries=(a,i,r)=>{t(a,i,r),n(a,i,r)}:e.contentQueries=t}function $ue(e,t){let n=e.hostBindings;n?e.hostBindings=(a,i)=>{t(a,i),n(a,i)}:e.hostBindings=t}function Yue(e){let t=n=>{let a=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=sw,n.hostDirectives=a?e.map(jp):[e]):a?n.hostDirectives.unshift(...e.map(jp)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function sw(e,t,n){if(e.hostDirectives!==null)for(let a of e.hostDirectives)if(typeof a=="function"){let i=a();for(let r of i)tv(jp(r),t,n)}else tv(a,t,n)}function tv(e,t,n){let a=ex(e.directive);Gue(a.declaredInputs,e.inputs),sw(a,t,n),n.set(a,e),t.push(a)}function jp(e){return typeof e=="function"?{directive:Oa(e),inputs:en,outputs:en}:{directive:Oa(e.directive),inputs:av(e.inputs),outputs:av(e.outputs)}}function av(e){if(e===void 0||e.length===0)return en;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Gue(e,t){for(let n in t)if(t.hasOwnProperty(n)){let a=t[n],i=e[n];e[a]=i}}function lw(e){return Yf(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Zue(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),a;for(;!(a=n.next()).done;)t(a.value)}}function Yf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function us(e,t,n){return e[t]=n}function cw(e,t){return e[t]}function ii(e,t,n){let a=e[t];return Object.is(a,n)?!1:(e[t]=n,!0)}function nl(e,t,n,a){let i=ii(e,t,n);return ii(e,t+1,a)||i}function Kue(e,t,n,a,i){let r=nl(e,t,n,a);return ii(e,t+2,i)||r}function dw(e,t,n,a,i,r){let s=nl(e,t,n,a);return nl(e,t+2,i,r)||s}function Que(e,t,n,a,i,r,s,l,c){let d=t.consts,u=cs(t,e,4,s||null,l||null);Uf(t,n,u,Hr(d,c),Nf),u.mergedAttrs=Bo(u.mergedAttrs,u.attrs),bf(t,u);let p=u.tView=Tf(2,u,a,i,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),p.queries=t.queries.embeddedTView(u)),u}function uw(e,t,n,a,i,r,s,l,c,d){let u=n+Ut,p=t.firstCreatePass?Que(u,t,e,a,i,r,s,l,c):t.data[u];ur(p,!1);let b=Xue(t,e);cu()&&bu(t,e,b,p),ls(b,e);let g=L1(b,e,b,p);return e[u]=g,Mf(e,g),ou(p)&&fu(t,e,p),c!=null&&Rf(e,p,d),p}function V(e,t,n,a,i,r,s,l){let c=Re(),d=Lt(),u=Hr(d.consts,r);return uw(c,d,e,t,n,a,i,u,s,l),V}var Xue=Jue;function Jue(e,t,n,a){return du(!0),t[Ht].createComment("")}var ehe=new Y(""),hw=(()=>{const t=class t{};o(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new the}));let e=t;return e})(),the=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Gf(e){return!!e&&typeof e.then=="function"}function ahe(e){return!!e&&typeof e.subscribe=="function"}var ihe=new Y(""),pw=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((a,i)=>{this.resolve=a,this.reject=i}));o(this,"appInits",_(ihe,{optional:!0})??[]);o(this,"injector",_(ct))}runInitializers(){if(this.initialized)return;let a=[];for(let r of this.appInits){let s=nu(this.injector,r);if(Gf(s))a.push(s);else if(ahe(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});a.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{i()}).catch(r=>{this.reject(r)}),a.length===0&&i(),this.initialized=!0}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nhe=new Y("");function rhe(){jre(()=>{throw new J(600,!1)})}function ohe(e){return e.isBoundToModule}var she=10,or=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",_(Dle));o(this,"afterRenderManager",_(a1));o(this,"zonelessEnabled",_(zx));o(this,"rootEffectScheduler",_(hw));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new ue);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",_(Il).hasPendingTasks.pipe(It(a=>!a)));o(this,"_injector",_(tn));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var i;if(this._runningTick)throw new J(101,!1);let a=Ke(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(i=this.tracingSnapshot)==null||i.dispose(),this.tracingSnapshot=null,Ke(a),this.afterTick.next()}});_(Al,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let a;return new Promise(i=>{a=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{a.unsubscribe()})}get injector(){return this._injector}bootstrap(a,i){return this.bootstrapImpl(a,i)}bootstrapImpl(a,i,r=ct.NULL){let s=a instanceof B1;if(!this._injector.get(pw).done){let g="";throw new J(405,g)}let l;s?l=a:l=this._injector.get(Rl).resolveComponentFactory(a),this.componentTypes.push(l.componentType);let c=ohe(l)?void 0:this._injector.get(il),d=i||l.selector,u=l.create(r,[],d,c),p=u.location.nativeElement,b=u.injector.get(ehe,null);return b==null||b.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),Gc(this.components,u),b==null||b.unregisterApplication(p)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(kf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ii,null,{optional:!0}));let a=0;for(;this.dirtyFlags!==0&&a++<she;)this.synchronizeOnce()}synchronizeOnce(){var a,i,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)lhe(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(a=this._rendererFactory)==null?void 0:a.begin)==null||i.call(a),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:a})=>El(a))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(a){let i=a;this._views.push(i),i.attachToAppRef(this)}detachView(a){let i=a;Gc(this._views,i),i.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a),this._injector.get(nhe,[]).forEach(i=>i(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Gc(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new J(406,!1);let a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Gc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function lhe(e,t,n,a){!n&&!El(e)||M1(e,t,n&&!a?0:1)}function be(e,t,n,a){let i=Re(),r=Qr();if(ii(i,r,t)){Lt();let s=lu();Xce(s,i,e,t,n,a)}return be}function mw(e,t,n,a){return ii(e,Qr(),n)?t+Fr(n)+a:bi}function che(e,t,n,a,i,r){let s=Wse(),l=nl(e,s,n,i);return pf(2),l?t+Fr(n)+a+Fr(i)+r:bi}function hc(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function dhe(e){return(e&2)==2}function uhe(e,t){return e&131071|t<<17}function Hp(e){return e|2}function Wo(e){return(e&131068)>>2}function ph(e,t){return e&-131069|t<<2}function hhe(e){return(e&1)===1}function Up(e){return e|1}function phe(e,t,n,a,i,r){let s=r?t.classBindings:t.styleBindings,l=$r(s),c=Wo(s);e[a]=n;let d=!1,u;if(Array.isArray(n)){let p=n;u=p[1],(u===null||Cl(p,u)>0)&&(d=!0)}else u=n;if(i)if(c!==0){let p=$r(e[l+1]);e[a+1]=hc(p,l),p!==0&&(e[p+1]=ph(e[p+1],a)),e[l+1]=uhe(e[l+1],a)}else e[a+1]=hc(l,0),l!==0&&(e[l+1]=ph(e[l+1],a)),l=a;else e[a+1]=hc(c,0),l===0?l=a:e[c+1]=ph(e[c+1],a),c=a;d&&(e[a+1]=Hp(e[a+1])),iv(e,u,a,!0),iv(e,u,a,!1),mhe(t,u,e,a,r),s=hc(l,c),r?t.classBindings=s:t.styleBindings=s}function mhe(e,t,n,a,i){let r=i?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Cl(r,t)>=0&&(n[a+1]=Up(n[a+1]))}function iv(e,t,n,a){let i=e[n+1],r=t===null,s=a?$r(i):Wo(i),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];fhe(c,t)&&(l=!0,e[s+1]=a?Up(d):Hp(d)),s=a?$r(d):Wo(d)}l&&(e[n+1]=a?Hp(i):Up(i))}function fhe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Cl(e,t)>=0:!1}var Ni={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ghe(e){return e.substring(Ni.key,Ni.keyEnd)}function bhe(e){return vhe(e),fw(e,gw(e,0,Ni.textEnd))}function fw(e,t){let n=Ni.textEnd;return n===t?-1:(t=Ni.keyEnd=yhe(e,Ni.key=t,n),gw(e,t,n))}function vhe(e){Ni.key=0,Ni.keyEnd=0,Ni.value=0,Ni.valueEnd=0,Ni.textEnd=e.length}function gw(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function yhe(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function z(e,t,n){let a=Re(),i=Qr();if(ii(a,i,t)){let r=Lt(),s=lu();Pf(r,s,a,e,t,a[Ht],n,!1)}return z}function Wp(e,t,n,a,i){Lf(t,e,n,i?"class":"style",a)}function zn(e,t,n){return vw(e,t,n,!1),zn}function Ee(e,t){return vw(e,t,null,!0),Ee}function Ci(e){yw(She,bw,e,!0)}function bw(e,t){for(let n=bhe(t);n>=0;n=fw(t,n))au(e,ghe(t),!0)}function vw(e,t,n,a){let i=Re(),r=Lt(),s=pf(2);if(r.firstUpdatePass&&xw(r,e,s,a),t!==bi&&ii(i,s,t)){let l=r.data[dn()];ww(r,l,i,i[Ht],e,i[s+1]=Dhe(t,n),a,s)}}function yw(e,t,n,a){let i=Lt(),r=pf(2);i.firstUpdatePass&&xw(i,null,r,a);let s=Re();if(n!==bi&&ii(s,r,n)){let l=i.data[dn()];if(kw(l,a)&&!_w(i,r)){let c=l.classesWithoutHost;c!==null&&(n=vp(c,n||"")),Wp(i,l,s,n,a)}else Ehe(i,l,s,s[Ht],s[r+1],s[r+1]=Che(e,t,n),a,r)}}function _w(e,t){return t>=e.expandoStartIndex}function xw(e,t,n,a){let i=e.data;if(i[n+1]===null){let r=i[dn()],s=_w(e,n);kw(r,a)&&t===null&&!s&&(t=!1),t=_he(i,r,t,a),phe(i,r,t,n,s,a)}}function _he(e,t,n,a){let i=Zse(e),r=a?t.residualClasses:t.residualStyles;if(i===null)(a?t.classBindings:t.styleBindings)===0&&(n=mh(null,e,t,n,a),n=rl(n,t.attrs,a),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=mh(i,e,t,n,a),r===null){let l=xhe(e,t,a);l!==void 0&&Array.isArray(l)&&(l=mh(null,e,t,l[1],a),l=rl(l,t.attrs,a),whe(e,t,a,l))}else r=khe(e,t,a)}return r!==void 0&&(a?t.residualClasses=r:t.residualStyles=r),n}function xhe(e,t,n){let a=n?t.classBindings:t.styleBindings;if(Wo(a)!==0)return e[$r(a)]}function whe(e,t,n,a){let i=n?t.classBindings:t.styleBindings;e[$r(i)]=a}function khe(e,t,n){let a,i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<i;r++){let s=e[r].hostAttrs;a=rl(a,s,n)}return rl(a,t.attrs,n)}function mh(e,t,n,a,i){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],a=rl(a,r.hostAttrs,i),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),a}function rl(e,t,n){let a=n?1:2,i=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?i=s:i===a&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),au(e,s,n?!0:t[++r]))}return e===void 0?null:e}function Che(e,t,n){if(n==null||n==="")return Ya;let a=[],i=Dn(n);if(Array.isArray(i))for(let r=0;r<i.length;r++)e(a,i[r],!0);else if(typeof i=="object")for(let r in i)i.hasOwnProperty(r)&&e(a,r,i[r]);else typeof i=="string"&&t(a,i);return a}function She(e,t,n){let a=String(t);a!==""&&!a.includes(" ")&&au(e,a,n)}function Ehe(e,t,n,a,i,r,s,l){i===bi&&(i=Ya);let c=0,d=0,u=0<i.length?i[0]:null,p=0<r.length?r[0]:null;for(;u!==null||p!==null;){let b=c<i.length?i[c+1]:void 0,g=d<r.length?r[d+1]:void 0,w=null,k;u===p?(c+=2,d+=2,b!==g&&(w=p,k=g)):p===null||u!==null&&u<p?(c+=2,w=u):(d+=2,w=p,k=g),w!==null&&ww(e,t,n,a,w,k,s,l),u=c<i.length?i[c]:null,p=d<r.length?r[d]:null}}function ww(e,t,n,a,i,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=hhe(d)?nv(c,t,n,i,Wo(d),s):void 0;if(!xd(u)){xd(r)||dhe(d)&&(r=nv(c,null,n,i,l,s));let p=px(dn(),n);gde(a,s,p,i,r)}}function nv(e,t,n,a,i,r){let s=t===null,l;for(;i>0;){let c=e[i],d=Array.isArray(c),u=d?c[1]:c,p=u===null,b=n[i+1];b===bi&&(b=p?Ya:void 0);let g=p?nh(b,a):u===a?b:void 0;if(d&&!xd(g)&&(g=nh(c,a)),xd(g)&&(l=g,s))return l;let w=e[i+1];i=s?$r(w):Wo(w)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=nh(c,a))}return l}function xd(e){return e!==void 0}function Dhe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=wi(Dn(e)))),e}function kw(e,t){return(e.flags&(t?8:16))!==0}function Ihe(e,t,n){let a=Re(),i=mw(a,e,t,n);yw(au,bw,i,!0)}var Ahe=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),a=Math.max(e,t),i=this.detach(a);if(a-n>1){let r=this.detach(n);this.attach(n,i),this.attach(a,r)}else this.attach(n,i)}move(e,t){this.attach(t,this.detach(e))}};function fh(e,t,n,a,i){return e===n&&Object.is(t,a)?1:Object.is(i(e,t),i(n,a))?-1:0}function The(e,t,n){let a,i,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=fh(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let p=e.at(s),b=t[l],g=fh(s,p,l,b,n);if(g!==0){g<0&&e.updateValue(s,b),s--,l--;continue}let w=n(r,c),k=n(s,p),E=n(r,d);if(Object.is(E,k)){let O=n(l,b);Object.is(O,w)?(e.swap(r,s),e.updateValue(s,b),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(a??(a=new sv),i??(i=ov(e,r,s,n)),qp(e,a,r,E))e.updateValue(r,d),r++,s++;else if(i.has(E))a.set(w,e.detach(r)),s--;else{let O=e.create(r,t[r]);e.attach(r,O),r++,s++}}for(;r<=l;)rv(e,a,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,p=fh(r,d,r,u,n);if(p!==0)p<0&&e.updateValue(r,u),r++,c=l.next();else{a??(a=new sv),i??(i=ov(e,r,s,n));let b=n(r,u);if(qp(e,a,r,b))e.updateValue(r,u),r++,s++,c=l.next();else if(!i.has(b))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);a.set(g,e.detach(r)),s--}}}for(;!c.done;)rv(e,a,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));a==null||a.forEach(l=>{e.destroy(l)})}function qp(e,t,n,a){return t!==void 0&&t.has(a)?(e.attach(n,t.get(a)),t.delete(a),!0):!1}function rv(e,t,n,a,i){if(qp(e,t,a,n(a,i)))e.updateValue(a,i);else{let r=e.create(a,i);e.attach(a,r)}}function ov(e,t,n,a){let i=new Set;for(let r=t;r<=n;r++)i.add(a(r,e.at(r)));return i}var sv=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let a=this._vMap;for(;a.has(n);)n=a.get(n);a.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let a=this._vMap;for(;a.has(n);)n=a.get(n),e(n,t)}}};function W(e,t){Xr("NgControlFlow");let n=Re(),a=Qr(),i=n[a]!==bi?n[a]:-1,r=i!==-1?wd(n,Ut+i):void 0,s=0;if(ii(n,a,e)){let l=Ke(null);try{if(r!==void 0&&V1(r,s),e!==-1){let c=Ut+e,d=wd(n,c),u=$p(n[je],c),p=Uo(d,u.tView.ssrId),b=Ol(n,u,t,{dehydratedView:p});Ml(d,b,s,Ho(u,p))}}finally{Ke(l)}}else if(r!==void 0){let l=F1(r,s);l!==void 0&&(l[xa]=t)}}var Ohe=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-Fa}};function Si(e,t){return t}var Mhe=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ba(e,t,n,a,i,r,s,l,c,d,u,p,b){Xr("NgControlFlow");let g=Re(),w=Lt(),k=c!==void 0,E=Re(),O=l?s.bind(E[mi][xa]):s,B=new Mhe(k,O);E[Ut+e]=B,uw(g,w,e+1,t,n,a,i,Hr(w.consts,r))}var Rhe=class extends Ahe{constructor(t,n,a){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=a}get length(){return this.lContainer.length-Fa}at(t){return this.getLView(t)[xa].$implicit}attach(t,n){let a=n[Fo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Ml(this.lContainer,n,t,Ho(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Phe(this.lContainer,t)}create(t,n){var r;let a=Uo(this.lContainer,this.templateTNode.tView.ssrId),i=Ol(this.hostLView,this.templateTNode,new Ohe(this.lContainer,n,t),{dehydratedView:a});return(r=this.operationsCounter)==null||r.recordCreate(),i}destroy(t){var n;gu(t[je],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[xa].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[xa].$index=t}getLView(t){return Nhe(this.lContainer,t)}};function ja(e){let t=Ke(null),n=dn();try{let a=Re(),i=a[je],r=a[n],s=n+1,l=wd(a,s);if(r.liveCollection===void 0){let d=$p(i,s);r.liveCollection=new Rhe(l,a,d)}else r.liveCollection.reset();let c=r.liveCollection;if(The(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=Qr(),u=c.length===0;if(ii(a,d,u)){let p=n+2,b=wd(a,p);if(u){let g=$p(i,p),w=Uo(b,g.tView.ssrId),k=Ol(a,g,void 0,{dehydratedView:w});Ml(b,k,0,Ho(g,w))}else V1(b,0)}}}finally{Ke(t)}}function wd(e,t){return e[t]}function Phe(e,t){return tl(e,t)}function Nhe(e,t){return F1(e,t)}function $p(e,t){return rf(e,t)}function D(e,t,n,a){let i=Re(),r=Lt(),s=Ut+e,l=i[Ht],c=r.firstCreatePass?H1(s,r,i,t,Nf,Bse(),n,a):r.data[s],d=Lhe(r,i,c,l,t);i[s]=d;let u=ou(c);return ur(c,!0),v1(l,d,c),!zf(c)&&cu()&&bu(r,i,d,c),(Fse()===0||u)&&ls(d,i),Vse(),u&&(fu(r,i,c),Ef(r,c,i)),a!==null&&Rf(i,c),D}function I(){let e=Ha();uf()?hf():(e=e.parent,ur(e,!1));let t=e;jse(t)&&Hse(),zse();let n=Lt();return n.firstCreatePass&&U1(n,t),t.classesWithoutHost!=null&&ale(t)&&Wp(n,t,Re(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ile(t)&&Wp(n,t,Re(),t.stylesWithoutHost,!1),I}function Z(e,t,n,a){return D(e,t,n,a),I(),Z}var Lhe=(e,t,n,a,i,r)=>(du(!0),g1(a,i,Jse()));function Fhe(e,t,n,a,i){let r=t.consts,s=Hr(r,a),l=cs(t,e,8,"ng-container",s);s!==null&&zp(l,s,!0);let c=Hr(r,i);return Uf(t,n,l,c,Nf),l.mergedAttrs=Bo(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function da(e,t,n){let a=Re(),i=Lt(),r=e+Ut,s=i.firstCreatePass?Fhe(r,i,a,t,n):i.data[r];ur(s,!0);let l=Vhe(i,a);return a[r]=l,cu()&&bu(i,a,l,s),ls(l,a),ou(s)&&(fu(i,a,s),Ef(i,s,a)),n!=null&&Rf(a,s),da}function ua(){let e=Ha(),t=Lt();return uf()?hf():(e=e.parent,ur(e,!1)),t.firstCreatePass&&(bf(t,e),nf(e)&&t.queries.elementEnd(e)),ua}function Za(e,t,n){return da(e,t,n),ua(),Za}var Vhe=(e,t,n,a)=>(du(!0),zce(t[Ht],""));function gt(){return Re()}function un(e,t,n){let a=Re(),i=Qr();if(ii(a,i,t)){let r=Lt(),s=lu();Pf(r,s,a,e,t,a[Ht],n,!0)}return un}var yr=void 0;function zhe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Bhe=["en",[["a","p"],["AM","PM"],yr],[["AM","PM"],yr,yr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],yr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],yr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",yr,"{1} 'at' {0}",yr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",zhe],Bs={};function jhe(e,t,n){typeof t!="string"&&(n=t,t=e[fa.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Bs[t]=e,n&&(Bs[t][fa.ExtraData]=n)}function zi(e){let t=Hhe(e),n=lv(t);if(n)return n;let a=t.split("-")[0];if(n=lv(a),n)return n;if(a==="en")return Bhe;throw new J(701,!1)}function lv(e){return e in Bs||(Bs[e]=Zn.ng&&Zn.ng.common&&Zn.ng.common.locales&&Zn.ng.common.locales[e]),Bs[e]}var fa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(fa||{});function Hhe(e){return e.toLowerCase().replace(/_/g,"-")}var Yp="en-US";function Uhe(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function cv(e,t,n){return function a(i){if(i===Function)return n;let r=ts(e)?rn(e.index,t):t;Hf(r,5);let s=t[xa],l=dv(t,s,n,i),c=a.__ngNextListenerFn__;for(;c;)l=dv(t,s,c,i)&&l,c=c.__ngNextListenerFn__;return l}}function dv(e,t,n,a){let i=Ke(null);try{return jr(6,t,n),n(a)!==!1}catch(r){return Whe(e,r),!1}finally{Ke(i)}}function Whe(e,t){let n=e[Vo],a=n?n.get(Vi,null):null;a&&a.handleError(t)}function uv(e,t,n,a,i,r){let s=t[n],l=t[je],c=l.data[n].outputs[a],d=s[c],u=l.firstCreatePass?df(l):null,p=cf(t),b=d.subscribe(r),g=p.length;p.push(r,b),u&&u.push(i,e.index,g,-(g+1))}function xe(e,t,n,a){let i=Re(),r=Lt(),s=Ha();return Cw(r,i,i[Ht],s,e,t,a),xe}function qhe(e,t,n,a){let i=e.cleanup;if(i!=null)for(let r=0;r<i.length-1;r+=2){let s=i[r];if(s===n&&i[r+1]===a){let l=t[Ao],c=i[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function Cw(e,t,n,a,i,r,s){var p,b;let l=ou(a),c=e.firstCreatePass?df(e):null,d=cf(t),u=!0;if(a.type&3||s){let g=cn(a,t),w=s?s(g):g,k=d.length,E=s?B=>s(nn(B[a.index])):a.index,O=null;if(!s&&l&&(O=qhe(e,t,i,a.index)),O!==null){let B=O.__ngLastListenerFn__||O;B.__ngNextListenerFn__=r,O.__ngLastListenerFn__=r,u=!1}else{r=cv(a,t,r);let B=n.listen(w,i,r);d.push(r,B),c&&c.push(i,E,k,k+1)}}else r=cv(a,t,r);if(u){let g=(p=a.outputs)==null?void 0:p[i],w=(b=a.hostDirectiveOutputs)==null?void 0:b[i];if(w&&w.length)for(let k=0;k<w.length;k+=2){let E=w[k],O=w[k+1];uv(a,t,E,O,i,r)}if(g&&g.length)for(let k of g)uv(a,t,k,i,i,r)}}function L(e=1){return Qse(e)}function $he(e,t){let n=null,a=Tce(e);for(let i=0;i<t.length;i++){let r=t[i];if(r==="*"){n=i;continue}if(a===null?f1(e,r,!0):Rce(a,r))return i}return n}function Ct(e){let t=Re()[mi][ri];if(!t.projection){let n=e?e.length:1,a=t.projection=hse(n,null),i=a.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?$he(r,e):0;s!==null&&(i[s]?i[s].projectionNext=r:a[s]=r,i[s]=r)}r=r.next}}}function Me(e,t=0,n,a,i,r){let s=Re(),l=Lt(),c=null,d=cs(l,Ut+e,16,null,null);d.projection===null&&(d.projection=t),hf();let u=!s[Fo]||gx();s[mi][ri].projection[d.projection]===null&&c!==null?Yhe(s,l,c):u&&!zf(d)&&mde(l,s,d)}function Yhe(e,t,n){let a=Ut+n,i=t.data[a],r=e[a],s=Uo(r,i.tView.ssrId),l=Ol(e,i,void 0,{dehydratedView:s});Ml(r,l,0,Ho(i,s))}function ht(e,t,n,a){J1(e,t,n,a)}function Ye(e,t,n){Cue(e,t,n)}function ye(e){let t=Re(),n=Lt(),a=mf();su(a+1);let i=$f(n,a);if(e.dirty&&Mse(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let r=tw(t,a);e.reset(r,qx),e.notifyOnChanges()}return!0}return!1}function _e(){return qf(Re(),mf())}function Ghe(e,t,n,a,i){Aue(t,J1(e,n,a,i))}function Zhe(e=1){su(mf()+e)}function Ei(e){let t=vx();return is(t,Ut+e)}function P(e,t=""){let n=Re(),a=Lt(),i=e+Ut,r=a.firstCreatePass?cs(a,i,1,t,null):a.data[i],s=Khe(a,n,r,t);n[i]=s,cu()&&bu(a,n,s,r),ur(r,!1)}var Khe=(e,t,n,a,i)=>(du(!0),Fce(t[Ht],a));function te(e){return ie("",e,""),te}function ie(e,t,n){let a=Re(),i=mw(a,e,t,n);return i!==bi&&Sw(a,dn(),i),ie}function sr(e,t,n,a,i){let r=Re(),s=che(r,e,t,n,a,i);return s!==bi&&Sw(r,dn(),s),sr}function Sw(e,t,n){let a=px(t,e);Vce(e[Ht],a,n)}function pr(e,t,n){$x(t)&&(t=t());let a=Re(),i=Qr();if(ii(a,i,t)){let r=Lt(),s=lu();Pf(r,s,a,e,t,a[Ht],n,!1)}return pr}function eo(e,t){let n=$x(e);return n&&e.set(t),n}function mr(e,t){let n=Re(),a=Lt(),i=Ha();return Cw(a,n,n[Ht],i,e,t),mr}var Ew={};function Zf(e){let t=Lt(),n=Re(),a=e+Ut,i=cs(t,a,128,null,null);return ur(i,!1),of(t,n,a,Ew),Zf}function hv(e){Xr("NgLet");let t=Lt(),n=Re(),a=dn();return of(t,n,a,e),e}function pv(e){let t=vx(),n=is(t,Ut+e);if(n===Ew)throw new J(314,!1);return n}function Qhe(e,t,n){let a=Lt();if(a.firstCreatePass){let i=an(e);Gp(n,a.data,a.blueprint,i,!0),Gp(t,a.data,a.blueprint,i,!1)}}function Gp(e,t,n,a,i){if(e=Oa(e),Array.isArray(e))for(let r=0;r<e.length;r++)Gp(e[r],t,n,a,i);else{let r=Lt(),s=Re(),l=Ha(),c=Lo(e)?e:Oa(e.provide),d=nx(e),u=l.providerIndexes&1048575,p=l.directiveStart,b=l.providerIndexes>>20;if(Lo(e)||!e.multi){let g=new Dl(d,i,Gt),w=bh(c,t,i?u:u+b,p);w===-1?(Ap(bd(l,s),r,c),gh(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[w]=g,s[w]=g)}else{let g=bh(c,t,u+b,p),w=bh(c,t,u,u+b),k=g>=0&&n[g],E=w>=0&&n[w];if(i&&!E||!i&&!k){Ap(bd(l,s),r,c);let O=epe(i?Jhe:Xhe,n.length,i,a,d);!i&&E&&(n[w].providerFactory=O),gh(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(O),s.push(O)}else{let O=Dw(n[i?w:g],d,!i&&a);gh(r,e,g>-1?g:w,O)}!i&&a&&E&&n[w].componentProviders++}}}function gh(e,t,n,a){let i=Lo(t),r=_se(t);if(i||r){let s=(r?Oa(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[a,s]):l[c+1].push(a,s)}else l.push(n,s)}}}function Dw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bh(e,t,n,a){for(let i=n;i<a;i++)if(t[i]===e)return i;return-1}function Xhe(e,t,n,a,i){return Zp(this.multi,[])}function Jhe(e,t,n,a,i){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=Xs(a,a[je],this.providerFactory.index,i);s=c.slice(0,l),Zp(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],Zp(r,s);return s}function Zp(e,t){for(let n=0;n<e.length;n++){let a=e[n];t.push(a())}return t}function epe(e,t,n,a,i){let r=new Dl(e,n,Gt);return r.multi=[],r.index=t,r.componentProviders=0,Dw(r,i,a&&!n),r}function st(e,t=[]){return n=>{n.providersResolver=(a,i)=>Qhe(a,i?i(e):e,t)}}function on(e,t,n){let a=hr()+e,i=Re();return i[a]===bi?us(i,a,t()):cw(i,a)}function hn(e,t,n,a){return Iw(Re(),hr(),e,t,n,a)}function tpe(e,t,n,a,i){return Aw(Re(),hr(),e,t,n,a,i)}function ape(e,t,n,a,i,r,s,l){let c=hr()+e,d=Re(),u=dw(d,c,n,a,i,r);return ii(d,c+4,s)||u?us(d,c+5,t(n,a,i,r,s)):cw(d,c+5)}function _u(e,t){let n=e[t];return n===bi?void 0:n}function Iw(e,t,n,a,i,r){let s=t+n;return ii(e,s,i)?us(e,s+1,r?a.call(r,i):a(i)):_u(e,s+1)}function Aw(e,t,n,a,i,r,s){let l=t+n;return nl(e,l,i,r)?us(e,l+2,s?a.call(s,i,r):a(i,r)):_u(e,l+2)}function ipe(e,t,n,a,i,r,s,l){let c=t+n;return Kue(e,c,i,r,s)?us(e,c+3,l?a.call(l,i,r,s):a(i,r,s)):_u(e,c+3)}function npe(e,t,n,a,i,r,s,l,c){let d=t+n;return dw(e,d,i,r,s,l)?us(e,d+4,c?a.call(c,i,r,s,l):a(i,r,s,l)):_u(e,d+4)}function T(e,t){let n=Lt(),a,i=e+Ut;n.firstCreatePass?(a=rpe(t,n.pipeRegistry),n.data[i]=a,a.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(i,a.onDestroy)):a=n.data[i];let r=a.factory||(a.factory=Vr(a.type)),s=ti(Gt);try{let l=gd(!1),c=r();return gd(l),of(n,Re(),i,c),c}finally{ti(s)}}function rpe(e,t){if(t)for(let n=t.length-1;n>=0;n--){let a=t[n];if(e===a.name)return a}}function N(e,t,n){let a=e+Ut,i=Re(),r=is(i,a);return xu(i,a)?Iw(i,hr(),t,r.transform,n,r):r.transform(n)}function na(e,t,n,a){let i=e+Ut,r=Re(),s=is(r,i);return xu(r,i)?Aw(r,hr(),t,s.transform,n,a,s):s.transform(n,a)}function ope(e,t,n,a,i){let r=e+Ut,s=Re(),l=is(s,r);return xu(s,r)?ipe(s,hr(),t,l.transform,n,a,i,l):l.transform(n,a,i)}function Lr(e,t,n,a,i,r){let s=e+Ut,l=Re(),c=is(l,s);return xu(l,s)?npe(l,hr(),t,c.transform,n,a,i,r,c):c.transform(n,a,i,r)}function xu(e,t){return e[je].data[t].pure}function Tw(e,t){return yu(e,t)}var spe=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},mv=new spe("19.2.14"),lpe=(()=>{const t=class t{constructor(){o(this,"zone",_(Ne));o(this,"changeDetectionScheduler",_(os));o(this,"applicationRef",_(or));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cpe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(yt(ge({},dpe()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:dd,multi:!0,useFactory:()=>{let a=_(lpe,{optional:!0});return()=>a.initialize()}},{provide:dd,multi:!0,useFactory:()=>{let a=_(upe);return()=>{a.initialize()}}},t===!0?{provide:Bx,useValue:!0}:[],{provide:jx,useValue:n??Fx}]}function dpe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var upe=(()=>{const t=class t{constructor(){o(this,"subscription",new Ge);o(this,"initialized",!1);o(this,"zone",_(Ne));o(this,"pendingTasks",_(Il))}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{a!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),a??(a=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hpe=(()=>{var t;const n=class n{constructor(){o(this,"appRef",_(or));o(this,"taskService",_(Il));o(this,"ngZone",_(Ne));o(this,"zonelessEnabled",_(zx));o(this,"tracing",_(Al,{optional:!0}));o(this,"disableScheduling",_(Bx,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new Ge);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(vd):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(_(jx,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);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.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Cle||!this.zoneIsDefined))}notify(i){var l;if(!this.zonelessEnabled&&i===5)return;let r=!1;switch(i){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,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?Pb:Hx;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(vd+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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Pb(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(i){return new(i||n)}),o(n,"ɵprov",G({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function ppe(){return typeof $localize<"u"&&$localize.locale||Yp}var wu=new Y("",{providedIn:"root",factory:()=>_(wu,Xe.Optional|Xe.SkipSelf)||ppe()}),Kp=new Y(""),mpe=new Y("");function xs(e){return!e.moduleRef}function fpe(e){let t=xs(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{xs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let a=t.get(Vi,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r=>{a.handleError(r)}})}),xs(e)){let r=()=>t.destroy(),s=e.platformInjector.get(Kp);s.add(r),t.onDestroy(()=>{i.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Kp);s.add(r),e.moduleRef.onDestroy(()=>{Gc(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(r)})}return bpe(a,n,()=>{let r=t.get(pw);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(wu,Yp);if(Uhe(s||Yp),!t.get(mpe,!0))return xs(e)?t.get(or):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(xs(e)){let l=t.get(or);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return gpe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function gpe(e,t){let n=e.injector.get(or);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(a=>n.bootstrap(a));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new J(-403,!1);t.push(e)}function bpe(e,t,n){try{let a=n();return Gf(a)?a.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}var Zc=null;function vpe(e=[],t){return ct.create({name:t,providers:[{provide:tf,useValue:"platform"},{provide:Kp,useValue:new Set([()=>Zc=null])},...e]})}function ype(e=[]){if(Zc)return Zc;let t=vpe(e);return Zc=t,rhe(),_pe(t),t}function _pe(e){let t=e.get(e1,null);nu(e,()=>{t==null||t.forEach(n=>n())})}function xpe(){return!1}var _t=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",wpe),e})();function wpe(e){return kpe(Ha(),Re(),(e&16)===16)}function kpe(e,t,n){if(ts(e)&&!n){let a=rn(e.index,t);return new al(a,a)}else if(e.type&175){let a=t[mi];return new al(a,t)}return null}var Cpe=class{constructor(){}supports(e){return lw(e)}create(e){return new Epe(e)}},Spe=(e,t)=>t,Epe=class{constructor(e){o(this,"length",0);o(this,"collection");o(this,"_linkedRecords",null);o(this,"_unlinkedRecords",null);o(this,"_previousItHead",null);o(this,"_itHead",null);o(this,"_itTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_movesHead",null);o(this,"_movesTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null);o(this,"_identityChangesHead",null);o(this,"_identityChangesTail",null);o(this,"_trackByFn");this._trackByFn=e||Spe}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,a=0,i=null;for(;t||n;){let r=!n||t&&t.currentIndex<gv(n,a,i)?t:n,s=gv(r,a,i),l=r.currentIndex;if(r===n)a--,n=n._nextRemoved;else if(t=t._next,r.previousIndex==null)a++;else{i||(i=[]);let c=s-a,d=l-a;if(c!=d){for(let p=0;p<c;p++){let b=p<i.length?i[p]:i[p]=0,g=b+p;d<=g&&g<c&&(i[p]=b+1)}let u=r.previousIndex;i[u]=d-c}}s!==l&&e(r,s,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!lw(e))throw new J(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,a,i,r;if(Array.isArray(e)){this.length=e.length;for(let s=0;s<this.length;s++)i=e[s],r=this._trackByFn(s,i),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,i,r,s),n=!0):(n&&(t=this._verifyReinsertion(t,i,r,s)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else a=0,Zue(e,s=>{r=this._trackByFn(a,s),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,s,r,a),n=!0):(n&&(t=this._verifyReinsertion(t,s,r,a)),Object.is(t.item,s)||this._addIdentityChange(t,s)),t=t._next,a++}),this.length=a;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,a){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,a)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,a),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,a)):e=this._addAfter(new Dpe(t,n),i,a)),e}_verifyReinsertion(e,t,n,a){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,a):e.currentIndex!=a&&(e.currentIndex=a,this._addToMoves(e,a)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let a=e._prevRemoved,i=e._nextRemoved;return a===null?this._removalsHead=i:a._nextRemoved=i,i===null?this._removalsTail=a:i._prevRemoved=a,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){let a=t===null?this._itHead:t._next;return e._next=a,e._prev=t,a===null?this._itTail=e:a._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new fv),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,n=e._next;return t===null?this._itHead=n:t._next=n,n===null?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new fv),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Dpe=class{constructor(e,t){o(this,"item");o(this,"trackById");o(this,"currentIndex",null);o(this,"previousIndex",null);o(this,"_nextPrevious",null);o(this,"_prev",null);o(this,"_next",null);o(this,"_prevDup",null);o(this,"_nextDup",null);o(this,"_prevRemoved",null);o(this,"_nextRemoved",null);o(this,"_nextAdded",null);o(this,"_nextMoved",null);o(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},Ipe=class{constructor(){o(this,"_head",null);o(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;n!==null;n=n._nextDup)if((t===null||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let t=e._prevDup,n=e._nextDup;return t===null?this._head=n:t._nextDup=n,n===null?this._tail=t:n._prevDup=t,this._head===null}},fv=class{constructor(){o(this,"map",new Map)}put(e){let t=e.trackById,n=this.map.get(t);n||(n=new Ipe,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,a=this.map.get(n);return a?a.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function gv(e,t,n){let a=e.previousIndex;if(a===null)return a;let i=0;return n&&a<n.length&&(i=n[a]),a+t+i}var Ape=class{constructor(){}supports(e){return e instanceof Map||Yf(e)}create(){return new Tpe}},Tpe=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Yf(e)))throw new J(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,a)=>{if(t&&t.key===a)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(a,n);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;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(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let a=this._records.get(e);this._maybeAddToChanges(a,t);let i=a._prev,r=a._next;return i&&(i._next=r),r&&(r._prev=i),a._next=null,a._prev=null,a}let n=new Ope(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},Ope=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function bv(){return new hs([new Cpe])}var hs=(()=>{const t=class t{constructor(a){o(this,"factories");this.factories=a}static create(a,i){if(i!=null){let r=i.factories.slice();a=a.concat(r)}return new t(a)}static extend(a){return{provide:t,useFactory:i=>t.create(a,i||bv()),deps:[[t,new Jo,new Xo]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i!=null)return i;throw new J(901,!1)}};o(t,"ɵprov",G({token:t,providedIn:"root",factory:bv}));let e=t;return e})();function vv(){return new Ow([new Ape])}var Ow=(()=>{const t=class t{constructor(a){o(this,"factories");this.factories=a}static create(a,i){if(i){let r=i.factories.slice();a=a.concat(r)}return new t(a)}static extend(a){return{provide:t,useFactory:i=>t.create(a,i||vv()),deps:[[t,new Jo,new Xo]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i)return i;throw new J(901,!1)}};o(t,"ɵprov",G({token:t,providedIn:"root",factory:vv}));let e=t;return e})();function Mpe(e){try{let{rootComponent:t,appProviders:n,platformProviders:a}=e,i=ype(a),r=[cpe({}),{provide:os,useExisting:hpe},...n||[]],s=new nw({providers:r,parent:i,debugName:"",runEnvironmentInitializers:!1});return fpe({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{}}function pe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function En(e){return Yre(e)}function pa(e,t){return e_(e,t==null?void 0:t.equal)}var V0,Rpe=(V0=La,class{constructor(e){o(this,V0);this[La]=e}destroy(){this[La].destroy()}});function ku(e,t){!(t!=null&&t.injector)&&Sl();let n=(t==null?void 0:t.injector)??_(ct),a=(t==null?void 0:t.manualCleanup)!==!0?n.get(fi):null,i,r=n.get(Cf,null,{optional:!0}),s=n.get(os);return r!==null&&!(t!=null&&t.forceRoot)?(i=Lpe(r.view,s,e),a instanceof Vx&&a._lView===r.view&&(a=null)):i=Fpe(e,n.get(hw),s),i.injector=n,a!==null&&(i.onDestroyFn=a.onDestroy(()=>i.destroy())),new Rpe(i)}var Mw=yt(ge({},Ko),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Js,run(){if(this.dirty=!1,this.hasRun&&!Bm(this))return;this.hasRun=!0;let e=a=>(this.cleanupFns??(this.cleanupFns=[])).push(a),t=qs(this),n=pd(!1);try{this.maybeCleanup(),this.fn(e)}finally{pd(n),Zd(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Ppe=yt(ge({},Mw),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Kd(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Npe=yt(ge({},Mw),{consumerMarkedDirty(){this.view[Le]|=8192,ns(this.view),this.notifier.notify(13)},destroy(){var e;Kd(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[In])==null||e.delete(this)}});function Lpe(e,t,n){let a=Object.create(Npe);return a.view=e,a.zone=typeof Zone<"u"?Zone.current:null,a.notifier=t,a.fn=n,e[In]??(e[In]=new Set),e[In].add(a),a.consumerMarkedDirty(a),a}function Fpe(e,t,n){let a=Object.create(Ppe);return a.fn=e,a.scheduler=t,a.notifier=n,a.zone=typeof Zone<"u"?Zone.current:null,a.scheduler.schedule(a),a.notifier.notify(12),a}var Vpe=e=>e;function zpe(e,t){if(typeof e=="function"){let n=fb(e,Vpe,t==null?void 0:t.equal);return yv(n)}else{let n=fb(e.source,e.computation,e.equal);return yv(n)}}function yv(e){let t=e[La],n=e;return n.set=a=>Wre(t,a),n.update=a=>qre(t,a),n.asReadonly=xf.bind(e),n}function Rw(e,t){let n=No(e),a=t.elementInjector||iu();return new Wf(n).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}var Bpe={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function jpe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Hpe(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var vh;function Upe(e,t){if(!vh){let n=Element.prototype;vh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?vh.call(e,t):!1}function Wpe(e){let t={};return e.forEach(({propName:n,templateName:a,transform:i})=>{t[jpe(a)]=[n,i]}),t}function qpe(e,t){return t.get(Rl).resolveComponentFactory(e).inputs}function $pe(e,t){let n=e.childNodes,a=t.map(()=>[]),i=-1;t.some((r,s)=>r==="*"?(i=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=Ype(l,t,i);c!==-1&&a[c].push(l)}return a}function Ype(e,t,n){let a=n;return Hpe(e)&&t.some((i,r)=>i!=="*"&&Upe(e,i)?(a=r,!0):!1),a}var Gpe=10,Zpe=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Rl).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new Kpe(this.componentFactory,e,this.inputMap)}},Kpe=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new qm(1));o(this,"events",this.eventEmitters.pipe(rr(e=>ha(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(or),this.cdScheduler=t.get(os),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Bpe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Gpe))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),Ode(this.componentRef.hostView)&&(Mde(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ct.create({providers:[],parent:this.injector}),n=$pe(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:a})=>{let i=e.instance[n];return new kt(r=>{let s=i.subscribe(l=>r.next({name:a,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Qpe=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function Xpe(e,t){let n=qpe(e,t.injector),a=t.strategyFactory||new Zpe(e,t.injector),i=Wpe(n);class r extends Qpe{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=a.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let p=this[d];delete this[d],c.setInputValue(d,p,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,p){let[b,g]=i[c];this.ngElementStrategy.setInputValue(b,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(i)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var Qp=new Y("MAT_DATE_LOCALE",{providedIn:"root",factory:Jpe});function Jpe(){return _(wu)}var ho="Method not implemented",Ca=class{constructor(){o(this,"locale");o(this,"_localeChanges",new ue);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,a){throw new Error(ho)}getHours(e){throw new Error(ho)}getMinutes(e){throw new Error(ho)}getSeconds(e){throw new Error(ho)}parseTime(e,t){throw new Error(ho)}addSeconds(e,t){throw new Error(ho)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),a=this.isValid(t);return n&&a?!this.compareDate(e,t):n==a}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),a=this.isValid(t);return n&&a?!this.compareTime(e,t):n==a}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},to=new Y("mat-date-formats"),at=new Y(""),Pw=null;function js(){return Pw}function eme(e){Pw??(Pw=e)}var tme=class{},Nw=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:()=>_(ame),providedIn:"platform"}));let e=t;return e})(),ame=(()=>{const t=class t extends Nw{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",_(at));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return js().getBaseHref(this._doc)}onPopState(i){let r=js().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=js().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(i){this._location.pathname=i}pushState(i,r,s){this._history.pushState(i,r,s)}replaceState(i,r,s){this._history.replaceState(i,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",G({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Lw(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function _v(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Mr(e){return e&&e[0]!=="?"?`?${e}`:e}var Kf=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:()=>_(nme),providedIn:"root"}));let e=t;return e})(),ime=new Y(""),nme=(()=>{const t=class t extends Kf{constructor(i,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=_(at).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return Lw(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Mr(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${r}${s}`:r}pushState(i,r,s,l){let c=this.prepareExternalUrl(s+Mr(l));this._platformLocation.pushState(i,r,c)}replaceState(i,r,s,l){let c=this.prepareExternalUrl(s+Mr(l));this._platformLocation.replaceState(i,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,i)}};o(t,"ɵfac",function(i){return new(i||t)(ke(Nw),ke(ime,8))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Fw=(()=>{const t=class t{constructor(a){o(this,"_subject",new ue);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=a;let i=this._locationStrategy.getBaseHref();this._basePath=sme(_v(xv(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var a;(a=this._urlChangeSubscription)==null||a.unsubscribe(),this._urlChangeListeners=[]}path(a=!1){return this.normalize(this._locationStrategy.path(a))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(a,i=""){return this.path()==this.normalize(a+Mr(i))}normalize(a){return t.stripTrailingSlash(ome(this._basePath,xv(a)))}prepareExternalUrl(a){return a&&a[0]!=="/"&&(a="/"+a),this._locationStrategy.prepareExternalUrl(a)}go(a,i="",r=null){this._locationStrategy.pushState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Mr(i)),r)}replaceState(a,i="",r=null){this._locationStrategy.replaceState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Mr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(a=0){var i,r;(r=(i=this._locationStrategy).historyGo)==null||r.call(i,a)}onUrlChange(a){return this._urlChangeListeners.push(a),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var r;let i=this._urlChangeListeners.indexOf(a);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(a="",i){this._urlChangeListeners.forEach(r=>r(a,i))}subscribe(a,i,r){return this._subject.subscribe({next:a,error:i??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",Mr),o(t,"joinWithSlash",Lw),o(t,"stripTrailingSlash",_v),o(t,"ɵfac",function(a){return new(a||t)(ke(Kf))}),o(t,"ɵprov",G({token:t,factory:()=>rme(),providedIn:"root"}));let e=t;return e})();function rme(){return new Fw(ke(Kf))}function ome(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function xv(e){return e.replace(/\/index.html$/,"")}function sme(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Wa=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Wa||{}),wt=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(wt||{}),li=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(li||{}),Cu={MinusSign:5};function lme(e){return zi(e)[fa.LocaleId]}function cme(e,t,n){let a=zi(e),i=[a[fa.DayPeriodsFormat],a[fa.DayPeriodsStandalone]],r=Di(i,t);return Di(r,n)}function dme(e,t,n){let a=zi(e),i=[a[fa.DaysFormat],a[fa.DaysStandalone]],r=Di(i,t);return Di(r,n)}function ume(e,t,n){let a=zi(e),i=[a[fa.MonthsFormat],a[fa.MonthsStandalone]],r=Di(i,t);return Di(r,n)}function hme(e,t){let n=zi(e)[fa.Eras];return Di(n,t)}function pc(e,t){let n=zi(e);return Di(n[fa.DateFormat],t)}function mc(e,t){let n=zi(e);return Di(n[fa.TimeFormat],t)}function fc(e,t){let n=zi(e)[fa.DateTimeFormat];return Di(n,t)}function Su(e,t){return zi(e)[fa.NumberSymbols][t]}function Vw(e){if(!e[fa.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[fa.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function pme(e){let t=zi(e);return Vw(t),(t[fa.ExtraData][2]||[]).map(n=>typeof n=="string"?yh(n):[yh(n[0]),yh(n[1])])}function mme(e,t,n){let a=zi(e);Vw(a);let i=[a[fa.ExtraData][0],a[fa.ExtraData][1]],r=Di(i,t)||[];return Di(r,n)||[]}function Di(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function yh(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var fme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,po={},gme=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function bme(e,t,n,a){let i=Eme(e);t=Cn(n,t)||t;let r=[],s;for(;t;)if(s=gme.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=i.getTimezoneOffset();a&&(l=Bw(a,l),i=Sme(i,a));let c="";return r.forEach(d=>{let u=kme(d);c+=u?u(i,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function kd(e,t,n){let a=new Date(0);return a.setFullYear(e,t,n),a.setHours(0,0,0),a}function Cn(e,t){let n=lme(e);if(po[n]??(po[n]={}),po[n][t])return po[n][t];let a="";switch(t){case"shortDate":a=pc(e,li.Short);break;case"mediumDate":a=pc(e,li.Medium);break;case"longDate":a=pc(e,li.Long);break;case"fullDate":a=pc(e,li.Full);break;case"shortTime":a=mc(e,li.Short);break;case"mediumTime":a=mc(e,li.Medium);break;case"longTime":a=mc(e,li.Long);break;case"fullTime":a=mc(e,li.Full);break;case"short":let i=Cn(e,"shortTime"),r=Cn(e,"shortDate");a=gc(fc(e,li.Short),[i,r]);break;case"medium":let s=Cn(e,"mediumTime"),l=Cn(e,"mediumDate");a=gc(fc(e,li.Medium),[s,l]);break;case"long":let c=Cn(e,"longTime"),d=Cn(e,"longDate");a=gc(fc(e,li.Long),[c,d]);break;case"full":let u=Cn(e,"fullTime"),p=Cn(e,"fullDate");a=gc(fc(e,li.Full),[u,p]);break}return a&&(po[n][t]=a),a}function gc(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,a){return t!=null&&a in t?t[a]:n})),e}function Pi(e,t,n="-",a,i){let r="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return a&&(s=s.slice(s.length-t)),r+s}function vme(e,t){return Pi(e,3).substring(0,t)}function la(e,t,n=0,a=!1,i=!1){return function(r,s){let l=yme(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return vme(l,t);let c=Su(s,Cu.MinusSign);return Pi(l,t,c,a,i)}}function yme(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Et(e,t,n=Wa.Format,a=!1){return function(i,r){return _me(i,r,e,t,n,a)}}function _me(e,t,n,a,i,r){switch(n){case 2:return ume(t,i,a)[e.getMonth()];case 1:return dme(t,i,a)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=pme(t),u=mme(t,i,a),p=d.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,k=s>=g.hours&&l>=g.minutes,E=s<w.hours||s===w.hours&&l<w.minutes;if(g.hours<w.hours){if(k&&E)return!0}else if(k||E)return!0}else if(b.hours===s&&b.minutes===l)return!0;return!1});if(p!==-1)return u[p]}return cme(t,i,a)[s<12?0:1];case 3:return hme(t,a)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function bc(e){return function(t,n,a){let i=-1*a,r=Su(n,Cu.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+Pi(s,2,r)+Pi(Math.abs(i%60),2,r);case 1:return"GMT"+(i>=0?"+":"")+Pi(s,1,r);case 2:return"GMT"+(i>=0?"+":"")+Pi(s,2,r)+":"+Pi(Math.abs(i%60),2,r);case 3:return a===0?"Z":(i>=0?"+":"")+Pi(s,2,r)+":"+Pi(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var xme=0,Kc=4;function wme(e){let t=kd(e,xme,1).getDay();return kd(e,0,1+(t<=Kc?Kc:Kc+7)-t)}function zw(e){let t=e.getDay(),n=t===0?-3:Kc-t;return kd(e.getFullYear(),e.getMonth(),e.getDate()+n)}function _h(e,t=!1){return function(n,a){let i;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+r)/7)}else{let r=zw(n),s=wme(r.getFullYear()),l=r.getTime()-s.getTime();i=1+Math.round(l/6048e5)}return Pi(i,e,Su(a,Cu.MinusSign))}}function vc(e,t=!1){return function(n,a){let i=zw(n).getFullYear();return Pi(i,e,Su(a,Cu.MinusSign),t)}}var xh={};function kme(e){if(xh[e])return xh[e];let t;switch(e){case"G":case"GG":case"GGG":t=Et(3,wt.Abbreviated);break;case"GGGG":t=Et(3,wt.Wide);break;case"GGGGG":t=Et(3,wt.Narrow);break;case"y":t=la(0,1,0,!1,!0);break;case"yy":t=la(0,2,0,!0,!0);break;case"yyy":t=la(0,3,0,!1,!0);break;case"yyyy":t=la(0,4,0,!1,!0);break;case"Y":t=vc(1);break;case"YY":t=vc(2,!0);break;case"YYY":t=vc(3);break;case"YYYY":t=vc(4);break;case"M":case"L":t=la(1,1,1);break;case"MM":case"LL":t=la(1,2,1);break;case"MMM":t=Et(2,wt.Abbreviated);break;case"MMMM":t=Et(2,wt.Wide);break;case"MMMMM":t=Et(2,wt.Narrow);break;case"LLL":t=Et(2,wt.Abbreviated,Wa.Standalone);break;case"LLLL":t=Et(2,wt.Wide,Wa.Standalone);break;case"LLLLL":t=Et(2,wt.Narrow,Wa.Standalone);break;case"w":t=_h(1);break;case"ww":t=_h(2);break;case"W":t=_h(1,!0);break;case"d":t=la(2,1);break;case"dd":t=la(2,2);break;case"c":case"cc":t=la(7,1);break;case"ccc":t=Et(1,wt.Abbreviated,Wa.Standalone);break;case"cccc":t=Et(1,wt.Wide,Wa.Standalone);break;case"ccccc":t=Et(1,wt.Narrow,Wa.Standalone);break;case"cccccc":t=Et(1,wt.Short,Wa.Standalone);break;case"E":case"EE":case"EEE":t=Et(1,wt.Abbreviated);break;case"EEEE":t=Et(1,wt.Wide);break;case"EEEEE":t=Et(1,wt.Narrow);break;case"EEEEEE":t=Et(1,wt.Short);break;case"a":case"aa":case"aaa":t=Et(0,wt.Abbreviated);break;case"aaaa":t=Et(0,wt.Wide);break;case"aaaaa":t=Et(0,wt.Narrow);break;case"b":case"bb":case"bbb":t=Et(0,wt.Abbreviated,Wa.Standalone,!0);break;case"bbbb":t=Et(0,wt.Wide,Wa.Standalone,!0);break;case"bbbbb":t=Et(0,wt.Narrow,Wa.Standalone,!0);break;case"B":case"BB":case"BBB":t=Et(0,wt.Abbreviated,Wa.Format,!0);break;case"BBBB":t=Et(0,wt.Wide,Wa.Format,!0);break;case"BBBBB":t=Et(0,wt.Narrow,Wa.Format,!0);break;case"h":t=la(3,1,-12);break;case"hh":t=la(3,2,-12);break;case"H":t=la(3,1);break;case"HH":t=la(3,2);break;case"m":t=la(4,1);break;case"mm":t=la(4,2);break;case"s":t=la(5,1);break;case"ss":t=la(5,2);break;case"S":t=la(6,1);break;case"SS":t=la(6,2);break;case"SSS":t=la(6,3);break;case"Z":case"ZZ":case"ZZZ":t=bc(0);break;case"ZZZZZ":t=bc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=bc(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=bc(2);break;default:return null}return xh[e]=t,t}function Bw(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Cme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Sme(e,t,n){let a=e.getTimezoneOffset(),i=Bw(t,a);return Cme(e,-1*(i-a))}function Eme(e){if(wv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[i,r=1,s=1]=e.split("-").map(l=>+l);return kd(i,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let a;if(a=e.match(fme))return Dme(a)}let t=new Date(e);if(!wv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Dme(e){let t=new Date(0),n=0,a=0,i=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),a=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-a,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function wv(e){return e instanceof Date&&!isNaN(e.valueOf())}var wh=/\s+/,kv=[],Eu=(()=>{const t=class t{constructor(a,i){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",kv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=a,this._renderer=i}set klass(a){this.initialClasses=a!=null?a.trim().split(wh):kv}set ngClass(a){this.rawClass=typeof a=="string"?a.trim().split(wh):a}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(let i of a)this._updateState(i,!0);else if(a!=null)for(let i of Object.keys(a))this._updateState(i,!!a[i]);this._applyStateDiff()}_updateState(a,i){let r=this.stateMap.get(a);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(a,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let a of this.stateMap){let i=a[0],r=a[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(a,i){a=a.trim(),a.length>0&&a.split(wh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(a){return new(a||t)(Gt(Te),Gt(oi))}),o(t,"ɵdir",he({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),jw=(()=>{const t=class t{constructor(a,i,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=a,this._differs=i,this._renderer=r}set ngStyle(a){this._ngStyle=a,!this._differ&&a&&(this._differ=this._differs.find(a).create())}ngDoCheck(){if(this._differ){let a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}}_setStyle(a,i){let[r,s]=a.split("."),l=r.indexOf("-")===-1?void 0:Kn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${i}${s}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(a){a.forEachRemovedItem(i=>this._setStyle(i.key,null)),a.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),a.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};o(t,"ɵfac",function(a){return new(a||t)(Gt(Te),Gt(Ow),Gt(oi))}),o(t,"ɵdir",he({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),Hw=(()=>{const t=class t{constructor(a){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=a}ngOnChanges(a){if(this._shouldRecreateView(a)){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(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(a,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(a,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};o(t,"ɵfac",function(a){return new(a||t)(Gt(Qa))}),o(t,"ɵdir",he({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Kt]}));let e=t;return e})();function Ime(e,t){return new J(2100,!1)}var Ame="mediumDate",Tme=new Y(""),Ome=new Y(""),Pl=(()=>{const t=class t{constructor(a,i,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=a,this.defaultTimezone=i,this.defaultOptions=r}transform(a,i,r,s){var l,c;if(a==null||a===""||a!==a)return null;try{let d=i??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Ame,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return bme(a,d,s||this.locale,u)}catch(d){throw Ime(t,d.message)}}};o(t,"ɵfac",function(a){return new(a||t)(Gt(wu,16),Gt(Tme,24),Gt(Ome,24))}),o(t,"ɵpipe",ga({name:"date",type:t,pure:!0}));let e=t;return e})(),Uw=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})();function Ww(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let a=n.indexOf("="),[i,r]=a==-1?[n,""]:[n.slice(0,a),n.slice(a+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}var qw="browser",Mme="server";function Rme(e){return e===qw}function $w(e){return e===Mme}var Yw=class{};function Du(e,t,n){return jhe(e,t,n)}function Gw(e){return e.buttons===0||e.detail===0}function Zw(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var kh;function Pme(){if(kh==null){let e=typeof document<"u"?document.head:null;kh=!!(e&&(e.createShadowRoot||e.attachShadow))}return kh}function Nme(e){if(Pme()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Oo(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function Ji(e){return e.composedPath?e.composedPath()[0]:e.target}function Ea(e,t,n,a,i){let r=parseInt(mv.major),s=parseInt(mv.minor);return r>19||r===19&&s>0||r===0&&s===0?e.listen(t,n,a,i):(t.addEventListener(n,a,i),()=>{t.removeEventListener(n,a,i)})}var Xp;try{Xp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xp=!1}var Wt=(()=>{const t=class t{constructor(){o(this,"_platformId",_(hu));o(this,"isBrowser",this._platformId?Rme(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||Xp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ws;function Lme(){if(ws==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ws=!0}))}finally{ws=ws||!1}return ws}function Qf(e){return Lme()?e:!!e.capture}function Jp(e,t=0){return Kw(e)?Number(e):arguments.length===2?t:0}function Kw(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rn(e){return e instanceof Te?e.nativeElement:e}var Fme=new Y("cdk-input-modality-detector-options"),Vme={ignoreKeys:[18,17,224,91,16]},Qw=650,Ch={passive:!0,capture:!0},zme=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new Pr(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",a=>{var i,r;(r=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&r.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ji(a))});o(this,"_onMousedown",a=>{Date.now()-this._lastTouchMs<Qw||(this._modality.next(Gw(a)?"keyboard":"mouse"),this._mostRecentTarget=Ji(a))});o(this,"_onTouchstart",a=>{if(Zw(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ji(a)});let a=_(Ne),i=_(at),r=_(Fme,{optional:!0});if(this._options=ge(ge({},Vme),r),this.modalityDetected=this._modality.pipe(Zm(1)),this.modalityChanged=this.modalityDetected.pipe(Hoe()),this._platform.isBrowser){let s=_(Ii).createRenderer(null,null);this._listenerCleanups=a.runOutsideAngular(()=>[Ea(s,i,"keydown",this._onKeydown,Ch),Ea(s,i,"mousedown",this._onMousedown,Ch),Ea(s,i,"touchstart",this._onTouchstart,Ch)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var a;this._modality.complete(),(a=this._listenerCleanups)==null||a.forEach(i=>i())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Qc=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Qc||{}),Bme=new Y("cdk-focus-monitor-default-options"),yc=Qf({passive:!0,capture:!0}),ao=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Wt));o(this,"_inputModalityDetector",_(zme));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",_(at,{optional:!0}));o(this,"_stopInputModalityDetector",new ue);o(this,"_rootNodeFocusAndBlurListener",a=>{let i=Ji(a);for(let r=i;r;r=r.parentElement)a.type==="focus"?this._onFocus(a,r):this._onBlur(a,r)});let a=_(Bme,{optional:!0});this._detectionMode=(a==null?void 0:a.detectionMode)||Qc.IMMEDIATE}monitor(a,i=!1){let r=Rn(a);if(!this._platform.isBrowser||r.nodeType!==1)return Dt();let s=Nme(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return i&&(l.checkChildren=!0),l.subject;let c={checkChildren:i,subject:new ue,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(a){let i=Rn(a),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(a,i,r){let s=Rn(a),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((a,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"}_shouldBeAttributedToTouch(a){return this._detectionMode===Qc.EVENTUAL||!!(a!=null&&a.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(a,i){a.classList.toggle("cdk-focused",!!i),a.classList.toggle("cdk-touch-focused",i==="touch"),a.classList.toggle("cdk-keyboard-focused",i==="keyboard"),a.classList.toggle("cdk-mouse-focused",i==="mouse"),a.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(a,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=a,this._originFromTouchInteraction=a==="touch"&&i,this._detectionMode===Qc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Qw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(a,i){let r=this._elementInfo.get(i),s=Ji(a);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(a,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&a.relatedTarget instanceof Node&&i.contains(a.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(a,i){a.subject.observers.length&&this._ngZone.run(()=>a.subject.next(i))}_registerGlobalListeners(a){if(!this._platform.isBrowser)return;let i=a.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,yc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,yc)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(zt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(a){let i=a.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,yc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,yc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(a,i,r){this._setClasses(a,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(a){let i=[];return this._elementInfo.forEach((r,s)=>{(s===a||r.checkChildren&&s.contains(a))&&i.push([s,r])}),i}_isLastInteractionFromInputLabel(a){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===a||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA"||a.disabled)return!1;let s=a.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(i))return!0}return!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xf=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_focusMonitor",_(ao));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new ee)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,a.nodeType===1&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),_c=new WeakMap,Aa=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",_(ct));o(this,"_environmentInjector",_(tn))}load(a){let i=this._appRef=this._appRef||this._injector.get(or),r=_c.get(i);r||(r={loaders:new Set,refs:[]},_c.set(i,r),i.onDestroy(()=>{var s;(s=_c.get(i))==null||s.refs.forEach(l=>l.destroy()),_c.delete(i)})),r.loaders.has(a)||(r.loaders.add(a),r.refs.push(Rw(a,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),io=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(a,i){},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}
19
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Cd(e){return Array.isArray(e)?e:[e]}var Cv=new Set,_r,jme=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_nonce",_(wf,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ume}matchMedia(a){return(this._platform.WEBKIT||this._platform.BLINK)&&Hme(a,this._nonce),this._matchMedia(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Hme(e,t){if(!Cv.has(e))try{_r||(_r=document.createElement("style"),t&&_r.setAttribute("nonce",t),_r.setAttribute("type","text/css"),document.head.appendChild(_r)),_r.sheet&&(_r.sheet.insertRule(`@media ${e} {body{ }}`,0),Cv.add(e))}catch(n){console.error(n)}}function Ume(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Xw=(()=>{const t=class t{constructor(){o(this,"_mediaMatcher",_(jme));o(this,"_zone",_(Ne));o(this,"_queries",new Map);o(this,"_destroySubject",new ue)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(a){return Sv(Cd(a)).some(i=>this._registerQuery(i).mql.matches)}observe(a){let i=Sv(Cd(a)).map(s=>this._registerQuery(s).observable),r=Hc(i);return r=Zs(r.pipe($a(1)),r.pipe(Zm(1),Jd(0))),r.pipe(It(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(a){if(this._queries.has(a))return this._queries.get(a);let i=this._mediaMatcher.matchMedia(a),r={observable:new kt(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Da(i),It(({matches:s})=>({query:a,matches:s})),zt(this._destroySubject)),mql:i};return this._queries.set(a,r),r}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Sv(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function Wme(e){if(e.type==="characterData"&&e.target instanceof Comment)return!0;if(e.type==="childList"){for(let t=0;t<e.addedNodes.length;t++)if(!(e.addedNodes[t]instanceof Comment))return!1;for(let t=0;t<e.removedNodes.length;t++)if(!(e.removedNodes[t]instanceof Comment))return!1;return!0}return!1}var Jw=(()=>{const t=class t{create(a){return typeof MutationObserver>"u"?null:new MutationObserver(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qme=(()=>{const t=class t{constructor(){o(this,"_mutationObserverFactory",_(Jw));o(this,"_observedElements",new Map);o(this,"_ngZone",_(Ne))}ngOnDestroy(){this._observedElements.forEach((a,i)=>this._cleanupObserver(i))}observe(a){let i=Rn(a);return new kt(r=>{let s=this._observeElement(i).pipe(It(l=>l.filter(c=>!Wme(c))),ea(l=>!!l.length)).subscribe(l=>{this._ngZone.run(()=>{r.next(l)})});return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(a){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(a))this._observedElements.get(a).count++;else{let i=new ue,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(a,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(a,{observer:r,stream:i,count:1})}return this._observedElements.get(a).stream})}_unobserveElement(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))}_cleanupObserver(a){if(this._observedElements.has(a)){let{observer:i,stream:r}=this._observedElements.get(a);i&&i.disconnect(),r.complete(),this._observedElements.delete(a)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$me=(()=>{const t=class t{constructor(){o(this,"_contentObserver",_(qme));o(this,"_elementRef",_(Te));o(this,"event",new ee);o(this,"_disabled",!1);o(this,"_debounce");o(this,"_currentSubscription",null)}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(a){this._debounce=Jp(a),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(Jd(this.debounce)):a).subscribe(this.event)}_unsubscribe(){var a;(a=this._currentSubscription)==null||a.unsubscribe()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",pe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}));let e=t;return e})(),ek=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[Jw]}));let e=t;return e})(),tk=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt))}isDisabled(a){return a.hasAttribute("disabled")}isVisible(a){return Gme(a)&&getComputedStyle(a).visibility==="visible"}isTabbable(a){if(!this._platform.isBrowser)return!1;let i=Yme(afe(a));if(i&&(Ev(i)===-1||!this.isVisible(i)))return!1;let r=a.nodeName.toLowerCase(),s=Ev(a);return a.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!efe(a)?!1:r==="audio"?a.hasAttribute("controls")?s!==-1:!1:r==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||a.hasAttribute("controls"):a.tabIndex>=0}isFocusable(a,i){return tfe(a)&&!this.isDisabled(a)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Yme(e){try{return e.frameElement}catch{return null}}function Gme(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function Zme(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Kme(e){return Xme(e)&&e.type=="hidden"}function Qme(e){return Jme(e)&&e.hasAttribute("href")}function Xme(e){return e.nodeName.toLowerCase()=="input"}function Jme(e){return e.nodeName.toLowerCase()=="a"}function ak(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Ev(e){if(!ak(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function efe(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function tfe(e){return Kme(e)?!1:Zme(e)||Qme(e)||e.hasAttribute("contenteditable")||ak(e)}function afe(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var ife=class{constructor(e,t,n,a,i=!1,r){o(this,"_element");o(this,"_checker");o(this,"_ngZone");o(this,"_document");o(this,"_injector");o(this,"_startAnchor");o(this,"_endAnchor");o(this,"_hasAttached",!1);o(this,"startAnchorListener",()=>this.focusLastTabbableElement());o(this,"endAnchorListener",()=>this.focusFirstTabbableElement());o(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=n,this._document=a,this._injector=r,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.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(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let n=this._getFirstTabbableElement(t);return n==null||n.focus(e),!!n}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=0;n<t.length;n++){let a=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(a)return a}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=t.length-1;n>=0;n--){let a=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(a)return a}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Nn(e,{injector:this._injector}):setTimeout(e)}},ik=(()=>{const t=class t{constructor(){o(this,"_checker",_(tk));o(this,"_ngZone",_(Ne));o(this,"_document",_(at));o(this,"_injector",_(ct));_(Aa).load(io)}create(a,i=!1){return new ife(a,this._checker,this._ngZone,this._document,i,this._injector)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nfe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_focusTrapFactory",_(ik));o(this,"focusTrap");o(this,"_previouslyFocusedElement",null);o(this,"autoCapture");_(Wt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}get enabled(){var a;return((a=this.focusTrap)==null?void 0:a.enabled)||!1}set enabled(a){this.focusTrap&&(this.focusTrap.enabled=a)}ngOnDestroy(){var a;(a=this.focusTrap)==null||a.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var a;(a=this.focusTrap)==null||a.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(a){var r;let i=a.autoCapture;i&&!i.firstChange&&this.autoCapture&&((r=this.focusTrap)!=null&&r.hasAttached())&&this._captureFocus()}_captureFocus(){var a;this._previouslyFocusedElement=Oo(),(a=this.focusTrap)==null||a.focusInitialElementWhenReady()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",pe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",pe]},exportAs:["cdkTrapFocus"],features:[Kt]}));let e=t;return e})(),rfe=new Y("liveAnnouncerElement",{providedIn:"root",factory:ofe});function ofe(){return null}var sfe=new Y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),lfe=0,nk=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_defaultOptions",_(sfe,{optional:!0}));o(this,"_liveElement");o(this,"_document",_(at));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let a=_(rfe,{optional:!0});this._liveElement=a||this._createLiveElement()}announce(a,...i){let r=this._defaultOptions,s,l;return i.length===1&&typeof i[0]=="number"?l=i[0]:[s,l]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=a,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(c=this._currentResolve)==null||c.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var a,i;clearTimeout(this._previousTimeout),(a=this._liveElement)==null||a.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let a="cdk-live-announcer-element",i=this._document.getElementsByClassName(a),r=this._document.createElement("div");for(let s=0;s<i.length;s++)i[s].remove();return r.classList.add(a),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${lfe++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(a){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let s=i[r],l=s.getAttribute("aria-owns");l?l.indexOf(a)===-1&&s.setAttribute("aria-owns",l+" "+a):s.setAttribute("aria-owns",a)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Er=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Er||{}),Dv="cdk-high-contrast-black-on-white",Iv="cdk-high-contrast-white-on-black",Sh="cdk-high-contrast-active",rk=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_hasCheckedHighContrastMode");o(this,"_document",_(at));o(this,"_breakpointSubscription");this._breakpointSubscription=_(Xw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Er.NONE;let a=this._document.createElement("div");a.style.backgroundColor="rgb(1,2,3)",a.style.position="absolute",this._document.body.appendChild(a);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(a):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(a.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Er.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Er.BLACK_ON_WHITE}return Er.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let a=this._document.body.classList;a.remove(Sh,Dv,Iv),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Er.BLACK_ON_WHITE?a.add(Sh,Dv):i===Er.WHITE_ON_BLACK&&a.add(Sh,Iv)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ok=(()=>{const t=class t{constructor(){_(rk)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[ek]}));let e=t;return e})(),Eh={},ra=(()=>{const t=class t{constructor(){o(this,"_appId",_(uu))}getId(a){return this._appId!=="ng"&&(a+=this._appId),Eh.hasOwnProperty(a)||(Eh[a]=0),`${a}${Eh[a]++}`}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cfe=200,dfe=class{constructor(e,t){o(this,"_letterKeyStream",new ue);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new ue);o(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:cfe;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(Uc(t=>this._pressedLetters.push(t)),Jd(e),ea(()=>this._pressedLetters.length>0),It(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var n,a;for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,s=this._items[r];if(!((n=this._skipPredicateFn)!=null&&n.call(this,s))&&((a=s.getLabel)==null?void 0:a.call(s).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(s);break}}this._pressedLetters=[]})}};function Va(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var sk=class{constructor(e,t){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",Ga(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",Ge.EMPTY);o(this,"_itemChangesSubscription");o(this,"_vertical",!0);o(this,"_horizontal");o(this,"_allowedModifierKeys",[]);o(this,"_homeAndEnd",!1);o(this,"_pageUpAndDown",{enabled:!1,delta:10});o(this,"_effectRef");o(this,"_typeahead");o(this,"_skipPredicateFn",e=>e.disabled);o(this,"tabOut",new ue);o(this,"change",new ue);this._items=e,e instanceof jo?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):el(e)&&(this._effectRef=ku(()=>this._itemsChanged(e()),{injector:t}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new dfe(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){var a,i;let t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(n||Va(e,"shiftKey"))&&((a=this._typeahead)==null||a.handleKey(e));return}(i=this._typeahead)==null||i.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){var i;let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),a=t[n];this._activeItem.set(a??null),this._activeItemIndex=n,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(n)}destroy(){var e,t,n;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(n=this._typeahead)==null||n.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let n=1;n<=t.length;n++){let a=(this._activeItemIndex+e*n+t.length)%t.length,i=t[a];if(!this._skipPredicateFn(i)){this.setActiveItem(a);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=t,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return el(this._items)?this._items():this._items instanceof jo?this._items.toArray():this._items}_itemsChanged(e){var n,a;(n=this._typeahead)==null||n.setItems(e);let t=this._activeItem();if(t){let i=e.indexOf(t);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(i))}}},ufe=class extends sk{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Jf=class extends sk{constructor(){super(...arguments);o(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},lk=" ";function ck(e,t,n){let a=Sd(e,t);n=n.trim(),!a.some(i=>i.trim()===n)&&(a.push(n),e.setAttribute(t,a.join(lk)))}function em(e,t,n){let a=Sd(e,t);n=n.trim();let i=a.filter(r=>r!==n);i.length?e.setAttribute(t,i.join(lk)):e.removeAttribute(t)}function Sd(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var dk="cdk-describedby-message",xc="cdk-describedby-host",tm=0,hfe=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_document",_(at));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${tm++}`);_(Aa).load(io),this._id=_(uu)+"-"+tm++}describe(a,i,r){if(!this._canBeDescribed(a,i))return;let s=Dh(i,r);typeof i!="string"?(Av(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,r),this._isElementDescribedByMessage(a,s)||this._addMessageReference(a,s)}removeDescription(a,i,r){var l;if(!i||!this._isElementNode(a))return;let s=Dh(i,r);if(this._isElementDescribedByMessage(a,s)&&this._removeMessageReference(a,s),typeof i=="string"){let c=this._messageRegistry.get(s);c&&c.referenceCount===0&&this._deleteMessageElement(s)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let a=this._document.querySelectorAll(`[${xc}="${this._id}"]`);for(let r=0;r<a.length;r++)this._removeCdkDescribedByReferenceIds(a[r]),a[r].removeAttribute(xc);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(a,i){let r=this._document.createElement("div");Av(r,this._id),r.textContent=a,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Dh(a,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(a){var i,r;(r=(i=this._messageRegistry.get(a))==null?void 0:i.messageElement)==null||r.remove(),this._messageRegistry.delete(a)}_createMessagesContainer(){if(this._messagesContainer)return;let a="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${a}[platform="server"]`);for(let s=0;s<i.length;s++)i[s].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(a),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(a){let i=Sd(a,"aria-describedby").filter(r=>r.indexOf(dk)!=0);a.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(a,i){let r=this._messageRegistry.get(i);ck(a,"aria-describedby",r.messageElement.id),a.setAttribute(xc,this._id),r.referenceCount++}_removeMessageReference(a,i){let r=this._messageRegistry.get(i);r.referenceCount--,em(a,"aria-describedby",r.messageElement.id),a.removeAttribute(xc)}_isElementDescribedByMessage(a,i){let r=Sd(a,"aria-describedby"),s=this._messageRegistry.get(i),l=s&&s.messageElement.id;return!!l&&r.indexOf(l)!=-1}_canBeDescribed(a,i){if(!this._isElementNode(a))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),s=a.getAttribute("aria-label");return r?!s||s.trim()!==r:!1}_isElementNode(a){return a.nodeType===this._document.ELEMENT_NODE}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Dh(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function Av(e,t){e.id||(e.id=`${dk}-${t}-${tm++}`)}var pfe=new Y("cdk-dir-doc",{providedIn:"root",factory:mfe});function mfe(){return _(at)}var ffe=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function gfe(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?ffe.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Ma=(()=>{const t=class t{constructor(){o(this,"value","ltr");o(this,"change",new ee);let a=_(pfe,{optional:!0});if(a){let i=a.body?a.body.dir:null,r=a.documentElement?a.documentElement.dir:null;this.value=gfe(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ol=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})();function Mo(e){return e!=null&&`${e}`!="false"}function ca(e){return e==null?"":typeof e=="string"?e:`${e}px`}function bfe(e,t=/\s+/){let n=[];if(e!=null){let a=Array.isArray(e)?e:`${e}`.split(t);for(let i of a){let r=`${i}`.trim();r&&n.push(r)}}return n}function Tv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Yi=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(Yi||{}),wc,xr;function uk(){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 e=Element.prototype.scrollTo;e?xr=!/\{\s*\[native code\]\s*\}/.test(e.toString()):xr=!1}}return xr}function ks(){if(typeof document!="object"||!document)return Yi.NORMAL;if(wc==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let n=document.createElement("div"),a=n.style;a.width="2px",a.height="1px",e.appendChild(n),document.body.appendChild(e),wc=Yi.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,wc=e.scrollLeft===0?Yi.NEGATED:Yi.INVERTED),e.remove()}return wc}var vfe=class{};function Ih(e){return e&&typeof e.connect=="function"&&!(e instanceof noe)}var Hs=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(Hs||{}),am=new Y("_ViewRepeater"),yfe=20,hk=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Wt));o(this,"_renderer",_(Ii).createRenderer(null,null));o(this,"_cleanupGlobalListener");o(this,"_scrolled",new ue);o(this,"_scrolledCount",0);o(this,"scrollContainers",new Map)}register(a){this.scrollContainers.has(a)||this.scrollContainers.set(a,a.elementScrolled().subscribe(()=>this._scrolled.next(a)))}deregister(a){let i=this.scrollContainers.get(a);i&&(i.unsubscribe(),this.scrollContainers.delete(a))}scrolled(a=yfe){return this._platform.isBrowser?new kt(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=a>0?this._scrolled.pipe(O_(a)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{var s;r.unsubscribe(),this._scrolledCount--,this._scrolledCount||((s=this._cleanupGlobalListener)==null||s.call(this),this._cleanupGlobalListener=void 0)}}):Dt()}ngOnDestroy(){var a;(a=this._cleanupGlobalListener)==null||a.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(a,i){let r=this.getAncestorScrollContainers(a);return this.scrolled(i).pipe(ea(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(a){let i=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,a)&&i.push(s)}),i}_scrollableContainsElement(a,i){let r=Rn(i),s=a.getElementRef().nativeElement;do if(r==s)return!0;while(r=r.parentElement);return!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pk=(()=>{const t=class t{constructor(){o(this,"elementRef",_(Te));o(this,"scrollDispatcher",_(hk));o(this,"ngZone",_(Ne));o(this,"dir",_(Ma,{optional:!0}));o(this,"_scrollElement",this.elementRef.nativeElement);o(this,"_destroyed",new ue);o(this,"_renderer",_(oi));o(this,"_cleanupScroll");o(this,"_elementScrolled",new ue)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",a=>this._elementScrolled.next(a))),this.scrollDispatcher.register(this)}ngOnDestroy(){var a;(a=this._cleanupScroll)==null||a.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(a){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";a.left==null&&(a.left=r?a.end:a.start),a.right==null&&(a.right=r?a.start:a.end),a.bottom!=null&&(a.top=i.scrollHeight-i.clientHeight-a.bottom),r&&ks()!=Yi.NORMAL?(a.left!=null&&(a.right=i.scrollWidth-i.clientWidth-a.left),ks()==Yi.INVERTED?a.left=a.right:ks()==Yi.NEGATED&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=i.scrollWidth-i.clientWidth-a.right),this._applyScrollToOptions(a)}_applyScrollToOptions(a){let i=this.elementRef.nativeElement;uk()?i.scrollTo(a):(a.top!=null&&(i.scrollTop=a.top),a.left!=null&&(i.scrollLeft=a.left))}measureScrollOffset(a){let i="left",r="right",s=this.elementRef.nativeElement;if(a=="top")return s.scrollTop;if(a=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let l=this.dir&&this.dir.value=="rtl";return a=="start"?a=l?r:i:a=="end"&&(a=l?i:r),l&&ks()==Yi.INVERTED?a==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:l&&ks()==Yi.NEGATED?a==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:a==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),_fe=20,Nl=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_listeners");o(this,"_viewportSize");o(this,"_change",new ue);o(this,"_document",_(at,{optional:!0}));let a=_(Ne),i=_(Ii).createRenderer(null,null);a.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=s=>this._change.next(s);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var a;(a=this._listeners)==null||a.forEach(i=>i()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let a={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),a}getViewportRect(){let a=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:a.top,left:a.left,bottom:a.top+r,right:a.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let a=this._document,i=this._getWindow(),r=a.documentElement,s=r.getBoundingClientRect(),l=-s.top||a.body.scrollTop||i.scrollY||r.scrollTop||0,c=-s.left||a.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:l,left:c}}change(a=_fe){return a>0?this._change.pipe(O_(a)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ed=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),im=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[ol,Ed,ol,Ed]}));let e=t;return e})(),eg=class{constructor(){o(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Yr=class extends eg{constructor(t,n,a,i,r){super();o(this,"component");o(this,"viewContainerRef");o(this,"injector");o(this,"componentFactoryResolver");o(this,"projectableNodes");this.component=t,this.viewContainerRef=n,this.injector=a,this.projectableNodes=r}},no=class extends eg{constructor(t,n,a,i){super();o(this,"templateRef");o(this,"viewContainerRef");o(this,"context");o(this,"injector");this.templateRef=t,this.viewContainerRef=n,this.context=a,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}},xfe=class extends eg{constructor(t){super();o(this,"element");this.element=t instanceof Te?t.nativeElement:t}},Iu=class{constructor(){o(this,"_attachedPortal");o(this,"_disposeFn");o(this,"_isDisposed",!1);o(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Yr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof no)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof xfe)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},wfe=class extends Iu{constructor(t,n,a,i,r){super();o(this,"outletElement");o(this,"_appRef");o(this,"_defaultInjector");o(this,"_document");o(this,"attachDomPortal",t=>{let n=t.element;n.parentNode;let a=this._document.createComment("dom-portal");n.parentNode.insertBefore(a,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(n,a)})});this.outletElement=t,this._appRef=a,this._defaultInjector=i,this._document=r}attachComponentPortal(t){let n;if(t.viewContainerRef){let a=t.injector||t.viewContainerRef.injector,i=a.get(il,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:a,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else{let a=this._appRef,i=t.injector||this._defaultInjector||ct.NULL,r=i.get(tn,a.injector);n=Rw(t.component,{elementInjector:i,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),a.attachView(n.hostView),this.setDisposeFn(()=>{a.viewCount>0&&a.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,a=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return a.rootNodes.forEach(i=>this.outletElement.appendChild(i)),a.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(a);i!==-1&&n.remove(i)}),this._attachedPortal=t,a}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},kfe=(()=>{const t=class t extends no{constructor(){let a=_(ma),i=_(Qa);super(a,i)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ze]}));let e=t;return e})(),ln=(()=>{const t=class t extends Iu{constructor(){super();o(this,"_moduleRef",_(il,{optional:!0}));o(this,"_document",_(at));o(this,"_viewContainerRef",_(Qa));o(this,"_isInitialized",!1);o(this,"_attachedRef");o(this,"attached",new ee);o(this,"attachDomPortal",i=>{let r=i.element;r.parentNode;let s=this._document.createComment("dom-portal");i.setAttachedHost(this),r.parentNode.insertBefore(s,r),this._getRootNode().appendChild(r),this._attachedPortal=i,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(r,s)})})}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);let r=i.viewContainerRef!=null?i.viewContainerRef:this._viewContainerRef,s=r.createComponent(i.component,{index:r.length,injector:i.injector||r.injector,projectableNodes:i.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=i,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(i){i.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ze]}));let e=t;return e})(),qo=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),Ov=uk(),Cfe=class{constructor(e,t){o(this,"_viewportRuler");o(this,"_previousHTMLStyles",{top:"",left:""});o(this,"_previousScrollPosition");o(this,"_isEnabled",!1);o(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=ca(-this._previousScrollPosition.left),e.style.top=ca(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,n=e.style,a=t.style,i=n.scrollBehavior||"",r=a.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Ov&&(n.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ov&&(n.scrollBehavior=i,a.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},Sfe=class{constructor(e,t,n,a){o(this,"_scrollDispatcher");o(this,"_ngZone");o(this,"_viewportRuler");o(this,"_config");o(this,"_scrollSubscription",null);o(this,"_overlayRef");o(this,"_initialScrollPosition");o(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=a}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ea(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},mk=class{enable(){}disable(){}attach(){}};function nm(e,t){return t.some(n=>{let a=e.bottom<n.top,i=e.top>n.bottom,r=e.right<n.left,s=e.left>n.right;return a||i||r||s})}function Mv(e,t){return t.some(n=>{let a=e.top<n.top,i=e.bottom>n.bottom,r=e.left<n.left,s=e.right>n.right;return a||i||r||s})}var Efe=class{constructor(e,t,n,a){o(this,"_scrollDispatcher");o(this,"_viewportRuler");o(this,"_ngZone");o(this,"_config");o(this,"_scrollSubscription",null);o(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=a}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:a}=this._viewportRuler.getViewportSize();nm(t,[{width:n,height:a,bottom:a,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}},Dfe=(()=>{const t=class t{constructor(){o(this,"_scrollDispatcher",_(hk));o(this,"_viewportRuler",_(Nl));o(this,"_ngZone",_(Ne));o(this,"_document",_(at));o(this,"noop",()=>new mk);o(this,"close",a=>new Sfe(this._scrollDispatcher,this._ngZone,this._viewportRuler,a));o(this,"block",()=>new Cfe(this._viewportRuler,this._document));o(this,"reposition",a=>new Efe(this._scrollDispatcher,this._viewportRuler,this._ngZone,a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ll=class{constructor(e){o(this,"positionStrategy");o(this,"scrollStrategy",new mk);o(this,"panelClass","");o(this,"hasBackdrop",!1);o(this,"backdropClass","cdk-overlay-dark-backdrop");o(this,"width");o(this,"height");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"direction");o(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let n of t)e[n]!==void 0&&(this[n]=e[n])}}},Ife=class{constructor(e,t){o(this,"connectionPair");o(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},fk=(()=>{const t=class t{constructor(){o(this,"_attachedOverlays",[]);o(this,"_document",_(at));o(this,"_isAttached")}ngOnDestroy(){this.detach()}add(a){this.remove(a),this._attachedOverlays.push(a)}remove(a){let i=this._attachedOverlays.indexOf(a);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Afe=(()=>{const t=class t extends fk{constructor(){super(...arguments);o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Ii).createRenderer(null,null));o(this,"_cleanupKeydown");o(this,"_keydownListener",i=>{let r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[s]._keydownEvents.next(i));break}})}add(i){super.add(i),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var i;this._isAttached&&((i=this._cleanupKeydown)==null||i.call(this),this._isAttached=!1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tfe=(()=>{const t=class t extends fk{constructor(){super(...arguments);o(this,"_platform",_(Wt));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Ii).createRenderer(null,null));o(this,"_cursorOriginalValue");o(this,"_cursorStyleIsSet",!1);o(this,"_pointerDownEventTarget");o(this,"_cleanups");o(this,"_pointerDownListener",i=>{this._pointerDownEventTarget=Ji(i)});o(this,"_clickListener",i=>{let r=Ji(i),s=i.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(Rv(d.overlayElement,r)||Rv(d.overlayElement,s))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(i)):u.next(i)}})}add(i){if(super.add(i),!this._isAttached){let r=this._document.body,s={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[Ea(this._renderer,r,"pointerdown",this._pointerDownListener,s),Ea(this._renderer,r,"click",this._clickListener,s),Ea(this._renderer,r,"auxclick",this._clickListener,s),Ea(this._renderer,r,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var i;this._isAttached&&((i=this._cleanups)==null||i.forEach(r=>r()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Rv(e,t){let n=typeof ShadowRoot<"u"&&ShadowRoot,a=t;for(;a;){if(a===e)return!0;a=n&&a instanceof ShadowRoot?a.host:a.parentNode}return!1}var gk=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(a,i){},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}
20
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),tg=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_containerElement");o(this,"_document",_(at));o(this,"_styleLoader",_(Aa))}ngOnDestroy(){var a;(a=this._containerElement)==null||a.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let a="cdk-overlay-container";if(this._platform.isBrowser||Tv()){let r=this._document.querySelectorAll(`.${a}[platform="server"], .${a}[platform="test"]`);for(let s=0;s<r.length;s++)r[s].remove()}let i=this._document.createElement("div");i.classList.add(a),Tv()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(gk)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ofe=class{constructor(e,t,n,a){o(this,"_renderer");o(this,"_ngZone");o(this,"element");o(this,"_cleanupClick");o(this,"_cleanupTransitionEnd");o(this,"_fallbackTimeout");o(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=n,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",a)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},ag=class{constructor(e,t,n,a,i,r,s,l,c,d=!1,u,p){o(this,"_portalOutlet");o(this,"_host");o(this,"_pane");o(this,"_config");o(this,"_ngZone");o(this,"_keyboardDispatcher");o(this,"_document");o(this,"_location");o(this,"_outsideClickDispatcher");o(this,"_animationsDisabled");o(this,"_injector");o(this,"_renderer");o(this,"_backdropClick",new ue);o(this,"_attachments",new ue);o(this,"_detachments",new ue);o(this,"_positionStrategy");o(this,"_scrollStrategy");o(this,"_locationChanges",Ge.EMPTY);o(this,"_backdropRef",null);o(this,"_previousHostParent");o(this,"_keydownEvents",new ue);o(this,"_outsidePointerEvents",new ue);o(this,"_renders",new ue);o(this,"_afterRenderRef");o(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=n,this._config=a,this._ngZone=i,this._keyboardDispatcher=r,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=p,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy,this._afterRenderRef=En(()=>Sf(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var n;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(n=this._afterNextRenderRef)==null||n.destroy(),this._afterNextRenderRef=Nn(()=>{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(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,n,a;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.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),(n=this._host)==null||n.remove(),(a=this._afterNextRenderRef)==null||a.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ge(ge({},this._config),e),this._updateElementSize()}setDirection(e){this._config=yt(ge({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=ca(this._config.width),e.height=ca(this._config.height),e.minWidth=ca(this._config.minWidth),e.minHeight=ca(this._config.minHeight),e.maxWidth=ca(this._config.maxWidth),e.maxHeight=ca(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){var t;let e="cdk-overlay-backdrop-showing";(t=this._backdropRef)==null||t.dispose(),this._backdropRef=new Ofe(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n)}),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(()=>{var n;return(n=this._backdropRef)==null?void 0:n.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,n){let a=Cd(t||[]).filter(i=>!!i);a.length&&(n?e.classList.add(...a):e.classList.remove(...a))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(zt(ha(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()),e.unsubscribe())})})}_disposeScrollStrategy(){var t;let e=this._scrollStrategy;e==null||e.disable(),(t=e==null?void 0:e.detach)==null||t.call(e)}},Pv="cdk-overlay-connected-position-bounding-box",Mfe=/([A-Za-z%]+)$/,bk=class{constructor(e,t,n,a,i){o(this,"_viewportRuler");o(this,"_document");o(this,"_platform");o(this,"_overlayContainer");o(this,"_overlayRef");o(this,"_isInitialRender");o(this,"_lastBoundingBoxSize",{width:0,height:0});o(this,"_isPushed",!1);o(this,"_canPush",!0);o(this,"_growAfterOpen",!1);o(this,"_hasFlexibleDimensions",!0);o(this,"_positionLocked",!1);o(this,"_originRect");o(this,"_overlayRect");o(this,"_viewportRect");o(this,"_containerRect");o(this,"_viewportMargin",0);o(this,"_scrollables",[]);o(this,"_preferredPositions",[]);o(this,"_origin");o(this,"_pane");o(this,"_isDisposed");o(this,"_boundingBox");o(this,"_lastPosition");o(this,"_lastScrollVisibility");o(this,"_positionChanges",new ue);o(this,"_resizeSubscription",Ge.EMPTY);o(this,"_offsetX",0);o(this,"_offsetY",0);o(this,"_transformOriginSelector");o(this,"_appliedPanelClasses",[]);o(this,"_previousPushAmount");o(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=i,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Pv),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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 e=this._originRect,t=this._overlayRect,n=this._viewportRect,a=this._containerRect,i=[],r;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,a,s),c=this._getOverlayPoint(l,t,s),d=this._getOverlayFit(c,t,n,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){i.push({position:s,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:t})}if(i.length){let s=null,l=-1;for(let c of i){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&wr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Pv),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,n){let a;if(n.originX=="center")a=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;a=n.originX=="start"?r:s}t.left<0&&(a-=t.left);let i;return n.originY=="center"?i=e.top+e.height/2:i=n.originY=="top"?e.top:e.bottom,t.top<0&&(i-=t.top),{x:a,y:i}}_getOverlayPoint(e,t,n){let a;n.overlayX=="center"?a=-t.width/2:n.overlayX==="start"?a=this._isRtl()?-t.width:0:a=this._isRtl()?0:-t.width;let i;return n.overlayY=="center"?i=-t.height/2:i=n.overlayY=="top"?0:-t.height,{x:e.x+a,y:e.y+i}}_getOverlayFit(e,t,n,a){let i=Lv(t),{x:r,y:s}=e,l=this._getOffset(a,"x"),c=this._getOffset(a,"y");l&&(r+=l),c&&(s+=c);let d=0-r,u=r+i.width-n.width,p=0-s,b=s+i.height-n.height,g=this._subtractOverflows(i.width,d,u),w=this._subtractOverflows(i.height,p,b),k=g*w;return{visibleArea:k,isCompletelyWithinViewport:i.width*i.height===k,fitsInViewportVertically:w===i.height,fitsInViewportHorizontally:g==i.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){let a=n.bottom-t.y,i=n.right-t.x,r=Nv(this._overlayRef.getConfig().minHeight),s=Nv(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=a,c=e.fitsInViewportHorizontally||s!=null&&s<=i;return l&&c}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let a=Lv(t),i=this._viewportRect,r=Math.max(e.x+a.width-i.width,0),s=Math.max(e.y+a.height-i.height,0),l=Math.max(i.top-n.top-e.y,0),c=Math.max(i.left-n.left-e.x,0),d=0,u=0;return a.width<=i.width?d=c||-r:d=e.x<this._viewportMargin?i.left-n.left-e.x:0,a.height<=i.height?u=l||-s:u=e.y<this._viewportMargin?i.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!Rfe(this._lastScrollVisibility,n)){let a=new Ife(e,n);this._positionChanges.next(a)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,a=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${n} ${a}`}_calculateBoundingBoxRect(e,t){let n=this._viewportRect,a=this._isRtl(),i,r,s;if(t.overlayY==="top")r=e.y,i=n.height-r+this._viewportMargin;else if(t.overlayY==="bottom")s=n.height-e.y+this._viewportMargin*2,i=n.height-s+this._viewportMargin;else{let b=Math.min(n.bottom-e.y+n.top,e.y),g=this._lastBoundingBoxSize.height;i=b*2,r=e.y-b,i>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-g/2)}let l=t.overlayX==="start"&&!a||t.overlayX==="end"&&a,c=t.overlayX==="end"&&!a||t.overlayX==="start"&&a,d,u,p;if(c)p=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let b=Math.min(n.right-e.x+n.left,e.x),g=this._lastBoundingBoxSize.width;d=b*2,u=e.x-b,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:r,left:u,bottom:s,right:p,width:d,height:i}}_setBoundingBoxStyles(e,t){let n=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;a.height=ca(n.height),a.top=ca(n.top),a.bottom=ca(n.bottom),a.width=ca(n.width),a.left=ca(n.left),a.right=ca(n.right),t.overlayX==="center"?a.alignItems="center":a.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?a.justifyContent="center":a.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",i&&(a.maxHeight=ca(i)),r&&(a.maxWidth=ca(r))}this._lastBoundingBoxSize=n,wr(this._boundingBox.style,a)}_resetBoundingBoxStyles(){wr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){wr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let n={},a=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(a){let d=this._viewportRuler.getViewportScrollPosition();wr(n,this._getExactOverlayY(t,e,d)),wr(n,this._getExactOverlayX(t,e,d))}else n.position="static";let s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),n.transform=s.trim(),r.maxHeight&&(a?n.maxHeight=ca(r.maxHeight):i&&(n.maxHeight="")),r.maxWidth&&(a?n.maxWidth=ca(r.maxWidth):i&&(n.maxWidth="")),wr(this._pane.style,n)}_getExactOverlayY(e,t,n){let a={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;a.bottom=`${r-(i.y+this._overlayRect.height)}px`}else a.top=ca(i.y);return a}_getExactOverlayX(e,t,n){let a={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let s=this._document.documentElement.clientWidth;a.right=`${s-(i.x+this._overlayRect.width)}px`}else a.left=ca(i.x);return a}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Mv(e,n),isOriginOutsideView:nm(e,n),isOverlayClipped:Mv(t,n),isOverlayOutsideView:nm(t,n)}}_subtractOverflows(e,...t){return t.reduce((n,a)=>n-Math.max(a,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Cd(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Te)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}};function wr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Nv(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(Mfe);return!n||n==="px"?parseFloat(t):null}return e||null}function Lv(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function Rfe(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Fv="cdk-global-overlay-wrapper",Pfe=class{constructor(){o(this,"_overlayRef");o(this,"_cssPosition","static");o(this,"_topOffset","");o(this,"_bottomOffset","");o(this,"_alignItems","");o(this,"_xPosition","");o(this,"_xOffset","");o(this,"_width","");o(this,"_height","");o(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Fv),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:a,height:i,maxWidth:r,maxHeight:s}=n,l=(a==="100%"||a==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(i==="100%"||i==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",b="",g="",w="";l?w="flex-start":d==="center"?(w="center",p?g=u:b=u):p?d==="left"||d==="end"?(w="flex-end",b=u):(d==="right"||d==="start")&&(w="flex-start",g=u):d==="left"||d==="start"?(w="flex-start",b=u):(d==="right"||d==="end")&&(w="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(Fv),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},Nfe=(()=>{const t=class t{constructor(){o(this,"_viewportRuler",_(Nl));o(this,"_document",_(at));o(this,"_platform",_(Wt));o(this,"_overlayContainer",_(tg))}global(){return new Pfe}flexibleConnectedTo(a){return new bk(a,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),si=(()=>{const t=class t{constructor(){o(this,"scrollStrategies",_(Dfe));o(this,"_overlayContainer",_(tg));o(this,"_positionBuilder",_(Nfe));o(this,"_keyboardDispatcher",_(Afe));o(this,"_injector",_(ct));o(this,"_ngZone",_(Ne));o(this,"_document",_(at));o(this,"_directionality",_(Ma));o(this,"_location",_(Fw));o(this,"_outsideClickDispatcher",_(Tfe));o(this,"_animationsModuleType",_(Ia,{optional:!0}));o(this,"_idGenerator",_(ra));o(this,"_renderer",_(Ii).createRenderer(null,null));o(this,"_appRef");o(this,"_styleLoader",_(Aa))}create(a){this._styleLoader.load(gk);let i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),l=new Ll(a);return l.direction=l.direction||this._directionality.value,new ag(s,i,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(tn),this._renderer)}position(){return this._positionBuilder}_createPaneElement(a){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),a.appendChild(i),i}_createHostElement(){let a=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(a),a}_createPortalOutlet(a){return this._appRef||(this._appRef=this._injector.get(or)),new wfe(a,null,this._appRef,this._injector,this._document)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lfe=[{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"}],vk=new Y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(si);return()=>e.scrollStrategies.reposition()}}),Dd=(()=>{const t=class t{constructor(){o(this,"elementRef",_(Te))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}));let e=t;return e})(),Vv=(()=>{const t=class t{constructor(){o(this,"_overlay",_(si));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_overlayRef");o(this,"_templatePortal");o(this,"_backdropSubscription",Ge.EMPTY);o(this,"_attachSubscription",Ge.EMPTY);o(this,"_detachSubscription",Ge.EMPTY);o(this,"_positionSubscription",Ge.EMPTY);o(this,"_offsetX");o(this,"_offsetY");o(this,"_position");o(this,"_scrollStrategyFactory",_(vk));o(this,"_disposeOnNavigation",!1);o(this,"_ngZone",_(Ne));o(this,"origin");o(this,"positions");o(this,"positionStrategy");o(this,"width");o(this,"height");o(this,"minWidth");o(this,"minHeight");o(this,"backdropClass");o(this,"panelClass");o(this,"viewportMargin",0);o(this,"scrollStrategy");o(this,"open",!1);o(this,"disableClose",!1);o(this,"transformOriginSelector");o(this,"hasBackdrop",!1);o(this,"lockPosition",!1);o(this,"flexibleDimensions",!1);o(this,"growAfterOpen",!1);o(this,"push",!1);o(this,"backdropClick",new ee);o(this,"positionChange",new ee);o(this,"attach",new ee);o(this,"detach",new ee);o(this,"overlayKeydown",new ee);o(this,"overlayOutsideClick",new ee);let a=_(ma),i=_(Qa);this._templatePortal=new no(a,i),this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(a){this._offsetX=a,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(a){this._offsetY=a,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(a){this._disposeOnNavigation=a}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){var a;this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),(a=this._overlayRef)==null||a.dispose()}ngOnChanges(a){var i;this._position&&(this._updatePositionStrategy(this._position),(i=this._overlayRef)==null||i.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply()),a.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Lfe);let a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=a.detachments().subscribe(()=>this.detach.emit()),a.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Va(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),s=Ji(i);(!r||r!==s&&!r.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let a=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ll({direction:this._dir||"ltr",positionStrategy:a,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(a){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 a.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 a=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(a),a}_getOrigin(){return this.origin instanceof Dd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Dd?this.origin.elementRef.nativeElement:this.origin instanceof Te?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(a=>{this.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qoe(()=>this.positionChange.observers.length>0)).subscribe(a=>{this._ngZone.run(()=>this.positionChange.emit(a)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){var a;(a=this._overlayRef)==null||a.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({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",pe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",pe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",pe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",pe],push:[2,"cdkConnectedOverlayPush","push",pe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",pe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Kt]}));let e=t;return e})();function Ffe(e){return()=>e.scrollStrategies.reposition()}var Vfe={provide:vk,deps:[si],useFactory:Ffe},Au=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[si,Vfe],imports:[ol,qo,im,im]}));let e=t;return e})(),mo,zv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Bv(){if(mo)return mo;if(typeof document!="object"||!document)return mo=new Set(zv),mo;let e=document.createElement("input");return mo=new Set(zv.filter(t=>(e.setAttribute("type",t),e.type===t))),mo}var Bn=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(a,i){},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}}
21
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_i=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(_i||{}),zfe=class{constructor(e,t,n,a=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",_i.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=a}fadeOut(){this._renderer.fadeOutRipple(this)}},jv=Qf({passive:!0,capture:!0}),Bfe=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",e=>{var n;let t=Ji(e);t&&((n=this._events.get(e.type))==null||n.forEach((a,i)=>{(i===t||i.contains(t))&&a.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,n,a){let i=this._events.get(t);if(i){let r=i.get(n);r?r.add(a):i.set(n,new Set([a]))}else this._events.set(t,new Map([[n,new Set([a])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,jv)})}removeHandler(e,t,n){let a=this._events.get(e);if(!a)return;let i=a.get(t);i&&(i.delete(n),i.size===0&&a.delete(t),a.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,jv)))}},Id={enterDuration:225,exitDuration:150},jfe=800,Hv=Qf({passive:!0,capture:!0}),Uv=["mousedown","touchstart"],Wv=["mouseup","mouseleave","touchend","touchcancel"],Hfe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(a,i){},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}
22
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Xn,yk=(Xn=class{constructor(t,n,a,i,r){o(this,"_target");o(this,"_ngZone");o(this,"_platform");o(this,"_containerElement");o(this,"_triggerElement");o(this,"_isPointerDown",!1);o(this,"_activeRipples",new Map);o(this,"_mostRecentTransientRipple");o(this,"_lastTouchStartEvent");o(this,"_pointerUpEventsRegistered",!1);o(this,"_containerRect");this._target=t,this._ngZone=n,this._platform=i,i.isBrowser&&(this._containerElement=Rn(a)),r&&r.get(Aa).load(Hfe)}fadeInRipple(t,n,a={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ge(ge({},Id),a.animation);a.centered&&(t=i.left+i.width/2,n=i.top+i.height/2);let s=a.radius||Ufe(t,n,i),l=t-i.left,c=n-i.top,d=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${l-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,a.color!=null&&(u.style.backgroundColor=a.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u);let p=window.getComputedStyle(u),b=p.transitionProperty,g=p.transitionDuration,w=b==="none"||g==="0s"||g==="0s, 0s"||i.width===0&&i.height===0,k=new zfe(this,u,a,w);u.style.transform="scale3d(1, 1, 1)",k.state=_i.FADING_IN,a.persistent||(this._mostRecentTransientRipple=k);let E=null;return!w&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let O=()=>{E&&(E.fallbackTimer=null),clearTimeout(j),this._finishRippleTransition(k)},B=()=>this._destroyRipple(k),j=setTimeout(B,d+100);u.addEventListener("transitionend",O),u.addEventListener("transitioncancel",B),E={onTransitionEnd:O,onTransitionCancel:B,fallbackTimer:j}}),this._activeRipples.set(k,E),(w||!d)&&this._finishRippleTransition(k),k}fadeOutRipple(t){if(t.state===_i.FADING_OUT||t.state===_i.HIDDEN)return;let n=t.element,a=ge(ge({},Id),t.config.animation);n.style.transitionDuration=`${a.exitDuration}ms`,n.style.opacity="0",t.state=_i.FADING_OUT,(t._animationForciblyDisabledThroughCss||!a.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=Rn(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Uv.forEach(a=>{Xn._eventManager.addHandler(this._ngZone,a,n,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Wv.forEach(n=>{this._triggerElement.addEventListener(n,this,Hv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===_i.FADING_IN?this._startFadeOutTransition(t):t.state===_i.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:a}=t.config;t.state=_i.VISIBLE,!a&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=_i.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=Gw(t),a=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+jfe;!this._target.rippleDisabled&&!n&&!a&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!Zw(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let a=0;a<n.length;a++)this.fadeInRipple(n[a].clientX,n[a].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===_i.VISIBLE||t.config.terminateOnPointerUp&&t.state===_i.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Uv.forEach(n=>Xn._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(Wv.forEach(n=>t.removeEventListener(n,this,Hv)),this._pointerUpEventsRegistered=!1))}},o(Xn,"_eventManager",new Bfe),Xn);function Ufe(e,t,n){let a=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(a*a+i*i)}var ig=new Y("mat-ripple-global-options"),Tu=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"color");o(this,"unbounded");o(this,"centered");o(this,"radius",0);o(this,"animation");o(this,"_disabled",!1);o(this,"_trigger");o(this,"_rippleRenderer");o(this,"_globalOptions");o(this,"_isInitialized",!1);let a=_(Ne),i=_(Wt),r=_(ig,{optional:!0}),s=_(ct);this._globalOptions=r||{},this._rippleRenderer=new yk(this,a,this._elementRef,i,s)}get disabled(){return this._disabled}set disabled(a){a&&this.fadeOutAllNonPersistent(),this._disabled=a,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(a){this._trigger=a,this._setupTriggerEventsIfEnabled()}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:ge(ge(ge({},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(a,i=0,r){return typeof a=="number"?this._rippleRenderer.fadeInRipple(a,i,ge(ge({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,ge(ge({},this.rippleConfig),a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,i){a&2&&Ee("mat-ripple-unbounded",i.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"]}));let e=t;return e})(),Wfe={capture:!0},qfe=["focus","mousedown","mouseenter","touchstart"],Ah="mat-ripple-loader-uninitialized",Th="mat-ripple-loader-class-name",qv="mat-ripple-loader-centered",kc="mat-ripple-loader-disabled",_k=(()=>{const t=class t{constructor(){o(this,"_document",_(at));o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"_globalRippleOptions",_(ig,{optional:!0}));o(this,"_platform",_(Wt));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ct));o(this,"_eventCleanups");o(this,"_hosts",new Map);o(this,"_onInteraction",a=>{var r;let i=Ji(a);if(i instanceof HTMLElement){let s=i.closest(`[${Ah}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);s&&this._createRipple(s)}});let a=_(Ii).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>qfe.map(i=>Ea(a,this._document,i,this._onInteraction,Wfe)))}ngOnDestroy(){let a=this._hosts.keys();for(let i of a)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(a,i){var r;a.setAttribute(Ah,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(i.className||!a.hasAttribute(Th))&&a.setAttribute(Th,i.className||""),i.centered&&a.setAttribute(qv,""),i.disabled&&a.setAttribute(kc,"")}setDisabled(a,i){let r=this._hosts.get(a);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(a))):i?a.setAttribute(kc,""):a.removeAttribute(kc)}_createRipple(a){var b,g,w;if(!this._document||this._hosts.has(a))return;(b=a.querySelector(".mat-ripple"))==null||b.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",a.getAttribute(Th)),a.append(i);let r=this._animationMode==="NoopAnimations",s=this._globalRippleOptions,l=r?0:((g=s==null?void 0:s.animation)==null?void 0:g.enterDuration)??Id.enterDuration,c=r?0:((w=s==null?void 0:s.animation)==null?void 0:w.exitDuration)??Id.exitDuration,d={rippleDisabled:r||(s==null?void 0:s.disabled)||a.hasAttribute(kc),rippleConfig:{centered:a.hasAttribute(qv),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},u=new yk(d,this._ngZone,i,this._platform,this._injector),p=!d.rippleDisabled;p&&u.setupTriggerEvents(a),this._hosts.set(a,{target:d,renderer:u,hasSetUpEvents:p}),a.removeAttribute(Ah)}destroyRipple(a){let i=this._hosts.get(a);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),xk=["*"],$fe=`.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}
23
+ `,Yfe=`@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}}
24
+ `,Gfe=new Y("MAT_BUTTON_CONFIG"),Zfe=[{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"]}],ng=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_ngZone",_(Ne));o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"_focusMonitor",_(ao));o(this,"_rippleLoader",_(_k));o(this,"_isFab",!1);o(this,"color");o(this,"_disableRipple",!1);o(this,"_disabled",!1);o(this,"ariaDisabled");o(this,"disabledInteractive");var s;_(Aa).load(Bn);let a=_(Gfe,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=(a==null?void 0:a.disabledInteractive)??!1,this.color=(a==null?void 0:a.color)??null,(s=this._rippleLoader)==null||s.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:c}of Zfe)i.hasAttribute(l)&&r.add(...c)}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=a,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var a;this._focusMonitor.stopMonitoring(this._elementRef),(a=this._rippleLoader)==null||a.destroyRipple(this._elementRef.nativeElement)}focus(a="program",i){a?this._focusMonitor.focusVia(this._elementRef.nativeElement,a,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(){var a;(a=this._rippleLoader)==null||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",pe],disabled:[2,"disabled","disabled",pe],ariaDisabled:[2,"aria-disabled","ariaDisabled",pe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",pe]}}));let e=t;return e})(),wk=(()=>{const t=class t extends ng{constructor(){super(...arguments);o(this,"_renderer",_(oi));o(this,"_cleanupClick");o(this,"tabIndex");o(this,"_haltDisabledEvents",i=>{this.disabled&&(i.preventDefault(),i.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._cleanupClick)==null||i.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:sn(i)]},features:[ze]}));let e=t;return e})(),Fl=(()=>{const t=class t extends ng{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,i){a&2&&(be("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Ci(i.color?"mat-"+i.color:""),Ee("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ze],ngContentSelectors:xk,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(a,i){a&1&&(Ct(),Z(0,"span",0),Me(1),Z(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}
25
+ `,`@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}}
26
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Kfe=(()=>{const t=class t extends wk{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(a,i){a&2&&(be("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),Ci(i.color?"mat-"+i.color:""),Ee("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[ze],ngContentSelectors:xk,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(a,i){a&1&&(Ct(),Z(0,"span",0),Me(1),Z(2,"span",1)(3,"span",2))},styles:[$fe,Yfe],encapsulation:2,changeDetection:0}));let e=t;return e})(),Nt=(()=>{const t=class t{constructor(){_(rk)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[ol,ol]}));let e=t;return e})(),rg=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,Nt]}));let e=t;return e})(),kk=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Ck=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Qfe=`.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)}
27
+ `,Xfe=`@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}}
28
+ `,jn=(()=>{const t=class t extends ng{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,i){a&2&&(be("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Ci(i.color?"mat-"+i.color:""),Ee("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ze],ngContentSelectors:Ck,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(a,i){a&1&&(Ct(kk),Z(0,"span",0),Me(1),D(2,"span",1),Me(3,1),I(),Me(4,2),Z(5,"span",2)(6,"span",3)),a&2&&Ee("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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)}
29
+ `,`@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}}
30
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Sk=(()=>{const t=class t extends wk{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(a,i){a&2&&(be("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),Ci(i.color?"mat-"+i.color:""),Ee("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[ze],ngContentSelectors:Ck,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(a,i){a&1&&(Ct(kk),Z(0,"span",0),Me(1),D(2,"span",1),Me(3,1),I(),Me(4,2),Z(5,"span",2)(6,"span",3)),a&2&&Ee("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[Qfe,Xfe],encapsulation:2,changeDetection:0}));let e=t;return e})(),Xa=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,rg,Nt]}));let e=t;return e})(),Ou=new Y("");function og(e){return e==null||sg(e)===0}function sg(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Vl=new Y(""),Ek=new Y(""),Jfe=/^(?=.{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])?)*$/,ps=class{static min(e){return ege(e)}static max(e){return tge(e)}static required(e){return age(e)}static requiredTrue(e){return ige(e)}static email(e){return nge(e)}static minLength(e){return rge(e)}static maxLength(e){return oge(e)}static pattern(e){return sge(e)}static nullValidator(e){return Dk()}static compose(e){return Rk(e)}static composeAsync(e){return Pk(e)}};function ege(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function tge(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function age(e){return og(e.value)?{required:!0}:null}function ige(e){return e.value===!0?null:{required:!0}}function nge(e){return og(e.value)||Jfe.test(e.value)?null:{email:!0}}function rge(e){return t=>{var a;let n=((a=t.value)==null?void 0:a.length)??sg(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function oge(e){return t=>{var a;let n=((a=t.value)==null?void 0:a.length)??sg(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function sge(e){if(!e)return Dk;let t,n;return typeof e=="string"?(n="",e.charAt(0)!=="^"&&(n+="^"),n+=e,e.charAt(e.length-1)!=="$"&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),a=>{if(og(a.value))return null;let i=a.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function Dk(e){return null}function Ik(e){return e!=null}function Ak(e){return Gf(e)?dr(e):e}function Tk(e){let t={};return e.forEach(n=>{t=n!=null?ge(ge({},t),n):t}),Object.keys(t).length===0?null:t}function Ok(e,t){return t.map(n=>n(e))}function lge(e){return!e.validate}function Mk(e){return e.map(t=>lge(t)?t:n=>t.validate(n))}function Rk(e){if(!e)return null;let t=e.filter(Ik);return t.length==0?null:function(n){return Tk(Ok(n,t))}}function lg(e){return e!=null?Rk(Mk(e)):null}function Pk(e){if(!e)return null;let t=e.filter(Ik);return t.length==0?null:function(n){let a=Ok(n,t).map(Ak);return Gm(a).pipe(It(Tk))}}function cg(e){return e!=null?Pk(Mk(e)):null}function $v(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Nk(e){return e._rawValidators}function Lk(e){return e._rawAsyncValidators}function rm(e){return e?Array.isArray(e)?e:[e]:[]}function Ad(e,t){return Array.isArray(e)?e.includes(t):e===t}function Yv(e,t){let n=rm(t);return rm(e).forEach(a=>{Ad(n,a)||n.push(a)}),n}function Gv(e,t){return rm(t).filter(n=>!Ad(e,n))}var Fk=class{constructor(){o(this,"_composedValidatorFn");o(this,"_composedAsyncValidatorFn");o(this,"_rawValidators",[]);o(this,"_rawAsyncValidators",[]);o(this,"_onDestroyCallbacks",[])}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=lg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=cg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},zl=class extends Fk{constructor(){super(...arguments);o(this,"name")}get formDirective(){return null}get path(){return null}},dg=class extends Fk{constructor(){super(...arguments);o(this,"_parent",null);o(this,"name",null);o(this,"valueAccessor",null)}},cge={"[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"};yt(ge({},cge),{"[class.ng-submitted]":"isSubmitted"});var Cs="VALID",Cc="INVALID",fo="PENDING",Ss="DISABLED",ms=class{},Zv=class extends ms{constructor(t,n){super();o(this,"value");o(this,"source");this.value=t,this.source=n}},Oh=class extends ms{constructor(t,n){super();o(this,"pristine");o(this,"source");this.pristine=t,this.source=n}},Mh=class extends ms{constructor(t,n){super();o(this,"touched");o(this,"source");this.touched=t,this.source=n}},Sc=class extends ms{constructor(t,n){super();o(this,"status");o(this,"source");this.status=t,this.source=n}},Vk=class extends ms{constructor(t){super();o(this,"source");this.source=t}},zk=class extends ms{constructor(t){super();o(this,"source");this.source=t}};function Bk(e){return(Mu(e)?e.validators:e)||null}function dge(e){return Array.isArray(e)?lg(e):e||null}function jk(e,t){return(Mu(t)?t.asyncValidators:e)||null}function uge(e){return Array.isArray(e)?cg(e):e||null}function Mu(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function hge(e,t,n){let a=e.controls;if(!Object.keys(a).length)throw new J(1e3,"");if(!a[n])throw new J(1001,"")}function pge(e,t,n){e._forEachChild((a,i)=>{if(n[i]===void 0)throw new J(1002,"")})}var Hk=class{constructor(e,t){o(this,"_pendingDirty",!1);o(this,"_hasOwnPendingAsyncValidator",null);o(this,"_pendingTouched",!1);o(this,"_onCollectionChange",()=>{});o(this,"_updateOn");o(this,"_parent",null);o(this,"_asyncValidationSubscription");o(this,"_composedValidatorFn");o(this,"_composedAsyncValidatorFn");o(this,"_rawValidators");o(this,"_rawAsyncValidators");o(this,"value");o(this,"_status",pa(()=>this.statusReactive()));o(this,"statusReactive",Ga(void 0));o(this,"errors");o(this,"_pristine",pa(()=>this.pristineReactive()));o(this,"pristineReactive",Ga(!0));o(this,"_touched",pa(()=>this.touchedReactive()));o(this,"touchedReactive",Ga(!1));o(this,"_events",new ue);o(this,"events",this._events.asObservable());o(this,"valueChanges");o(this,"statusChanges");o(this,"_onDisabledChange",[]);this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return En(this.statusReactive)}set status(e){En(()=>this.statusReactive.set(e))}get valid(){return this.status===Cs}get invalid(){return this.status===Cc}get pending(){return this.status==fo}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get pristine(){return En(this.pristineReactive)}set pristine(e){En(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return En(this.touchedReactive)}set touched(e){En(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Yv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Yv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Gv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Gv(e,this._rawAsyncValidators))}hasValidator(e){return Ad(this._rawValidators,e)}hasAsyncValidator(e){return Ad(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(yt(ge({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Mh(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(a=>{a.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),t&&e.emitEvent!==!1&&this._events.next(new Mh(!1,n))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(yt(ge({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Oh(!1,n))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(a=>{a.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),t&&e.emitEvent!==!1&&this._events.next(new Oh(!0,n))}markAsPending(e={}){this.status=fo;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Sc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(yt(ge({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(a=>{a.disable(yt(ge({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Zv(this.value,n)),this._events.next(new Sc(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(yt(ge({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(a=>a(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Cs,this._forEachChild(n=>{n.enable(yt(ge({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(yt(ge({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Cs||this.status===fo)&&this._runAsyncValidator(n,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Zv(this.value,t)),this._events.next(new Sc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(yt(ge({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Cs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=fo,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let n=Ak(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(a=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(a,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=((e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,a)=>n&&n._find(a),this)}getError(e,t){let n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new Sc(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new ee,this.statusChanges=new ee}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?Cc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fo)?fo:this._anyControlsHaveStatus(Cc)?Cc:Cs}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let n=!this._anyControlsDirty(),a=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),a&&this._events.next(new Oh(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new Mh(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Mu(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=dge(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=uge(this._rawAsyncValidators)}},Kv=class extends Hk{constructor(t,n,a){super(Bk(n),jk(a,n));o(this,"controls");this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,a={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,a={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){pge(this,!0,t),Object.keys(t).forEach(a=>{hge(this,!0,a),this.controls[a].setValue(t[a],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(a=>{let i=this.controls[a];i&&i.patchValue(t[a],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((a,i)=>{a.reset(t?t[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,a)=>(t[a]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,a)=>a._syncPendingControls()?!0:n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let a=this.controls[n];a&&t(a,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[n,a]of Object.entries(this.controls))if(this.contains(n)&&t(a))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(n,a,i)=>((a.enabled||this.disabled)&&(n[i]=a.value),n))}_reduceChildren(t,n){let a=t;return this._forEachChild((i,r)=>{a=n(a,i,r)}),a}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}},Uk=new Y("",{providedIn:"root",factory:()=>Wk}),Wk="always";function om(e,t,n=Wk){var a,i;ug(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&((i=(a=t.valueAccessor).setDisabledState)==null||i.call(a,e.disabled)),fge(e,t),bge(e,t),gge(e,t),mge(e,t)}function Qv(e,t,n=!0){let a=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(a),t.valueAccessor.registerOnTouched(a)),Od(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Td(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function mge(e,t){if(t.valueAccessor.setDisabledState){let n=a=>{t.valueAccessor.setDisabledState(a)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function ug(e,t){let n=Nk(e);t.validator!==null?e.setValidators($v(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let a=Lk(e);t.asyncValidator!==null?e.setAsyncValidators($v(a,t.asyncValidator)):typeof a=="function"&&e.setAsyncValidators([a]);let i=()=>e.updateValueAndValidity();Td(t._rawValidators,i),Td(t._rawAsyncValidators,i)}function Od(e,t){let n=!1;if(e!==null){if(t.validator!==null){let i=Nk(e);if(Array.isArray(i)&&i.length>0){let r=i.filter(s=>s!==t.validator);r.length!==i.length&&(n=!0,e.setValidators(r))}}if(t.asyncValidator!==null){let i=Lk(e);if(Array.isArray(i)&&i.length>0){let r=i.filter(s=>s!==t.asyncValidator);r.length!==i.length&&(n=!0,e.setAsyncValidators(r))}}}let a=()=>{};return Td(t._rawValidators,a),Td(t._rawAsyncValidators,a),n}function fge(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&qk(e,t)})}function gge(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&qk(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function qk(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function bge(e,t){let n=(a,i)=>{t.valueAccessor.writeValue(a),i&&t.viewToModelUpdate(a)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function $k(e,t){ug(e,t)}function vge(e,t){return Od(e,t)}function Yk(e,t){e._syncPendingControls(),t.forEach(n=>{let a=n.control;a.updateOn==="submit"&&a._pendingChange&&(n.viewToModelUpdate(a._pendingValue),a._pendingChange=!1)})}function yge(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var _ge={provide:zl,useExisting:Kr(()=>Ru)},Es=Promise.resolve(),Ru=(()=>{const t=class t extends zl{constructor(i,r,s){super();o(this,"callSetDisabledState");o(this,"_submitted",pa(()=>this.submittedReactive()));o(this,"submittedReactive",Ga(!1));o(this,"_directives",new Set);o(this,"form");o(this,"ngSubmit",new ee);o(this,"options");this.callSetDisabledState=s,this.form=new Kv({},lg(i),cg(r))}get submitted(){return En(this.submittedReactive)}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){Es.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),om(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){Es.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){Es.then(()=>{let r=this._findContainer(i.path),s=new Kv({});$k(s,i),r.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){Es.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){Es.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){var r;return this.submittedReactive.set(!0),Yk(this.form,this._directives),this.ngSubmit.emit(i),this.form._events.next(new Vk(this.control)),((r=i==null?void 0:i.target)==null?void 0:r.method)==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submittedReactive.set(!1),this.form._events.next(new zk(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}};o(t,"ɵfac",function(i){return new(i||t)(Gt(Vl,10),Gt(Ek,10),Gt(Uk,8))}),o(t,"ɵdir",he({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&xe("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:[st([_ge]),ze]}));let e=t;return e})();function Xv(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Jv(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var xge=class extends Hk{constructor(t=null,n,a){super(Bk(n),jk(a,n));o(this,"defaultValue",null);o(this,"_onChange",[]);o(this,"_pendingValue");o(this,"_pendingChange",!1);this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Mu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Jv(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(a=>a(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Xv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Xv(this._onDisabledChange,t)}_forEachChild(t){}_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(t){Jv(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},wge=e=>e instanceof xge,kge={provide:zl,useExisting:Kr(()=>Pu)},Pu=(()=>{const t=class t extends zl{constructor(i,r,s){super();o(this,"callSetDisabledState");o(this,"_submitted",pa(()=>this._submittedReactive()));o(this,"_submittedReactive",Ga(!1));o(this,"_oldForm");o(this,"_onCollectionChange",()=>this._updateDomValue());o(this,"directives",[]);o(this,"form",null);o(this,"ngSubmit",new ee);this.callSetDisabledState=s,this._setValidators(i),this._setAsyncValidators(r)}get submitted(){return En(this._submittedReactive)}set submitted(i){this._submittedReactive.set(i)}ngOnChanges(i){i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Od(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return om(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){Qv(i.control||null,i,!1),yge(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){var r;return this._submittedReactive.set(!0),Yk(this.form,this.directives),this.ngSubmit.emit(i),this.form._events.next(new Vk(this.control)),((r=i==null?void 0:i.target)==null?void 0:r.method)==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this._submittedReactive.set(!1),this.form._events.next(new zk(this.form))}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,s=this.form.get(i.path);r!==s&&(Qv(r||null,i),wge(s)&&(om(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);$k(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&vge(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ug(this.form,this),this._oldForm&&Od(this._oldForm,this)}};o(t,"ɵfac",function(i){return new(i||t)(Gt(Vl,10),Gt(Ek,10),Gt(Uk,8))}),o(t,"ɵdir",he({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&xe("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:[st([kge]),ze,Kt]}));let e=t;return e})(),Gk=new Y("MAT_INPUT_VALUE_ACCESSOR"),Cge=class{constructor(e){o(this,"_box");o(this,"_destroyed",new ue);o(this,"_resizeSubject",new ue);o(this,"_resizeObserver");o(this,"_elementObservables",new Map);this._box=e,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new kt(t=>{var a;let n=this._resizeSubject.subscribe(t);return(a=this._resizeObserver)==null||a.observe(e,{box:this._box}),()=>{var i;(i=this._resizeObserver)==null||i.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ea(t=>t.some(n=>n.target===e)),bp({bufferSize:1,refCount:!0}),zt(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Zk=(()=>{const t=class t{constructor(){o(this,"_cleanupErrorListener");o(this,"_observers",new Map);o(this,"_ngZone",_(Ne))}ngOnDestroy(){var a;for(let[,i]of this._observers)i.destroy();this._observers.clear(),(a=this._cleanupErrorListener)==null||a.call(this)}observe(a,i){let r=(i==null?void 0:i.box)||"content-box";return this._observers.has(r)||this._observers.set(r,new Cge(r)),this._observers.get(r).observe(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Sge=["notch"],Ege=["*"],Dge=["textField"],Ige=["iconPrefixContainer"],Age=["textPrefixContainer"],Tge=["iconSuffixContainer"],Oge=["textSuffixContainer"],Mge=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Rge=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Pge(e,t){e&1&&Z(0,"span",20)}function Nge(e,t){if(e&1&&(D(0,"label",19),Me(1,1),V(2,Pge,1,0,"span",20),I()),e&2){let n=L(2);z("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),be("for",n._control.disableAutomaticLabeling?null:n._control.id),S(2),W(!n.hideRequiredMarker&&n._control.required?2:-1)}}function Lge(e,t){if(e&1&&V(0,Nge,3,5,"label",19),e&2){let n=L();W(n._hasFloatingLabel()?0:-1)}}function Fge(e,t){e&1&&Z(0,"div",7)}function Vge(e,t){}function zge(e,t){if(e&1&&V(0,Vge,0,0,"ng-template",13),e&2){L(2);let n=Ei(1);z("ngTemplateOutlet",n)}}function Bge(e,t){if(e&1&&(D(0,"div",9),V(1,zge,1,1,null,13),I()),e&2){let n=L();z("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),S(),W(n._forceDisplayInfixLabel()?-1:1)}}function jge(e,t){e&1&&(D(0,"div",10,2),Me(2,2),I())}function Hge(e,t){e&1&&(D(0,"div",11,3),Me(2,3),I())}function Uge(e,t){}function Wge(e,t){if(e&1&&V(0,Uge,0,0,"ng-template",13),e&2){L();let n=Ei(1);z("ngTemplateOutlet",n)}}function qge(e,t){e&1&&(D(0,"div",14,4),Me(2,4),I())}function $ge(e,t){e&1&&(D(0,"div",15,5),Me(2,5),I())}function Yge(e,t){e&1&&Z(0,"div",16)}function Gge(e,t){e&1&&Me(0,6)}function Zge(e,t){if(e&1&&(D(0,"mat-hint",21),P(1),I()),e&2){let n=L(2);z("id",n._hintLabelId),S(),te(n.hintLabel)}}function Kge(e,t){if(e&1&&(V(0,Zge,2,2,"mat-hint",21),Me(1,7),Z(2,"div",22),Me(3,8)),e&2){let n=L();W(n.hintLabel?0:-1)}}var ey=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["mat-label"]]}));let e=t;return e})(),Qge=new Y("MatError"),ty=(()=>{const t=class t{constructor(){o(this,"align","start");o(this,"id",_(ra).getId("mat-mdc-hint-"))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,i){a&2&&(un("id",i.id),be("align",null),Ee("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"}}));let e=t;return e})(),Xge=new Y("MatPrefix"),Jge=new Y("MatSuffix"),Kk=new Y("FloatingLabelParent"),ay=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_floating",!1);o(this,"_monitorResize",!1);o(this,"_resizeObserver",_(Zk));o(this,"_ngZone",_(Ne));o(this,"_parent",_(Kk));o(this,"_resizeSubscription",new Ge)}get floating(){return this._floating}set floating(a){this._floating=a,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(a){this._monitorResize=a,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return ebe(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())})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,i){a&2&&Ee("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}));let e=t;return e})();function ebe(e){let t=e;if(t.offsetParent!==null)return t.scrollWidth;let n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let a=n.scrollWidth;return n.remove(),a}var iy="mdc-line-ripple--active",Ec="mdc-line-ripple--deactivating",ny=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_cleanupTransitionEnd");o(this,"_handleTransitionEnd",a=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Ec);a.propertyName==="opacity"&&r&&i.remove(iy,Ec)});let a=_(Ne),i=_(oi);a.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let a=this._elementRef.nativeElement.classList;a.remove(Ec),a.add(iy)}deactivate(){this._elementRef.nativeElement.classList.add(Ec)}ngOnDestroy(){this._cleanupTransitionEnd()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}));let e=t;return e})(),ry=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_ngZone",_(Ne));o(this,"open",!1);o(this,"_notch")}ngAfterViewInit(){let a=this._elementRef.nativeElement.querySelector(".mdc-floating-label");a?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(a.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>a.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(a){!this.open||!a?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${a}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,i){if(a&1&&Ye(Sge,5),a&2){let r;ye(r=_e())&&(i._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,i){a&2&&Ee("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:Ege,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(a,i){a&1&&(Ct(),Z(0,"div",1),D(1,"div",2,0),Me(3),I(),Z(4,"div",3))},encapsulation:2,changeDetection:0}));let e=t;return e})(),Nu=(()=>{const t=class t{constructor(){o(this,"value");o(this,"stateChanges");o(this,"id");o(this,"placeholder");o(this,"ngControl");o(this,"focused");o(this,"empty");o(this,"shouldLabelFloat");o(this,"required");o(this,"disabled");o(this,"errorState");o(this,"controlType");o(this,"autofilled");o(this,"userAriaDescribedBy");o(this,"disableAutomaticLabeling")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t}));let e=t;return e})(),Bl=new Y("MatFormField"),tbe=new Y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),oy="fill",abe="auto",sy="fixed",ibe="translateY(-50%)",Qk=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_changeDetectorRef",_(_t));o(this,"_dir",_(Ma));o(this,"_platform",_(Wt));o(this,"_idGenerator",_(ra));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ct));o(this,"_defaults",_(tbe,{optional:!0}));o(this,"_textField");o(this,"_iconPrefixContainer");o(this,"_textPrefixContainer");o(this,"_iconSuffixContainer");o(this,"_textSuffixContainer");o(this,"_floatingLabel");o(this,"_notchedOutline");o(this,"_lineRipple");o(this,"_formFieldControl");o(this,"_prefixChildren");o(this,"_suffixChildren");o(this,"_errorChildren");o(this,"_hintChildren");o(this,"_labelChild",Mue(ey));o(this,"_hideRequiredMarker",!1);o(this,"color","primary");o(this,"_floatLabel");o(this,"_appearance",oy);o(this,"_subscriptSizing",null);o(this,"_hintLabel","");o(this,"_hasIconPrefix",!1);o(this,"_hasTextPrefix",!1);o(this,"_hasIconSuffix",!1);o(this,"_hasTextSuffix",!1);o(this,"_labelId",this._idGenerator.getId("mat-mdc-form-field-label-"));o(this,"_hintLabelId",this._idGenerator.getId("mat-mdc-hint-"));o(this,"_destroyed",new ue);o(this,"_isFocused",null);o(this,"_explicitFormFieldControl");o(this,"_needsOutlineLabelOffsetUpdate",!1);o(this,"_previousControl",null);o(this,"_previousControlValidatorFn",null);o(this,"_stateChanges");o(this,"_valueChanges");o(this,"_describedByChanges");o(this,"_animationsDisabled");o(this,"getLabelId",pa(()=>this._hasFloatingLabel()?this._labelId:null));o(this,"_hasFloatingLabel",pa(()=>!!this._labelChild()));let a=this._defaults;a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!(a!=null&&a.hideRequiredMarker),a.color&&(this.color=a.color)),this._animationsDisabled=_(Ia,{optional:!0})==="NoopAnimations"}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(a){this._hideRequiredMarker=Mo(a)}get floatLabel(){var a;return this._floatLabel||((a=this._defaults)==null?void 0:a.floatLabel)||abe}set floatLabel(a){a!==this._floatLabel&&(this._floatLabel=a,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(a){var s;let i=this._appearance,r=a||((s=this._defaults)==null?void 0:s.appearance)||oy;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){var a;return this._subscriptSizing||((a=this._defaults)==null?void 0:a.subscriptSizing)||sy}set subscriptSizing(a){var i;this._subscriptSizing=a||((i=this._defaults)==null?void 0:i.subscriptSizing)||sy}get hintLabel(){return this._hintLabel}set hintLabel(a){this._hintLabel=a,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(a){this._explicitFormFieldControl=a}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(){var a,i,r;(a=this._stateChanges)==null||a.unsubscribe(),(i=this._valueChanges)==null||i.unsubscribe(),(r=this._describedByChanges)==null||r.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(a){var s,l,c;let i=this._control,r="mat-mdc-form-field-type-";a&&this._elementRef.nativeElement.classList.remove(r+a.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),(s=this._stateChanges)==null||s.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),(l=this._describedByChanges)==null||l.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Da([void 0,void 0]),It(()=>[i.errorState,i.userAriaDescribedBy]),Woe(),ea(([[d,u],[p,b]])=>d!==p||u!==b)).subscribe(()=>this._syncDescribedByIds()),(c=this._valueChanges)==null||c.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(zt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(a=>!a._isText),this._hasTextPrefix=!!this._prefixChildren.find(a=>a._isText),this._hasIconSuffix=!!this._suffixChildren.find(a=>!a._isText),this._hasTextSuffix=!!this._suffixChildren.find(a=>a._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),ha(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(){var a,i,r;this._control.focused&&!this._isFocused?(this._isFocused=!0,(a=this._lineRipple)==null||a.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,(i=this._lineRipple)==null||i.deactivate()),(r=this._textField)==null||r.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Sf(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(zt(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()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(a){let i=this._control?this._control.ngControl:null;return i&&i[a]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var a,i;!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?(a=this._notchedOutline)==null||a._setNotchWidth(0):(i=this._notchedOutline)==null||i._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let a=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&a.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let i=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,r=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;i?a.push(i.id):this._hintLabel&&a.push(this._hintLabelId),r&&a.push(r.id)}else this._errorChildren&&a.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(a)}}_updateOutlineLabelOffset(){var E,O,B,j;if(!this._hasOutline()||!this._floatingLabel)return;let a=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){a.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=(E=this._iconPrefixContainer)==null?void 0:E.nativeElement,r=(O=this._textPrefixContainer)==null?void 0:O.nativeElement,s=(B=this._iconSuffixContainer)==null?void 0:B.nativeElement,l=(j=this._textSuffixContainer)==null?void 0:j.nativeElement,c=(i==null?void 0:i.getBoundingClientRect().width)??0,d=(r==null?void 0:r.getBoundingClientRect().width)??0,u=(s==null?void 0:s.getBoundingClientRect().width)??0,p=(l==null?void 0:l.getBoundingClientRect().width)??0,b=this._dir.value==="rtl"?"-1":"1",g=`${c+d}px`,w=`calc(${b} * (${g} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;a.style.transform=`var(
31
+ --mat-mdc-form-field-label-transform,
32
+ ${ibe} translateX(${w})
33
+ )`;let k=c+d+u+p;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${k}px)`)}_isAttachedToDom(){let a=this._elementRef.nativeElement;if(a.getRootNode){let i=a.getRootNode();return i&&i!==a}return document.documentElement.contains(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-form-field"]],contentQueries:function(a,i,r){if(a&1&&(Ghe(r,i._labelChild,ey,5),ht(r,Nu,5),ht(r,Xge,5),ht(r,Jge,5),ht(r,Qge,5),ht(r,ty,5)),a&2){Zhe();let s;ye(s=_e())&&(i._formFieldControl=s.first),ye(s=_e())&&(i._prefixChildren=s),ye(s=_e())&&(i._suffixChildren=s),ye(s=_e())&&(i._errorChildren=s),ye(s=_e())&&(i._hintChildren=s)}},viewQuery:function(a,i){if(a&1&&(Ye(Dge,5),Ye(Ige,5),Ye(Age,5),Ye(Tge,5),Ye(Oge,5),Ye(ay,5),Ye(ry,5),Ye(ny,5)),a&2){let r;ye(r=_e())&&(i._textField=r.first),ye(r=_e())&&(i._iconPrefixContainer=r.first),ye(r=_e())&&(i._textPrefixContainer=r.first),ye(r=_e())&&(i._iconSuffixContainer=r.first),ye(r=_e())&&(i._textSuffixContainer=r.first),ye(r=_e())&&(i._floatingLabel=r.first),ye(r=_e())&&(i._notchedOutline=r.first),ye(r=_e())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(a,i){a&2&&Ee("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary",i.color!=="accent"&&i.color!=="warn")("mat-accent",i.color==="accent")("mat-warn",i.color==="warn")("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[st([{provide:Bl,useExisting:t},{provide:Kk,useExisting:t}])],ngContentSelectors:Rge,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(a,i){if(a&1){let r=gt();Ct(Mge),V(0,Lge,1,1,"ng-template",null,0,Tw),D(2,"div",6,1),xe("click",function(s){return Ce(r),Se(i._control.onContainerClick(s))}),V(4,Fge,1,0,"div",7),D(5,"div",8),V(6,Bge,2,2,"div",9)(7,jge,3,0,"div",10)(8,Hge,3,0,"div",11),D(9,"div",12),V(10,Wge,1,1,null,13),Me(11),I(),V(12,qge,3,0,"div",14)(13,$ge,3,0,"div",15),I(),V(14,Yge,1,0,"div",16),I(),D(15,"div",17),Zf(16),D(17,"div",18),V(18,Gge,1,0)(19,Kge,4,1),I()()}if(a&2){let r;S(2),Ee("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),S(2),W(!i._hasOutline()&&!i._control.disabled?4:-1),S(2),W(i._hasOutline()?6:-1),S(),W(i._hasIconPrefix?7:-1),S(),W(i._hasTextPrefix?8:-1),S(2),W(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),S(2),W(i._hasTextSuffix?12:-1),S(),W(i._hasIconSuffix?13:-1),S(),W(i._hasOutline()?-1:14),S(),Ee("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic");let s=i._getSubscriptMessageType();S(2),Ee("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),S(),W((r=s)==="error"?18:r==="hint"?19:-1)}},dependencies:[ay,ry,Hw,ny,ty],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)}
34
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),hg=(()=>{const t=class t{isErrorState(a,i){return!!(a&&a.invalid&&(a.touched||i&&i.submitted))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pg=class{constructor(e,t,n,a,i){o(this,"_defaultMatcher");o(this,"ngControl");o(this,"_parentFormGroup");o(this,"_parentForm");o(this,"_stateChanges");o(this,"errorState",!1);o(this,"matcher");this._defaultMatcher=e,this.ngControl=t,this._parentFormGroup=n,this._parentForm=a,this._stateChanges=i}updateErrorState(){let e=this.errorState,t=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,a=this.ngControl?this.ngControl.control:null,i=(n==null?void 0:n.isErrorState(a,t))??!1;i!==e&&(this.errorState=i,this._stateChanges.next())}};function nbe(e,t){return this._trackRow(t)}var Xk=(e,t)=>t.id;function rbe(e,t){if(e&1&&(D(0,"tr",0)(1,"td",3),P(2),I()()),e&2){let n=L();S(),zn("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),be("colspan",n.numCols),S(),ie(" ",n.label," ")}}function obe(e,t){if(e&1&&(D(0,"td",3),P(1),I()),e&2){let n=L(2);zn("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),be("colspan",n._firstRowOffset),S(),ie(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function sbe(e,t){if(e&1){let n=gt();D(0,"td",6)(1,"button",7),xe("click",function(a){let i=Ce(n).$implicit,r=L(2);return Se(r._cellClicked(i,a))})("focus",function(a){let i=Ce(n).$implicit,r=L(2);return Se(r._emitActiveDateChange(i,a))}),D(2,"span",8),P(3),I(),Z(4,"span",9),I()()}if(e&2){let n=t.$implicit,a=t.$index,i=L().$index,r=L();zn("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),be("data-mat-row",i)("data-mat-col",a),S(),Ee("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(i,a))("mat-calendar-body-range-start",r._isRangeStart(n.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",r._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(n.compareValue,i,a))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,i,a))("mat-calendar-body-comparison-start",r._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",r._isInPreview(n.compareValue)),z("ngClass",n.cssClasses)("tabindex",r._isActiveCell(i,a)?0:-1),be("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-pressed",r._isSelected(n.compareValue))("aria-current",r.todayValue===n.compareValue?"date":null)("aria-describedby",r._getDescribedby(n.compareValue)),S(),Ee("mat-calendar-body-selected",r._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",r.todayValue===n.compareValue),S(),ie(" ",n.displayValue," ")}}function lbe(e,t){if(e&1&&(D(0,"tr",1),V(1,obe,2,6,"td",4),Ba(2,sbe,5,48,"td",5,Xk),I()),e&2){let n=t.$implicit,a=t.$index,i=L();S(),W(a===0&&i._firstRowOffset?1:-1),S(),ja(n)}}function cbe(e,t){if(e&1&&(D(0,"th",2)(1,"span",6),P(2),I(),D(3,"span",3),P(4),I()()),e&2){let n=t.$implicit;S(2),te(n.long),S(2),te(n.narrow)}}var dbe=["*"];function ube(e,t){}function hbe(e,t){if(e&1){let n=gt();D(0,"mat-month-view",4),mr("activeDateChange",function(a){Ce(n);let i=L();return eo(i.activeDate,a)||(i.activeDate=a),Se(a)}),xe("_userSelection",function(a){Ce(n);let i=L();return Se(i._dateSelected(a))})("dragStarted",function(a){Ce(n);let i=L();return Se(i._dragStarted(a))})("dragEnded",function(a){Ce(n);let i=L();return Se(i._dragEnded(a))}),I()}if(e&2){let n=L();pr("activeDate",n.activeDate),z("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName)("activeDrag",n._activeDrag)}}function pbe(e,t){if(e&1){let n=gt();D(0,"mat-year-view",5),mr("activeDateChange",function(a){Ce(n);let i=L();return eo(i.activeDate,a)||(i.activeDate=a),Se(a)}),xe("monthSelected",function(a){Ce(n);let i=L();return Se(i._monthSelectedInYearView(a))})("selectedChange",function(a){Ce(n);let i=L();return Se(i._goToDateInView(a,"month"))}),I()}if(e&2){let n=L();pr("activeDate",n.activeDate),z("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function mbe(e,t){if(e&1){let n=gt();D(0,"mat-multi-year-view",6),mr("activeDateChange",function(a){Ce(n);let i=L();return eo(i.activeDate,a)||(i.activeDate=a),Se(a)}),xe("yearSelected",function(a){Ce(n);let i=L();return Se(i._yearSelectedInMultiYearView(a))})("selectedChange",function(a){Ce(n);let i=L();return Se(i._goToDateInView(a,"year"))}),I()}if(e&2){let n=L();pr("activeDate",n.activeDate),z("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function fbe(e,t){}var gbe=["button"],bbe=[[["","matDatepickerToggleIcon",""]]],vbe=["[matDatepickerToggleIcon]"];function ybe(e,t){e&1&&(ir(),D(0,"svg",2),Z(1,"path",3),I())}var _be=[[["input","matStartDate",""]],[["input","matEndDate",""]]],xbe=["input[matStartDate]","input[matEndDate]"],fs=(()=>{const t=class t{constructor(){o(this,"changes",new ue);o(this,"calendarLabel","Calendar");o(this,"openCalendarLabel","Open calendar");o(this,"closeCalendarLabel","Close calendar");o(this,"prevMonthLabel","Previous month");o(this,"nextMonthLabel","Next month");o(this,"prevYearLabel","Previous year");o(this,"nextYearLabel","Next year");o(this,"prevMultiYearLabel","Previous 24 years");o(this,"nextMultiYearLabel","Next 24 years");o(this,"switchToMonthViewLabel","Choose date");o(this,"switchToMultiYearViewLabel","Choose month and year");o(this,"startDateLabel","Start date");o(this,"endDateLabel","End date");o(this,"comparisonDateLabel","Comparison range")}formatYearRange(a,i){return`${a} – ${i}`}formatYearRangeLabel(a,i){return`${a} to ${i}`}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),wbe=0,mg=class{constructor(e,t,n,a,i={},r=e,s){o(this,"value");o(this,"displayValue");o(this,"ariaLabel");o(this,"enabled");o(this,"cssClasses");o(this,"compareValue");o(this,"rawValue");o(this,"id",wbe++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=a,this.cssClasses=i,this.compareValue=r,this.rawValue=s}},kbe={passive:!1,capture:!0},Dc={passive:!0,capture:!0},ly={passive:!0},$o=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_ngZone",_(Ne));o(this,"_platform",_(Wt));o(this,"_intl",_(fs));o(this,"_eventCleanups");o(this,"_skipNextFocus");o(this,"_focusActiveCellAfterViewChecked",!1);o(this,"label");o(this,"rows");o(this,"todayValue");o(this,"startValue");o(this,"endValue");o(this,"labelMinRequiredCells");o(this,"numCols",7);o(this,"activeCell",0);o(this,"isRange",!1);o(this,"cellAspectRatio",1);o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"previewStart",null);o(this,"previewEnd",null);o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedValueChange",new ee);o(this,"previewChange",new ee);o(this,"activeDateChange",new ee);o(this,"dragStarted",new ee);o(this,"dragEnded",new ee);o(this,"_firstRowOffset");o(this,"_cellPadding");o(this,"_cellWidth");o(this,"_startDateLabelId");o(this,"_endDateLabelId");o(this,"_comparisonStartDateLabelId");o(this,"_comparisonEndDateLabelId");o(this,"_didDragSinceMouseDown",!1);o(this,"_injector",_(ct));o(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);o(this,"_trackRow",a=>a);o(this,"_enterHandler",a=>{if(this._skipNextFocus&&a.type==="focus"){this._skipNextFocus=!1;return}if(a.target&&this.isRange){let i=this._getCellFromElement(a.target);i&&this._ngZone.run(()=>this.previewChange.emit({value:i.enabled?i:null,event:a}))}});o(this,"_touchmoveHandler",a=>{if(!this.isRange)return;let i=cy(a),r=i?this._getCellFromElement(i):null;i!==a.target&&(this._didDragSinceMouseDown=!0),Ph(a.target)&&a.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:a}))});o(this,"_leaveHandler",a=>{this.previewEnd!==null&&this.isRange&&(a.type!=="blur"&&(this._didDragSinceMouseDown=!0),a.target&&this._getCellFromElement(a.target)&&!(a.relatedTarget&&this._getCellFromElement(a.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:a})))});o(this,"_mousedownHandler",a=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let i=a.target&&this._getCellFromElement(a.target);!i||!this._isInRange(i.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:i.rawValue,event:a})})});o(this,"_mouseupHandler",a=>{if(!this.isRange)return;let i=Ph(a.target);if(!i){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:a})});return}i.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(i);this.dragEnded.emit({value:(r==null?void 0:r.rawValue)??null,event:a})})});o(this,"_touchendHandler",a=>{let i=cy(a);i&&this._mouseupHandler({target:i})});let a=_(oi),i=_(ra);this._startDateLabelId=i.getId("mat-calendar-body-start-"),this._endDateLabelId=i.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=i.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=i.getId("mat-calendar-body-comparison-end-"),_(Aa).load(Bn),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[Ea(a,r,"touchmove",this._touchmoveHandler,kbe),Ea(a,r,"mouseenter",this._enterHandler,Dc),Ea(a,r,"focus",this._enterHandler,Dc),Ea(a,r,"mouseleave",this._leaveHandler,Dc),Ea(a,r,"blur",this._leaveHandler,Dc),Ea(a,r,"mousedown",this._mousedownHandler,ly),Ea(a,r,"touchstart",this._mousedownHandler,ly)];this._platform.isBrowser&&s.push(a.listen("window","mouseup",this._mouseupHandler),a.listen("window","touchend",this._touchendHandler)),this._eventCleanups=s})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(a,i){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:i})}_emitActiveDateChange(a,i){a.enabled&&this.activeDateChange.emit({value:a.value,event:i})}_isSelected(a){return this.startValue===a||this.endValue===a}ngOnChanges(a){let i=a.numCols,{rows:r,numCols:s}=this;(a.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?s-r[0].length:0),(a.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(i||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){this._eventCleanups.forEach(a=>a())}_isActiveCell(a,i){let r=a*this.numCols+i;return a&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(a=!0){Nn(()=>{setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(a||(this._skipNextFocus=!0),i.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(a){return Nh(a,this.startValue,this.endValue)}_isRangeEnd(a){return Lh(a,this.startValue,this.endValue)}_isInRange(a){return Fh(a,this.startValue,this.endValue,this.isRange)}_isComparisonStart(a){return Nh(a,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(a,i,r){if(!this._isComparisonStart(a)||this._isRangeStart(a)||!this._isInRange(a))return!1;let s=this.rows[i][r-1];if(!s){let l=this.rows[i-1];s=l&&l[l.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(a,i,r){if(!this._isComparisonEnd(a)||this._isRangeEnd(a)||!this._isInRange(a))return!1;let s=this.rows[i][r+1];if(!s){let l=this.rows[i+1];s=l&&l[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(a){return Lh(a,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(a){return Fh(a,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart}_isPreviewStart(a){return Nh(a,this.previewStart,this.previewEnd)}_isPreviewEnd(a){return Lh(a,this.previewStart,this.previewEnd)}_isInPreview(a){return Fh(a,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(a){if(!this.isRange)return null;if(this.startValue===a&&this.endValue===a)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===a)return this._startDateLabelId;if(this.endValue===a)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(a===this.comparisonStart&&a===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(a===this.comparisonStart)return this._comparisonStartDateLabelId;if(a===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_getCellFromElement(a){let i=Ph(a);if(i){let r=i.getAttribute("data-mat-row"),s=i.getAttribute("data-mat-col");if(r&&s)return this.rows[parseInt(r)][parseInt(s)]}return null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({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:[Kt],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(a,i){a&1&&(V(0,rbe,3,6,"tr",0),Ba(1,lbe,4,1,"tr",1,nbe,!0),D(3,"span",2),P(4),I(),D(5,"span",2),P(6),I(),D(7,"span",2),P(8),I(),D(9,"span",2),P(10),I()),a&2&&(W(i._firstRowOffset<i.labelMinRequiredCells?0:-1),S(),ja(i.rows),S(2),z("id",i._startDateLabelId),S(),ie(" ",i.startDateAccessibleName,`
35
+ `),S(),z("id",i._endDateLabelId),S(),ie(" ",i.endDateAccessibleName,`
36
+ `),S(),z("id",i._comparisonStartDateLabelId),S(),sr(" ",i.comparisonDateAccessibleName," ",i.startDateAccessibleName,`
37
+ `),S(),z("id",i._comparisonEndDateLabelId),S(),sr(" ",i.comparisonDateAccessibleName," ",i.endDateAccessibleName,`
38
+ `))},dependencies:[Eu],styles:[`.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0;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));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.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}}
39
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Rh(e){return(e==null?void 0:e.nodeName)==="TD"}function Ph(e){var n;let t;return Rh(e)?t=e:Rh(e.parentNode)?t=e.parentNode:Rh((n=e.parentNode)==null?void 0:n.parentNode)&&(t=e.parentNode.parentNode),(t==null?void 0:t.getAttribute("data-mat-row"))!=null?t:null}function Nh(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function Lh(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function Fh(e,t,n,a){return a&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function cy(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var wa=class{constructor(e,t){o(this,"start");o(this,"end");o(this,"_disableStructuralEquivalency");this.start=e,this.end=t}},lr=(()=>{const t=class t{constructor(a,i){o(this,"selection");o(this,"_adapter");o(this,"_selectionChanged",new ue);o(this,"selectionChanged",this._selectionChanged);this.selection=a,this._adapter=i,this.selection=a}updateSelection(a,i){let r=this.selection;this.selection=a,this._selectionChanged.next({selection:a,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(a){return this._adapter.isDateInstance(a)&&this._adapter.isValid(a)}};o(t,"ɵfac",function(a){qde()}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Cbe=(()=>{const t=class t extends lr{constructor(a){super(null,a)}add(a){super.updateSelection(a,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let a=new t(this._adapter);return a.updateSelection(this.selection,this),a}};o(t,"ɵfac",function(a){return new(a||t)(ke(Ca))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Sbe=(()=>{const t=class t extends lr{constructor(a){super(new wa(null,null),a)}add(a){let{start:i,end:r}=this.selection;i==null?i=a:r==null?r=a:(i=a,r=null),super.updateSelection(new wa(i,r),this)}isValid(){let{start:a,end:i}=this.selection;return a==null&&i==null?!0:a!=null&&i!=null?this._isValidDateInstance(a)&&this._isValidDateInstance(i)&&this._adapter.compareDate(a,i)<=0:(a==null||this._isValidDateInstance(a))&&(i==null||this._isValidDateInstance(i))}isComplete(){return this.selection.start!=null&&this.selection.end!=null}clone(){let a=new t(this._adapter);return a.updateSelection(this.selection,this),a}};o(t,"ɵfac",function(a){return new(a||t)(ke(Ca))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function Ebe(e,t){return e||new Cbe(t)}var Jk={provide:lr,deps:[[new Xo,new Jo,lr],Ca],useFactory:Ebe};function Dbe(e,t){return e||new Sbe(t)}var Ibe={provide:lr,deps:[[new Xo,new Jo,lr],Ca],useFactory:Dbe},sl=new Y("MAT_DATE_RANGE_SELECTION_STRATEGY"),Abe=(()=>{const t=class t{constructor(a){o(this,"_dateAdapter");this._dateAdapter=a}selectionFinished(a,i){let{start:r,end:s}=i;return r==null?r=a:s==null&&a&&this._dateAdapter.compareDate(a,r)>=0?s=a:(r=a,s=null),new wa(r,s)}createPreview(a,i){let r=null,s=null;return i.start&&!i.end&&a&&(r=i.start,s=a),new wa(r,s)}createDrag(a,i,r){let s=i.start,l=i.end;if(!s||!l)return null;let c=this._dateAdapter,d=c.compareDate(s,l)!==0,u=c.getYear(r)-c.getYear(a),p=c.getMonth(r)-c.getMonth(a),b=c.getDate(r)-c.getDate(a);return d&&c.sameDate(a,i.start)?(s=r,c.compareDate(r,l)>0&&(l=c.addCalendarYears(l,u),l=c.addCalendarMonths(l,p),l=c.addCalendarDays(l,b))):d&&c.sameDate(a,i.end)?(l=r,c.compareDate(r,s)<0&&(s=c.addCalendarYears(s,u),s=c.addCalendarMonths(s,p),s=c.addCalendarDays(s,b))):(s=c.addCalendarYears(s,u),s=c.addCalendarMonths(s,p),s=c.addCalendarDays(s,b),l=c.addCalendarYears(l,u),l=c.addCalendarMonths(l,p),l=c.addCalendarDays(l,b)),new wa(s,l)}};o(t,"ɵfac",function(a){return new(a||t)(ke(Ca))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function Tbe(e,t){return e||new Abe(t)}var Obe={provide:sl,deps:[[new Xo,new Jo,sl],Ca],useFactory:Tbe},Vh=7,Mbe=0,dy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(_t));o(this,"_dateFormats",_(to,{optional:!0}));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_rangeStrategy",_(sl,{optional:!0}));o(this,"_rerenderSubscription",Ge.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"activeDrag",null);o(this,"selectedChange",new ee);o(this,"_userSelection",new ee);o(this,"dragStarted",new ee);o(this,"dragEnded",new ee);o(this,"activeDateChange",new ee);o(this,"_matCalendarBody");o(this,"_monthLabel");o(this,"_weeks");o(this,"_firstWeekOffset");o(this,"_rangeStart");o(this,"_rangeEnd");o(this,"_comparisonRangeStart");o(this,"_comparisonRangeEnd");o(this,"_previewStart");o(this,"_previewEnd");o(this,"_isRange");o(this,"_todayDate");o(this,"_weekdays");_(Aa).load(io),this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(a){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}get selected(){return this._selected}set selected(a){a instanceof wa?this._selected=a:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(a){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get maxDate(){return this._maxDate}set maxDate(a){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Da(null)).subscribe(()=>this._init())}ngOnChanges(a){let i=a.comparisonStart||a.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),a.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(a){let i=a.value,r=this._getDateFromDayOfMonth(i),s,l;this._selected instanceof wa?(s=this._getDateInCurrentMonth(this._selected.start),l=this._getDateInCurrentMonth(this._selected.end)):s=l=this._getDateInCurrentMonth(this._selected),(s!==i||l!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:a.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(a){let i=a.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(a){let i=this._activeDate,r=this._isRtl();switch(a.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-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=a.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=a.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)&&a.preventDefault();return;case 27:this._previewEnd!=null&&!Va(a)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:a}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:a})),a.preventDefault(),a.stopPropagation());return;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),a.preventDefault()}_handleCalendarBodyKeyup(a){(a.keyCode===32||a.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),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 a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(Vh+this._dateAdapter.getDayOfWeek(a)-this._dateAdapter.getFirstDayOfWeek())%Vh,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(a){this._matCalendarBody._focusActiveCell(a)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:a,value:i}){var r,s;if(this._rangeStrategy){let l=i?i.rawValue:null,c=this._rangeStrategy.createPreview(l,this.selected,a);if(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end),this.activeDrag&&l){let d=(s=(r=this._rangeStrategy).createDrag)==null?void 0:s.call(r,this.activeDrag.value,this.selected,l,a);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(a){var i,r;if(this.activeDrag)if(a.value){let s=(r=(i=this._rangeStrategy)==null?void 0:i.createDrag)==null?void 0:r.call(i,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:s??null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})}_getDateFromDayOfMonth(a){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)}_initWeekdays(){let a=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((s,l)=>({long:s,narrow:i[l],id:Mbe++}));this._weekdays=r.slice(a).concat(r.slice(0,a))}_createWeekCells(){let a=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,s=this._firstWeekOffset;r<a;r++,s++){s==Vh&&(this._weeks.push([]),s=0);let l=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),c=this._shouldEnableDate(l),d=this._dateAdapter.format(l,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(l,"month"):void 0;this._weeks[this._weeks.length-1].push(new mg(r+1,i[r],d,c,u,this._getCellCompareValue(l),l))}}_shouldEnableDate(a){return!!a&&(!this.minDate||this._dateAdapter.compareDate(a,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(a,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(a))}_getDateInCurrentMonth(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null}_hasSameMonthAndYear(a,i){return!!(a&&i&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(i)&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(i))}_getCellCompareValue(a){if(a){let i=this._dateAdapter.getYear(a),r=this._dateAdapter.getMonth(a),s=this._dateAdapter.getDate(a);return new Date(i,r,s).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(a){a instanceof wa?(this._rangeStart=this._getCellCompareValue(a.start),this._rangeEnd=this._getCellCompareValue(a.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(a),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(a){return!this.dateFilter||this.dateFilter(a)}_clearPreview(){this._previewStart=this._previewEnd=null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-month-view"]],viewQuery:function(a,i){if(a&1&&Ye($o,5),a&2){let r;ye(r=_e())&&(i._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:[Kt],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(a,i){a&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),Ba(3,cbe,5,2,"th",2,Xk),I(),D(5,"tr",3),Z(6,"th",4),I()(),D(7,"tbody",5),xe("selectedValueChange",function(r){return i._dateSelected(r)})("activeDateChange",function(r){return i._updateActiveDate(r)})("previewChange",function(r){return i._previewChanged(r)})("dragStarted",function(r){return i.dragStarted.emit(r)})("dragEnded",function(r){return i._dragEnded(r)})("keyup",function(r){return i._handleCalendarBodyKeyup(r)})("keydown",function(r){return i._handleCalendarBodyKeydown(r)}),I()()),a&2&&(S(3),ja(i._weekdays),S(4),z("label",i._monthLabel)("rows",i._weeks)("todayValue",i._todayDate)("startValue",i._rangeStart)("endValue",i._rangeEnd)("comparisonStart",i._comparisonRangeStart)("comparisonEnd",i._comparisonRangeEnd)("previewStart",i._previewStart)("previewEnd",i._previewEnd)("isRange",i._isRange)("labelMinRequiredCells",3)("activeCell",i._dateAdapter.getDate(i.activeDate)-1)("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName))},dependencies:[$o],encapsulation:2,changeDetection:0}));let e=t;return e})(),Xi=24,uy=4,hy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(_t));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_rerenderSubscription",Ge.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new ee);o(this,"yearSelected",new ee);o(this,"activeDateChange",new ee);o(this,"_matCalendarBody");o(this,"_years");o(this,"_todayYear");o(this,"_selectedYear");this._dateAdapter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(a){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),eC(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(a){a instanceof wa?this._selected=a:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a)),this._setSelectedYear(a)}get minDate(){return this._minDate}set minDate(a){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get maxDate(){return this._maxDate}set maxDate(a){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Da(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let a=this._dateAdapter.getYear(this._activeDate)-Ps(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let i=0,r=[];i<Xi;i++)r.push(a+i),r.length==uy&&(this._years.push(r.map(s=>this._createCellForYear(s))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(a){let i=a.value,r=this._dateAdapter.createDate(i,0,1),s=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(s)}_updateActiveDate(a){let i=a.value,r=this._activeDate;this.activeDate=this._getDateFromYear(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(a){let i=this._activeDate,r=this._isRtl();switch(a.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,uy);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ps(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xi-Ps(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a.altKey?-24*10:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a.altKey?Xi*10:Xi);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),a.preventDefault()}_handleCalendarBodyKeyup(a){(a.keyCode===32||a.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ps(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(a){let i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(a,i,1));return this._dateAdapter.createDate(a,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(a){let i=this._dateAdapter.createDate(a,0,1),r=this._dateAdapter.getYearName(i),s=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new mg(a,r,r,this._shouldEnableYear(a),s)}_shouldEnableYear(a){if(a==null||this.maxDate&&a>this._dateAdapter.getYear(this.maxDate)||this.minDate&&a<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let i=this._dateAdapter.createDate(a,0,1);for(let r=i;this._dateAdapter.getYear(r)==a;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(a){if(this._selectedYear=null,a instanceof wa){let i=a.start||a.end;i&&(this._selectedYear=this._dateAdapter.getYear(i))}else a&&(this._selectedYear=this._dateAdapter.getYear(a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(a,i){if(a&1&&Ye($o,5),a&2){let r;ye(r=_e())&&(i._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(a,i){a&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),Z(3,"th",2),I()(),D(4,"tbody",3),xe("selectedValueChange",function(r){return i._yearSelected(r)})("activeDateChange",function(r){return i._updateActiveDate(r)})("keyup",function(r){return i._handleCalendarBodyKeyup(r)})("keydown",function(r){return i._handleCalendarBodyKeydown(r)}),I()()),a&2&&(S(4),z("rows",i._years)("todayValue",i._todayYear)("startValue",i._selectedYear)("endValue",i._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",i._getActiveCell()))},dependencies:[$o],encapsulation:2,changeDetection:0}));let e=t;return e})();function eC(e,t,n,a,i){let r=e.getYear(t),s=e.getYear(n),l=tC(e,a,i);return Math.floor((r-l)/Xi)===Math.floor((s-l)/Xi)}function Ps(e,t,n,a){let i=e.getYear(t);return Rbe(i-tC(e,n,a),Xi)}function tC(e,t,n){let a=0;return n?a=e.getYear(n)-Xi+1:t&&(a=e.getYear(t)),a}function Rbe(e,t){return(e%t+t)%t}var py=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(_t));o(this,"_dateFormats",_(to,{optional:!0}));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_rerenderSubscription",Ge.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new ee);o(this,"monthSelected",new ee);o(this,"activeDateChange",new ee);o(this,"_matCalendarBody");o(this,"_months");o(this,"_yearLabel");o(this,"_todayMonth");o(this,"_selectedMonth");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(a){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(a){a instanceof wa?this._selected=a:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a)),this._setSelectedMonth(a)}get minDate(){return this._minDate}set minDate(a){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get maxDate(){return this._maxDate}set maxDate(a){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Da(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(a){let i=a.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);let s=this._getDateFromMonth(i);this.selectedChange.emit(s)}_updateActiveDate(a){let i=a.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(a){let i=this._activeDate,r=this._isRtl();switch(a.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-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,a.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),a.preventDefault()}_handleCalendarBodyKeyup(a){(a.keyCode===32||a.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let a=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,a[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null}_getDateFromMonth(a){let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(a,i){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1),s=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),l=this.dateClass?this.dateClass(r,"year"):void 0;return new mg(a,i.toLocaleUpperCase(),s,this._shouldEnableMonth(a),l)}_shouldEnableMonth(a){let i=this._dateAdapter.getYear(this.activeDate);if(a==null||this._isYearAndMonthAfterMaxDate(i,a)||this._isYearAndMonthBeforeMinDate(i,a))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(i,a,1);for(let s=r;this._dateAdapter.getMonth(s)==a;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isYearAndMonthAfterMaxDate(a,i){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),s=this._dateAdapter.getMonth(this.maxDate);return a>r||a===r&&i>s}return!1}_isYearAndMonthBeforeMinDate(a,i){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),s=this._dateAdapter.getMonth(this.minDate);return a<r||a===r&&i<s}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(a){a instanceof wa?this._selectedMonth=this._getMonthInCurrentYear(a.start)||this._getMonthInCurrentYear(a.end):this._selectedMonth=this._getMonthInCurrentYear(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-year-view"]],viewQuery:function(a,i){if(a&1&&Ye($o,5),a&2){let r;ye(r=_e())&&(i._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(a,i){a&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),Z(3,"th",2),I()(),D(4,"tbody",3),xe("selectedValueChange",function(r){return i._monthSelected(r)})("activeDateChange",function(r){return i._updateActiveDate(r)})("keyup",function(r){return i._handleCalendarBodyKeyup(r)})("keydown",function(r){return i._handleCalendarBodyKeydown(r)}),I()()),a&2&&(S(4),z("label",i._yearLabel)("rows",i._months)("todayValue",i._todayMonth)("startValue",i._selectedMonth)("endValue",i._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",i._dateAdapter.getMonth(i.activeDate)))},dependencies:[$o],encapsulation:2,changeDetection:0}));let e=t;return e})(),aC=(()=>{const t=class t{constructor(){o(this,"_intl",_(fs));o(this,"calendar",_(sm));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dateFormats",_(to,{optional:!0}));o(this,"_periodButtonLabelId",_(ra).getId("mat-calendar-period-label-"));_(Aa).load(io);let a=_(_t);this.calendar.stateChanges.subscribe(()=>a.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:-24)}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:Xi)}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(a,i){return this.calendar.currentView=="month"?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(i):this.calendar.currentView=="year"?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(i):eC(this._dateAdapter,a,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let a=this._dateAdapter.getYear(this.calendar.activeDate)-Ps(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),i=a+Xi-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1)),s=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1));return[r,s]}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:dbe,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(a,i){a&1&&(Ct(),D(0,"div",0)(1,"div",1)(2,"span",2),P(3),I(),D(4,"button",3),xe("click",function(){return i.currentPeriodClicked()}),D(5,"span",4),P(6),I(),ir(),D(7,"svg",5),Z(8,"polygon",6),I()(),Ib(),Z(9,"div",7),Me(10),D(11,"button",8),xe("click",function(){return i.previousClicked()}),ir(),D(12,"svg",9),Z(13,"path",10),I()(),Ib(),D(14,"button",11),xe("click",function(){return i.nextClicked()}),ir(),D(15,"svg",9),Z(16,"path",12),I()()()()),a&2&&(S(2),z("id",i._periodButtonLabelId),S(),te(i.periodButtonDescription),S(),be("aria-label",i.periodButtonLabel)("aria-describedby",i._periodButtonLabelId),S(2),te(i.periodButtonText),S(),Ee("mat-calendar-invert",i.calendar.currentView!=="month"),S(4),z("disabled",!i.previousEnabled()),be("aria-label",i.prevButtonLabel),S(3),z("disabled",!i.nextEnabled()),be("aria-label",i.nextButtonLabel))},dependencies:[jn,Fl],encapsulation:2,changeDetection:0}));let e=t;return e})(),sm=(()=>{const t=class t{constructor(){o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dateFormats",_(to,{optional:!0}));o(this,"_changeDetectorRef",_(_t));o(this,"_elementRef",_(Te));o(this,"headerComponent");o(this,"_calendarHeaderPortal");o(this,"_intlChanges");o(this,"_moveFocusOnNextTick",!1);o(this,"_startAt");o(this,"startView","month");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedChange",new ee);o(this,"yearSelected",new ee);o(this,"monthSelected",new ee);o(this,"viewChanged",new ee(!0));o(this,"_userSelection",new ee);o(this,"_userDragDrop",new ee);o(this,"monthView");o(this,"yearView");o(this,"multiYearView");o(this,"_clampedActiveDate");o(this,"_currentView");o(this,"_activeDrag",null);o(this,"stateChanges",new ue);this._intlChanges=_(fs).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(a){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get selected(){return this._selected}set selected(a){a instanceof wa?this._selected=a:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get minDate(){return this._minDate}set minDate(a){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get maxDate(){return this._maxDate}set maxDate(a){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get activeDate(){return this._clampedActiveDate}set activeDate(a){this._clampedActiveDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(a){let i=this._currentView!==a?a:null;this._currentView=a,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}ngAfterContentInit(){this._calendarHeaderPortal=new Yr(this.headerComponent||aC),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(a){let i=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,r=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0,s=i||r||a.dateFilter;if(s&&!s.firstChange){let l=this._getCurrentViewComponent();l&&(this._elementRef.nativeElement.contains(Oo())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),l._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(a){let i=a.value;(this.selected instanceof wa||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(a)}_yearSelectedInMultiYearView(a){this.yearSelected.emit(a)}_monthSelectedInYearView(a){this.monthSelected.emit(a)}_goToDateInView(a,i){this.activeDate=a,this.currentView=i}_dragStarted(a){this._activeDrag=a}_dragEnded(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-calendar"]],viewQuery:function(a,i){if(a&1&&(Ye(dy,5),Ye(py,5),Ye(hy,5)),a&2){let r;ye(r=_e())&&(i.monthView=r.first),ye(r=_e())&&(i.yearView=r.first),ye(r=_e())&&(i.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:[st([Jk]),Kt],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(a,i){if(a&1&&(V(0,ube,0,0,"ng-template",0),D(1,"div",1),V(2,hbe,1,11,"mat-month-view",2)(3,pbe,1,6,"mat-year-view",3)(4,mbe,1,6,"mat-multi-year-view",3),I()),a&2){let r;z("cdkPortalOutlet",i._calendarHeaderPortal),S(2),W((r=i.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[ln,Xf,dy,py,hy],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:""}
40
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),iC=new Y("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(si);return()=>e.scrollStrategies.reposition()}});function Pbe(e){return()=>e.scrollStrategies.reposition()}var Nbe={provide:iC,deps:[si],useFactory:Pbe},nC=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_animationsDisabled",_(Ia,{optional:!0})==="NoopAnimations");o(this,"_changeDetectorRef",_(_t));o(this,"_globalModel",_(lr));o(this,"_dateAdapter",_(Ca));o(this,"_ngZone",_(Ne));o(this,"_rangeSelectionStrategy",_(sl,{optional:!0}));o(this,"_stateChanges");o(this,"_model");o(this,"_eventCleanups");o(this,"_animationFallback");o(this,"_calendar");o(this,"color");o(this,"datepicker");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"_isAbove");o(this,"_animationDone",new ue);o(this,"_isAnimating",!1);o(this,"_closeButtonText");o(this,"_closeButtonFocused");o(this,"_actionsPortal",null);o(this,"_dialogLabelId");o(this,"_handleAnimationEvent",a=>{let i=this._elementRef.nativeElement;a.target!==i||!a.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=a.type==="animationstart",i.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())});if(_(Aa).load(io),this._closeButtonText=_(fs).closeCalendarLabel,!this._animationsDisabled){let a=this._elementRef.nativeElement,i=_(oi);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(a,"animationstart",this._handleAnimationEvent),i.listen(a,"animationend",this._handleAnimationEvent),i.listen(a,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){var a,i;clearTimeout(this._animationFallback),(a=this._eventCleanups)==null||a.forEach(r=>r()),(i=this._stateChanges)==null||i.unsubscribe(),this._animationDone.complete()}_handleUserSelection(a){let i=this._model.selection,r=a.value,s=i instanceof wa;if(s&&this._rangeSelectionStrategy){let l=this._rangeSelectionStrategy.selectionFinished(r,i,a.event);this._model.updateSelection(l,this)}else r&&(s||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(a){this._model.updateSelection(a.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))}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(a,i){this._model=a?this._globalModel.clone():this._globalModel,this._actionsPortal=a,i&&this._changeDetectorRef.detectChanges()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(a,i){if(a&1&&Ye(sm,5),a&2){let r;ye(r=_e())&&(i._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(a,i){a&2&&(Ci(i.color?"mat-"+i.color:""),Ee("mat-datepicker-content-touch",i.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!i._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(a,i){if(a&1&&(D(0,"div",0)(1,"mat-calendar",1),xe("yearSelected",function(r){return i.datepicker._selectYear(r)})("monthSelected",function(r){return i.datepicker._selectMonth(r)})("viewChanged",function(r){return i.datepicker._viewChanged(r)})("_userSelection",function(r){return i._handleUserSelection(r)})("_userDragDrop",function(r){return i._handleUserDragDrop(r)}),I(),V(2,fbe,0,0,"ng-template",2),D(3,"button",3),xe("focus",function(){return i._closeButtonFocused=!0})("blur",function(){return i._closeButtonFocused=!1})("click",function(){return i.datepicker.close()}),P(4),I()()),a&2){let r;Ee("mat-datepicker-content-container-with-custom-header",i.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",i._actionsPortal),be("aria-modal",!0)("aria-labelledby",(r=i._dialogLabelId)!==null&&r!==void 0?r:void 0),S(),Ci(i.datepicker.panelClass),z("id",i.datepicker.id)("startAt",i.datepicker.startAt)("startView",i.datepicker.startView)("minDate",i.datepicker._getMinDate())("maxDate",i.datepicker._getMaxDate())("dateFilter",i.datepicker._getDateFilter())("headerComponent",i.datepicker.calendarHeaderComponent)("selected",i._getSelected())("dateClass",i.datepicker.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName),S(),z("cdkPortalOutlet",i._actionsPortal),S(),Ee("cdk-visually-hidden",!i._closeButtonFocused),z("color",i.color||"primary"),S(),te(i._closeButtonText)}},dependencies:[nfe,sm,ln,jn],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}}
41
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Md=(()=>{const t=class t{constructor(){o(this,"_overlay",_(si));o(this,"_viewContainerRef",_(Qa));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_model",_(lr));o(this,"_scrollStrategy",_(iC));o(this,"_inputStateChanges",Ge.EMPTY);o(this,"_document",_(at));o(this,"calendarHeaderComponent");o(this,"_startAt");o(this,"startView","month");o(this,"_color");o(this,"touchUi",!1);o(this,"_disabled");o(this,"xPosition","start");o(this,"yPosition","below");o(this,"restoreFocus",!0);o(this,"yearSelected",new ee);o(this,"monthSelected",new ee);o(this,"viewChanged",new ee(!0));o(this,"dateClass");o(this,"openedStream",new ee);o(this,"closedStream",new ee);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",_(ra).getId("mat-datepicker-"));o(this,"_overlayRef");o(this,"_componentRef");o(this,"_focusedElementBeforeOpen",null);o(this,"_backdropHarnessClass",`${this.id}-backdrop`);o(this,"_actionsPortal");o(this,"datepickerInput");o(this,"stateChanges",new ue);o(this,"_injector",_(ct));o(this,"_changeDetectorRef",_(_t));this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(a){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(a){this._color=a}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(a){a!==this._disabled&&(this._disabled=a,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(a){this._panelClass=bfe(a)}get opened(){return this._opened}set opened(a){a?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(a){let i=a.xPosition||a.yPosition;if(i&&!i.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof bk&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(a){this._model.add(a)}_selectYear(a){this.yearSelected.emit(a)}_selectMonth(a){this.monthSelected.emit(a)}_viewChanged(a){this.viewChanged.emit(a)}registerInput(a){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=a,this._inputStateChanges=a.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(a){var i;this._actionsPortal,this._actionsPortal=a,(i=this._componentRef)==null||i.instance._assignActions(a,!0)}removeActions(a){var i;a===this._actionsPortal&&(this._actionsPortal=null,(i=this._componentRef)==null||i.instance._assignActions(null,!0))}open(){var a;this._opened||this.disabled||(a=this._componentRef)!=null&&a.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Oo(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let a=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:s,location:l}=this._componentRef;s._animationDone.pipe($a(1)).subscribe(()=>{let c=this._document.activeElement;a&&(!c||c===this._document.activeElement||l.nativeElement.contains(c))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),s._startExitAnimation()}a?setTimeout(i):i()}_applyPendingSelection(){var a,i;(i=(a=this._componentRef)==null?void 0:a.instance)==null||i._applyPendingSelection()}_forwardContentValues(a){a.datepicker=this,a.color=this.color,a._dialogLabelId=this.datepickerInput.getOverlayLabelId(),a._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let a=this.touchUi,i=new Yr(nC,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new Ll({positionStrategy:a?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[a?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:a?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${a?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(s=>{s&&s.preventDefault(),this.close()}),r.keydownEvents().subscribe(s=>{let l=s.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&s.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),a||Nn(()=>{r.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 a=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(a)}_setConnectedPositions(a){let i=this.xPosition==="end"?"end":"start",r=i==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",l=s==="top"?"bottom":"top";return a.withPositions([{originX:i,originY:l,overlayX:i,overlayY:s},{originX:i,originY:s,overlayX:i,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:l}])}_getCloseStream(a){let i=["ctrlKey","shiftKey","metaKey"];return ha(a.backdropClick(),a.detachments(),a.keydownEvents().pipe(ea(r=>r.keyCode===27&&!Va(r)||this.datepickerInput&&Va(r,"altKey")&&r.keyCode===38&&i.every(s=>!Va(r,s)))))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",pe],disabled:[2,"disabled","disabled",pe],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",pe],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",pe]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Kt]}));let e=t;return e})(),Lbe=(()=>{const t=class t extends Md{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[st([Jk,{provide:Md,useExisting:t}]),ze],decls:0,vars:0,template:function(a,i){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Ic=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},rC=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_dateFormats",_(to,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new ee);o(this,"dateInput",new ee);o(this,"stateChanges",new ue);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",Ge.EMPTY);o(this,"_localeSubscription",Ge.EMPTY);o(this,"_pendingValue");o(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});o(this,"_filterValidator",a=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!i||this._matchesFilter(i)?null:{matDatepickerFilter:!0}});o(this,"_minValidator",a=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),r=this._getMinDate();return!r||!i||this._dateAdapter.compareDate(r,i)<=0?null:{matDatepickerMin:{min:r,actual:i}}});o(this,"_maxValidator",a=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),r=this._getMaxDate();return!r||!i||this._dateAdapter.compareDate(r,i)>=0?null:{matDatepickerMax:{max:r,actual:i}}});o(this,"_lastValueValid",!1);this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(a){this._assignValueProgrammatically(a)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(a){let i=a,r=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(a){this._model=a,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){let r=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Ic(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ic(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(a){oC(a,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(a){this._validatorOnChange=a}validate(a){return this._validator?this._validator(a):null}writeValue(a){this._assignValueProgrammatically(a)}registerOnChange(a){this._cvaOnChange=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this.disabled=a}_onKeydown(a){let i=["ctrlKey","shiftKey","metaKey"];Va(a,"altKey")&&a.keyCode===40&&i.every(r=>!Va(a,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())}_onInput(a){let i=this._lastValueValid,r=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let s=!this._dateAdapter.sameDate(r,this.value);!r||s?this._cvaOnChange(r):(a&&!this.value&&this._cvaOnChange(r),i!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(r),this.dateInput.emit(new Ic(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ic(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(a){this._elementRef.nativeElement.value=a!=null?this._dateAdapter.format(a,this._dateFormats.display.dateInput):""}_assignValue(a){this._model?(this._assignValueToModel(a),this._pendingValue=null):this._pendingValue=a}_isValidValue(a){return!a||this._dateAdapter.isValid(a)}_parentDisabled(){return!1}_assignValueProgrammatically(a){a=this._dateAdapter.deserialize(a),this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a),this._assignValue(a),this._formatValue(a)}_matchesFilter(a){let i=this._getDateFilter();return!i||i(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",pe]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Kt]}));let e=t;return e})();function oC(e,t){let n=Object.keys(e);for(let a of n){let{previousValue:i,currentValue:r}=e[a];if(t.isDateInstance(i)&&t.isDateInstance(r)){if(!t.sameDate(i,r))return!0}else return!0}return!1}var Fbe={provide:Ou,useExisting:Kr(()=>fg),multi:!0},Vbe={provide:Vl,useExisting:Kr(()=>fg),multi:!0},fg=(()=>{const t=class t extends rC{constructor(){super();o(this,"_formField",_(Bl,{optional:!0}));o(this,"_closedSubscription",Ge.EMPTY);o(this,"_openedSubscription",Ge.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",Ga(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=ps.compose(super._getValidators())}set matDatepicker(i){i&&(this._datepicker=i,this._ariaOwns.set(i.opened?i.id:null),this._closedSubscription=i.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=i.openedStream.subscribe(()=>{this._ariaOwns.set(i.id)}),this._registerModel(i.registerInput(this)))}get min(){return this._min}set min(i){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(i){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(i){let r=this._matchesFilter(this.value);this._dateFilter=i,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}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(i){return i}_assignValueToModel(i){this._model&&this._model.updateSelection(i,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(i){return i.source!==this}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,r){i&1&&xe("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(s){return r._onKeydown(s)}),i&2&&(un("disabled",r.disabled),be("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[st([Fbe,Vbe,{provide:Gk,useExisting:t}]),ze]}));let e=t;return e})(),zbe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),Bbe=(()=>{const t=class t{constructor(){o(this,"_intl",_(fs));o(this,"_changeDetectorRef",_(_t));o(this,"_stateChanges",Ge.EMPTY);o(this,"datepicker");o(this,"tabIndex");o(this,"ariaLabel");o(this,"_disabled");o(this,"disableRipple");o(this,"_customIcon");o(this,"_button");let a=_(new rs("tabindex"),{optional:!0}),i=Number(a);this.tabIndex=i||i===0?i:null}get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(a){this._disabled=a}ngOnChanges(a){a.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(a){this.datepicker&&!this.disabled&&(this.datepicker.open(),a.stopPropagation())}_watchStateChanges(){let a=this.datepicker?this.datepicker.stateChanges:Dt(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Dt(),r=this.datepicker?ha(this.datepicker.openedStream,this.datepicker.closedStream):Dt();this._stateChanges.unsubscribe(),this._stateChanges=ha(this._intl.changes,a,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,i,r){if(a&1&&ht(r,zbe,5),a&2){let s;ye(s=_e())&&(i._customIcon=s.first)}},viewQuery:function(a,i){if(a&1&&Ye(gbe,5),a&2){let r;ye(r=_e())&&(i._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,i){a&1&&xe("click",function(r){return i._open(r)}),a&2&&(be("tabindex",null)("data-mat-calendar",i.datepicker?i.datepicker.id:null),Ee("mat-datepicker-toggle-active",i.datepicker&&i.datepicker.opened)("mat-accent",i.datepicker&&i.datepicker.color==="accent")("mat-warn",i.datepicker&&i.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",pe],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Kt],ngContentSelectors:vbe,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(a,i){a&1&&(Ct(bbe),D(0,"button",1,0),V(2,ybe,2,0,":svg:svg",2),Me(3),I()),a&2&&(z("disabled",i.disabled)("disableRipple",i.disableRipple),be("aria-haspopup",i.datepicker?"dialog":null)("aria-label",i.ariaLabel||i._intl.openCalendarLabel)("tabindex",i.disabled?-1:i.tabIndex)("aria-expanded",i.datepicker?i.datepicker.opened:null),S(2),W(i._customIcon?-1:2))},dependencies:[Fl],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}}
42
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),sC=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(_t));o(this,"_elementRef",_(Te));o(this,"_dateAdapter",_(Ca,{optional:!0}));o(this,"_formField",_(Bl,{optional:!0}));o(this,"_closedSubscription",Ge.EMPTY);o(this,"_openedSubscription",Ge.EMPTY);o(this,"_startInput");o(this,"_endInput");o(this,"id",_(ra).getId("mat-date-range-input-"));o(this,"focused",!1);o(this,"controlType","mat-date-range-input");o(this,"_rangePicker");o(this,"_ariaOwns",Ga(null));o(this,"_required");o(this,"_dateFilter");o(this,"_min");o(this,"_max");o(this,"_groupDisabled",!1);o(this,"_ariaDescribedBy",null);o(this,"_model");o(this,"separator","–");o(this,"comparisonStart",null);o(this,"comparisonEnd",null);o(this,"ngControl");o(this,"stateChanges",new ue);o(this,"disableAutomaticLabeling",!0);var a;this._dateAdapter,(a=this._formField)!=null&&a._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&this._elementRef.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=_(zl,{optional:!0,self:!0})}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var r,s;let a=((r=this._startInput)==null?void 0:r._getPlaceholder())||"",i=((s=this._endInput)==null?void 0:s._getPlaceholder())||"";return a||i?`${a} ${this.separator} ${i}`:""}get rangePicker(){return this._rangePicker}set rangePicker(a){a&&(this._model=a.registerInput(this),this._rangePicker=a,this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this._ariaOwns.set(this.rangePicker.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(()=>{var i,r;(i=this._startInput)==null||i._onTouched(),(r=this._endInput)==null||r._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(()=>{this._ariaOwns.set(a.id)}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(a){this._required=a}get dateFilter(){return this._dateFilter}set dateFilter(a){let i=this._startInput,r=this._endInput,s=i&&i._matchesFilter(i.value),l=r&&r._matchesFilter(i.value);this._dateFilter=a,i&&i._matchesFilter(i.value)!==s&&i._validatorOnChange(),r&&r._matchesFilter(r.value)!==l&&r._validatorOnChange()}get min(){return this._min}set min(a){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._revalidate())}get max(){return this._max}set max(a){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(a){a!==this._groupDisabled&&(this._groupDisabled=a,this.stateChanges.next(void 0))}get errorState(){return this._startInput&&this._endInput?this._startInput.errorState||this._endInput.errorState:!1}get empty(){let a=this._startInput?this._startInput.isEmpty():!1,i=this._endInput?this._endInput.isEmpty():!1;return a&&i}setDescribedByIds(a){this._ariaDescribedBy=a.length?a.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(!this._model||!this._model.selection.start?this._startInput.focus():this._endInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),ha(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(a){oC(a,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(a){let i=a==="start"?this._startInput:this._endInput;return i?i.getMirrorValue():""}_shouldHidePlaceholders(){return this._startInput?!this._startInput.isEmpty():!1}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){let a=this._formField;return a&&a._hasFloatingLabel()?a._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(a){this.focused=a!==null,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(a){this._startInput&&this._startInput._registerModel(a),this._endInput&&this._endInput._registerModel(a)}_isTargetRequired(a){var i,r;return(r=(i=a==null?void 0:a.ngControl)==null?void 0:i.control)==null?void 0:r.hasValidator(ps.required)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-date-range-input"]],hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(a,i){a&2&&(be("id",i.id)("aria-labelledby",i._getAriaLabelledby())("aria-describedby",i._ariaDescribedBy)("data-mat-calendar",i.rangePicker?i.rangePicker.id:null),Ee("mat-date-range-input-hide-placeholders",i._shouldHidePlaceholders())("mat-date-range-input-required",i.required))},inputs:{rangePicker:"rangePicker",required:[2,"required","required",pe],dateFilter:"dateFilter",min:"min",max:"max",disabled:[2,"disabled","disabled",pe],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[st([{provide:Nu,useExisting:t}]),Kt],ngContentSelectors:xbe,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(a,i){a&1&&(Ct(_be),D(0,"div",0),xe("cdkFocusChange",function(r){return i._updateFocus(r)}),D(1,"div",1),Me(2),D(3,"span",2),P(4),I()(),D(5,"span",3),P(6),I(),D(7,"div",4),Me(8,1),D(9,"span",2),P(10),I()()()),a&2&&(S(4),te(i._getInputMirrorValue("start")),S(),Ee("mat-date-range-input-separator-hidden",i._shouldHideSeparator()),S(),te(i.separator),S(4),te(i._getInputMirrorValue("end")))},dependencies:[Xf],styles:[`.mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color, var(--mat-sys-on-surface))}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}
43
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function jbe(e){return lm(e,!0)}function my(e){return e.nodeType===Node.ELEMENT_NODE}function Hbe(e){return e.nodeName==="INPUT"}function Ube(e){return e.nodeName==="TEXTAREA"}function lm(e,t){var n,a,i,r,s,l;if(my(e)&&t){let c=(((a=(n=e.getAttribute)==null?void 0:n.call(e,"aria-labelledby"))==null?void 0:a.split(/\s+/g))||[]).reduce((d,u)=>{let p=document.getElementById(u);return p&&d.push(p),d},[]);if(c.length)return c.map(d=>lm(d,!1)).join(" ")}if(my(e)){let c=(i=e.getAttribute("aria-label"))==null?void 0:i.trim();if(c)return c}if(Hbe(e)||Ube(e)){if((r=e.labels)!=null&&r.length)return Array.from(e.labels).map(u=>lm(u,!1)).join(" ");let c=(s=e.getAttribute("placeholder"))==null?void 0:s.trim();if(c)return c;let d=(l=e.getAttribute("title"))==null?void 0:l.trim();if(d)return d}return(e.textContent||"").replace(/\s+/g," ").trim()}var lC=(()=>{const t=class t extends rC{constructor(){super();o(this,"_rangeInput",_(sC));o(this,"_elementRef",_(Te));o(this,"_defaultErrorStateMatcher",_(hg));o(this,"_injector",_(ct));o(this,"_parentForm",_(Ru,{optional:!0}));o(this,"_parentFormGroup",_(Pu,{optional:!0}));o(this,"ngControl");o(this,"_dir",_(Ma,{optional:!0}));o(this,"_errorStateTracker");this._errorStateTracker=new pg(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}ngOnInit(){let i=this._injector.get(dg,null,{optional:!0,self:!0});i&&(this.ngControl=i,this._errorStateTracker.ngControl=i)}ngAfterContentInit(){this._register()}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return this._elementRef.nativeElement.value.length===0}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){let i=this._elementRef.nativeElement,r=i.value;return r.length>0?r:i.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(i){super._onInput(i),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:i}){return i!==this._rangeInput._startInput&&i!==this._rangeInput._endInput}_assignValueProgrammatically(i){var r;super._assignValueProgrammatically(i),(r=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)==null||r._validatorOnChange()}_formatValue(i){super._formatValue(i),this._rangeInput._handleChildValueChange()}_getAccessibleName(){return jbe(this._elementRef.nativeElement)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,inputs:{errorStateMatcher:"errorStateMatcher"},features:[ze]}));let e=t;return e})(),Wbe=(()=>{const t=class t extends lC{constructor(){super(...arguments);o(this,"_startValidator",i=>{let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),s=this._model?this._model.selection.end:null;return!r||!s||this._dateAdapter.compareDate(r,s)<=0?null:{matStartDateInvalid:{end:s,actual:r}}});o(this,"_validator",ps.compose([...super._getValidators(),this._startValidator]))}_register(){this._rangeInput._startInput=this}_getValueFromModel(i){return i.start}_shouldHandleChangeEvent(i){var r;return super._shouldHandleChangeEvent(i)?(r=i.oldValue)!=null&&r.start?!i.selection.start||!!this._dateAdapter.compareDate(i.oldValue.start,i.selection.start):!!i.selection.start:!1}_assignValueToModel(i){if(this._model){let r=new wa(i,this._model.selection.end);this._model.updateSelection(r,this),this._rangeInput._handleChildValueChange()}}_onKeydown(i){var c;let r=this._rangeInput._endInput,s=this._elementRef.nativeElement,l=((c=this._dir)==null?void 0:c.value)!=="rtl";(i.keyCode===39&&l||i.keyCode===37&&!l)&&s.selectionStart===s.value.length&&s.selectionEnd===s.value.length?(i.preventDefault(),r._elementRef.nativeElement.setSelectionRange(0,0),r.focus()):super._onKeydown(i)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(i,r){i&1&&xe("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("keydown",function(s){return r._onKeydown(s)})("blur",function(){return r._onBlur()}),i&2&&(un("disabled",r.disabled),be("aria-haspopup",r._rangeInput.rangePicker?"dialog":null)("aria-owns",r._rangeInput._ariaOwns?r._rangeInput._ariaOwns():(r._rangeInput.rangePicker==null?null:r._rangeInput.rangePicker.opened)&&r._rangeInput.rangePicker.id||null)("min",r._getMinDate()?r._dateAdapter.toIso8601(r._getMinDate()):null)("max",r._getMaxDate()?r._dateAdapter.toIso8601(r._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[st([{provide:Ou,useExisting:t,multi:!0},{provide:Vl,useExisting:t,multi:!0}]),ze]}));let e=t;return e})(),qbe=(()=>{const t=class t extends lC{constructor(){super(...arguments);o(this,"_endValidator",i=>{let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),s=this._model?this._model.selection.start:null;return!r||!s||this._dateAdapter.compareDate(r,s)>=0?null:{matEndDateInvalid:{start:s,actual:r}}});o(this,"_validator",ps.compose([...super._getValidators(),this._endValidator]))}_register(){this._rangeInput._endInput=this}_getValueFromModel(i){return i.end}_shouldHandleChangeEvent(i){var r;return super._shouldHandleChangeEvent(i)?(r=i.oldValue)!=null&&r.end?!i.selection.end||!!this._dateAdapter.compareDate(i.oldValue.end,i.selection.end):!!i.selection.end:!1}_assignValueToModel(i){if(this._model){let r=new wa(this._model.selection.start,i);this._model.updateSelection(r,this)}}_moveCaretToEndOfStartInput(){let i=this._rangeInput._startInput._elementRef.nativeElement,r=i.value;r.length>0&&i.setSelectionRange(r.length,r.length),i.focus()}_onKeydown(i){var l;let r=this._elementRef.nativeElement,s=((l=this._dir)==null?void 0:l.value)!=="rtl";i.keyCode===8&&!r.value?this._moveCaretToEndOfStartInput():(i.keyCode===37&&s||i.keyCode===39&&!s)&&r.selectionStart===0&&r.selectionEnd===0?(i.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(i)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(i,r){i&1&&xe("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("keydown",function(s){return r._onKeydown(s)})("blur",function(){return r._onBlur()}),i&2&&(un("disabled",r.disabled),be("aria-haspopup",r._rangeInput.rangePicker?"dialog":null)("aria-owns",r._rangeInput._ariaOwns?r._rangeInput._ariaOwns():(r._rangeInput.rangePicker==null?null:r._rangeInput.rangePicker.opened)&&r._rangeInput.rangePicker.id||null)("min",r._getMinDate()?r._dateAdapter.toIso8601(r._getMinDate()):null)("max",r._getMaxDate()?r._dateAdapter.toIso8601(r._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[st([{provide:Ou,useExisting:t,multi:!0},{provide:Vl,useExisting:t,multi:!0}]),ze]}));let e=t;return e})(),$be=(()=>{const t=class t extends Md{_forwardContentValues(a){super._forwardContentValues(a);let i=this.datepickerInput;i&&(a.comparisonStart=i.comparisonStart,a.comparisonEnd=i.comparisonEnd,a.startDateAccessibleName=i._getStartDateAccessibleName(),a.endDateAccessibleName=i._getEndDateAccessibleName())}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[st([Ibe,Obe,{provide:Md,useExisting:t}]),ze],decls:0,vars:0,template:function(a,i){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Ybe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[fs,Nbe],imports:[Xa,Au,ok,qo,Nt,nC,Bbe,aC,Ed]}));let e=t;return e})(),cm=new Y(""),cC=(()=>{const t=class t{constructor(a,i){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=i,a.forEach(r=>{r.manager=this}),this._plugins=a.slice().reverse()}addEventListener(a,i,r,s){return this._findPluginFor(i).addEventListener(a,i,r,s)}getZone(){return this._zone}_findPluginFor(a){let i=this._eventNameToPlugin.get(a);if(i)return i;if(i=this._plugins.find(r=>r.supports(a)),!i)throw new J(5101,!1);return this._eventNameToPlugin.set(a,i),i}};o(t,"ɵfac",function(a){return new(a||t)(ke(cm),ke(Ne))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),dC=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},Xc="ng-app-id";function fy(e){for(let t of e)t.remove()}function gy(e,t){let n=t.createElement("style");return n.textContent=e,n}function Gbe(e,t,n,a){var r;let i=(r=e.head)==null?void 0:r.querySelectorAll(`style[${Xc}="${t}"],link[${Xc}="${t}"]`);if(i)for(let s of i)s.removeAttribute(Xc),s instanceof HTMLLinkElement?a.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&n.set(s.textContent,{usage:0,elements:[s]})}function dm(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var uC=(()=>{const t=class t{constructor(a,i,r,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=a,this.appId=i,this.nonce=r,this.isServer=$w(s),Gbe(a,i,this.inline,this.external),this.hosts.add(a.head)}addStyles(a,i){for(let r of a)this.addUsage(r,this.inline,gy);i==null||i.forEach(r=>this.addUsage(r,this.external,dm))}removeStyles(a,i){for(let r of a)this.removeUsage(r,this.inline);i==null||i.forEach(r=>this.removeUsage(r,this.external))}addUsage(a,i,r){let s=i.get(a);s?s.usage++:i.set(a,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(a,this.doc)))})}removeUsage(a,i){let r=i.get(a);r&&(r.usage--,r.usage<=0&&(fy(r.elements),i.delete(a)))}ngOnDestroy(){for(let[,{elements:a}]of[...this.inline,...this.external])fy(a);this.hosts.clear()}addHost(a){this.hosts.add(a);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(a,gy(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(a,dm(i,this.doc)))}removeHost(a){this.hosts.delete(a)}addElement(a,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Xc,this.appId),a.appendChild(i)}};o(t,"ɵfac",function(a){return new(a||t)(ke(at),ke(uu),ke(wf,8),ke(hu))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),zh={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"},gg=/%COMP%/g,hC="%COMP%",Zbe=`_nghost-${hC}`,Kbe=`_ngcontent-${hC}`,Qbe=!0,Xbe=new Y("",{providedIn:"root",factory:()=>Qbe});function Jbe(e){return Kbe.replace(gg,e)}function eve(e){return Zbe.replace(gg,e)}function pC(e,t){return t.map(n=>n.replace(gg,e))}var um=(()=>{const t=class t{constructor(a,i,r,s,l,c,d,u=null,p=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"tracingService");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=a,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=p,this.platformIsServer=$w(c),this.defaultRenderer=new bg(a,l,d,this.platformIsServer,this.tracingService)}createRenderer(a,i){if(!a||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===An.ShadowDom&&(i=yt(ge({},i),{encapsulation:An.Emulated}));let r=this.getOrCreateRenderer(a,i);return r instanceof vy?r.applyToHost(a):r instanceof hm&&r.applyStyles(),r}getOrCreateRenderer(a,i){let r=this.rendererByCompId,s=r.get(i.id);if(!s){let l=this.doc,c=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(i.encapsulation){case An.Emulated:s=new vy(d,u,i,this.appId,p,l,c,b,g);break;case An.ShadowDom:return new tve(d,u,a,i,l,c,this.nonce,b,g);default:s=new hm(d,u,i,p,l,c,b,g);break}r.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(a){this.rendererByCompId.delete(a)}};o(t,"ɵfac",function(a){return new(a||t)(ke(cC),ke(uC),ke(uu),ke(Xbe),ke(at),ke(hu),ke(Ne),ke(wf),ke(Al,8))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),bg=class{constructor(e,t,n,a,i){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"tracingService");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=a,this.tracingService=i}destroy(){}createElement(e,t){return t?this.doc.createElementNS(zh[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(by(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(by(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new J(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,a){if(a){t=a+":"+t;let i=zh[a];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let a=zh[n];a?e.removeAttributeNS(a,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,a){a&(Kn.DashCase|Kn.Important)?e.style.setProperty(t,n,a&Kn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Kn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,a){var r;if(typeof e=="string"&&(e=js().getGlobalEventTarget(this.doc,e),!e))throw new J(5102,!1);let i=this.decoratePreventDefault(n);return(r=this.tracingService)!=null&&r.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,a)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function by(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var tve=class extends bg{constructor(t,n,a,i,r,s,l,c,d){var b;super(t,r,s,c,d);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=a,this.shadowRoot=a.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=pC(i.id,u);for(let g of u){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let p=(b=i.getExternalStyles)==null?void 0:b.call(i);if(p)for(let g of p){let w=dm(g,r);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,a){return super.insertBefore(this.nodeOrShadowRoot(t),n,a)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},hm=class extends bg{constructor(t,n,a,i,r,s,l,c,d){var p;super(t,r,s,l,c);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i;let u=a.styles;this.styles=d?pC(d,u):u,this.styleUrls=(p=a.getExternalStyles)==null?void 0:p.call(a,d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vy=class extends hm{constructor(t,n,a,i,r,s,l,c,d){let u=i+"-"+a.id;super(t,n,a,r,s,l,c,d,u);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Jbe(u),this.hostAttr=eve(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let a=super.createElement(t,n);return super.setAttribute(a,this.contentAttr,""),a}},ave=class mC extends tme{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){eme(new mC)}onAndCancel(n,a,i,r){return n.addEventListener(a,i,r),()=>{n.removeEventListener(a,i,r)}}dispatchEvent(n,a){n.dispatchEvent(a)}remove(n){n.remove()}createElement(n,a){return a=a||this.getDefaultDocument(),a.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,a){return a==="window"?window:a==="document"?n:a==="body"?n.body:null}getBaseHref(n){let a=ive();return a==null?null:nve(a)}resetBaseElement(){Ns=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ww(document.cookie,n)}},Ns=null;function ive(){return Ns=Ns||document.head.querySelector("base"),Ns?Ns.getAttribute("href"):null}function nve(e){return new URL(e,document.baseURI).pathname}var rve=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),ove=(()=>{const t=class t extends dC{constructor(a){super(a)}supports(a){return!0}addEventListener(a,i,r,s){return a.addEventListener(i,r,s),()=>this.removeEventListener(a,i,r,s)}removeEventListener(a,i,r,s){return a.removeEventListener(i,r,s)}};o(t,"ɵfac",function(a){return new(a||t)(ke(at))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),yy=["alt","control","meta","shift"],sve={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lve={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},cve=(()=>{const t=class t extends dC{constructor(a){super(a)}supports(a){return t.parseEventName(a)!=null}addEventListener(a,i,r,s){let l=t.parseEventName(i),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>js().onAndCancel(a,l.domEventName,c,s))}static parseEventName(a){let i=a.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(i.pop()),l="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),l="code."),yy.forEach(u=>{let p=i.indexOf(u);p>-1&&(i.splice(p,1),l+=u+".")}),l+=s,i.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(a,i){let r=sve[a.key]||a.key,s="";return i.indexOf("code.")>-1&&(r=a.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),yy.forEach(l=>{if(l!==r){let c=lve[l];c(a)&&(s+=l+".")}}),s+=r,s===i)}static eventCallback(a,i,r){return s=>{t.matchEventFullKeyCode(s,a)&&r.runGuarded(()=>i(s))}}static _normalizeKey(a){return a==="esc"?"escape":a}};o(t,"ɵfac",function(a){return new(a||t)(ke(at))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function dve(e){return Mpe(uve(e))}function uve(e){return{appProviders:[...gve,...(e==null?void 0:e.providers)??[]],platformProviders:fve}}function hve(){ave.makeCurrent()}function pve(){return new Vi}function mve(){return Ple(document),document}var fve=[{provide:hu,useValue:qw},{provide:e1,useValue:hve,multi:!0},{provide:at,useFactory:mve}],gve=[{provide:tf,useValue:"root"},{provide:Vi,useFactory:pve},{provide:cm,useClass:ove,multi:!0,deps:[at]},{provide:cm,useClass:cve,multi:!0,deps:[at]},um,uC,cC,{provide:Ii,useExisting:um},{provide:Yw,useClass:rve},[]],vg=class{},fC=class{},Yo=class Jc{constructor(t){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
44
+ `).forEach(n=>{let a=n.indexOf(":");if(a>0){let i=n.slice(0,a),r=n.slice(a+1).trim();this.addHeaderEntry(i,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,a)=>{this.addHeaderEntry(a,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,a])=>{this.setHeaderEntries(n,a)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Jc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new Jc;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Jc?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let a=t.value;if(typeof a=="string"&&(a=[a]),a.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...a),this.headers.set(n,i);break;case"d":let r=t.value;if(!r)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(l=>r.indexOf(l)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let a=t.toLowerCase();this.maybeSetNormalizedName(t,a),this.headers.has(a)?this.headers.get(a).push(n):this.headers.set(a,[n])}setHeaderEntries(t,n){let a=(Array.isArray(n)?n:[n]).map(r=>r.toString()),i=t.toLowerCase();this.headers.set(i,a),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}},bve=class{encodeKey(e){return _y(e)}encodeValue(e){return _y(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function vve(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(a=>{let i=a.indexOf("="),[r,s]=i==-1?[t.decodeKey(a),""]:[t.decodeKey(a.slice(0,i)),t.decodeValue(a.slice(i+1))],l=n.get(r)||[];l.push(s),n.set(r,l)}),n}var yve=/%(\d[a-f0-9])/gi,_ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _y(e){return encodeURIComponent(e).replace(yve,(t,n)=>_ve[n]??t)}function Ac(e){return`${e}`}var Ro=class gC{constructor(t={}){o(this,"map");o(this,"encoder");o(this,"updates",null);o(this,"cloneFrom",null);if(this.encoder=t.encoder||new bve,t.fromString){if(t.fromObject)throw new J(2805,!1);this.map=vve(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let a=t.fromObject[n],i=Array.isArray(a)?a.map(Ac):[Ac(a)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(a=>{let i=t[a];Array.isArray(i)?i.forEach(r=>{n.push({param:a,value:r,op:"a"})}):n.push({param:a,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(a=>n+"="+this.encoder.encodeValue(a)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new gC({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ac(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let a=this.map.get(t.param)||[],i=a.indexOf(Ac(t.value));i!==-1&&a.splice(i,1),a.length>0?this.map.set(t.param,a):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},xve=class{constructor(){o(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function wve(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function wy(e){return typeof Blob<"u"&&e instanceof Blob}function ky(e){return typeof FormData<"u"&&e instanceof FormData}function kve(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Cy="Content-Type",Sy="Accept",bC="X-Request-URL",vC="text/plain",yC="application/json",Cve=`${yC}, ${vC}, */*`,Bh=class _C{constructor(t,n,a,i){o(this,"url");o(this,"body",null);o(this,"headers");o(this,"context");o(this,"reportProgress",!1);o(this,"withCredentials",!1);o(this,"responseType","json");o(this,"method");o(this,"params");o(this,"urlWithParams");o(this,"transferCache");this.url=n,this.method=t.toUpperCase();let r;if(wve(this.method)||i?(this.body=a!==void 0?a:null,r=i):r=a,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??(this.headers=new Yo),this.context??(this.context=new xve),!this.params)this.params=new Ro,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let l=n.indexOf("?"),c=l===-1?"?":l<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||xy(this.body)||wy(this.body)||ky(this.body)||kve(this.body)?this.body:this.body instanceof Ro?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ky(this.body)?null:wy(this.body)?this.body.type||null:xy(this.body)?null:typeof this.body=="string"?vC:this.body instanceof Ro?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?yC:null}clone(t={}){let n=t.method||this.method,a=t.url||this.url,i=t.responseType||this.responseType,r=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,d=t.headers||this.headers,u=t.params||this.params,p=t.context??this.context;return t.setHeaders!==void 0&&(d=Object.keys(t.setHeaders).reduce((b,g)=>b.set(g,t.setHeaders[g]),d)),t.setParams&&(u=Object.keys(t.setParams).reduce((b,g)=>b.set(g,t.setParams[g]),u)),new _C(n,a,s,{params:u,headers:d,context:p,reportProgress:c,responseType:i,withCredentials:l,transferCache:r})}},Po=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Po||{}),yg=class{constructor(e,t=200,n="OK"){o(this,"headers");o(this,"status");o(this,"statusText");o(this,"url");o(this,"ok");o(this,"type");this.headers=e.headers||new Yo,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Sve=class xC extends yg{constructor(n={}){super(n);o(this,"type",Po.ResponseHeader)}clone(n={}){return new xC({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})}},wC=class kC extends yg{constructor(n={}){super(n);o(this,"body");o(this,"type",Po.Response);this.body=n.body!==void 0?n.body:null}clone(n={}){return new kC({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})}},Ey=class extends yg{constructor(t){super(t,0,"Unknown Error");o(this,"name","HttpErrorResponse");o(this,"message");o(this,"error");o(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Eve=200,Dve=204;function jh(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var jl=(()=>{const t=class t{constructor(a){o(this,"handler");this.handler=a}request(a,i,r={}){let s;if(a instanceof Bh)s=a;else{let d;r.headers instanceof Yo?d=r.headers:d=new Yo(r.headers);let u;r.params&&(r.params instanceof Ro?u=r.params:u=new Ro({fromObject:r.params})),s=new Bh(a,i,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:u,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=Dt(s).pipe(R_(d=>this.handler.handle(d)));if(a instanceof Bh||r.observe==="events")return l;let c=l.pipe(ea(d=>d instanceof wC));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(It(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new J(2806,!1);return d.body}));case"blob":return c.pipe(It(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new J(2807,!1);return d.body}));case"text":return c.pipe(It(d=>{if(d.body!==null&&typeof d.body!="string")throw new J(2808,!1);return d.body}));case"json":default:return c.pipe(It(d=>d.body))}case"response":return c;default:throw new J(2809,!1)}}delete(a,i={}){return this.request("DELETE",a,i)}get(a,i={}){return this.request("GET",a,i)}head(a,i={}){return this.request("HEAD",a,i)}jsonp(a,i){return this.request("JSONP",a,{params:new Ro().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(a,i={}){return this.request("OPTIONS",a,i)}patch(a,i,r={}){return this.request("PATCH",a,jh(r,i))}post(a,i,r={}){return this.request("POST",a,jh(r,i))}put(a,i,r={}){return this.request("PUT",a,jh(r,i))}};o(t,"ɵfac",function(a){return new(a||t)(ke(vg))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Ive=new Y("");function Ave(e,t){return t(e)}function Tve(e,t,n){return(a,i)=>nu(n,()=>t(a,r=>e(r,i)))}var _g=new Y(""),Ove=new Y(""),Mve=new Y("",{providedIn:"root",factory:()=>!0}),Dy=(()=>{const t=class t extends vg{constructor(i,r){super();o(this,"backend");o(this,"injector");o(this,"chain",null);o(this,"pendingTasks",_(Il));o(this,"contributeToStability",_(Mve));this.backend=i,this.injector=r}handle(i){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(_g),...this.injector.get(Ove,[])]));this.chain=r.reduceRight((s,l)=>Tve(s,l,this.injector),Ave)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(i,s=>this.backend.handle(s)).pipe(P_(()=>this.pendingTasks.remove(r)))}else return this.chain(i,r=>this.backend.handle(r))}};o(t,"ɵfac",function(i){return new(i||t)(ke(fC),ke(tn))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Rve=/^\)\]\}',?\n/,Pve=RegExp(`^${bC}:`,"m");function Nve(e){return"responseURL"in e&&e.responseURL?e.responseURL:Pve.test(e.getAllResponseHeaders())?e.getResponseHeader(bC):null}var Iy=(()=>{const t=class t{constructor(a){o(this,"xhrFactory");this.xhrFactory=a}handle(a){if(a.method==="JSONP")throw new J(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?dr(i.ɵloadImpl()):Dt(null)).pipe(rr(()=>new kt(r=>{let s=i.build();if(s.open(a.method,a.urlWithParams),a.withCredentials&&(s.withCredentials=!0),a.headers.forEach((k,E)=>s.setRequestHeader(k,E.join(","))),a.headers.has(Sy)||s.setRequestHeader(Sy,Cve),!a.headers.has(Cy)){let k=a.detectContentTypeHeader();k!==null&&s.setRequestHeader(Cy,k)}if(a.responseType){let k=a.responseType.toLowerCase();s.responseType=k!=="json"?k:"text"}let l=a.serializeBody(),c=null,d=()=>{if(c!==null)return c;let k=s.statusText||"OK",E=new Yo(s.getAllResponseHeaders()),O=Nve(s)||a.url;return c=new Sve({headers:E,status:s.status,statusText:k,url:O}),c},u=()=>{let{headers:k,status:E,statusText:O,url:B}=d(),j=null;E!==Dve&&(j=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=j?Eve:0);let fe=E>=200&&E<300;if(a.responseType==="json"&&typeof j=="string"){let Pe=j;j=j.replace(Rve,"");try{j=j!==""?JSON.parse(j):null}catch(He){j=Pe,fe&&(fe=!1,j={error:He,text:j})}}fe?(r.next(new wC({body:j,headers:k,status:E,statusText:O,url:B||void 0})),r.complete()):r.error(new Ey({error:j,headers:k,status:E,statusText:O,url:B||void 0}))},p=k=>{let{url:E}=d(),O=new Ey({error:k,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});r.error(O)},b=!1,g=k=>{b||(r.next(d()),b=!0);let E={type:Po.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(E.total=k.total),a.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),r.next(E)},w=k=>{let E={type:Po.UploadProgress,loaded:k.loaded};k.lengthComputable&&(E.total=k.total),r.next(E)};return s.addEventListener("load",u),s.addEventListener("error",p),s.addEventListener("timeout",p),s.addEventListener("abort",p),a.reportProgress&&(s.addEventListener("progress",g),l!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(l),r.next({type:Po.Sent}),()=>{s.removeEventListener("error",p),s.removeEventListener("abort",p),s.removeEventListener("load",u),s.removeEventListener("timeout",p),a.reportProgress&&(s.removeEventListener("progress",g),l!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}};o(t,"ɵfac",function(a){return new(a||t)(ke(Yw))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),CC=new Y(""),Lve="XSRF-TOKEN",Fve=new Y("",{providedIn:"root",factory:()=>Lve}),Vve="X-XSRF-TOKEN",zve=new Y("",{providedIn:"root",factory:()=>Vve}),SC=class{},Bve=(()=>{const t=class t{constructor(a,i){o(this,"doc");o(this,"cookieName");o(this,"lastCookieString","");o(this,"lastToken",null);o(this,"parseCount",0);this.doc=a,this.cookieName=i}getToken(){let a=this.doc.cookie||"";return a!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ww(a,this.cookieName),this.lastCookieString=a),this.lastToken}};o(t,"ɵfac",function(a){return new(a||t)(ke(at),ke(Fve))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function jve(e,t){let n=e.url.toLowerCase();if(!_(CC)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let a=_(SC).getToken(),i=_(zve);return a!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,a)})),t(e)}var EC=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(EC||{});function Hve(e,t){return{ɵkind:e,ɵproviders:t}}function Uve(...e){let t=[jl,Iy,Dy,{provide:vg,useExisting:Dy},{provide:fC,useFactory:()=>_(Ive,{optional:!0})??_(Iy)},{provide:_g,useValue:jve,multi:!0},{provide:CC,useValue:!0},{provide:SC,useClass:Bve}];for(let n of e)t.push(...n.ɵproviders);return Jm(t)}function Wve(e){return Hve(EC.Interceptors,e.map(t=>({provide:_g,useValue:t,multi:!0})))}var DC=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:function(a){let i=null;return a?i=new(a||t):i=ke(qve),i},providedIn:"root"}));let e=t;return e})(),qve=(()=>{const t=class t extends DC{constructor(i){super();o(this,"_doc");this._doc=i}sanitize(i,r){if(r==null)return null;switch(i){case ai.NONE:return r;case ai.HTML:return Tr(r,"HTML")?Dn(r):u1(this._doc,String(r)).toString();case ai.STYLE:return Tr(r,"Style")?Dn(r):r;case ai.SCRIPT:if(Tr(r,"Script"))return Dn(r);throw new J(5200,!1);case ai.URL:return Tr(r,"URL")?Dn(r):Df(String(r));case ai.RESOURCE_URL:if(Tr(r,"ResourceURL"))return Dn(r);throw new J(5201,!1);default:throw new J(5202,!1)}}bypassSecurityTrustHtml(i){return Qle(i)}bypassSecurityTrustStyle(i){return Xle(i)}bypassSecurityTrustScript(i){return Jle(i)}bypassSecurityTrustUrl(i){return ece(i)}bypassSecurityTrustResourceUrl(i){return tce(i)}};o(t,"ɵfac",function(i){return new(i||t)(ke(at))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Hl=class{},$ve=(()=>{const t=class t extends Hl{getTranslation(a){return Dt({})}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),IC=class{},Yve=(()=>{const t=class t{handle(a){return a.key}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function Rd(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,a=typeof t,i,r,s;if(n==a&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((i=e.length)==t.length){for(r=0;r<i;r++)if(!Rd(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(r in e){if(!Rd(e[r],t[r]))return!1;s[r]=!0}for(r in t)if(!(r in s)&&typeof t[r]<"u")return!1;return!0}return!1}function Qn(e){return typeof e<"u"&&e!==null}function Ul(e){return ed(e)&&!xg(e)&&e!==null}function ed(e){return typeof e=="object"}function xg(e){return Array.isArray(e)}function wg(e){return typeof e=="string"}function Gve(e){return typeof e=="function"}function pm(e,t){let n=Object.assign({},e);return ed(e)?(ed(e)&&ed(t)&&Object.keys(t).forEach(a=>{Ul(t[a])?a in e?n[a]=pm(e[a],t[a]):Object.assign(n,{[a]:t[a]}):Object.assign(n,{[a]:t[a]})}),n):pm({},t)}function mm(e,t){let n=t.split(".");t="";do t+=n.shift(),Qn(e)&&Qn(e[t])&&(Ul(e[t])||xg(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function Zve(e,t,n){let a=t.split("."),i=e;for(let r=0;r<a.length;r++){let s=a[r];r===a.length-1?i[s]=n:((!i[s]||!Ul(i[s]))&&(i[s]={}),i=i[s])}}var kg=class{},Kve=(()=>{const t=class t extends kg{constructor(){super(...arguments);o(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,r){if(wg(i))return this.interpolateString(i,r);if(Gve(i))return this.interpolateFunction(i,r)}interpolateFunction(i,r){return i(r)}interpolateString(i,r){return r?i.replace(this.templateMatcher,(s,l)=>{let c=mm(r,l);return Qn(c)?c:s}):i}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Wl=class{},Qve=(()=>{const t=class t extends Wl{compile(a,i){return a}compileTranslations(a,i){return a}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),fm=class{constructor(){o(this,"defaultLang");o(this,"currentLang",this.defaultLang);o(this,"translations",{});o(this,"langs",[]);o(this,"onTranslationChange",new ee);o(this,"onLangChange",new ee);o(this,"onDefaultLangChange",new ee)}},AC=new Y("ISOLATE_TRANSLATE_SERVICE"),TC=new Y("USE_DEFAULT_LANG"),OC=new Y("DEFAULT_LANGUAGE"),MC=new Y("USE_EXTEND"),Ds=e=>Io(e)?e:Dt(e),Ra=(()=>{const t=class t{constructor(a,i,r,s,l,c=!0,d=!1,u=!1,p){o(this,"store");o(this,"currentLoader");o(this,"compiler");o(this,"parser");o(this,"missingTranslationHandler");o(this,"useDefaultLang");o(this,"extend");o(this,"loadingTranslations");o(this,"pending",!1);o(this,"_translationRequests",{});o(this,"lastUseLanguage",null);this.store=a,this.currentLoader=i,this.compiler=r,this.parser=s,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=u,d&&(this.store=new fm),p&&this.setDefaultLang(p)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(a){this.store.defaultLang=a}get currentLang(){return this.store.currentLang}set currentLang(a){this.store.currentLang=a}get langs(){return this.store.langs}set langs(a){this.store.langs=a}get translations(){return this.store.translations}set translations(a){this.store.translations=a}setDefaultLang(a){if(a===this.defaultLang)return;let i=this.retrieveTranslations(a);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=a),i.pipe($a(1)).subscribe(()=>{this.changeDefaultLang(a)})):this.changeDefaultLang(a)}getDefaultLang(){return this.defaultLang}use(a){if(this.lastUseLanguage=a,a===this.currentLang)return Dt(this.translations[a]);this.currentLang||(this.currentLang=a);let i=this.retrieveTranslations(a);return Io(i)?(i.pipe($a(1)).subscribe(()=>{this.changeLang(a)}),i):(this.changeLang(a),Dt(this.translations[a]))}changeLang(a){a===this.lastUseLanguage&&(this.currentLang=a,this.onLangChange.emit({lang:a,translations:this.translations[a]}),this.defaultLang==null&&this.changeDefaultLang(a))}retrieveTranslations(a){if(typeof this.translations[a]>"u"||this.extend)return this._translationRequests[a]=this._translationRequests[a]||this.loadAndCompileTranslations(a),this._translationRequests[a]}getTranslation(a){return this.loadAndCompileTranslations(a)}loadAndCompileTranslations(a){this.pending=!0;let i=this.currentLoader.getTranslation(a).pipe(bp(1),$a(1));return this.loadingTranslations=i.pipe(It(r=>this.compiler.compileTranslations(r,a)),bp(1),$a(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[a]=this.extend&&this.translations[a]?ge(ge({},r),this.translations[a]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(a,i,r=!1){let s=this.compiler.compileTranslations(i,a);(r||this.extend)&&this.translations[a]?this.translations[a]=pm(this.translations[a],s):this.translations[a]=s,this.updateLangs(),this.onTranslationChange.emit({lang:a,translations:this.translations[a]})}getLangs(){return this.langs}addLangs(a){let i=a.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(a,i,r){let s;if(a&&(s=this.runInterpolation(mm(a,i),r)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(mm(this.translations[this.defaultLang],i),r)),s===void 0){let l={key:i,translateService:this};typeof r<"u"&&(l.interpolateParams=r),s=this.missingTranslationHandler.handle(l)}return s!==void 0?s:i}runInterpolation(a,i){if(xg(a))return a.map(r=>this.runInterpolation(r,i));if(Ul(a)){let r={};for(let s in a){let l=this.runInterpolation(a[s],i);l!==void 0&&(r[s]=l)}return r}else return this.parser.interpolate(a,i)}getParsedResult(a,i,r){if(i instanceof Array){let s={},l=!1;for(let d of i)s[d]=this.getParsedResultForKey(a,d,r),l=l||Io(s[d]);if(!l)return s;let c=i.map(d=>Ds(s[d]));return Gm(c).pipe(It(d=>{let u={};return d.forEach((p,b)=>{u[i[b]]=p}),u}))}return this.getParsedResultForKey(a,i,r)}get(a,i){if(!Qn(a)||!a.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(R_(r=>Ds(this.getParsedResult(r,a,i)))):Ds(this.getParsedResult(this.translations[this.currentLang],a,i))}getStreamOnTranslationChange(a,i){if(!Qn(a)||!a.length)throw new Error('Parameter "key" is required and cannot be empty');return Zs(Ks(()=>this.get(a,i)),this.onTranslationChange.pipe(rr(r=>{let s=this.getParsedResult(r.translations,a,i);return Ds(s)})))}stream(a,i){if(!Qn(a)||!a.length)throw new Error('Parameter "key" required');return Zs(Ks(()=>this.get(a,i)),this.onLangChange.pipe(rr(r=>{let s=this.getParsedResult(r.translations,a,i);return Ds(s)})))}instant(a,i){if(!Qn(a)||a.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],a,i);return Io(r)?Array.isArray(a)?a.reduce((s,l)=>(s[l]=l,s),{}):a:r}set(a,i,r=this.currentLang){Zve(this.translations[r],a,wg(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(a){this.defaultLang=a,this.onDefaultLangChange.emit({lang:a,translations:this.translations[a]})}reloadLang(a){return this.resetLang(a),this.loadAndCompileTranslations(a)}resetLang(a){delete this._translationRequests[a],delete this.translations[a]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let a=this.getBrowserCultureLang();return a?a.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};o(t,"ɵfac",function(a){return new(a||t)(ke(fm),ke(Hl),ke(Wl),ke(kg),ke(IC),ke(TC),ke(AC),ke(MC),ke(OC))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qt=(()=>{const t=class t{constructor(a,i){o(this,"translate");o(this,"_ref");o(this,"value","");o(this,"lastKey",null);o(this,"lastParams",[]);o(this,"onTranslationChange");o(this,"onLangChange");o(this,"onDefaultLangChange");this.translate=a,this._ref=i}updateValue(a,i,r){let s=l=>{this.value=l!==void 0?l:a,this.lastKey=a,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,a,i);Io(l)?l.subscribe(s):s(l)}this.translate.get(a,i).subscribe(s)}transform(a,...i){if(!a||!a.length)return a;if(Rd(a,this.lastKey)&&Rd(i,this.lastParams))return this.value;let r;if(Qn(i[0])&&i.length)if(wg(i[0])&&i[0].length){let s=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(s)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else Ul(i[0])&&(r=i[0]);return this.lastKey=a,this.lastParams=i,this.updateValue(a,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(a,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(a,r,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(a,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};o(t,"ɵfac",function(a){return new(a||t)(Gt(Ra,16),Gt(_t,16))}),o(t,"ɵpipe",ga({name:"translate",type:t,pure:!1})),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Xve=(e={})=>Jm([e.loader||{provide:Hl,useClass:$ve},e.compiler||{provide:Wl,useClass:Qve},e.parser||{provide:kg,useClass:Kve},e.missingTranslationHandler||{provide:IC,useClass:Yve},fm,{provide:AC,useValue:e.isolate},{provide:TC,useValue:e.useDefaultLang},{provide:MC,useValue:e.extend},{provide:OC,useValue:e.defaultLanguage},Ra]),RC=(()=>{const t=class t{constructor(){o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"state","unchecked");o(this,"disabled",!1);o(this,"appearance","full")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,i){a&2&&Ee("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(a,i){},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}
45
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Jve=["text"],eye=[[["mat-icon"]],"*"],tye=["mat-icon","*"];function aye(e,t){if(e&1&&Z(0,"mat-pseudo-checkbox",1),e&2){let n=L();z("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function iye(e,t){if(e&1&&Z(0,"mat-pseudo-checkbox",3),e&2){let n=L();z("disabled",n.disabled)}}function nye(e,t){if(e&1&&(D(0,"span",4),P(1),I()),e&2){let n=L();S(),ie("(",n.group.label,")")}}var PC=new Y("MAT_OPTION_PARENT_COMPONENT"),NC=new Y("MatOptgroup"),rye=class{constructor(e,t=!1){o(this,"source");o(this,"isUserInput");this.source=e,this.isUserInput=t}},LC=(()=>{const t=class t{constructor(){o(this,"_element",_(Te));o(this,"_changeDetectorRef",_(_t));o(this,"_parent",_(PC,{optional:!0}));o(this,"group",_(NC,{optional:!0}));o(this,"_signalDisableRipple",!1);o(this,"_selected",!1);o(this,"_active",!1);o(this,"_disabled",!1);o(this,"_mostRecentViewValue","");o(this,"value");o(this,"id",_(ra).getId("mat-option-"));o(this,"onSelectionChange",new ee);o(this,"_text");o(this,"_stateChanges",new ue);let a=_(Aa);a.load(Bn),a.load(io),this._signalDisableRipple=!!this._parent&&el(this._parent.disableRipple)}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(a){this._disabled=a}get disableRipple(){var a;return this._signalDisableRipple?this._parent.disableRipple():!!((a=this._parent)!=null&&a.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}get active(){return this._active}get viewValue(){var a;return(((a=this._text)==null?void 0:a.nativeElement.textContent)||"").trim()}select(a=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())}deselect(a=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())}focus(a,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(a){(a.keyCode===13||a.keyCode===32)&&!Va(a)&&(this._selectViaInteraction(),a.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 a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(a=!1){this.onSelectionChange.emit(new rye(this,a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-option"]],viewQuery:function(a,i){if(a&1&&Ye(Jve,7),a&2){let r;ye(r=_e())&&(i._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(a,i){a&1&&xe("click",function(){return i._selectViaInteraction()})("keydown",function(r){return i._handleKeydown(r)}),a&2&&(un("id",i.id),be("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),Ee("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",pe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:tye,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(a,i){a&1&&(Ct(eye),V(0,aye,1,2,"mat-pseudo-checkbox",1),Me(1),D(2,"span",2,0),Me(4,1),I(),V(5,iye,1,1,"mat-pseudo-checkbox",3)(6,nye,2,1,"span",4),Z(7,"div",5)),a&2&&(W(i.multiple?0:-1),S(5),W(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),S(),W(i.group&&i.group._inert?6:-1),S(),z("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[RC,Tu],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:""}
46
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function oye(e,t,n){if(n.length){let a=t.toArray(),i=n.toArray(),r=0;for(let s=0;s<e+1;s++)a[s].group&&a[s].group===i[r]&&r++;return r}return 0}function sye(e,t,n,a){return e<n?e:e+t>n+a?Math.max(0,e-a+t):n}var lye=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt]}));let e=t;return e})(),Ay=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[rg,Nt,lye]}));let e=t;return e})(),cye=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,dye=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Hh(e,t){let n=Array(e);for(let a=0;a<e;a++)n[a]=t(a);return n}var FC=(()=>{const t=class t extends Ca{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",_(Qp,{optional:!0}));let i=_(Qp,{optional:!0});i!==void 0&&(this._matDateLocale=i),super.setLocale(this._matDateLocale)}getYear(i){return i.getFullYear()}getMonth(i){return i.getMonth()}getDate(i){return i.getDate()}getDayOfWeek(i){return i.getDay()}getMonthNames(i){let r=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});return Hh(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Hh(31,r=>this._format(i,new Date(2017,0,r+1)))}getDayOfWeekNames(i){let r=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return Hh(7,s=>this._format(r,new Date(2017,0,s+1)))}getYearName(i){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,i)}getFirstDayOfWeek(){var i,r;if(typeof Intl<"u"&&Intl.Locale){let s=new Intl.Locale(this.locale),l=((r=((i=s.getWeekInfo)==null?void 0:i.call(s))||s.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(i){return this.getDate(this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+1,0))}clone(i){return new Date(i.getTime())}createDate(i,r,s){let l=this._createDateWithOverflow(i,r,s);return l.getMonth()!=r,l}today(){return new Date}parse(i,r){return typeof i=="number"?new Date(i):i?new Date(Date.parse(i)):null}format(i,r){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,yt(ge({},r),{timeZone:"utc"}));return this._format(s,i)}addCalendarYears(i,r){return this.addCalendarMonths(i,r*12)}addCalendarMonths(i,r){let s=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+r,this.getDate(i));return this.getMonth(s)!=((this.getMonth(i)+r)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(i,r){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+r)}toIso8601(i){return[i.getUTCFullYear(),this._2digit(i.getUTCMonth()+1),this._2digit(i.getUTCDate())].join("-")}deserialize(i){if(typeof i=="string"){if(!i)return null;if(cye.test(i)){let r=new Date(i);if(this.isValid(r))return r}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}setTime(i,r,s,l){let c=this.clone(i);return c.setHours(r,s,l,0),c}getHours(i){return i.getHours()}getMinutes(i){return i.getMinutes()}getSeconds(i){return i.getSeconds()}parseTime(i,r){if(typeof i!="string")return i instanceof Date?new Date(i.getTime()):null;let s=i.trim();if(s.length===0)return null;let l=this._parseTimeString(s);if(l===null){let c=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}return l||this.invalid()}addSeconds(i,r){return new Date(i.getTime()+r*1e3)}_createDateWithOverflow(i,r,s){let l=new Date;return l.setFullYear(i,r,s),l.setHours(0,0,0,0),l}_2digit(i){return("00"+i).slice(-2)}_format(i,r){let s=new Date;return s.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),s.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),i.format(s)}_parseTimeString(i){let r=i.toUpperCase().match(dye);if(r){let s=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),Uh(s,0,23)&&Uh(l,0,59)&&(c==null||Uh(c,0,59)))return this.setTime(this.today(),s,l,c||0)}return null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function Uh(e,t,n){return!isNaN(e)&&e>=t&&e<=n}var uye={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"}}},hye=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[pye()]}));let e=t;return e})();function pye(e=uye){return[{provide:Ca,useClass:FC},{provide:to,useValue:e}]}function mye(e,t){}var ll=class{constructor(){o(this,"viewContainerRef");o(this,"injector");o(this,"id");o(this,"role","dialog");o(this,"panelClass","");o(this,"hasBackdrop",!0);o(this,"backdropClass","");o(this,"disableClose",!1);o(this,"width","");o(this,"height","");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"positionStrategy");o(this,"data",null);o(this,"direction");o(this,"ariaDescribedBy",null);o(this,"ariaLabelledBy",null);o(this,"ariaLabel",null);o(this,"ariaModal",!1);o(this,"autoFocus","first-tabbable");o(this,"restoreFocus",!0);o(this,"scrollStrategy");o(this,"closeOnNavigation",!0);o(this,"closeOnDestroy",!0);o(this,"closeOnOverlayDetachments",!0);o(this,"componentFactoryResolver");o(this,"providers");o(this,"container");o(this,"templateContext")}},VC=(()=>{const t=class t extends Iu{constructor(){super();o(this,"_elementRef",_(Te));o(this,"_focusTrapFactory",_(ik));o(this,"_config");o(this,"_interactivityChecker",_(tk));o(this,"_ngZone",_(Ne));o(this,"_overlayRef",_(ag));o(this,"_focusMonitor",_(ao));o(this,"_renderer",_(oi));o(this,"_changeDetectorRef",_(_t));o(this,"_injector",_(ct));o(this,"_platform",_(Wt));o(this,"_document",_(at,{optional:!0}));o(this,"_portalOutlet");o(this,"_focusTrapped",new ue);o(this,"_focusTrap",null);o(this,"_elementFocusedBeforeDialogWasOpened",null);o(this,"_closeInteractionType",null);o(this,"_ariaLabelledByQueue",[]);o(this,"_isDestroyed",!1);o(this,"attachDomPortal",i=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(i);return this._contentAttached(),r});this._config=_(ll,{optional:!0})||new ll,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(i){this._ariaLabelledByQueue.push(i),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(i){let r=this._ariaLabelledByQueue.indexOf(i);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),r}attachTemplatePortal(i){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,r){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let s=()=>{l(),c(),i.removeAttribute("tabindex")},l=this._renderer.listen(i,"blur",s),c=this._renderer.listen(i,"mousedown",s)})),i.focus(r)}_focusByCssSelector(i,r){let s=this._elementRef.nativeElement.querySelector(i);s&&this._forceFocus(s,r)}_trapFocus(i){this._isDestroyed||Nn(()=>{var s;let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(i);break;case!0:case"first-tabbable":(s=this._focusTrap)!=null&&s.focusInitialElement(i)||this._focusDialogContainer(i);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',i);break;default:this._focusByCssSelector(this._config.autoFocus,i);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let i=this._config.restoreFocus,r=null;if(typeof i=="string"?r=this._document.querySelector(i):typeof i=="boolean"?r=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(r=i),this._config.restoreFocus&&r&&typeof r.focus=="function"){let s=Oo(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(i){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(i)}_containsFocus(){let i=this._elementRef.nativeElement,r=Oo();return i===r||i.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Oo()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",se({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Ye(ln,7),i&2){let s;ye(s=_e())&&(r._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&be("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:[ze],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&V(0,mye,0,0,"ng-template",0)},dependencies:[ln],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
47
+ `],encapsulation:2}));let e=t;return e})(),Wh=class{constructor(e,t){o(this,"overlayRef");o(this,"config");o(this,"componentInstance");o(this,"componentRef");o(this,"containerInstance");o(this,"disableClose");o(this,"closed",new ue);o(this,"backdropClick");o(this,"keydownEvents");o(this,"outsidePointerEvents");o(this,"id");o(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!Va(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},fye=new Y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=_(si);return()=>e.scrollStrategies.block()}}),gye=new Y("DialogData"),bye=new Y("DefaultDialogConfig"),zC=(()=>{const t=class t{constructor(){o(this,"_overlay",_(si));o(this,"_injector",_(ct));o(this,"_defaultOptions",_(bye,{optional:!0}));o(this,"_parentDialog",_(t,{optional:!0,skipSelf:!0}));o(this,"_overlayContainer",_(tg));o(this,"_idGenerator",_(ra));o(this,"_openDialogsAtThisLevel",[]);o(this,"_afterAllClosedAtThisLevel",new ue);o(this,"_afterOpenedAtThisLevel",new ue);o(this,"_ariaHiddenElements",new Map);o(this,"_scrollStrategy",_(fye));o(this,"afterAllClosed",Ks(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Da(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(a,i){let r=this._defaultOptions||new ll;i=ge(ge({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),l=this._overlay.create(s),c=new Wh(l,i),d=this._attachContainer(l,c,i);if(c.containerInstance=d,!this.openDialogs.length){let u=this._overlayContainer.getContainerElement();d._focusTrapped?d._focusTrapped.pipe($a(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(u)}):this._hideNonDialogContentFromAssistiveTechnology(u)}return this._attachDialogContent(a,c,d,i),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){qh(this.openDialogs,a=>a.close())}getDialogById(a){return this.openDialogs.find(i=>i.id===a)}ngOnDestroy(){qh(this._openDialogsAtThisLevel,a=>{a.config.closeOnDestroy===!1&&this._removeOpenDialog(a,!1)}),qh(this._openDialogsAtThisLevel,a=>a.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(a){let i=new Ll({positionStrategy:a.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});return a.backdropClass&&(i.backdropClass=a.backdropClass),i}_attachContainer(a,i,r){var u;let s=r.injector||((u=r.viewContainerRef)==null?void 0:u.injector),l=[{provide:ll,useValue:r},{provide:Wh,useValue:i},{provide:ag,useValue:a}],c;r.container?typeof r.container=="function"?c=r.container:(c=r.container.type,l.push(...r.container.providers(r))):c=VC;let d=new Yr(c,r.viewContainerRef,ct.create({parent:s||this._injector,providers:l}));return a.attach(d).instance}_attachDialogContent(a,i,r,s){if(a instanceof ma){let l=this._createInjector(s,i,r,void 0),c={$implicit:s.data,dialogRef:i};s.templateContext&&(c=ge(ge({},c),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),r.attachTemplatePortal(new no(a,null,c,l))}else{let l=this._createInjector(s,i,r,this._injector),c=r.attachComponentPortal(new Yr(a,s.viewContainerRef,l));i.componentRef=c,i.componentInstance=c.instance}}_createInjector(a,i,r,s){var d;let l=a.injector||((d=a.viewContainerRef)==null?void 0:d.injector),c=[{provide:gye,useValue:a.data},{provide:Wh,useValue:i}];return a.providers&&(typeof a.providers=="function"?c.push(...a.providers(i,a,r)):c.push(...a.providers)),a.direction&&(!l||!l.get(Ma,null,{optional:!0}))&&c.push({provide:Ma,useValue:{value:a.direction,change:Dt()}}),ct.create({parent:l||s,providers:c})}_removeOpenDialog(a,i){let r=this.openDialogs.indexOf(a);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,l)=>{s?l.setAttribute("aria-hidden",s):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(a){if(a.parentElement){let i=a.parentElement.children;for(let r=i.length-1;r>-1;r--){let s=i[r];s!==a&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function qh(e,t){let n=e.length;for(;n--;)t(e[n])}var vye=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[zC],imports:[Au,qo,ok,qo]}));let e=t;return e})();function yye(e,t){}var Ty=class{constructor(){o(this,"viewContainerRef");o(this,"injector");o(this,"id");o(this,"role","dialog");o(this,"panelClass","");o(this,"hasBackdrop",!0);o(this,"backdropClass","");o(this,"disableClose",!1);o(this,"width","");o(this,"height","");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"position");o(this,"data",null);o(this,"direction");o(this,"ariaDescribedBy",null);o(this,"ariaLabelledBy",null);o(this,"ariaLabel",null);o(this,"ariaModal",!1);o(this,"autoFocus","first-tabbable");o(this,"restoreFocus",!0);o(this,"delayFocusTrap",!0);o(this,"scrollStrategy");o(this,"closeOnNavigation",!0);o(this,"componentFactoryResolver");o(this,"enterAnimationDuration");o(this,"exitAnimationDuration")}},$h="mdc-dialog--open",Oy="mdc-dialog--opening",My="mdc-dialog--closing",_ye=150,xye=75,wye=(()=>{const t=class t extends VC{constructor(){super(...arguments);o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"_animationStateChanged",new ee);o(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");o(this,"_actionSectionCount",0);o(this,"_hostElement",this._elementRef.nativeElement);o(this,"_enterAnimationDuration",this._animationsEnabled?Py(this._config.enterAnimationDuration)??_ye:0);o(this,"_exitAnimationDuration",this._animationsEnabled?Py(this._config.exitAnimationDuration)??xye:0);o(this,"_animationTimer",null);o(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});o(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ry,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Oy,$h)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add($h),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove($h),this._animationsEnabled?(this._hostElement.style.setProperty(Ry,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(My)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(i){this._actionSectionCount+=i,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Oy,My)}_waitForAnimationToComplete(i,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(i):i()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(i){let r=super.attachComponentPortal(i);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(un("id",r._config.id),be("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),Ee("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[ze],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&&(D(0,"div",0)(1,"div",1),V(2,yye,0,0,"ng-template",2),I()())},dependencies:[ln],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}
48
+ `],encapsulation:2}));let e=t;return e})(),Ry="--mat-dialog-transition-duration";function Py(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Jp(e.substring(0,e.length-2)):e.endsWith("s")?Jp(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var td=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(td||{}),Cg=class{constructor(e,t,n){o(this,"_ref");o(this,"_containerInstance");o(this,"componentInstance");o(this,"componentRef");o(this,"disableClose");o(this,"id");o(this,"_afterOpened",new ue);o(this,"_beforeClosed",new ue);o(this,"_result");o(this,"_closeFallbackTimeout");o(this,"_state",td.OPEN);o(this,"_closeInteractionType");this._ref=e,this._containerInstance=n,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(ea(a=>a.state==="opened"),$a(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(ea(a=>a.state==="closed"),$a(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),ha(this.backdropClick(),this.keydownEvents().pipe(ea(a=>a.keyCode===27&&!this.disableClose&&!Va(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),BC(this,a.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ea(t=>t.state==="closing"),$a(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=td.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(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=td.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function BC(e,t,n){return e._closeInteractionType=t,e.close(n)}var Sg=new Y("MatMdcDialogData"),jC=new Y("mat-mdc-dialog-default-options"),kye=new Y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(si);return()=>e.scrollStrategies.block()}}),gs=(()=>{const t=class t{constructor(){o(this,"_overlay",_(si));o(this,"_defaultOptions",_(jC,{optional:!0}));o(this,"_scrollStrategy",_(kye));o(this,"_parentDialog",_(t,{optional:!0,skipSelf:!0}));o(this,"_idGenerator",_(ra));o(this,"_dialog",_(zC));o(this,"_openDialogsAtThisLevel",[]);o(this,"_afterAllClosedAtThisLevel",new ue);o(this,"_afterOpenedAtThisLevel",new ue);o(this,"dialogConfigClass",Ty);o(this,"_dialogRefConstructor");o(this,"_dialogContainerType");o(this,"_dialogDataToken");o(this,"afterAllClosed",Ks(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Da(void 0))));this._dialogRefConstructor=Cg,this._dialogContainerType=wye,this._dialogDataToken=Sg}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(a,i){let r;i=ge(ge({},this._defaultOptions||new Ty),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(a,yt(ge({},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:ll,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(l,c,d)=>(r=new this._dialogRefConstructor(l,i,d),r.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=s.componentRef,r.componentInstance=s.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(r);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(a){return this.openDialogs.find(i=>i.id===a)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(a){let i=a.length;for(;i--;)a[i].close()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lu=(()=>{const t=class t{constructor(){o(this,"dialogRef",_(Cg,{optional:!0}));o(this,"_elementRef",_(Te));o(this,"_dialog",_(gs));o(this,"ariaLabel");o(this,"type","button");o(this,"dialogResult");o(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=UC(this._elementRef,this._dialog.openDialogs))}ngOnChanges(a){let i=a._matDialogClose||a._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(a){BC(this.dialogRef,a.screenX===0&&a.screenY===0?"keyboard":"mouse",this.dialogResult)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,i){a&1&&xe("click",function(r){return i._onButtonClick(r)}),a&2&&be("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Kt]}));let e=t;return e})(),HC=(()=>{const t=class t{constructor(){o(this,"_dialogRef",_(Cg,{optional:!0}));o(this,"_elementRef",_(Te));o(this,"_dialog",_(gs))}ngOnInit(){this._dialogRef||(this._dialogRef=UC(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var a;(a=this._dialogRef)!=null&&a._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t}));let e=t;return e})(),Fu=(()=>{const t=class t extends HC{constructor(){super(...arguments);o(this,"id",_(ra).getId("mat-mdc-dialog-title-"))}_onAdd(){var i,r;(r=(i=this._dialogRef._containerInstance)==null?void 0:i._addAriaLabelledBy)==null||r.call(i,this.id)}_onRemove(){var i,r,s;(s=(r=(i=this._dialogRef)==null?void 0:i._containerInstance)==null?void 0:r._removeAriaLabelledBy)==null||s.call(r,this.id)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&un("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ze]}));let e=t;return e})(),Vu=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Yue([pk])]}));let e=t;return e})(),zu=(()=>{const t=class t extends HC{constructor(){super(...arguments);o(this,"align")}_onAdd(){var i,r;(r=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||r.call(i,1)}_onRemove(){var i,r;(r=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||r.call(i,-1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({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&&Ee("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:[ze]}));let e=t;return e})();function UC(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-mdc-dialog-container");)n=n.parentElement;return n?t.find(a=>a.id===n.id):null}var WC=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[gs],imports:[vye,Au,qo,Nt,Nt]}));let e=t;return e})(),qC=(()=>{const t=class t{constructor(){o(this,"_listeners",[])}notify(a,i){for(let r of this._listeners)r(a,i)}listen(a){return this._listeners.push(a),()=>{this._listeners=this._listeners.filter(i=>a!==i)}}ngOnDestroy(){this._listeners=[]}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$C=class{applyChanges(e,t,n,a,i){e.forEachOperation((r,s,l)=>{let c,d;if(r.previousIndex==null){let u=n(r,s,l);c=t.createEmbeddedView(u.templateRef,u.context,u.index),d=Hs.INSERTED}else l==null?(t.remove(s),d=Hs.REMOVED):(c=t.get(s),t.move(c,l),d=Hs.MOVED);i&&i({context:c==null?void 0:c.context,operation:d,record:r})})}detach(){}},YC=class{constructor(e=!1,t,n=!0,a){o(this,"_multiple");o(this,"_emitChanges");o(this,"compareWith");o(this,"_selection",new Set);o(this,"_deselectedToEmit",[]);o(this,"_selectedToEmit",[]);o(this,"_selected");o(this,"changed",new ue);this._multiple=e,this._emitChanges=n,this.compareWith=a,t&&t.length&&(e?t.forEach(i=>this._markSelected(i)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,n=new Set(e.map(i=>this._getConcreteValue(i)));e.forEach(i=>this._markSelected(i)),t.filter(i=>!n.has(this._getConcreteValue(i,n))).forEach(i=>this._unmarkSelected(i));let a=this._hasQueuedChanges();return this._emitChangeEvent(),a}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let n of t)if(this.compareWith(e,n))return n;return e}else return e}},cl=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,ek,Nt]}));let e=t;return e})(),Cye=["trigger"],Sye=["panel"],Eye=[[["mat-select-trigger"]],"*"],Dye=["mat-select-trigger","*"];function Iye(e,t){if(e&1&&(D(0,"span",4),P(1),I()),e&2){let n=L();S(),te(n.placeholder)}}function Aye(e,t){e&1&&Me(0)}function Tye(e,t){if(e&1&&(D(0,"span",11),P(1),I()),e&2){let n=L(2);S(),te(n.triggerValue)}}function Oye(e,t){if(e&1&&(D(0,"span",5),V(1,Aye,1,0)(2,Tye,2,1,"span",11),I()),e&2){let n=L();S(),W(n.customTrigger?1:2)}}function Mye(e,t){if(e&1){let n=gt();D(0,"div",12,1),xe("keydown",function(a){Ce(n);let i=L();return Se(i._handleKeydown(a))}),Me(2,1),I()}if(e&2){let n=L();Ihe("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),Ee("mat-select-panel-animations-enabled",!n._animationsDisabled),z("ngClass",n.panelClass),be("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var GC=new Y("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(si);return()=>e.scrollStrategies.reposition()}});function Rye(e){return()=>e.scrollStrategies.reposition()}var Pye=new Y("MAT_SELECT_CONFIG"),Nye={provide:GC,deps:[si],useFactory:Rye},Lye=new Y("MatSelectTrigger"),Fye=class{constructor(e,t){o(this,"source");o(this,"value");this.source=e,this.value=t}},Vye=(()=>{var t,n,a,i;const r=class r{constructor(){o(this,"_viewportRuler",_(Nl));o(this,"_changeDetectorRef",_(_t));o(this,"_elementRef",_(Te));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_idGenerator",_(ra));o(this,"_renderer",_(oi));o(this,"_parentFormField",_(Bl,{optional:!0}));o(this,"ngControl",_(dg,{self:!0,optional:!0}));o(this,"_liveAnnouncer",_(nk));o(this,"_defaultOptions",_(Pye,{optional:!0}));o(this,"_animationsDisabled",_(Ia,{optional:!0})==="NoopAnimations");o(this,"_initialized",new ue);o(this,"_cleanupDetach");o(this,"options");o(this,"optionGroups");o(this,"customTrigger");o(this,"_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"}]);o(this,"_scrollStrategyFactory",_(GC));o(this,"_panelOpen",!1);o(this,"_compareWith",(l,c)=>l===c);o(this,"_uid",this._idGenerator.getId("mat-select-"));o(this,"_triggerAriaLabelledBy",null);o(this,"_previousControl");o(this,"_destroy",new ue);o(this,"_errorStateTracker");o(this,"stateChanges",new ue);o(this,"disableAutomaticLabeling",!0);o(this,"userAriaDescribedBy");o(this,"_selectionModel");o(this,"_keyManager");o(this,"_preferredOverlayOrigin");o(this,"_overlayWidth");o(this,"_onChange",()=>{});o(this,"_onTouched",()=>{});o(this,"_valueId",this._idGenerator.getId("mat-select-value-"));o(this,"_scrollStrategy");o(this,"_overlayPanelClass",((t=this._defaultOptions)==null?void 0:t.overlayPanelClass)||"");o(this,"_focused",!1);o(this,"controlType","mat-select");o(this,"trigger");o(this,"panel");o(this,"_overlayDir");o(this,"panelClass");o(this,"disabled",!1);o(this,"disableRipple",!1);o(this,"tabIndex",0);o(this,"_hideSingleSelectionIndicator",((n=this._defaultOptions)==null?void 0:n.hideSingleSelectionIndicator)??!1);o(this,"_placeholder");o(this,"_required");o(this,"_multiple",!1);o(this,"disableOptionCentering",((a=this._defaultOptions)==null?void 0:a.disableOptionCentering)??!1);o(this,"_value");o(this,"ariaLabel","");o(this,"ariaLabelledby");o(this,"typeaheadDebounceInterval");o(this,"sortComparator");o(this,"_id");o(this,"panelWidth",this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto");o(this,"canSelectNullableOptions",((i=this._defaultOptions)==null?void 0:i.canSelectNullableOptions)??!1);o(this,"optionSelectionChanges",Ks(()=>{let l=this.options;return l?l.changes.pipe(Da(l),rr(()=>ha(...l.map(c=>c.onSelectionChange)))):this._initialized.pipe(rr(()=>this.optionSelectionChanges))}));o(this,"openedChange",new ee);o(this,"_openedStream",this.openedChange.pipe(ea(l=>l),It(()=>{})));o(this,"_closedStream",this.openedChange.pipe(ea(l=>!l),It(()=>{})));o(this,"selectionChange",new ee);o(this,"valueChange",new ee);o(this,"_trackedModal",null);o(this,"_skipPredicate",l=>this.panelOpen?!1:l.disabled);var p;let l=_(hg),c=_(Ru,{optional:!0}),d=_(Pu,{optional:!0}),u=_(new rs("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),((p=this._defaultOptions)==null?void 0:p.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new pg(l,this.ngControl,d,c,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=u==null?0:parseInt(u)||0,this.id=this.id}_scrollOptionIntoView(l){let c=this.options.toArray()[l];if(c){let d=this.panel.nativeElement,u=oye(l,this.options,this.optionGroups),p=c._getHostElement();l===0&&u===1?d.scrollTop=0:d.scrollTop=sye(p.offsetTop,p.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(l){return new Fye(this,l)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(l){this._hideSingleSelectionIndicator=l,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.stateChanges.next()}get required(){var l,c;return this._required??((c=(l=this.ngControl)==null?void 0:l.control)==null?void 0:c.hasValidator(ps.required))??!1}set required(l){this._required=l,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(l){this._selectionModel,this._multiple=l}get compareWith(){return this._compareWith}set compareWith(l){this._compareWith=l,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(l){this._assignValue(l)&&this._onChange(l)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(l){this._errorStateTracker.matcher=l}get id(){return this._id}set id(l){this._id=l||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(l){this._errorStateTracker.errorState=l}ngOnInit(){this._selectionModel=new YC(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(zt(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(zt(this._destroy)).subscribe(l=>{l.added.forEach(c=>c.select()),l.removed.forEach(c=>c.deselect())}),this.options.changes.pipe(Da(null),zt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let l=this._getTriggerAriaLabelledby(),c=this.ngControl;if(l!==this._triggerAriaLabelledBy){let d=this._elementRef.nativeElement;this._triggerAriaLabelledBy=l,l?d.setAttribute("aria-labelledby",l):d.removeAttribute("aria-labelledby")}c&&(this._previousControl!==c.control&&(this._previousControl!==void 0&&c.disabled!==null&&c.disabled!==this.disabled&&(this.disabled=c.disabled),this._previousControl=c.control),this.updateErrorState())}ngOnChanges(l){(l.disabled||l.userAriaDescribedBy)&&this.stateChanges.next(),l.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var l,c;(l=this._cleanupDetach)==null||l.call(this),(c=this._keyManager)==null||c.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){var l;this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),(l=this._cleanupDetach)==null||l.call(this),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe($a(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)))}_applyModalPanelOwnership(){let l=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!l)return;let c=`${this.id}-panel`;this._trackedModal&&em(this._trackedModal,"aria-owns",c),ck(l,"aria-owns",c),this._trackedModal=l}_clearFromModal(){if(!this._trackedModal)return;let l=`${this.id}-panel`;em(this._trackedModal,"aria-owns",l),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(){var u;if(this._animationsDisabled||!this.panel){this._detachOverlay();return}(u=this._cleanupDetach)==null||u.call(this),this._cleanupDetach=()=>{c(),clearTimeout(d),this._cleanupDetach=void 0};let l=this.panel.nativeElement,c=this._renderer.listen(l,"animationend",p=>{var b;p.animationName==="_mat-select-exit"&&((b=this._cleanupDetach)==null||b.call(this),this._detachOverlay())}),d=setTimeout(()=>{var p;(p=this._cleanupDetach)==null||p.call(this),this._detachOverlay()},200);l.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(l){this._assignValue(l)}registerOnChange(l){this._onChange=l}registerOnTouched(l){this._onTouched=l}setDisabledState(l){this.disabled=l,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var l,c;return this.multiple?((l=this._selectionModel)==null?void 0:l.selected)||[]:(c=this._selectionModel)==null?void 0:c.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let l=this._selectionModel.selected.map(c=>c.viewValue);return this._isRtl()&&l.reverse(),l.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(l){this.disabled||(this.panelOpen?this._handleOpenKeydown(l):this._handleClosedKeydown(l))}_handleClosedKeydown(l){let c=l.keyCode,d=c===40||c===38||c===37||c===39,u=c===13||c===32,p=this._keyManager;if(!p.isTyping()&&u&&!Va(l)||(this.multiple||l.altKey)&&d)l.preventDefault(),this.open();else if(!this.multiple){let b=this.selected;p.onKeydown(l);let g=this.selected;g&&b!==g&&this._liveAnnouncer.announce(g.viewValue,1e4)}}_handleOpenKeydown(l){let c=this._keyManager,d=l.keyCode,u=d===40||d===38,p=c.isTyping();if(u&&l.altKey)l.preventDefault(),this.close();else if(!p&&(d===13||d===32)&&c.activeItem&&!Va(l))l.preventDefault(),c.activeItem._selectViaInteraction();else if(!p&&this._multiple&&d===65&&l.ctrlKey){l.preventDefault();let b=this.options.some(g=>!g.disabled&&!g.selected);this.options.forEach(g=>{g.disabled||(b?g.select():g.deselect())})}else{let b=c.activeItemIndex;c.onKeydown(l),this._multiple&&u&&l.shiftKey&&c.activeItem&&c.activeItemIndex!==b&&c.activeItem._selectViaInteraction()}}_handleOverlayKeydown(l){l.keyCode===27&&!Va(l)&&(l.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var l;this._focused=!1,(l=this._keyManager)==null||l.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(l){if(this.options.forEach(c=>c.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&l)l.forEach(c=>this._selectOptionByValue(c)),this._sortValues();else{let c=this._selectOptionByValue(l);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(l){let c=this.options.find(d=>{if(this._selectionModel.isSelected(d))return!1;try{return(d.value!=null||this.canSelectNullableOptions)&&this._compareWith(d.value,l)}catch{return!1}});return c&&this._selectionModel.select(c),c}_assignValue(l){return l!==this._value||this._multiple&&Array.isArray(l)?(this.options&&this._setSelectionByValue(l),this._value=l,!0):!1}_getOverlayWidth(l){return this.panelWidth==="auto"?(l instanceof Dd?l.elementRef:l||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let l of this.options)l._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ufe(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 l=ha(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(zt(l)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),ha(...this.options.map(c=>c._stateChanges)).pipe(zt(l)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(l,c){let d=this._selectionModel.isSelected(l);!this.canSelectNullableOptions&&l.value==null&&!this._multiple?(l.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(l.value)):(d!==l.selected&&(l.selected?this._selectionModel.select(l):this._selectionModel.deselect(l)),c&&this._keyManager.setActiveItem(l),this.multiple&&(this._sortValues(),c&&this.focus())),d!==this._selectionModel.isSelected(l)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let l=this.options.toArray();this._selectionModel.sort((c,d)=>this.sortComparator?this.sortComparator(c,d,l):l.indexOf(c)-l.indexOf(d)),this.stateChanges.next()}}_propagateChanges(l){let c;this.multiple?c=this.selected.map(d=>d.value):c=this.selected?this.selected.value:l,this._value=c,this.valueChange.emit(c),this._onChange(c),this.selectionChange.emit(this._getChangeEvent(c)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let l=-1;for(let c=0;c<this.options.length;c++)if(!this.options.get(c).disabled){l=c;break}this._keyManager.setActiveItem(l)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){var l;return!this._panelOpen&&!this.disabled&&((l=this.options)==null?void 0:l.length)>0&&!!this._overlayDir}focus(l){this._elementRef.nativeElement.focus(l)}_getPanelAriaLabelledby(){var d;if(this.ariaLabel)return null;let l=((d=this._parentFormField)==null?void 0:d.getLabelId())||null,c=l?l+" ":"";return this.ariaLabelledby?c+this.ariaLabelledby:l}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var c;if(this.ariaLabel)return null;let l=((c=this._parentFormField)==null?void 0:c.getLabelId())||"";return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l||(l=this._valueId),l}setDescribedByIds(l){l.length?this._elementRef.nativeElement.setAttribute("aria-describedby",l.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};o(r,"ɵfac",function(l){return new(l||r)}),o(r,"ɵcmp",se({type:r,selectors:[["mat-select"]],contentQueries:function(l,c,d){if(l&1&&(ht(d,Lye,5),ht(d,LC,5),ht(d,NC,5)),l&2){let u;ye(u=_e())&&(c.customTrigger=u.first),ye(u=_e())&&(c.options=u),ye(u=_e())&&(c.optionGroups=u)}},viewQuery:function(l,c){if(l&1&&(Ye(Cye,5),Ye(Sye,5),Ye(Vv,5)),l&2){let d;ye(d=_e())&&(c.trigger=d.first),ye(d=_e())&&(c.panel=d.first),ye(d=_e())&&(c._overlayDir=d.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(l,c){l&1&&xe("keydown",function(d){return c._handleKeydown(d)})("focus",function(){return c._onFocus()})("blur",function(){return c._onBlur()}),l&2&&(be("id",c.id)("tabindex",c.disabled?-1:c.tabIndex)("aria-controls",c.panelOpen?c.id+"-panel":null)("aria-expanded",c.panelOpen)("aria-label",c.ariaLabel||null)("aria-required",c.required.toString())("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState)("aria-activedescendant",c._getAriaActiveDescendant()),Ee("mat-mdc-select-disabled",c.disabled)("mat-mdc-select-invalid",c.errorState)("mat-mdc-select-required",c.required)("mat-mdc-select-empty",c.empty)("mat-mdc-select-multiple",c.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",pe],disableRipple:[2,"disableRipple","disableRipple",pe],tabIndex:[2,"tabIndex","tabIndex",l=>l==null?0:sn(l)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",pe],placeholder:"placeholder",required:[2,"required","required",pe],multiple:[2,"multiple","multiple",pe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",pe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",sn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",pe]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[st([{provide:Nu,useExisting:r},{provide:PC,useExisting:r}]),Kt],ngContentSelectors:Dye,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(l,c){if(l&1){let d=gt();Ct(Eye),D(0,"div",2,0),xe("click",function(){return Ce(d),Se(c.open())}),D(3,"div",3),V(4,Iye,2,1,"span",4)(5,Oye,3,1,"span",5),I(),D(6,"div",6)(7,"div",7),ir(),D(8,"svg",8),Z(9,"path",9),I()()()(),V(10,Mye,3,10,"ng-template",10),xe("detach",function(){return Ce(d),Se(c.close())})("backdropClick",function(){return Ce(d),Se(c.close())})("overlayKeydown",function(u){return Ce(d),Se(c._handleOverlayKeydown(u))})}if(l&2){let d=Ei(1);S(3),be("id",c._valueId),S(),W(c.empty?4:5),S(6),z("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",c._preferredOverlayOrigin||d)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayWidth",c._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Dd,Vv,Eu],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))}
49
+ `],encapsulation:2,changeDetection:0}));let e=r;return e})(),zye=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[Nye],imports:[Au,Ay,Nt,Ed,cl,Ay,Nt]}));let e=t;return e})(),ZC=(()=>{const t=class t{constructor(){o(this,"changes",new ue);o(this,"itemsPerPageLabel","Items per page:");o(this,"nextPageLabel","Next page");o(this,"previousPageLabel","Previous page");o(this,"firstPageLabel","First page");o(this,"lastPageLabel","Last page");o(this,"getRangeLabel",(a,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let s=a*i,l=s<r?Math.min(s+i,r):s+i;return`${s+1} – ${l} of ${r}`})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),et=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(et||{}),Tn="*";function Bye(e,t=null){return{type:et.Sequence,steps:e,options:t}}function Ny(e){return{type:et.Style,styles:e,offset:null}}var dl=class{constructor(e=0,t=0){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finished",!1);o(this,"_position",0);o(this,"parentPlayer",null);o(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},KC=class{constructor(e){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_onDestroyFns",[]);o(this,"parentPlayer",null);o(this,"totalTime",0);o(this,"players");this.players=e;let t=0,n=0,a=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==i&&this._onFinish()}),r.onDestroy(()=>{++n==i&&this._onDestroy()}),r.onStart(()=>{++a==i&&this._onStart()})}),this.totalTime=this.players.reduce((r,s)=>Math.max(r,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(n=>{let a=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(a)})}getPosition(){let e=this.players.reduce((t,n)=>t===null||n.totalTime>t.totalTime?n:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Eg="!";function Ly(e){return new J(3e3,!1)}function jye(){return new J(3100,!1)}function Hye(){return new J(3101,!1)}function Uye(e){return new J(3001,!1)}function Wye(e){return new J(3003,!1)}function qye(e){return new J(3004,!1)}function $ye(e,t){return new J(3005,!1)}function Yye(){return new J(3006,!1)}function Gye(){return new J(3007,!1)}function Zye(e,t){return new J(3008,!1)}function Kye(e){return new J(3002,!1)}function Qye(e,t,n,a,i){return new J(3010,!1)}function Xye(){return new J(3011,!1)}function Jye(){return new J(3012,!1)}function e0e(){return new J(3200,!1)}function t0e(){return new J(3202,!1)}function a0e(){return new J(3013,!1)}function i0e(e){return new J(3014,!1)}function n0e(e){return new J(3015,!1)}function r0e(e){return new J(3016,!1)}function o0e(e,t){return new J(3404,!1)}function s0e(e){return new J(3502,!1)}function l0e(e){return new J(3503,!1)}function c0e(){return new J(3300,!1)}function d0e(e){return new J(3504,!1)}function u0e(e){return new J(3301,!1)}function h0e(e,t){return new J(3302,!1)}function p0e(e){return new J(3303,!1)}function m0e(e,t){return new J(3400,!1)}function f0e(e){return new J(3401,!1)}function g0e(e){return new J(3402,!1)}function b0e(e,t){return new J(3505,!1)}function Yn(e){switch(e.length){case 0:return new dl;case 1:return e[0];default:return new KC(e)}}function QC(e,t,n=new Map,a=new Map){let i=[],r=[],s=-1,l=null;if(t.forEach(c=>{let d=c.get("offset"),u=d==s,p=u&&l||new Map;c.forEach((b,g)=>{let w=g,k=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,i),k){case Eg:k=n.get(g);break;case Tn:k=a.get(g);break;default:k=e.normalizeStyleValue(g,w,k,i);break}p.set(w,k)}),u||r.push(p),l=p,s=d}),i.length)throw s0e();return r}function Dg(e,t,n,a){switch(t){case"start":e.onStart(()=>a(n&&Yh(n,"start",e)));break;case"done":e.onDone(()=>a(n&&Yh(n,"done",e)));break;case"destroy":e.onDestroy(()=>a(n&&Yh(n,"destroy",e)));break}}function Yh(e,t,n){let a=n.totalTime,i=!!n.disabled,r=Ig(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,a??e.totalTime,i),s=e._data;return s!=null&&(r._data=s),r}function Ig(e,t,n,a,i="",r=0,s){return{element:e,triggerName:t,fromState:n,toState:a,phaseName:i,totalTime:r,disabled:!!s}}function hi(e,t,n){let a=e.get(t);return a||e.set(t,a=n),a}function Fy(e){let t=e.indexOf(":"),n=e.substring(1,t),a=e.slice(t+1);return[n,a]}var v0e=typeof document>"u"?null:document.documentElement;function Ag(e){let t=e.parentNode||e.host||null;return t===v0e?null:t}function y0e(e){return e.substring(1,6)=="ebkit"}var kr=null,Vy=!1;function _0e(e){kr||(kr=x0e()||{},Vy=kr.style?"WebkitAppearance"in kr.style:!1);let t=!0;return kr.style&&!y0e(e)&&(t=e in kr.style,!t&&Vy&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in kr.style)),t}function x0e(){return typeof document<"u"?document.body:null}function XC(e,t){for(;t;){if(t===e)return!0;t=Ag(t)}return!1}function JC(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let a=e.querySelector(t);return a?[a]:[]}var w0e=1e3,eS="{{",k0e="}}",tS="ng-enter",gm="ng-leave",Tc="ng-trigger",Pd=".ng-trigger",zy="ng-animating",bm=".ng-animating";function Sn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:vm(parseFloat(t[1]),t[2])}function vm(e,t){switch(t){case"s":return e*w0e;default:return e}}function Nd(e,t,n){return e.hasOwnProperty("duration")?e:C0e(e,t,n)}function C0e(e,t,n){let a=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,s="";if(typeof e=="string"){let l=e.match(a);if(l===null)return t.push(Ly()),{duration:0,delay:0,easing:""};i=vm(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(r=vm(parseFloat(c),l[4]));let d=l[5];d&&(s=d)}else i=e;if(!n){let l=!1,c=t.length;i<0&&(t.push(jye()),l=!0),r<0&&(t.push(Hye()),l=!0),l&&t.splice(c,0,Ly())}return{duration:i,delay:r,easing:s}}function S0e(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Gi(e,t,n){t.forEach((a,i)=>{let r=Tg(i);n&&!n.has(i)&&n.set(i,e.style[r]),e.style[r]=a})}function Rr(e,t){t.forEach((n,a)=>{let i=Tg(a);e.style[i]=""})}function Is(e){return Array.isArray(e)?e.length==1?e[0]:Bye(e):e}function E0e(e,t,n){let a=t.params||{},i=aS(e);i.length&&i.forEach(r=>{a.hasOwnProperty(r)||n.push(Uye())})}var ym=new RegExp(`${eS}\\s*(.+?)\\s*${k0e}`,"g");function aS(e){let t=[];if(typeof e=="string"){let n;for(;n=ym.exec(e);)t.push(n[1]);ym.lastIndex=0}return t}function ul(e,t,n){let a=`${e}`,i=a.replace(ym,(r,s)=>{let l=t[s];return l==null&&(n.push(Wye()),l=""),l.toString()});return i==a?e:i}var D0e=/-+([a-z0-9])/g;function Tg(e){return e.replace(D0e,(...t)=>t[1].toUpperCase())}function I0e(e,t){return e===0||t===0}function A0e(e,t,n){if(n.size&&t.length){let a=t[0],i=[];if(n.forEach((r,s)=>{a.has(s)||i.push(s),a.set(s,r)}),i.length)for(let r=1;r<t.length;r++){let s=t[r];i.forEach(l=>s.set(l,Og(e,l)))}}return t}function ui(e,t,n){switch(t.type){case et.Trigger:return e.visitTrigger(t,n);case et.State:return e.visitState(t,n);case et.Transition:return e.visitTransition(t,n);case et.Sequence:return e.visitSequence(t,n);case et.Group:return e.visitGroup(t,n);case et.Animate:return e.visitAnimate(t,n);case et.Keyframes:return e.visitKeyframes(t,n);case et.Style:return e.visitStyle(t,n);case et.Reference:return e.visitReference(t,n);case et.AnimateChild:return e.visitAnimateChild(t,n);case et.AnimateRef:return e.visitAnimateRef(t,n);case et.Query:return e.visitQuery(t,n);case et.Stagger:return e.visitStagger(t,n);default:throw qye(t.type)}}function Og(e,t){return window.getComputedStyle(e)[t]}var T0e=(()=>{const t=class t{validateStyleProperty(a){return _0e(a)}containsElement(a,i){return XC(a,i)}getParentElement(a){return Ag(a)}query(a,i,r){return JC(a,i,r)}computeStyle(a,i,r){return r||""}animate(a,i,r,s,l,c=[],d){return new dl(r,s)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),up,iS=(up=class{},o(up,"NOOP",new T0e),up),Mg=class{},O0e=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"]),M0e=class extends Mg{normalizePropertyName(e,t){return Tg(e)}normalizeStyleValue(e,t,n,a){let i="",r=n.toString().trim();if(O0e.has(t)&&n!==0&&n!=="0")if(typeof n=="number")i="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&a.push($ye())}return r+i}},Ld="*";function R0e(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(a=>P0e(a,n,t)):n.push(e),n}function P0e(e,t,n){if(e[0]==":"){let c=N0e(e,n);if(typeof c=="function"){t.push(c);return}e=c}let a=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(a==null||a.length<4)return n.push(n0e()),t;let i=a[1],r=a[2],s=a[3];t.push(By(i,s));let l=i==Ld&&s==Ld;r[0]=="<"&&!l&&t.push(By(s,i))}function N0e(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,a)=>parseFloat(a)>parseFloat(n);case":decrement":return(n,a)=>parseFloat(a)<parseFloat(n);default:return t.push(r0e()),"* => *"}}var Oc=new Set(["true","1"]),Mc=new Set(["false","0"]);function By(e,t){let n=Oc.has(e)||Mc.has(e),a=Oc.has(t)||Mc.has(t);return(i,r)=>{let s=e==Ld||e==i,l=t==Ld||t==r;return!s&&n&&typeof i=="boolean"&&(s=i?Oc.has(e):Mc.has(e)),!l&&a&&typeof r=="boolean"&&(l=r?Oc.has(t):Mc.has(t)),s&&l}}var nS=":self",L0e=new RegExp(`s*${nS}s*,?`,"g");function rS(e,t,n,a){return new F0e(e).build(t,n,a)}var jy="",F0e=class{constructor(e){o(this,"_driver");this._driver=e}build(e,t,n){let a=new B0e(t);return this._resetContextStyleTimingState(a),ui(this,Is(e),a)}_resetContextStyleTimingState(e){e.currentQuerySelector=jy,e.collectedStyles=new Map,e.collectedStyles.set(jy,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,a=t.depCount=0,i=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(Yye()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(t),s.type==et.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,i.push(this.visitState(l,t))}),l.name=c}else if(s.type==et.Transition){let l=this.visitTransition(s,t);n+=l.queryCount,a+=l.depCount,r.push(l)}else t.errors.push(Gye())}),{type:et.Trigger,name:e.name,states:i,transitions:r,queryCount:n,depCount:a,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),a=e.options&&e.options.params||null;if(n.containsDynamicStyles){let i=new Set,r=a||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{aS(l).forEach(c=>{r.hasOwnProperty(c)||i.add(c)})})}),i.size&&t.errors.push(Zye(e.name,[...i.values()]))}return{type:et.State,name:e.name,style:n,options:a?{params:a}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=ui(this,Is(e.animation),t),a=R0e(e.expr,t.errors);return{type:et.Transition,matchers:a,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Cr(e.options)}}visitSequence(e,t){return{type:et.Sequence,steps:e.steps.map(n=>ui(this,n,t)),options:Cr(e.options)}}visitGroup(e,t){let n=t.currentTime,a=0,i=e.steps.map(r=>{t.currentTime=n;let s=ui(this,r,t);return a=Math.max(a,t.currentTime),s});return t.currentTime=a,{type:et.Group,steps:i,options:Cr(e.options)}}visitAnimate(e,t){let n=H0e(e.timings,t.errors);t.currentAnimateTimings=n;let a,i=e.styles?e.styles:Ny({});if(i.type==et.Keyframes)a=this.visitKeyframes(i,t);else{let r=e.styles,s=!1;if(!r){s=!0;let c={};n.easing&&(c.easing=n.easing),r=Ny(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(r,t);l.isEmptyStep=s,a=l}return t.currentAnimateTimings=null,{type:et.Animate,timings:n,style:a,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],a=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of a)typeof s=="string"?s===Tn?n.push(s):t.errors.push(Kye()):n.push(new Map(Object.entries(s)));let i=!1,r=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(r=s.get("easing"),s.delete("easing")),!i)){for(let l of s.values())if(l.toString().indexOf(eS)>=0){i=!0;break}}}),{type:et.Style,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,a=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(i!=a&&i>=d.startTime&&a<=d.endTime&&(t.errors.push(Qye(l,d.startTime,d.endTime)),u=!1),i=d.startTime),u&&c.set(l,{startTime:i,endTime:a}),t.options&&E0e(s,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:et.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Xye()),n;let a=1,i=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(E=>{let O=this._makeStyleAst(E,t),B=O.offset!=null?O.offset:j0e(O.styles),j=0;return B!=null&&(i++,j=O.offset=B),l=l||j<0||j>1,s=s||j<c,c=j,r.push(j),O});l&&t.errors.push(Jye()),s&&t.errors.push(e0e());let u=e.steps.length,p=0;i>0&&i<u?t.errors.push(t0e()):i==0&&(p=a/(u-1));let b=u-1,g=t.currentTime,w=t.currentAnimateTimings,k=w.duration;return d.forEach((E,O)=>{let B=p>0?O==b?1:p*O:r[O],j=B*k;t.currentTime=g+w.delay+j,w.duration=j,this._validateStyleAst(E,t),E.offset=B,n.styles.push(E)}),n}visitReference(e,t){return{type:et.Reference,animation:ui(this,Is(e.animation),t),options:Cr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:et.AnimateChild,options:Cr(e.options)}}visitAnimateRef(e,t){return{type:et.AnimateRef,animation:this.visitReference(e.animation,t),options:Cr(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,a=e.options||{};t.queryCount++,t.currentQuery=e;let[i,r]=V0e(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,hi(t.collectedStyles,t.currentQuerySelector,new Map);let s=ui(this,Is(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:et.Query,selector:i,limit:a.limit||0,optional:!!a.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:Cr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(a0e());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Nd(e.timings,t.errors,!0);return{type:et.Stagger,animation:ui(this,Is(e.animation),t),timings:n,options:null}}};function V0e(e){let t=!!e.split(/\s*,\s*/).find(n=>n==nS);return t&&(e=e.replace(L0e,"")),e=e.replace(/@\*/g,Pd).replace(/@\w+/g,n=>Pd+"-"+n.slice(1)).replace(/:animating/g,bm),[e,t]}function z0e(e){return e?ge({},e):null}var B0e=class{constructor(e){o(this,"errors");o(this,"queryCount",0);o(this,"depCount",0);o(this,"currentTransition",null);o(this,"currentQuery",null);o(this,"currentQuerySelector",null);o(this,"currentAnimateTimings",null);o(this,"currentTime",0);o(this,"collectedStyles",new Map);o(this,"options",null);o(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function j0e(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){let a=n;t=parseFloat(a.get("offset")),a.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function H0e(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let i=Nd(e,t).duration;return Gh(i,0,"")}let n=e;if(n.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Gh(0,0,"");return i.dynamic=!0,i.strValue=n,i}let a=Nd(n,t);return Gh(a.duration,a.delay,a.easing)}function Cr(e){return e?(e=ge({},e),e.params&&(e.params=z0e(e.params))):e={},e}function Gh(e,t,n){return{duration:e,delay:t,easing:n}}function Rg(e,t,n,a,i,r,s=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:a,duration:i,delay:r,totalTime:i+r,easing:s,subTimeline:l}}var Pg=class{constructor(){o(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},U0e=1,W0e=":enter",q0e=new RegExp(W0e,"g"),$0e=":leave",Y0e=new RegExp($0e,"g");function oS(e,t,n,a,i,r=new Map,s=new Map,l,c,d=[]){return new G0e().buildKeyframes(e,t,n,a,i,r,s,l,c,d)}var G0e=class{buildKeyframes(e,t,n,a,i,r,s,l,c,d=[]){c=c||new Pg;let u=new Z0e(e,t,c,a,i,d,[]);u.options=l;let p=l.delay?Sn(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([r],null,u.errors,l),ui(this,n,u);let b=u.timelines.filter(g=>g.containsAnimation());if(b.length&&s.size){let g;for(let w=b.length-1;w>=0;w--){let k=b[w];if(k.element===t){g=k;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,u.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[Rg(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let a=t.createSubContext(e.options),i=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,a,a.options);i!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let a of e){let i=a==null?void 0:a.delay;if(i){let r=typeof i=="number"?i:Sn(ul(i,(a==null?void 0:a.params)??{},t.errors));n.delayNextStep(r)}}}_visitSubInstructions(e,t,n){let a=t.currentTimeline.currentTime,i=n.duration!=null?Sn(n.duration):null,r=n.delay!=null?Sn(n.delay):null;return i!==0&&e.forEach(s=>{let l=t.appendInstructionToTimeline(s,i,r);a=Math.max(a,l.duration+l.delay)}),a}visitReference(e,t){t.updateOptions(e.options,!0),ui(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,a=t,i=e.options;if(i&&(i.params||i.delay)&&(a=t.createSubContext(i),a.transformIntoNewTimeline(),i.delay!=null)){a.previousNode.type==et.Style&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Fd);let r=Sn(i.delay);a.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>ui(this,r,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>n&&a.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],a=t.currentTimeline.currentTime,i=e.options&&e.options.delay?Sn(e.options.delay):0;e.steps.forEach(r=>{let s=t.createSubContext(e.options);i&&s.delayNextStep(i),ui(this,r,s),a=Math.max(a,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(a),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,a=t.params?ul(n,t.params,t.errors):n;return Nd(a,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),a=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),a.snapshotCurrentStyles());let i=e.style;i.type==et.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,a=t.currentAnimateTimings;!a&&n.hasCurrentStyleProperties()&&n.forwardFrame();let i=a&&a.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,a=t.currentTimeline.duration,i=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(s=>{let l=s.offset||0;r.forwardTime(l*i),r.setStyles(s.styles,s.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(a+i),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,a=e.options||{},i=a.delay?Sn(a.delay):0;i&&(t.previousNode.type===et.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Fd);let r=n,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);i&&u.delayNextStep(i),c===t.element&&(l=u.currentTimeline),ui(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;r=Math.max(r,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,a=t.currentTimeline,i=e.timings,r=Math.abs(i.duration),s=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let d=c.currentTime;ui(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=a.currentTime-d+(a.startTime-n.currentTimeline.startTime)}},Fd={},Z0e=class sS{constructor(t,n,a,i,r,s,l,c){o(this,"_driver");o(this,"element");o(this,"subInstructions");o(this,"_enterClassName");o(this,"_leaveClassName");o(this,"errors");o(this,"timelines");o(this,"parentContext",null);o(this,"currentTimeline");o(this,"currentAnimateTimings",null);o(this,"previousNode",Fd);o(this,"subContextCount",0);o(this,"options",{});o(this,"currentQueryIndex",0);o(this,"currentQueryTotal",0);o(this,"currentStaggerTime",0);this._driver=t,this.element=n,this.subInstructions=a,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=l,this.currentTimeline=c||new lS(this._driver,n,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let a=t,i=this.options;a.duration!=null&&(i.duration=Sn(a.duration)),a.delay!=null&&(i.delay=Sn(a.delay));let r=a.params;if(r){let s=i.params;s||(s=this.options.params={}),Object.keys(r).forEach(l=>{(!n||!s.hasOwnProperty(l))&&(s[l]=ul(r[l],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let a=t.params={};Object.keys(n).forEach(i=>{a[i]=n[i]})}}return t}createSubContext(t=null,n,a){let i=n||this.element,r=new sS(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,a||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=Fd,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,a){let i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(a??0)+t.delay,easing:""},r=new K0e(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,a,i,r,s){let l=[];if(i&&l.push(this.element),t.length>0){t=t.replace(q0e,"."+this._enterClassName),t=t.replace(Y0e,"."+this._leaveClassName);let c=a!=1,d=this._driver.query(this.element,t,c);a!==0&&(d=a<0?d.slice(d.length+a,d.length):d.slice(0,a)),l.push(...d)}return!r&&l.length==0&&s.push(i0e()),l}},lS=class cS{constructor(t,n,a,i){o(this,"_driver");o(this,"element");o(this,"startTime");o(this,"_elementTimelineStylesLookup");o(this,"duration",0);o(this,"easing",null);o(this,"_previousKeyframe",new Map);o(this,"_currentKeyframe",new Map);o(this,"_keyframes",new Map);o(this,"_styleSummary",new Map);o(this,"_localTimelineStyles",new Map);o(this,"_globalTimelineStyles");o(this,"_pendingStyles",new Map);o(this,"_backFill",new Map);o(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=n,this.startTime=a,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new cS(this._driver,t,n||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+=U0e,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,a]of this._globalTimelineStyles)this._backFill.set(n,a||Tn),this._currentKeyframe.set(n,Tn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,a,i){n&&this._previousKeyframe.set("easing",n);let r=i&&i.params||{},s=Q0e(t,this._globalTimelineStyles);for(let[l,c]of s){let d=ul(c,r,a);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Tn),this._updateStyle(l,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,a)=>{let i=this._styleSummary.get(a);(!i||n.time>i.time)&&this._updateStyle(a,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,a=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((l,c)=>{let d=new Map([...this._backFill,...l]);d.forEach((u,p)=>{u===Eg?t.add(p):u===Tn&&n.add(p)}),a||d.set("offset",c/this.duration),i.push(d)});let r=[...t.values()],s=[...n.values()];if(a){let l=i[0],c=new Map(l);l.set("offset",0),c.set("offset",1),i=[l,c]}return Rg(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}},K0e=class extends lS{constructor(t,n,a,i,r,s,l=!1){super(t,n,s.delay);o(this,"keyframes");o(this,"preStyleProps");o(this,"postStyleProps");o(this,"_stretchStartingKeyframe");o(this,"timings");this.keyframes=a,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:a,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let r=[],s=a+n,l=n/s,c=new Map(t[0]);c.set("offset",0),r.push(c);let d=new Map(t[0]);d.set("offset",Hy(l)),r.push(d);let u=t.length-1;for(let p=1;p<=u;p++){let b=new Map(t[p]),g=b.get("offset"),w=n+g*a;b.set("offset",Hy(w/s)),r.push(b)}a=s,n=0,i="",t=r}return Rg(this.element,t,this.preStyleProps,this.postStyleProps,a,n,i,!0)}};function Hy(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function Q0e(e,t){let n=new Map,a;return e.forEach(i=>{if(i==="*"){a??(a=t.keys());for(let r of a)n.set(r,Tn)}else for(let[r,s]of i)n.set(r,s)}),n}function Uy(e,t,n,a,i,r,s,l,c,d,u,p,b){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:r,toState:a,toStyles:s,timelines:l,queriedElements:c,preStyleProps:d,postStyleProps:u,totalTime:p,errors:b}}var Zh={},dS=class{constructor(e,t,n){o(this,"_triggerName");o(this,"ast");o(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,a){return X0e(this.ast.matchers,e,t,n,a)}buildStyles(e,t,n){let a=this._stateStyles.get("*");return e!==void 0&&(a=this._stateStyles.get(e==null?void 0:e.toString())||a),a?a.buildStyles(t,n):new Map}build(e,t,n,a,i,r,s,l,c,d){var ba;let u=[],p=this.ast.options&&this.ast.options.params||Zh,b=s&&s.params||Zh,g=this.buildStyles(n,b,u),w=l&&l.params||Zh,k=this.buildStyles(a,w,u),E=new Set,O=new Map,B=new Map,j=a==="void",fe={params:uS(w,p),delay:(ba=this.ast.options)==null?void 0:ba.delay},Pe=d?[]:oS(e,t,this.ast.animation,i,r,g,k,fe,c,u),He=0;return Pe.forEach(Qt=>{He=Math.max(Qt.duration+Qt.delay,He)}),u.length?Uy(t,this._triggerName,n,a,j,g,k,[],[],O,B,He,u):(Pe.forEach(Qt=>{let Tt=Qt.element,oa=hi(O,Tt,new Set);Qt.preStyleProps.forEach(ne=>oa.add(ne));let me=hi(B,Tt,new Set);Qt.postStyleProps.forEach(ne=>me.add(ne)),Tt!==t&&E.add(Tt)}),Uy(t,this._triggerName,n,a,j,g,k,Pe,[...E.values()],O,B,He))}};function X0e(e,t,n,a,i){return e.some(r=>r(t,n,a,i))}function uS(e,t){let n=ge({},t);return Object.entries(e).forEach(([a,i])=>{i!=null&&(n[a]=i)}),n}var J0e=class{constructor(e,t,n){o(this,"styles");o(this,"defaultParams");o(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,a=uS(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((r,s)=>{r&&(r=ul(r,a,t));let l=this.normalizer.normalizePropertyName(s,t);r=this.normalizer.normalizeStyleValue(s,l,r,t),n.set(s,r)})}),n}};function e_e(e,t,n){return new t_e(e,t,n)}var t_e=class{constructor(e,t,n){o(this,"name");o(this,"ast");o(this,"_normalizer");o(this,"transitionFactories",[]);o(this,"fallbackTransition");o(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(a=>{let i=a.options&&a.options.params||{};this.states.set(a.name,new J0e(a.style,i,n))}),Wy(this.states,"true","1"),Wy(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new dS(e,a,this.states))}),this.fallbackTransition=a_e(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,a){return this.transitionFactories.find(i=>i.match(e,t,n,a))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function a_e(e,t,n){let a=[(s,l)=>!0],i={type:et.Sequence,steps:[],options:null},r={type:et.Transition,animation:i,matchers:a,options:null,queryCount:0,depCount:0};return new dS(e,r,t)}function Wy(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}var i_e=new Pg,n_e=class{constructor(e,t,n){o(this,"bodyNode");o(this,"_driver");o(this,"_normalizer");o(this,"_animations",new Map);o(this,"_playersById",new Map);o(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],a=[],i=rS(this._driver,t,n,a);if(n.length)throw l0e();this._animations.set(e,i)}_buildPlayer(e,t,n){let a=e.element,i=QC(this._normalizer,e.keyframes,t,n);return this._driver.animate(a,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let a=[],i=this._animations.get(e),r,s=new Map;if(i?(r=oS(this._driver,t,i,tS,gm,new Map,new Map,n,i_e,a),r.forEach(d=>{let u=hi(s,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(a.push(c0e()),r=[]),a.length)throw d0e();s.forEach((d,u)=>{d.forEach((p,b)=>{d.set(b,this._driver.computeStyle(u,b,Tn))})});let l=r.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Yn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw u0e();return t}listen(e,t,n,a){let i=Ig(t,"","","");return Dg(this._getPlayer(e),n,i,a),()=>{}}command(e,t,n,a){if(n=="register"){this.register(e,a[0]);return}if(n=="create"){let r=a[0]||{};this.create(e,t,r);return}let i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(e);break}}},qy="ng-animate-queued",r_e=".ng-animate-queued",Kh="ng-animate-disabled",o_e=".ng-animate-disabled",s_e="ng-star-inserted",l_e=".ng-star-inserted",c_e=[],hS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},d_e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ri="__ng_removed",_m=class{constructor(e,t=""){o(this,"namespaceId");o(this,"value");o(this,"options");this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),a=n?e.value:e;if(this.value=m_e(a),n){let i=e,{value:r}=i,s=Zne(i,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(a=>{n[a]==null&&(n[a]=t[a])})}}},Us="void",Qh=new _m(Us),u_e=class{constructor(e,t,n){o(this,"id");o(this,"hostElement");o(this,"_engine");o(this,"players",[]);o(this,"_triggers",new Map);o(this,"_queue",[]);o(this,"_elementListeners",new Map);o(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,xi(t,this._hostClassName)}listen(e,t,n,a){if(!this._triggers.has(t))throw h0e();if(n==null||n.length==0)throw p0e();if(!f_e(n))throw m0e();let i=hi(this._elementListeners,e,[]),r={name:t,phase:n,callback:a};i.push(r);let s=hi(this._engine.statesByElement,e,new Map);return s.has(t)||(xi(e,Tc),xi(e,Tc+"-"+t),s.set(t,Qh)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(r);l>=0&&i.splice(l,1),this._triggers.has(t)||s.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw f0e();return t}trigger(e,t,n,a=!0){let i=this._getTrigger(t),r=new xm(this.id,t,e),s=this._engine.statesByElement.get(e);s||(xi(e,Tc),xi(e,Tc+"-"+t),this._engine.statesByElement.set(e,s=new Map));let l=s.get(t),c=new _m(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(t,c),l||(l=Qh),c.value!==Us&&l.value===c.value){if(!v_e(l.params,c.params)){let b=[],g=i.matchStyles(l.value,l.params,b),w=i.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Rr(e,g),Gi(e,w)})}return}let d=hi(this._engine.playersByElement,e,[]);d.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let u=i.matchTransition(l.value,c.value,e,c.params),p=!1;if(!u){if(!a)return;u=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:l,toState:c,player:r,isFallbackTransition:p}),p||(xi(e,qy),r.onStart(()=>{bo(e,qy)})),r.onDone(()=>{let b=this.players.indexOf(r);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(r);w>=0&&g.splice(w,1)}}),this.players.push(r),d.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(a=>a.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,Pd,!0);n.forEach(a=>{if(a[Ri])return;let i=this._engine.fetchNamespacesByElement(a);i.size?i.forEach(r=>r.triggerLeaveAnimation(a,t,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(e,t,n,a){let i=this._engine.statesByElement.get(e),r=new Map;if(i){let s=[];if(i.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Us,a);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&Yn(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let a=new Set;t.forEach(i=>{let r=i.name;if(a.has(r))return;a.add(r);let s=this._triggers.get(r).fallbackTransition,l=n.get(r)||Qh,c=new _m(Us),d=new xm(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:s,fromState:l,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let a=!1;if(n.totalAnimations){let i=n.players.length?n.playersByQueriedElement.get(e):[];if(i&&i.length)a=!0;else{let r=e;for(;r=r.parentNode;)if(n.statesByElement.get(r)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(e),a)n.markElementAsRemoved(this.id,e,!1,t);else{let i=e[Ri];(!i||i===hS)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){xi(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let a=n.player;if(a.destroyed)return;let i=n.element,r=this._elementListeners.get(i);r&&r.forEach(s=>{if(s.name==n.triggerName){let l=Ig(i,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Dg(n.player,s.phase,l,s.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(n)}),this._queue=[],t.sort((n,a)=>{let i=n.transition.ast.depCount,r=a.transition.ast.depCount;return i==0||r==0?i-r:this._engine.driver.containsElement(n.element,a.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},h_e=class{constructor(e,t,n){o(this,"bodyNode");o(this,"driver");o(this,"_normalizer");o(this,"players",[]);o(this,"newHostElements",new Map);o(this,"playersByElement",new Map);o(this,"playersByQueriedElement",new Map);o(this,"statesByElement",new Map);o(this,"disabledNodes",new Set);o(this,"totalAnimations",0);o(this,"totalQueuedPlayers",0);o(this,"_namespaceLookup",{});o(this,"_namespaceList",[]);o(this,"_flushFns",[]);o(this,"_whenQuietFns",[]);o(this,"namespacesByHostElement",new Map);o(this,"collectedEnterElements",[]);o(this,"collectedLeaveElements",[]);o(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=n}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new u_e(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,a=this.namespacesByHostElement;if(n.length-1>=0){let i=!1,r=this.driver.getParentElement(t);for(;r;){let s=a.get(r);if(s){let l=n.indexOf(s);n.splice(l+1,0,e),i=!0;break}r=this.driver.getParentElement(r)}i||n.unshift(e)}else n.push(e);return a.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let a=this._namespaceLookup[e];a&&a.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let a=this._namespaceList.indexOf(n);a>=0&&this._namespaceList.splice(a,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let a of n.values())if(a.namespaceId){let i=this._fetchNamespace(a.namespaceId);i&&t.add(i)}}return t}trigger(e,t,n,a){if(Rc(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,n,a),!0}return!1}insertNode(e,t,n,a){if(!Rc(t))return;let i=t[Ri];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,n)}a&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),xi(e,Kh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),bo(e,Kh))}removeNode(e,t,n){if(Rc(t)){let a=e?this._fetchNamespace(e):null;a?a.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,a,i){this.collectedLeaveElements.push(t),t[Ri]={namespaceId:e,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,n,a,i){return Rc(t)?this._fetchNamespace(e).listen(t,n,a,i):()=>{}}_buildInstruction(e,t,n,a,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,a,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Pd,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,bm,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Yn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[Ri];if(t&&t.setForRemoval){if(e[Ri]=hS,t.namespaceId){this.destroyInnerAnimations(e);let a=this._fetchNamespace(t.namespaceId);a&&a.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(n=e.classList)!=null&&n.contains(Kh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,o_e,!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,a)=>this._balanceNamespaceList(n,a)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let a=this.collectedEnterElements[n];xi(a,s_e)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let a=0;a<n.length;a++)n[a]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let a=this.collectedLeaveElements[n];this.processLeaveNode(a)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?Yn(t).onDone(()=>{n.forEach(a=>a())}):n.forEach(a=>a())}}reportError(e){throw g0e()}_flushAnimations(e,t){let n=new Pg,a=[],i=new Map,r=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach($=>{d.add($);let Q=this.driver.query($,r_e,!0);for(let le=0;le<Q.length;le++)d.add(Q[le])});let u=this.bodyNode,p=Array.from(this.statesByElement.keys()),b=Gy(p,this.collectedEnterElements),g=new Map,w=0;b.forEach(($,Q)=>{let le=tS+w++;g.set(Q,le),$.forEach(Qe=>xi(Qe,le))});let k=[],E=new Set,O=new Set;for(let $=0;$<this.collectedLeaveElements.length;$++){let Q=this.collectedLeaveElements[$],le=Q[Ri];le&&le.setForRemoval&&(k.push(Q),E.add(Q),le.hasAnimation?this.driver.query(Q,l_e,!0).forEach(Qe=>E.add(Qe)):O.add(Q))}let B=new Map,j=Gy(p,Array.from(E));j.forEach(($,Q)=>{let le=gm+w++;B.set(Q,le),$.forEach(Qe=>xi(Qe,le))}),e.push(()=>{b.forEach(($,Q)=>{let le=g.get(Q);$.forEach(Qe=>bo(Qe,le))}),j.forEach(($,Q)=>{let le=B.get(Q);$.forEach(Qe=>bo(Qe,le))}),k.forEach($=>{this.processLeaveNode($)})});let fe=[],Pe=[];for(let $=this._namespaceList.length-1;$>=0;$--)this._namespaceList[$].drainQueuedTransitions(t).forEach(Q=>{let le=Q.player,Qe=Q.element;if(fe.push(le),this.collectedEnterElements.length){let Ot=Qe[Ri];if(Ot&&Ot.setForMove){if(Ot.previousTriggersValues&&Ot.previousTriggersValues.has(Q.triggerName)){let Na=Ot.previousTriggersValues.get(Q.triggerName),va=this.statesByElement.get(Q.element);if(va&&va.has(Q.triggerName)){let Hi=va.get(Q.triggerName);Hi.value=Na,va.set(Q.triggerName,Hi)}}le.destroy();return}}let St=!u||!this.driver.containsElement(u,Qe),Pa=B.get(Qe),it=g.get(Qe),lt=this._buildInstruction(Q,n,it,Pa,St);if(lt.errors&&lt.errors.length){Pe.push(lt);return}if(St){le.onStart(()=>Rr(Qe,lt.fromStyles)),le.onDestroy(()=>Gi(Qe,lt.toStyles)),a.push(le);return}if(Q.isFallbackTransition){le.onStart(()=>Rr(Qe,lt.fromStyles)),le.onDestroy(()=>Gi(Qe,lt.toStyles)),a.push(le);return}let Bt=[];lt.timelines.forEach(Ot=>{Ot.stretchStartingKeyframe=!0,this.disabledNodes.has(Ot.element)||Bt.push(Ot)}),lt.timelines=Bt,n.append(Qe,lt.timelines);let Ai={instruction:lt,player:le,element:Qe};r.push(Ai),lt.queriedElements.forEach(Ot=>hi(s,Ot,[]).push(le)),lt.preStyleProps.forEach((Ot,Na)=>{if(Ot.size){let va=l.get(Na);va||l.set(Na,va=new Set),Ot.forEach((Hi,Hn)=>va.add(Hn))}}),lt.postStyleProps.forEach((Ot,Na)=>{let va=c.get(Na);va||c.set(Na,va=new Set),Ot.forEach((Hi,Hn)=>va.add(Hn))})});if(Pe.length){let $=[];Pe.forEach(Q=>{$.push(b0e(Q.triggerName,Q.errors))}),fe.forEach(Q=>Q.destroy()),this.reportError($)}let He=new Map,ba=new Map;r.forEach($=>{let Q=$.element;n.has(Q)&&(ba.set(Q,Q),this._beforeAnimationBuild($.player.namespaceId,$.instruction,He))}),a.forEach($=>{let Q=$.element;this._getPreviousPlayers(Q,!1,$.namespaceId,$.triggerName,null).forEach(le=>{hi(He,Q,[]).push(le),le.destroy()})});let Qt=k.filter($=>Zy($,l,c)),Tt=new Map;Yy(Tt,this.driver,O,c,Tn).forEach($=>{Zy($,l,c)&&Qt.push($)});let oa=new Map;b.forEach(($,Q)=>{Yy(oa,this.driver,new Set($),l,Eg)}),Qt.forEach($=>{let Q=Tt.get($),le=oa.get($);Tt.set($,new Map([...(Q==null?void 0:Q.entries())??[],...(le==null?void 0:le.entries())??[]]))});let me=[],ne=[],qe={};r.forEach($=>{let{element:Q,player:le,instruction:Qe}=$;if(n.has(Q)){if(d.has(Q)){le.onDestroy(()=>Gi(Q,Qe.toStyles)),le.disabled=!0,le.overrideTotalTime(Qe.totalTime),a.push(le);return}let St=qe;if(ba.size>1){let it=Q,lt=[];for(;it=it.parentNode;){let Bt=ba.get(it);if(Bt){St=Bt;break}lt.push(it)}lt.forEach(Bt=>ba.set(Bt,St))}let Pa=this._buildAnimation(le.namespaceId,Qe,He,i,oa,Tt);if(le.setRealPlayer(Pa),St===qe)me.push(le);else{let it=this.playersByElement.get(St);it&&it.length&&(le.parentPlayer=Yn(it)),a.push(le)}}else Rr(Q,Qe.fromStyles),le.onDestroy(()=>Gi(Q,Qe.toStyles)),ne.push(le),d.has(Q)&&a.push(le)}),ne.forEach($=>{let Q=i.get($.element);if(Q&&Q.length){let le=Yn(Q);$.setRealPlayer(le)}}),a.forEach($=>{$.parentPlayer?$.syncPlayerEvents($.parentPlayer):$.destroy()});for(let $=0;$<k.length;$++){let Q=k[$],le=Q[Ri];if(bo(Q,gm),le&&le.hasAnimation)continue;let Qe=[];if(s.size){let Pa=s.get(Q);Pa&&Pa.length&&Qe.push(...Pa);let it=this.driver.query(Q,bm,!0);for(let lt=0;lt<it.length;lt++){let Bt=s.get(it[lt]);Bt&&Bt.length&&Qe.push(...Bt)}}let St=Qe.filter(Pa=>!Pa.destroyed);St.length?g_e(this,Q,St):this.processLeaveNode(Q)}return k.length=0,me.forEach($=>{this.players.push($),$.onDone(()=>{$.destroy();let Q=this.players.indexOf($);this.players.splice(Q,1)}),$.play()}),me}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,a,i){let r=[];if(t){let s=this.playersByQueriedElement.get(e);s&&(r=s)}else{let s=this.playersByElement.get(e);if(s){let l=!i||i==Us;s.forEach(c=>{c.queued||!l&&c.triggerName!=a||r.push(c)})}}return(n||a)&&(r=r.filter(s=>!(n&&n!=s.namespaceId||a&&a!=s.triggerName))),r}_beforeAnimationBuild(e,t,n){let a=t.triggerName,i=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:a;for(let l of t.timelines){let c=l.element,d=c!==i,u=hi(n,c,[]);this._getPreviousPlayers(c,d,r,s,t.toState).forEach(p=>{let b=p.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),p.destroy(),u.push(p)})}Rr(i,t.fromStyles)}_buildAnimation(e,t,n,a,i,r){let s=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(g=>{let w=g.element;d.add(w);let k=w[Ri];if(k&&k.removedBeforeQueried)return new dl(g.duration,g.delay);let E=w!==l,O=b_e((n.get(w)||c_e).map(He=>He.getRealPlayer())).filter(He=>{let ba=He;return ba.element?ba.element===w:!1}),B=i.get(w),j=r.get(w),fe=QC(this._normalizer,g.keyframes,B,j),Pe=this._buildPlayer(g,fe,O);if(g.subTimeline&&a&&u.add(w),E){let He=new xm(e,s,w);He.setRealPlayer(Pe),c.push(He)}return Pe});c.forEach(g=>{hi(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>p_e(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>xi(g,zy));let b=Yn(p);return b.onDestroy(()=>{d.forEach(g=>bo(g,zy)),Gi(l,t.toStyles)}),u.forEach(g=>{hi(a,g,[]).push(b)}),b}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new dl(e.duration,e.delay)}},xm=class{constructor(e,t,n){o(this,"namespaceId");o(this,"triggerName");o(this,"element");o(this,"_player",new dl);o(this,"_containsRealPlayer",!1);o(this,"_queuedCallbacks",new Map);o(this,"destroyed",!1);o(this,"parentPlayer",null);o(this,"markedForDestroy",!1);o(this,"disabled",!1);o(this,"queued",!0);o(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(a=>Dg(e,n,void 0,a))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){hi(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function p_e(e,t,n){let a=e.get(t);if(a){if(a.length){let i=a.indexOf(n);a.splice(i,1)}a.length==0&&e.delete(t)}return a}function m_e(e){return e??null}function Rc(e){return e&&e.nodeType===1}function f_e(e){return e=="start"||e=="done"}function $y(e,t){let n=e.style.display;return e.style.display=t??"none",n}function Yy(e,t,n,a,i){let r=[];n.forEach(c=>r.push($y(c)));let s=[];a.forEach((c,d)=>{let u=new Map;c.forEach(p=>{let b=t.computeStyle(d,p,i);u.set(p,b),(!b||b.length==0)&&(d[Ri]=d_e,s.push(d))}),e.set(d,u)});let l=0;return n.forEach(c=>$y(c,r[l++])),s}function Gy(e,t){let n=new Map;if(e.forEach(l=>n.set(l,[])),t.length==0)return n;let a=1,i=new Set(t),r=new Map;function s(l){if(!l)return a;let c=r.get(l);if(c)return c;let d=l.parentNode;return n.has(d)?c=d:i.has(d)?c=a:c=s(d),r.set(l,c),c}return t.forEach(l=>{let c=s(l);c!==a&&n.get(c).push(l)}),n}function xi(e,t){var n;(n=e.classList)==null||n.add(t)}function bo(e,t){var n;(n=e.classList)==null||n.remove(t)}function g_e(e,t,n){Yn(n).onDone(()=>e.processLeaveNode(t))}function b_e(e){let t=[];return pS(e,t),t}function pS(e,t){for(let n=0;n<e.length;n++){let a=e[n];a instanceof KC?pS(a.players,t):t.push(a)}}function v_e(e,t){let n=Object.keys(e),a=Object.keys(t);if(n.length!=a.length)return!1;for(let i=0;i<n.length;i++){let r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function Zy(e,t,n){let a=n.get(e);if(!a)return!1;let i=t.get(e);return i?a.forEach(r=>i.add(r)):t.set(e,a),n.delete(e),!0}var wm=class{constructor(e,t,n){o(this,"_driver");o(this,"_normalizer");o(this,"_transitionEngine");o(this,"_timelineEngine");o(this,"_triggerCache",{});o(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=n,this._transitionEngine=new h_e(e.body,t,n),this._timelineEngine=new n_e(e.body,t,n),this._transitionEngine.onRemovalComplete=(a,i)=>this.onRemovalComplete(a,i)}registerTrigger(e,t,n,a,i){let r=e+"-"+a,s=this._triggerCache[r];if(!s){let l=[],c=[],d=rS(this._driver,i,l,c);if(l.length)throw o0e();s=e_e(a,d,this._normalizer),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(t,a,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,a){this._transitionEngine.insertNode(e,t,n,a)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,a){if(n.charAt(0)=="@"){let[i,r]=Fy(n),s=a;this._timelineEngine.command(i,t,r,s)}else this._transitionEngine.trigger(e,t,n,a)}listen(e,t,n,a,i){if(n.charAt(0)=="@"){let[r,s]=Fy(n);return this._timelineEngine.listen(r,t,s,i)}return this._transitionEngine.listen(e,t,n,a,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function y_e(e,t){let n=null,a=null;return Array.isArray(t)&&t.length?(n=Xh(t[0]),t.length>1&&(a=Xh(t[t.length-1]))):t instanceof Map&&(n=Xh(t)),n||a?new __e(e,n,a):null}var __e=(()=>{const t=class t{constructor(a,i,r){o(this,"_element");o(this,"_startStyles");o(this,"_endStyles");o(this,"_state",0);o(this,"_initialStyles");this._element=a,this._startStyles=i,this._endStyles=r;let s=t.initialStylesByElement.get(a);s||t.initialStylesByElement.set(a,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Gi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gi(this._element,this._initialStyles),this._endStyles&&(Gi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Rr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rr(this._element,this._endStyles),this._endStyles=null),Gi(this._element,this._initialStyles),this._state=3)}};o(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Xh(e){let t=null;return e.forEach((n,a)=>{x_e(a)&&(t=t||new Map,t.set(a,n))}),t}function x_e(e){return e==="display"||e==="position"}var Ky=class{constructor(e,t,n,a){o(this,"element");o(this,"keyframes");o(this,"options");o(this,"_specialStyles");o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_duration");o(this,"_delay");o(this,"_initialized",!1);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finalKeyframe");o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"domPlayer");o(this,"time",0);o(this,"parentPlayer",null);o(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=n,this._specialStyles=a,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:Og(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},w_e=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return XC(e,t)}getParentElement(e){return Ag(e)}query(e,t,n){return JC(e,t,n)}computeStyle(e,t,n){return Og(e,t)}animate(e,t,n,a,i,r=[]){let s=a==0?"both":"forwards",l={duration:n,delay:a,fill:s};i&&(l.easing=i);let c=new Map,d=r.filter(b=>b instanceof Ky);I0e(n,a)&&d.forEach(b=>{b.currentSnapshot.forEach((g,w)=>c.set(w,g))});let u=S0e(t).map(b=>new Map(b));u=A0e(e,u,c);let p=y_e(e,u);return new Ky(e,u,l,p)}},ad="@",mS="@.disabled",fS=class{constructor(e,t,n,a){o(this,"namespaceId");o(this,"delegate");o(this,"engine");o(this,"_onDestroy");o(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=a}get data(){return this.delegate.data}destroyNode(e){var t,n;(n=(t=this.delegate).destroyNode)==null||n.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,a=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,a)}removeChild(e,t,n){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,a){this.delegate.setAttribute(e,t,n,a)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,a){this.delegate.setStyle(e,t,n,a)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==ad&&t==mS?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,a){return this.delegate.listen(e,t,n,a)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},k_e=class extends fS{constructor(t,n,a,i,r){super(n,a,i,r);o(this,"factory");this.factory=t,this.namespaceId=n}setProperty(t,n,a){n.charAt(0)==ad?n.charAt(1)=="."&&n==mS?(a=a===void 0?!0:!!a,this.disableAnimations(t,a)):this.engine.process(this.namespaceId,t,n.slice(1),a):this.delegate.setProperty(t,n,a)}listen(t,n,a,i){if(n.charAt(0)==ad){let r=C_e(t),s=n.slice(1),l="";return s.charAt(0)!=ad&&([s,l]=S_e(s)),this.engine.listen(this.namespaceId,r,s,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,a,c)})}return this.delegate.listen(t,n,a,i)}};function C_e(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function S_e(e){let t=e.indexOf("."),n=e.substring(0,t),a=e.slice(t+1);return[n,a]}var E_e=class{constructor(e,t,n){o(this,"delegate");o(this,"engine");o(this,"_zone");o(this,"_currentId",0);o(this,"_microtaskId",1);o(this,"_animationCallbacksBuffer",[]);o(this,"_rendererCache",new Map);o(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(a,i)=>{i==null||i.removeChild(null,a)}}createRenderer(e,t){var l;let n="",a=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let c=this._rendererCache,d=c.get(a);if(!d){let u=()=>c.delete(a);d=new fS(n,a,this.engine,u),c.set(a,d)}return d}let i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(i,r,e,c.name,c)};return t.data.animation.forEach(s),new k_e(this,r,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let a=this._animationCallbacksBuffer;a.length==0&&queueMicrotask(()=>{this._zone.run(()=>{a.forEach(i=>{let[r,s]=i;r(s)}),this._animationCallbacksBuffer=[]})}),a.push([t,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(e){var t,n;this.engine.flush(),(n=(t=this.delegate).componentReplaced)==null||n.call(t,e)}},D_e=(()=>{const t=class t extends wm{constructor(a,i,r){super(a,i,r)}ngOnDestroy(){this.flush()}};o(t,"ɵfac",function(a){return new(a||t)(ke(at),ke(iS),ke(Mg))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function I_e(){return new M0e}function A_e(e,t,n){return new E_e(e,t,n)}var T_e=[{provide:Mg,useFactory:I_e},{provide:wm,useClass:D_e},{provide:Ii,useFactory:A_e,deps:[um,wm,Ne]}],O_e=[{provide:iS,useFactory:()=>new w_e},{provide:Ia,useFactory:()=>"BrowserAnimations"},...T_e];function M_e(){return Xr("NgEagerAnimations"),[...O_e]}var R_e=(()=>{const t=class t extends ZC{constructor(a){super(),this.translate=a,this.getRangeLabel=(i,r,s)=>{if(s===0||r===0)return`0 / ${s}`;s=Math.max(s,0);let l=i*r,c=l<s?Math.min(l+r,s):l+r;return`${l+1} - ${c} / ${s}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(a){return new(a||t)(ke(Ra))},t.ɵprov=G({token:t,factory:t.ɵfac});let e=t;return e})(),Ng=6048e5,P_e=864e5,N_e=6e4,L_e=36e5,F_e=1e3,Qy=Symbol.for("constructDateFrom");function At(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Qy in e?e[Qy](t):e instanceof Date?new e.constructor(t):new Date(t)}function tt(e,t){return At(t||e,e)}function Bi(e,t,n){let a=tt(e,n==null?void 0:n.in);return isNaN(t)?At((n==null?void 0:n.in)||e,NaN):(t&&a.setDate(a.getDate()+t),a)}function V_e(e,t,n){let a=tt(e,n==null?void 0:n.in);if(isNaN(t))return At(e,NaN);let i=a.getDate(),r=At(e,a.getTime());r.setMonth(a.getMonth()+t+1,0);let s=r.getDate();return i>=s?r:(a.setFullYear(r.getFullYear(),r.getMonth(),i),a)}var z_e={};function ro(){return z_e}function Ka(e,t){var l,c,d,u;let n=ro(),a=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,i=tt(e,t==null?void 0:t.in),r=i.getDay(),s=(r<a?7:0)+r-a;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}function Gr(e,t){return Ka(e,yt(ge({},t),{weekStartsOn:1}))}function gS(e,t){let n=tt(e,t==null?void 0:t.in),a=n.getFullYear(),i=At(n,0);i.setFullYear(a+1,0,4),i.setHours(0,0,0,0);let r=Gr(i),s=At(n,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);let l=Gr(s);return n.getTime()>=r.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}function Go(e){let t=tt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function fr(e,...t){let n=At.bind(null,e||t.find(a=>typeof a=="object"));return t.map(n)}function xt(e,t){let n=tt(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Bu(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t),r=xt(a),s=xt(i),l=+r-Go(r),c=+s-Go(s);return Math.round((l-c)/P_e)}function B_e(e,t){let n=gS(e,t),a=At(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Gr(a)}function Lg(e,t,n){return Bi(e,t*7,n)}function j_e(e,t,n){return V_e(e,t*12,n)}function H_e(e,t){let n,a=t==null?void 0:t.in;return e.forEach(i=>{!a&&typeof i=="object"&&(a=At.bind(null,i));let r=tt(i,a);(!n||n>r||isNaN(+r))&&(n=r)}),At(a,n||NaN)}function U_e(e,t){let n=+tt(e);if(isNaN(n))return NaN;let a,i;return t.forEach((r,s)=>{let l=tt(r);if(isNaN(+l)){a=NaN,i=NaN;return}let c=Math.abs(n-+l);(a==null||c<i)&&(a=s,i=c)}),a}function W_e(e,t,n){let[a,...i]=fr(n==null?void 0:n.in,e,...t),r=U_e(a,i);if(typeof r=="number"&&isNaN(r))return At(a,NaN);if(r!==void 0)return i[r]}function bS(e){return At(e,Date.now())}function vS(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t);return+xt(a)==+xt(i)}function q_e(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $_e(e){return!(!q_e(e)&&typeof e!="number"||isNaN(+tt(e)))}function Y_e(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t),r=a.getFullYear()-i.getFullYear(),s=a.getMonth()-i.getMonth();return r*12+s}function G_e(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t),r=Ka(a,n),s=Ka(i,n),l=+r-Go(r),c=+s-Go(s);return Math.round((l-c)/Ng)}function Z_e(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t);return a.getFullYear()-i.getFullYear()}function Xy(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t),r=Jy(a,i),s=Math.abs(Bu(a,i));a.setDate(a.getDate()-r*s);let l=+(Jy(a,i)===-r),c=r*(s-l);return c===0?0:c}function Jy(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function ju(e,t){let n=tt(e,t==null?void 0:t.in);return n.setHours(23,59,59,999),n}function K_e(e,t){let n=tt(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Fg(e,t){var l,c,d,u;let n=ro(),a=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,i=tt(e,t==null?void 0:t.in),r=i.getDay(),s=(r<a?-7:0)+6-(r-a);return i.setDate(i.getDate()+s),i.setHours(23,59,59,999),i}var Q_e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},X_e=(e,t,n)=>{let a,i=Q_e[e];return typeof i=="string"?a=i:t===1?a=i.one:a=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Jh(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var J_e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},exe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},txe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},axe={date:Jh({formats:J_e,defaultWidth:"full"}),time:Jh({formats:exe,defaultWidth:"full"}),dateTime:Jh({formats:txe,defaultWidth:"full"})},ixe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nxe=(e,t,n,a)=>ixe[e];function As(e){return(t,n)=>{let a=n!=null&&n.context?String(n.context):"standalone",i;if(a==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;i=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return i[r]}}var rxe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oxe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sxe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},lxe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},cxe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},dxe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},uxe=(e,t)=>{let n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},hxe={ordinalNumber:uxe,era:As({values:rxe,defaultWidth:"wide"}),quarter:As({values:oxe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:As({values:sxe,defaultWidth:"wide"}),day:As({values:lxe,defaultWidth:"wide"}),dayPeriod:As({values:cxe,defaultWidth:"wide",formattingValues:dxe,defaultFormattingWidth:"wide"})};function Ts(e){return(t,n={})=>{let a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],r=t.match(i);if(!r)return null;let s=r[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?mxe(l,p=>p.test(s)):pxe(l,p=>p.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function pxe(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function mxe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function fxe(e){return(t,n={})=>{let a=t.match(e.matchPattern);if(!a)return null;let i=a[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(i.length);return{value:s,rest:l}}}var gxe=/^(\d+)(th|st|nd|rd)?/i,bxe=/\d+/i,vxe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},yxe={any:[/^b/i,/^(a|c)/i]},_xe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},xxe={any:[/1/i,/2/i,/3/i,/4/i]},wxe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},kxe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Cxe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Sxe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Exe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Dxe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ixe={ordinalNumber:fxe({matchPattern:gxe,parsePattern:bxe,valueCallback:e=>parseInt(e,10)}),era:Ts({matchPatterns:vxe,defaultMatchWidth:"wide",parsePatterns:yxe,defaultParseWidth:"any"}),quarter:Ts({matchPatterns:_xe,defaultMatchWidth:"wide",parsePatterns:xxe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ts({matchPatterns:wxe,defaultMatchWidth:"wide",parsePatterns:kxe,defaultParseWidth:"any"}),day:Ts({matchPatterns:Cxe,defaultMatchWidth:"wide",parsePatterns:Sxe,defaultParseWidth:"any"}),dayPeriod:Ts({matchPatterns:Exe,defaultMatchWidth:"any",parsePatterns:Dxe,defaultParseWidth:"any"})},yS={code:"en-US",formatDistance:X_e,formatLong:axe,formatRelative:nxe,localize:hxe,match:Ixe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Axe(e,t){let n=tt(e,t==null?void 0:t.in);return Bu(n,K_e(n))+1}function Hu(e,t){let n=tt(e,t==null?void 0:t.in),a=+Gr(n)-+B_e(n);return Math.round(a/Ng)+1}function Vg(e,t){var u,p,b,g;let n=tt(e,t==null?void 0:t.in),a=n.getFullYear(),i=ro(),r=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(b=i.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,s=At((t==null?void 0:t.in)||e,0);s.setFullYear(a+1,0,r),s.setHours(0,0,0,0);let l=Ka(s,t),c=At((t==null?void 0:t.in)||e,0);c.setFullYear(a,0,r),c.setHours(0,0,0,0);let d=Ka(c,t);return+n>=+l?a+1:+n>=+d?a:a-1}function Txe(e,t){var s,l,c,d;let n=ro(),a=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,i=Vg(e,t),r=At((t==null?void 0:t.in)||e,0);return r.setFullYear(i,0,a),r.setHours(0,0,0,0),Ka(r,t)}function _S(e,t){let n=tt(e,t==null?void 0:t.in),a=+Ka(n,t)-+Txe(n,t);return Math.round(a/Ng)+1}function vt(e,t){let n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}var qn={y(e,t){let n=e.getFullYear(),a=n>0?n:1-n;return vt(t==="yy"?a%100:a,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):vt(n+1,2)},d(e,t){return vt(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return vt(e.getHours()%12||12,t.length)},H(e,t){return vt(e.getHours(),t.length)},m(e,t){return vt(e.getMinutes(),t.length)},s(e,t){return vt(e.getSeconds(),t.length)},S(e,t){let n=t.length,a=e.getMilliseconds(),i=Math.trunc(a*Math.pow(10,n-3));return vt(i,t.length)}},go={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},e0={G:function(e,t,n){let a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let a=e.getFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return qn.y(e,t)},Y:function(e,t,n,a){let i=Vg(e,a),r=i>0?i:1-i;if(t==="YY"){let s=r%100;return vt(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):vt(r,t.length)},R:function(e,t){let n=gS(e);return vt(n,t.length)},u:function(e,t){let n=e.getFullYear();return vt(n,t.length)},Q:function(e,t,n){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return vt(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return vt(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){let a=e.getMonth();switch(t){case"M":case"MM":return qn.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){let a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return vt(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){let i=_S(e,a);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):vt(i,t.length)},I:function(e,t,n){let a=Hu(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):vt(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):qn.d(e,t)},D:function(e,t,n){let a=Axe(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):vt(a,t.length)},E:function(e,t,n){let a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){let i=e.getDay(),r=(i-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return vt(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){let i=e.getDay(),r=(i-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return vt(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let a=e.getDay(),i=a===0?7:a;switch(t){case"i":return String(i);case"ii":return vt(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){let a=e.getHours(),i;switch(a===12?i=go.noon:a===0?i=go.midnight:i=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){let a=e.getHours(),i;switch(a>=17?i=go.evening:a>=12?i=go.afternoon:a>=4?i=go.morning:i=go.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return qn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):qn.H(e,t)},K:function(e,t,n){let a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):vt(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):vt(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):qn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):qn.s(e,t)},S:function(e,t){return qn.S(e,t)},X:function(e,t,n){let a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return a0(a);case"XXXX":case"XX":return Dr(a);case"XXXXX":case"XXX":default:return Dr(a,":")}},x:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"x":return a0(a);case"xxxx":case"xx":return Dr(a);case"xxxxx":case"xxx":default:return Dr(a,":")}},O:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+t0(a,":");case"OOOO":default:return"GMT"+Dr(a,":")}},z:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+t0(a,":");case"zzzz":default:return"GMT"+Dr(a,":")}},t:function(e,t,n){let a=Math.trunc(+e/1e3);return vt(a,t.length)},T:function(e,t,n){return vt(+e,t.length)}};function t0(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=Math.trunc(a/60),r=a%60;return r===0?n+String(i):n+String(i)+t+vt(r,2)}function a0(e,t){return e%60===0?(e>0?"-":"+")+vt(Math.abs(e)/60,2):Dr(e,t)}function Dr(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=vt(Math.trunc(a/60),2),r=vt(a%60,2);return n+i+t+r}var i0=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},xS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Oxe=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return i0(e,t);let r;switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",i0(a,t)).replace("{{time}}",xS(i,t))},km={p:xS,P:Oxe},Mxe=/^D+$/,Rxe=/^Y+$/,Pxe=["D","DD","YY","YYYY"];function wS(e){return Mxe.test(e)}function kS(e){return Rxe.test(e)}function Cm(e,t,n){let a=Nxe(e,t,n);if(console.warn(a),Pxe.includes(e))throw new RangeError(a)}function Nxe(e,t,n){let a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Lxe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fxe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Vxe=/^'([^]*?)'?$/,zxe=/''/g,Bxe=/[a-zA-Z]/;function Co(e,t,n){var u,p,b,g,w,k,E,O;let a=ro(),i=(n==null?void 0:n.locale)??a.locale??yS,r=(n==null?void 0:n.firstWeekContainsDate)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((k=(w=n==null?void 0:n.locale)==null?void 0:w.options)==null?void 0:k.weekStartsOn)??a.weekStartsOn??((O=(E=a.locale)==null?void 0:E.options)==null?void 0:O.weekStartsOn)??0,l=tt(e,n==null?void 0:n.in);if(!$_e(l))throw new RangeError("Invalid time value");let c=t.match(Fxe).map(B=>{let j=B[0];if(j==="p"||j==="P"){let fe=km[j];return fe(B,i.formatLong)}return B}).join("").match(Lxe).map(B=>{if(B==="''")return{isToken:!1,value:"'"};let j=B[0];if(j==="'")return{isToken:!1,value:jxe(B)};if(e0[j])return{isToken:!0,value:B};if(j.match(Bxe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");return{isToken:!1,value:B}});i.localize.preprocessor&&(c=i.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:i};return c.map(B=>{if(!B.isToken)return B.value;let j=B.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&kS(j)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&wS(j))&&Cm(j,t,String(e));let fe=e0[j[0]];return fe(l,j,i.localize,d)}).join("")}function jxe(e){let t=e.match(Vxe);return t?t[1].replace(zxe,"'"):e}function Pc(e,t){return tt(e,t==null?void 0:t.in).getDate()}function CS(){return Object.assign({},ro())}function cr(e,t){let n=tt(e,t==null?void 0:t.in).getDay();return n===0?7:n}function n0(e,t){return tt(e,t==null?void 0:t.in).getMonth()}function hl(e,t){return+tt(e)>+tt(t)}function Zr(e,t){return+tt(e)<+tt(t)}function So(e,t){return+tt(e)==+tt(t)}function Hxe(e,t){let n=Uxe(t)?new t(0):At(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Uxe(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Wxe=10,SS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},qxe=class extends SS{constructor(e,t,n,a,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=a,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},$xe=class extends SS{constructor(t,n){super();o(this,"priority",Wxe);o(this,"subPriority",-1);this.context=t||(a=>At(n,a))}set(t,n){return n.timestampIsSet?t:At(t,Hxe(t,this.context))}},pt=class{run(e,t,n,a){let i=this.parse(e,t,n,a);return i?{setter:new qxe(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}},Yxe=class extends pt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"});case"GGGGG":return a.era(t,{width:"narrow"});case"GGGG":default:return a.era(t,{width:"wide"})||a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"})}}set(t,n,a){return n.era=a,t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}},ta={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Zi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function aa(e,t){return e&&{value:t(e.value),rest:e.rest}}function jt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ki(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let a=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:a*(i*L_e+r*N_e+s*F_e),rest:t.slice(n[0].length)}}function ES(e){return jt(ta.anyDigitsSigned,e)}function Zt(e,t){switch(e){case 1:return jt(ta.singleDigit,t);case 2:return jt(ta.twoDigits,t);case 3:return jt(ta.threeDigits,t);case 4:return jt(ta.fourDigits,t);default:return jt(new RegExp("^\\d{1,"+e+"}"),t)}}function Vd(e,t){switch(e){case 1:return jt(ta.singleDigitSigned,t);case 2:return jt(ta.twoDigitsSigned,t);case 3:return jt(ta.threeDigitsSigned,t);case 4:return jt(ta.fourDigitsSigned,t);default:return jt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function zg(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function DS(e,t){let n=t>0,a=n?t:1-t,i;if(a<=50)i=e||100;else{let r=a+50,s=Math.trunc(r/100)*100,l=e>=r%100;i=e+s-(l?100:0)}return n?i:1-i}function IS(e){return e%400===0||e%4===0&&e%100!==0}var Gxe=class extends pt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,a){let i=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return aa(Zt(4,t),i);case"yo":return aa(a.ordinalNumber(t,{unit:"year"}),i);default:return aa(Zt(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a){let i=t.getFullYear();if(a.isTwoDigitYear){let s=DS(a.year,i);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Zxe=class extends pt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,a){let i=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return aa(Zt(4,t),i);case"Yo":return aa(a.ordinalNumber(t,{unit:"year"}),i);default:return aa(Zt(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,i){let r=Vg(t,i);if(a.isTwoDigitYear){let l=DS(a.year,r);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Ka(t,i)}let s=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(s,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Ka(t,i)}},Kxe=class extends pt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Vd(n==="R"?4:n.length,t)}set(t,n,a){let i=At(t,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),Gr(i)}},Qxe=class extends pt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Vd(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}},Xxe=class extends pt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"Q":case"QQ":return Zt(n.length,t);case"Qo":return a.ordinalNumber(t,{unit:"quarter"});case"QQQ":return a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(t,{width:"wide",context:"formatting"})||a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}},Jxe=class extends pt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"q":case"qq":return Zt(n.length,t);case"qo":return a.ordinalNumber(t,{unit:"quarter"});case"qqq":return a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(t,{width:"wide",context:"standalone"})||a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}},e1e=class extends pt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,a){let i=r=>r-1;switch(n){case"M":return aa(jt(ta.month,t),i);case"MM":return aa(Zt(2,t),i);case"Mo":return aa(a.ordinalNumber(t,{unit:"month"}),i);case"MMM":return a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(t,{width:"wide",context:"formatting"})||a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}},t1e=class extends pt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,a){let i=r=>r-1;switch(n){case"L":return aa(jt(ta.month,t),i);case"LL":return aa(Zt(2,t),i);case"Lo":return aa(a.ordinalNumber(t,{unit:"month"}),i);case"LLL":return a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(t,{width:"wide",context:"standalone"})||a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}};function a1e(e,t,n){let a=tt(e,n==null?void 0:n.in),i=_S(a,n)-t;return a.setDate(a.getDate()-i*7),tt(a,n==null?void 0:n.in)}var i1e=class extends pt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,a){switch(n){case"w":return jt(ta.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return Zt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,i){return Ka(a1e(t,a,i),i)}};function n1e(e,t,n){let a=tt(e,n==null?void 0:n.in),i=Hu(a,n)-t;return a.setDate(a.getDate()-i*7),a}var r1e=class extends pt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,a){switch(n){case"I":return jt(ta.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return Zt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return Gr(n1e(t,a))}},o1e=[31,28,31,30,31,30,31,31,30,31,30,31],s1e=[31,29,31,30,31,30,31,31,30,31,30,31],l1e=class extends pt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"d":return jt(ta.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Zt(n.length,t)}}validate(t,n){let a=t.getFullYear(),i=IS(a),r=t.getMonth();return i?n>=1&&n<=s1e[r]:n>=1&&n<=o1e[r]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}},c1e=class extends pt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,a){switch(n){case"D":case"DD":return jt(ta.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Zt(n.length,t)}}validate(t,n){let a=t.getFullYear();return IS(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}};function Bg(e,t,n){var u,p,b,g;let a=ro(),i=(n==null?void 0:n.weekStartsOn)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)??a.weekStartsOn??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,r=tt(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-i,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return Bi(r,d,n)}var d1e=class extends pt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,i){return t=Bg(t,a,i),t.setHours(0,0,0,0),t}},u1e=class extends pt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,a,i){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return aa(Zt(n.length,t),r);case"eo":return aa(a.ordinalNumber(t,{unit:"day"}),r);case"eee":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeeee":return a.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,i){return t=Bg(t,a,i),t.setHours(0,0,0,0),t}},h1e=class extends pt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,a,i){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return aa(Zt(n.length,t),r);case"co":return aa(a.ordinalNumber(t,{unit:"day"}),r);case"ccc":return a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"ccccc":return a.day(t,{width:"narrow",context:"standalone"});case"cccccc":return a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(t,{width:"wide",context:"standalone"})||a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,i){return t=Bg(t,a,i),t.setHours(0,0,0,0),t}};function p1e(e,t,n){let a=tt(e,n==null?void 0:n.in),i=cr(a,n),r=t-i;return Bi(a,r,n)}var m1e=class extends pt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,a){let i=r=>r===0?7:r;switch(n){case"i":case"ii":return Zt(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return aa(a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return aa(a.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return aa(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return aa(a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,n){return n>=1&&n<=7}set(t,n,a){return t=p1e(t,a),t.setHours(0,0,0,0),t}},f1e=class extends pt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(zg(a),0,0,0),t}},g1e=class extends pt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(zg(a),0,0,0),t}},b1e=class extends pt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(zg(a),0,0,0),t}},v1e=class extends pt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return jt(ta.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return Zt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,a){let i=t.getHours()>=12;return i&&a<12?t.setHours(a+12,0,0,0):!i&&a===12?t.setHours(0,0,0,0):t.setHours(a,0,0,0),t}},y1e=class extends pt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,a){switch(n){case"H":return jt(ta.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return Zt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}},_1e=class extends pt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return jt(ta.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return Zt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.getHours()>=12&&a<12?t.setHours(a+12,0,0,0):t.setHours(a,0,0,0),t}},x1e=class extends pt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,a){switch(n){case"k":return jt(ta.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return Zt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,a){let i=a<=24?a%24:a;return t.setHours(i,0,0,0),t}},w1e=class extends pt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return jt(ta.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return Zt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}},k1e=class extends pt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return jt(ta.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return Zt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}},C1e=class extends pt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let a=i=>Math.trunc(i*Math.pow(10,-n.length+3));return aa(Zt(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}},S1e=class extends pt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Ki(Zi.basicOptionalMinutes,t);case"XX":return Ki(Zi.basic,t);case"XXXX":return Ki(Zi.basicOptionalSeconds,t);case"XXXXX":return Ki(Zi.extendedOptionalSeconds,t);case"XXX":default:return Ki(Zi.extended,t)}}set(t,n,a){return n.timestampIsSet?t:At(t,t.getTime()-Go(t)-a)}},E1e=class extends pt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Ki(Zi.basicOptionalMinutes,t);case"xx":return Ki(Zi.basic,t);case"xxxx":return Ki(Zi.basicOptionalSeconds,t);case"xxxxx":return Ki(Zi.extendedOptionalSeconds,t);case"xxx":default:return Ki(Zi.extended,t)}}set(t,n,a){return n.timestampIsSet?t:At(t,t.getTime()-Go(t)-a)}},D1e=class extends pt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return ES(t)}set(t,n,a){return[At(t,a*1e3),{timestampIsSet:!0}]}},I1e=class extends pt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return ES(t)}set(t,n,a){return[At(t,a),{timestampIsSet:!0}]}},A1e={G:new Yxe,y:new Gxe,Y:new Zxe,R:new Kxe,u:new Qxe,Q:new Xxe,q:new Jxe,M:new e1e,L:new t1e,w:new i1e,I:new r1e,d:new l1e,D:new c1e,E:new d1e,e:new u1e,c:new h1e,i:new m1e,a:new f1e,b:new g1e,B:new b1e,h:new v1e,H:new y1e,K:new _1e,k:new x1e,m:new w1e,s:new k1e,S:new C1e,X:new S1e,x:new E1e,t:new D1e,T:new I1e},T1e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O1e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,M1e=/^'([^]*?)'?$/,R1e=/''/g,P1e=/\S/,N1e=/[a-zA-Z]/;function L1e(e,t,n,a){var E,O,B,j;let i=()=>At(n,NaN),r=CS(),s=r.locale??yS,l=r.firstWeekContainsDate??((O=(E=r.locale)==null?void 0:E.options)==null?void 0:O.firstWeekContainsDate)??1,c=r.weekStartsOn??((j=(B=r.locale)==null?void 0:B.options)==null?void 0:j.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new $xe(a==null?void 0:a.in,n)],p=t.match(O1e).map(fe=>{let Pe=fe[0];if(Pe in km){let He=km[Pe];return He(fe,s.formatLong)}return fe}).join("").match(T1e),b=[];for(let fe of p){kS(fe)&&Cm(fe,t,e),wS(fe)&&Cm(fe,t,e);let Pe=fe[0],He=A1e[Pe];if(He){let{incompatibleTokens:ba}=He;if(Array.isArray(ba)){let Tt=b.find(oa=>ba.includes(oa.token)||oa.token===Pe);if(Tt)throw new RangeError(`The format string mustn't contain \`${Tt.fullToken}\` and \`${fe}\` at the same time`)}else if(He.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${fe}\` and any other token at the same time`);b.push({token:Pe,fullToken:fe});let Qt=He.run(e,fe,s.match,d);if(!Qt)return i();u.push(Qt.setter),e=Qt.rest}else{if(Pe.match(N1e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Pe+"`");if(fe==="''"?fe="'":Pe==="'"&&(fe=F1e(fe)),e.indexOf(fe)===0)e=e.slice(fe.length);else return i()}}if(e.length>0&&P1e.test(e))return i();let g=u.map(fe=>fe.priority).sort((fe,Pe)=>Pe-fe).filter((fe,Pe,He)=>He.indexOf(fe)===Pe).map(fe=>u.filter(Pe=>Pe.priority===fe).sort((Pe,He)=>He.subPriority-Pe.subPriority)).map(fe=>fe[0]),w=tt(n,a==null?void 0:a.in);if(isNaN(+w))return i();let k={};for(let fe of g){if(!fe.validate(w,d))return i();let Pe=fe.set(w,k,d);Array.isArray(Pe)?(w=Pe[0],Object.assign(k,Pe[1])):w=Pe}return w}function F1e(e){return e.match(M1e)[1].replace(R1e,"'")}function V1e(e,t,n){let[a,i]=fr(n==null?void 0:n.in,e,t);return+Ka(a,n)==+Ka(i,n)}function z1e(e,t){return V1e(At((t==null?void 0:t.in)||e,e),bS((t==null?void 0:t.in)||e),t)}function B1e(e,t){return vS(At(e,e),bS(e))}function jg(e,t,n){let a=+tt(e,n==null?void 0:n.in),[i,r]=[+tt(t.start,n==null?void 0:n.in),+tt(t.end,n==null?void 0:n.in)].sort((s,l)=>s-l);return a>=i&&a<=r}function Hg(e,t,n){return Bi(e,-1,n)}function j1e(e,t,n){return Lg(e,-1,n)}var R=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(R||{}),Ug=new Y("ngx-mask config"),AS=new Y("new ngx-mask config"),TS=new Y("initial ngx-mask config"),H1e={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new ee,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};R.HOURS_MINUTES_SECONDS,R.HOURS_MINUTES,R.MINUTES_SECONDS;R.PERCENT,R.HOURS_HOUR,R.SECONDS,R.MINUTES,R.SEPARATOR,R.DAYS_MONTHS_YEARS,R.DAYS_MONTHS,R.DAYS,R.MONTHS;var U1e=(()=>{const t=class t{constructor(){o(this,"_config",_(Ug));o(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);o(this,"hiddenInput",this._config.hiddenInput);o(this,"showTemplate");o(this,"clearIfNotMatch",this._config.clearIfNotMatch);o(this,"specialCharacters",this._config.specialCharacters);o(this,"patterns",this._config.patterns);o(this,"prefix",this._config.prefix);o(this,"suffix",this._config.suffix);o(this,"thousandSeparator",this._config.thousandSeparator);o(this,"decimalMarker",this._config.decimalMarker);o(this,"customPattern");o(this,"showMaskTyped",this._config.showMaskTyped);o(this,"placeHolderCharacter",this._config.placeHolderCharacter);o(this,"validation",this._config.validation);o(this,"separatorLimit",this._config.separatorLimit);o(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);o(this,"leadZeroDateTime",this._config.leadZeroDateTime);o(this,"leadZero",this._config.leadZero);o(this,"apm",this._config.apm);o(this,"inputTransformFn",this._config.inputTransformFn);o(this,"outputTransformFn",this._config.outputTransformFn);o(this,"keepCharacterPositions",this._config.keepCharacterPositions);o(this,"_shift",new Set);o(this,"plusOnePosition",!1);o(this,"maskExpression","");o(this,"actualValue","");o(this,"showKeepCharacterExp","");o(this,"shownMaskExpression","");o(this,"deletedSpecialCharacter",!1);o(this,"ipError");o(this,"cpfCnpjError");o(this,"_formatWithSeparators",(a,i,r,s)=>{var g;let l=[],c="";if(Array.isArray(r)){let w=new RegExp(r.map(k=>"[\\^$.|?*+()".indexOf(k)>=0?`\\${k}`:k).join("|"));l=a.split(w),c=((g=a.match(w))==null?void 0:g[0])??R.EMPTY_STRING}else l=a.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:R.EMPTY_STRING,u=l[0]??R.EMPTY_STRING,p=this.separatorLimit.replace(/\s/g,R.EMPTY_STRING);p&&+p&&(u[0]===R.MINUS?u=`-${u.slice(1,u.length).slice(0,p.length)}`:u=u.slice(0,p.length));let b=/(\d+)(\d{3})/;for(;i&&b.test(u);)u=u.replace(b,"$1"+i+"$2");return typeof s>"u"?u+d:s===0?u:u+d.substring(0,s+1)});o(this,"percentage",a=>{let i=a.replace(",","."),r=Number(this.allowNegativeNumbers&&a.includes(R.MINUS)?i.slice(1,a.length):i);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",a=>{let i=a.split(R.DOT);return i.length>1?Number(i[i.length-1]):1/0});o(this,"checkAndRemoveSuffix",a=>{var i,r,s,l;for(let c=((i=this.suffix)==null?void 0:i.length)-1;c>=0;c--){let d=this.suffix.substring(c,(r=this.suffix)==null?void 0:r.length);if(a.includes(d)&&c!==((s=this.suffix)==null?void 0:s.length)-1&&(c-1<0||!a.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return a.replace(d,R.EMPTY_STRING)}return a});o(this,"checkInputPrecision",(a,i,r)=>{var c;let s=a,l=r;if(i<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let d=new RegExp(this._charToRegExpExpression(l)+`\\d{${i}}.*$`),u=s.match(d),p=(u&&((c=u[0])==null?void 0:c.length))??0;if(p-1>i){let b=p-1-i;s=s.substring(0,s.length-b)}i===0&&this._compareOrIncludes(s[s.length-1],l,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(a,i){let[r,s]=i;return this.customPattern=s,this.applyMask(a,r)}applyMask(a,i,r=0,s=!1,l=!1,c=()=>{}){var Qt,Tt,oa;if(!i||typeof a!="string")return R.EMPTY_STRING;let d=0,u="",p=!1,b=!1,g=1,w=!1,k=a,E=r;k.slice(0,this.prefix.length)===this.prefix&&(k=k.slice(this.prefix.length,k.length)),this.suffix&&k.length>0&&(k=this.checkAndRemoveSuffix(k)),k==="("&&this.prefix&&(k="");let O=k.toString().split(R.EMPTY_STRING);if(this.allowNegativeNumbers&&k.slice(d,d+1)===R.MINUS&&(u+=k.slice(d,d+1)),i===R.IP){let me=k.split(R.DOT);this.ipError=this._validIP(me),i="099.099.099.099"}let B=[];for(let me=0;me<k.length;me++)(Qt=k[me])!=null&&Qt.match("\\d")&&B.push(k[me]??R.EMPTY_STRING);if(i===R.CPF_CNPJ&&(this.cpfCnpjError=B.length!==11&&B.length!==14,B.length>11?i="00.000.000/0000-00":i="000.000.000-00"),i.startsWith(R.PERCENT)){if(k.match("[a-z]|[A-Z]")||k.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){k=this._stripToDecimal(k);let qe=this.getPrecision(i);k=this.checkInputPrecision(k,qe,this.decimalMarker)}let me=typeof this.decimalMarker=="string"?this.decimalMarker:R.DOT;if(k.indexOf(me)>0&&!this.percentage(k.substring(0,k.indexOf(me)))){let qe=k.substring(0,k.indexOf(me)-1);this.allowNegativeNumbers&&k.slice(d,d+1)===R.MINUS&&!l&&(qe=k.substring(0,k.indexOf(me))),k=`${qe}${k.substring(k.indexOf(me),k.length)}`}let ne="";this.allowNegativeNumbers&&k.slice(d,d+1)===R.MINUS?ne=`${R.MINUS}${k.slice(d+1,d+k.length)}`:ne=k,this.percentage(ne)?u=this._splitPercentZero(k):u=this._splitPercentZero(k.substring(0,k.length-1))}else if(i.startsWith(R.SEPARATOR)){(k.match("[wа-яА-Я]")||k.match("[ЁёА-я]")||k.match("[a-z]|[A-Z]")||k.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||k.match("[^A-Za-z0-9,]"))&&(k=this._stripToDecimal(k));let me=this.getPrecision(i),ne=Array.isArray(this.decimalMarker)?this.thousandSeparator===R.DOT?R.COMMA:R.DOT:this.decimalMarker;if(me===0?k=this.allowNegativeNumbers?k.length>2&&k[0]===R.MINUS&&k[1]===R.NUMBER_ZERO&&k[2]!==this.thousandSeparator&&k[2]!==R.COMMA&&k[2]!==R.DOT?"-"+k.slice(2,k.length):k[0]===R.NUMBER_ZERO&&k.length>1&&k[1]!==this.thousandSeparator&&k[1]!==R.COMMA&&k[1]!==R.DOT?k.slice(1,k.length):k:k.length>1&&k[0]===R.NUMBER_ZERO&&k[1]!==this.thousandSeparator&&k[1]!==R.COMMA&&k[1]!==R.DOT?k.slice(1,k.length):k:(k[0]===ne&&k.length>1&&(k=R.NUMBER_ZERO+k.slice(0,k.length+1),this.plusOnePosition=!0),k[0]===R.NUMBER_ZERO&&k[1]!==ne&&k[1]!==this.thousandSeparator&&(k=k.length>1?k.slice(0,1)+ne+k.slice(1,k.length+1):k,this.plusOnePosition=!0),this.allowNegativeNumbers&&k[0]===R.MINUS&&(k[1]===ne||k[1]===R.NUMBER_ZERO)&&(k=k[1]===ne&&k.length>2?k.slice(0,1)+R.NUMBER_ZERO+k.slice(1,k.length):k[1]===R.NUMBER_ZERO&&k.length>2&&k[2]!==ne?k.slice(0,2)+ne+k.slice(2,k.length):k,this.plusOnePosition=!0)),l){let it=k.slice(this._findFirstNonZeroDigitIndex(k),k.length),lt=k[E]===R.NUMBER_ZERO||k[E]===ne,Bt=k[0]===R.NUMBER_ZERO,Ai=k[0]===R.MINUS,Ot=k[0]===this.thousandSeparator,Na=k[1]===ne,va=k[1]===R.NUMBER_ZERO,Hi=k[2]===ne;Bt&&Na&&lt&&E<2&&(k=it),Ai&&va&&Hi&&lt&&E<3&&(k=R.MINUS+it),it!==R.MINUS&&(E===0&&(Bt||Ot)||this.allowNegativeNumbers&&E===1&&Ai&&!va)&&(k=Ai?R.MINUS+it:it)}let qe=this._charToRegExpExpression(this.thousandSeparator),$='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(qe,"");if(Array.isArray(this.decimalMarker))for(let it of this.decimalMarker)$=$.replace(this._charToRegExpExpression(it),R.EMPTY_STRING);else $=$.replace(this._charToRegExpExpression(this.decimalMarker),"");let Q=new RegExp("["+$+"]");k.match(Q)&&(k=k.substring(0,k.length-1)),k=this.checkInputPrecision(k,me,this.decimalMarker);let le=k.replace(new RegExp(qe,"g"),"");u=this._formatWithSeparators(le,this.thousandSeparator,this.decimalMarker,me);let Qe=u.indexOf(R.COMMA)-k.indexOf(R.COMMA),St=u.length-k.length,Pa=l&&u.length<a.length&&this.separatorLimit;if((u[E-1]===this.thousandSeparator||u[E-this.prefix.length])&&this.prefix&&l)E=E-1;else if(St>0&&u[E]!==this.thousandSeparator||Pa){b=!0;let it=0;do this._shift.add(E+it),it++;while(it<St)}else u[E-1]===this.thousandSeparator||St===-4||St===-3||u[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):Qe!==0&&E>0&&!(u.indexOf(R.COMMA)>=E&&E>3)||!(u.indexOf(R.DOT)>=E&&E>3)&&St<=0?(this._shift.clear(),b=!0,g=St,E+=St,this._shift.add(E)):this._shift.clear()}else for(let me=0,ne=O[0];me<O.length&&d!==i.length;me++,ne=O[me]??R.EMPTY_STRING){let qe=R.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(ne,i[d]??R.EMPTY_STRING)&&i[d+1]===R.SYMBOL_QUESTION)u+=ne,d+=2;else if(i[d+1]===R.SYMBOL_STAR&&p&&this._checkSymbolMask(ne,i[d+2]??R.EMPTY_STRING))u+=ne,d+=3,p=!1;else if(this._checkSymbolMask(ne,i[d]??R.EMPTY_STRING)&&i[d+1]===R.SYMBOL_STAR&&!qe)u+=ne,p=!0;else if(i[d+1]===R.SYMBOL_QUESTION&&this._checkSymbolMask(ne,i[d+2]??R.EMPTY_STRING))u+=ne,d+=3;else if(this._checkSymbolMask(ne,i[d]??R.EMPTY_STRING)){if(i[d]===R.HOURS&&(this.apm?Number(ne)>9:Number(ne)>2)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(i,d,O.length),me--,this.leadZeroDateTime&&(u+="0");continue}if(i[d]===R.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(ne)>2||k.slice(d-1,d).length===1&&Number(k.slice(d-1,d))>2||k.slice(d-1,d)==="1"&&Number(ne)>2:u==="2"&&Number(ne)>3||(u.slice(d-2,d)==="2"||u.slice(d-3,d)==="2"||u.slice(d-4,d)==="2"||u.slice(d-1,d)==="2")&&Number(ne)>3&&d>10)){E=E+1,d+=1,me--;continue}if((i[d]===R.MINUTE||i[d]===R.SECOND)&&Number(ne)>5){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(i,d,O.length),me--,this.leadZeroDateTime&&(u+="0");continue}let $=31,Q=k[d],le=k[d+1],Qe=k[d+2],St=k[d-1],Pa=k[d-2],it=k.slice(d-3,d-1),lt=k.slice(d-1,d+1),Bt=k.slice(d,d+2),Ai=k.slice(d-2,d);if(i[d]===R.DAY){let Ot=i.slice(0,2)===R.MONTHS,Na=i.slice(0,2)===R.MONTHS&&this.specialCharacters.includes(Pa);if(Number(ne)>3&&this.leadZeroDateTime||!Ot&&(Number(Bt)>$||Number(lt)>$||this.specialCharacters.includes(le))||(Na?Number(lt)>$||!this.specialCharacters.includes(Q)&&this.specialCharacters.includes(Qe)||this.specialCharacters.includes(Q):Number(Bt)>$||this.specialCharacters.includes(le)&&!l)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(i,d,O.length),me--,this.leadZeroDateTime&&(u+="0");continue}}if(i[d]===R.MONTH){let Ot=d===0&&(Number(ne)>2||Number(Bt)>12||this.specialCharacters.includes(le)&&!l),Na=i.slice(d+2,d+3),va=it.includes(Na)&&i.includes("d0")&&(this.specialCharacters.includes(Pa)&&Number(lt)>12&&!this.specialCharacters.includes(Q)||this.specialCharacters.includes(Q)),Hi=Number(it)<=$&&!this.specialCharacters.includes(it)&&this.specialCharacters.includes(St)&&(Number(Bt)>12||this.specialCharacters.includes(le)),Hn=Number(Bt)>12&&d===5||this.specialCharacters.includes(le)&&d===5,Xl=Number(it)>$&&!this.specialCharacters.includes(it)&&!this.specialCharacters.includes(Ai)&&Number(Ai)>12&&i.includes("d0"),Jl=Number(it)<=$&&!this.specialCharacters.includes(it)&&!this.specialCharacters.includes(St)&&Number(lt)>12;if(Number(ne)>1&&this.leadZeroDateTime||Ot||va||Jl||Xl||Hi||Hn&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(i,d,O.length),me--,this.leadZeroDateTime&&(u+="0");continue}}u+=ne,d++}else this.specialCharacters.includes(ne)&&i[d]===ne?(u+=ne,d++):this.specialCharacters.indexOf(i[d]??R.EMPTY_STRING)!==-1?(u+=i[d],d++,this._shiftStep(i,d,O.length),me--):i[d]===R.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(i,d,O.length):this.patterns[i[d]??R.EMPTY_STRING]&&((Tt=this.patterns[i[d]??R.EMPTY_STRING])!=null&&Tt.optional)?(O[d]&&i!=="099.099.099.099"&&i!=="000.000.000-00"&&i!=="00.000.000/0000-00"&&!i.match(/^9+\.0+$/)&&!((oa=this.patterns[i[d]??R.EMPTY_STRING])!=null&&oa.optional)&&(u+=O[d]),i.includes(R.NUMBER_NINE+R.SYMBOL_STAR)&&i.includes(R.NUMBER_ZERO+R.SYMBOL_STAR)&&d++,d++,me--):this.maskExpression[d+1]===R.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??R.EMPTY_STRING)&&this._findSpecialChar(ne)===this.maskExpression[d+2]&&p||this.maskExpression[d+1]===R.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??R.EMPTY_STRING)&&this._findSpecialChar(ne)===this.maskExpression[d+2]&&p?(d+=3,u+=ne):this.showMaskTyped&&this.specialCharacters.indexOf(ne)<0&&ne!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}u.length+1===i.length&&this.specialCharacters.indexOf(i[i.length-1]??R.EMPTY_STRING)!==-1&&(u+=i[i.length-1]);let j=E+1;for(;this._shift.has(j);)g++,j++;let fe=s&&!i.startsWith(R.SEPARATOR)?d:this._shift.has(E)?g:0;w&&fe--,c(fe,b),g<0&&this._shift.clear();let Pe=!1;l&&(Pe=O.every(me=>this.specialCharacters.includes(me)));let He=`${this.prefix}${Pe?R.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(He=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let ba=k.length===1&&this.specialCharacters.includes(i[0])&&k!==i[0];if(!this._checkSymbolMask(k,i[1])&&ba)return"";if(u.includes(R.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===R.MINUS)return"";He=`${R.MINUS}${this.prefix}${u.split(R.MINUS).join(R.EMPTY_STRING)}${this.suffix}`}return He}_findDropSpecialChar(a){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(i=>i===a):this._findSpecialChar(a)}_findSpecialChar(a){return this.specialCharacters.find(i=>i===a)}_checkSymbolMask(a,i){var r,s;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[i])==null?void 0:r.pattern)&&((s=this.patterns[i])==null?void 0:s.pattern.test(a)))??!1}_stripToDecimal(a){return a.split(R.EMPTY_STRING).filter((i,r)=>{let s=typeof this.decimalMarker=="string"?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||s||i===R.MINUS&&r===0&&this.allowNegativeNumbers}).join(R.EMPTY_STRING)}_charToRegExpExpression(a){return a&&(a===" "?"\\s":"[\\^$.|?*+()".indexOf(a)>=0?`\\${a}`:a)}_shiftStep(a,i,r){let s=/[*?]/g.test(a.slice(0,i))?r:i;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(a,i,r){return Array.isArray(i)?i.filter(s=>s!==r).includes(a):a===i}_validIP(a){return!(a.length===4&&!a.some((i,r)=>a.length!==r+1?i===R.EMPTY_STRING||Number(i)>255:i===R.EMPTY_STRING||Number(i.substring(0,3))>255))}_splitPercentZero(a){if(a===R.MINUS&&this.allowNegativeNumbers)return a;let i=typeof this.decimalMarker=="string"?a.indexOf(this.decimalMarker):a.indexOf(R.DOT),r=this.allowNegativeNumbers&&a.includes(R.MINUS)?"-":"";if(i===-1){let s=parseInt(r?a.slice(1,a.length):a,10);return isNaN(s)?R.EMPTY_STRING:`${r}${s}`}else{let s=parseInt(a.replace("-","").substring(0,i),10),l=a.substring(i+1),c=isNaN(s)?"":s.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:R.DOT;return c===R.EMPTY_STRING?R.EMPTY_STRING:`${r}${c}${d}${l}`}}_findFirstNonZeroDigitIndex(a){for(let i=0;i<a.length;i++){let r=a[i];if(r&&r>="1"&&r<="9")return i}return-1}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),W1e=(()=>{const t=class t extends U1e{constructor(){super(...arguments);o(this,"isNumberValue",!1);o(this,"maskIsShown","");o(this,"selStart",null);o(this,"selEnd",null);o(this,"writingValue",!1);o(this,"maskChanged",!1);o(this,"_maskExpressionArray",[]);o(this,"triggerOnMaskChange",!1);o(this,"_previousValue","");o(this,"_currentValue","");o(this,"_emitValue",!1);o(this,"_start");o(this,"_end");o(this,"onChange",i=>{});o(this,"_elementRef",_(Te,{optional:!0}));o(this,"document",_(at));o(this,"_config",_(Ug));o(this,"_renderer",_(oi,{optional:!0}))}applyMask(i,r,s=0,l=!1,c=!1,d=()=>{}){if(!r)return i!==this.actualValue?this.actualValue:i;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():R.EMPTY_STRING,this.maskExpression===R.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||R.HASH)),this.maskExpression===R.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||R.HASH)),!i&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=i&&typeof this.selStart=="number"?i[this.selStart]??R.EMPTY_STRING:R.EMPTY_STRING,p="",b=s;if(this.hiddenInput!==null&&!this.writingValue){let E=i&&i.length===1?i.split(R.EMPTY_STRING):this.actualValue.split(R.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):i!==R.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(i.length>E.length?E.splice(this.selStart,0,u):i.length<E.length&&(E.length-i.length===1?c?E.splice(this.selStart-1,1):E.splice(i.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(p=this.removeMask(i)),p=this.actualValue.length&&E.length<=i.length?this.shiftTypedSymbols(E.join(R.EMPTY_STRING)):i}if(l&&(this.hiddenInput||!this.hiddenInput)&&(p=i),c&&this.specialCharacters.indexOf(this.maskExpression[b]??R.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(p=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:r.slice(b-1,b+1)!==R.MONTHS&&(b=b-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(p=this.removeMask(i)),this.maskChanged?p=i:p=p&&p.length?p:i,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(p,r,b,l,c,d);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===R.DOT&&this.decimalMarker===R.DOT&&(this.decimalMarker=R.COMMA),this.maskExpression.startsWith(R.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(E=>!this._compareOrIncludes(E,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,k=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(R.HOURS)){let E=this._numberSkipedSymbols(g);return`${g}${k.slice(w+E)}`}else if(this.maskExpression===R.IP||this.maskExpression===R.CPF_CNPJ)return`${g}${k}`;return`${g}${k.slice(w)}`}_numberSkipedSymbols(i){let r=/(^|\D)(\d\D)/g,s=r.exec(i),l=0;for(;s!=null;)l+=1,s=r.exec(i);return l}applyValueChanges(i,r,s,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,i,r,s,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(i,r){return i.split(R.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??R.EMPTY_STRING]&&((c=this.patterns[r[l]??R.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??R.EMPTY_STRING])==null?void 0:d.symbol:s}).join(R.EMPTY_STRING)}getActualValue(i){let r=i.split(R.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??R.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(R.EMPTY_STRING)===i?r.join(R.EMPTY_STRING):i}shiftTypedSymbols(i){let r="";return(i&&i.split(R.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(i[l+1]??R.EMPTY_STRING)&&i[l+1]!==this.maskExpression[l+1])return r=s,i[l+1];if(r.length){let c=r;return r=R.EMPTY_STRING,c}return s})||[]).join(R.EMPTY_STRING)}numberToString(i){return!i&&i!==0||this.maskExpression.startsWith(R.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(R.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${R.MINUS}/`,R.MINUS)}showMaskInInput(i){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(i){if(this.maskExpression===R.IP)return this._checkForIp(i);if(this.maskExpression===R.CPF_CNPJ)return this._checkForCpfCnpj(i)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let i=(r=this._elementRef)==null?void 0:r.nativeElement;i&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==i.value.replace(this.placeHolderCharacter,R.EMPTY_STRING).length&&(this.formElementProperty=["value",R.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([i,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var s,l;return(l=this._renderer)==null?void 0:l.setProperty((s=this._elementRef)==null?void 0:s.nativeElement,i,r)})}checkDropSpecialCharAmount(i){return i.split(R.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(i){return this._removeMask(this._removeSuffix(this._removePrefix(i)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(i){if(i===R.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<i.length;s++){let l=i[s]??R.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(i){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(i===R.HASH)return r;let l=[];for(let c=0;c<i.length;c++){let d=i[c]??R.EMPTY_STRING;d&&d.match("\\d")&&l.push(d)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?i.length===17?s.slice(16,s.length):s.slice(15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(i=this.document){var s;let r=(s=i==null?void 0:i.activeElement)==null?void 0:s.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):i.activeElement}formControlResult(i){if(this.writingValue&&!i){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(i)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===i?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))):this.onChange(this.outputTransformFn(this._toNumber(i)))}_toNumber(i){if(!this.isNumberValue||i===R.EMPTY_STRING||this.maskExpression.startsWith(R.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(R.SEPARATOR))return String(i);let r=Number(i);if(this.maskExpression.startsWith(R.SEPARATOR)&&Number.isNaN(r)){let s=String(i).replace(",",".");return Number(s)}return Number.isNaN(r)?i:r}_removeMask(i,r){return this.maskExpression.startsWith(R.PERCENT)&&i.includes(R.DOT)?i:i&&i.replace(this._regExpForRemove(r),R.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,R.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,R.EMPTY_STRING):i}_retrieveSeparatorValue(i){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&i.includes(R.WHITE_SPACE)&&this.maskExpression.includes(R.SYMBOL_STAR)&&(r=r.filter(s=>s!==R.WHITE_SPACE)),this._removeMask(i,r)}_regExpForRemove(i){return new RegExp(i.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(i){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return i.replace(this._regExpForRemove(r),R.DOT)}_checkSymbols(i){let r=i;if(r===R.EMPTY_STRING)return r;this.maskExpression.startsWith(R.PERCENT)&&this.decimalMarker===R.COMMA&&(r=r.replace(R.COMMA,R.DOT));let s=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&s?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var i,r,s;for(let l in this.patterns)if(this.patterns[l]&&((i=this.patterns[l])!=null&&i.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(s=this.patterns[l])==null?void 0:s.pattern;if(c!=null&&c.includes(R.WHITE_SPACE)&&(d!=null&&d.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(i){let r=i.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(i,r){let s=this.getPrecision(i),l=r;return i.indexOf("2")>0||this.leadZero&&Number(s)>0?(this.decimalMarker===R.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(s)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(i){return i.match(/{[0-9]+}/)&&i.split(R.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===R.CURLY_BRACKETS_LEFT?l:this._start,s!==R.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(s)?r+s:r;this._end=l;let c=Number(i.slice(this._start+1,this._end)),d=new Array(c+1).join(i[this._start-1]);if(i.slice(0,this._start).length>1&&i.includes(R.LETTER_S)){let u=i.slice(0,this._start-1);return u.includes(R.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||i}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function q1e(){let e=_(TS),t=_(AS);return t instanceof Function?ge(ge({},e),t()):ge(ge({},e),t)}function $1e(e){return[{provide:AS,useValue:e},{provide:TS,useValue:H1e},{provide:Ug,useFactory:q1e},W1e]}function Y1e(e){return Jm($1e(e))}var Ls=class extends Error{};Ls.prototype.name="InvalidTokenError";function G1e(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let a=n.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}function Z1e(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return G1e(t)}catch{return atob(t)}}function K1e(e,t){if(typeof e!="string")throw new Ls("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,a=e.split(".")[n];if(typeof a!="string")throw new Ls(`Invalid token specified: missing part #${n+1}`);let i;try{i=Z1e(a)}catch(r){throw new Ls(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(i)}catch(r){throw new Ls(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}function Q1e(e){var t,n,a,i;return((n=(t=e.userProfile)==null?void 0:t.children)==null?void 0:n.length)>0?e.userProfile.children[0].ssin:((i=(a=e.userProfile)==null?void 0:a.mandators)==null?void 0:i.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var X1e=(()=>{const t=class t{registerAccessToken(a){this.getLocalAccessToken=a}resolveAccessToken(){return dr(this.getLocalAccessToken("nihii-vidis"))}resolveSsin(){return _a(this,null,function*(){if(this._isProfessional===!0)return this._patientSsin;let a=yield this.decodedToken();return Q1e(a)})}resolvePatientInfo(){return _a(this,null,function*(){return(yield this.decodedToken()).userProfile})}resolveUserInfo(){return _a(this,null,function*(){var u,p,b,g;let a=(yield this.decodedToken()).userProfile,i=a.lastName,r=a.firstName,s=this.extractProfessionalRole(a),l=((u=a==null?void 0:a.organizations)==null?void 0:u.length)>0&&((p=a==null?void 0:a.organizations[0])!=null&&p.pharmacy)?"pharmacist":void 0,c=(b=a==null?void 0:a.organizations)!=null&&b.length&&l!==void 0?a==null?void 0:a.organizations[0]:void 0,d=this.resolveProfessional(a,s)?a[s]:void 0;return{firstName:r,ssin:a.ssin,lastName:i,role:l||s,organization:c&&l?c:void 0,professional:d,mandator:((g=a==null?void 0:a.mandators)==null?void 0:g.length)>0}})}isMandator(){return _a(this,null,function*(){var a,i;return((i=(a=(yield this.decodedToken()).userProfile)==null?void 0:a.mandators)==null?void 0:i.length)>0})}resolveProfessional(a,i){return i?a[i]:void 0}extractProfessionalRole(a){let i=["physician","nurse","midwife","dentist"],r="patient";return i.forEach(s=>{a[s]&&(r=s)}),r}decodedToken(){return _a(this,null,function*(){return K1e(yield this.getLocalAccessToken("nihii-vidis"))})}get isProfessional(){return this._isProfessional}set isProfessional(a){this._isProfessional=a}get patientSsin(){return this._patientSsin}set patientSsin(a){this._patientSsin=a}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(a){this._offlineDataStorageEnabled=a}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(a){this._isOfflineAuthenticated=a}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),J1e=(()=>{const t=class t{constructor(){this._isProfessional=!1,this._patientSsin=""}resolveAccessToken(){return Dt("demo token")}resolveSsin(){return _a(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return _a(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(a){}get isProfessional(){return this._isProfessional}set isProfessional(a){this._isProfessional=a}get patientSsin(){return this._patientSsin}set patientSsin(a){this._patientSsin=a}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(a){this._offlineDataStorageEnabled=a}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(a){this._isOfflineAuthenticated=a}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function ewe(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var OS={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function ql(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let n of OS[t]){let a=e.find(i=>i.lang===n);if(a)return a.value}return e.length>0?e[0].value:"Missing translation"}}function twe(e,t){if(!(!e||Object.keys(e).length<1)){t=t==null?void 0:t.substring(0,2);for(let n of OS[t]){let a=e.find(i=>i.lang===n);if(a)return a}return e.length>0?e[0]:void 0}}var nr=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(nr||{}),On=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(On||{});function awe(e,t){return _a(this,null,function*(){t.next({status:nr.LOADING});try{let n=yield e,a={status:nr.SUCCESS,data:n};return t.next(a),a}catch(n){let a={status:nr.ERROR,error:rwe(n)};return t.next(a),a}})}var r0={[On.NO_DATA]:["VIDIS_0140"],[On.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[On.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[On.OTHER]:[]};function iwe(e){for(let t of Object.keys(r0))if(r0[t].includes(e))return t;return On.OTHER}function nwe(e,t,n){let a=e||"UNKNOWN",i=iwe(a);return{code:a,message:n??"An unexpected error occurred",group:i,traceId:t}}function rwe(e){var i,r,s;let t=((i=e.error)==null?void 0:i.code)??void 0,n=((r=e.error)==null?void 0:r.message)??e.message,a=(s=e.headers)==null?void 0:s.get("trace-id");return nwe(t,a,n)}var owe={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function swe(e,t){if(e&1){let n=gt();D(0,"div",1)(1,"button",2),xe("click",function(){Ce(n);let a=L();return Se(a.action())}),P(2),I()()}if(e&2){let n=L();S(2),ie(" ",n.data.action," ")}}var lwe=["label"];function cwe(e,t){}var dwe=Math.pow(2,31)-1,Sm=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new ue);o(this,"_afterOpened",new ue);o(this,"_onAction",new ue);o(this,"_durationTimeoutId");o(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._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(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,dwe))}_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}},MS=new Y("MatSnackBarData"),zd=class{constructor(){o(this,"politeness","assertive");o(this,"announcementMessage","");o(this,"viewContainerRef");o(this,"duration",0);o(this,"panelClass");o(this,"direction");o(this,"data",null);o(this,"horizontalPosition","center");o(this,"verticalPosition","bottom")}},uwe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),hwe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),pwe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),mwe=(()=>{const t=class t{constructor(){o(this,"snackBarRef",_(Sm));o(this,"data",_(MS))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({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(a,i){a&1&&(D(0,"div",0),P(1),I(),V(2,swe,3,1,"div",1)),a&2&&(S(),ie(" ",i.data.message,`
50
+ `),S(),W(i.hasAction?2:-1))},dependencies:[jn,uwe,hwe,pwe],styles:[`.mat-mdc-simple-snack-bar{display:flex}
51
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ep="_mat-snack-bar-enter",tp="_mat-snack-bar-exit",fwe=(()=>{const t=class t extends Iu{constructor(){super();o(this,"_ngZone",_(Ne));o(this,"_elementRef",_(Te));o(this,"_changeDetectorRef",_(_t));o(this,"_platform",_(Wt));o(this,"_rendersRef");o(this,"_animationsDisabled",_(Ia,{optional:!0})==="NoopAnimations");o(this,"snackBarConfig",_(zd));o(this,"_document",_(at));o(this,"_trackedModals",new Set);o(this,"_enterFallback");o(this,"_exitFallback");o(this,"_renders",new ue);o(this,"_announceDelay",150);o(this,"_announceTimeoutId");o(this,"_destroyed",!1);o(this,"_portalOutlet");o(this,"_onAnnounce",new ue);o(this,"_onExit",new ue);o(this,"_onEnter",new ue);o(this,"_animationState","void");o(this,"_live");o(this,"_label");o(this,"_role");o(this,"_liveElementId",_(ra).getId("mat-snack-bar-container-live-"));o(this,"attachDomPortal",i=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(i);return this._afterPortalAttached(),r});let i=this.snackBarConfig;i.politeness==="assertive"&&!i.announcementMessage?this._live="assertive":i.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=Sf(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(i){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(i);return this._afterPortalAttached(),r}attachTemplatePortal(i){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(i);return this._afterPortalAttached(),r}onAnimationEnd(i){i===tp?this._completeExit():i===ep&&(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($a(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ep)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(ep)},200)))}exit(){return this._destroyed?Dt(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($a(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(tp)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(tp),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 i=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(c=>i.classList.add(c)):i.classList.add(r)),this._exposeToModals();let s=this._label.nativeElement,l="mdc-snackbar__label";s.classList.toggle(l,!s.querySelector(`.${l}`))}_exposeToModals(){let i=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<r.length;s++){let l=r[s],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(i)===-1&&l.setAttribute("aria-owns",c+" "+i):l.setAttribute("aria-owns",i)}}_clearFromModals(){this._trackedModals.forEach(i=>{let r=i.getAttribute("aria-owns");if(r){let s=r.replace(this._liveElementId,"").trim();s.length>0?i.setAttribute("aria-owns",s):i.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let i=this._elementRef.nativeElement,r=i.querySelector("[aria-hidden]"),s=i.querySelector("[aria-live]");if(r&&s){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),s.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(Ye(ln,7),Ye(lwe,7)),i&2){let s;ye(s=_e())&&(r._portalOutlet=s.first),ye(s=_e())&&(r._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&xe("animationend",function(s){return r.onAnimationEnd(s.animationName)})("animationcancel",function(s){return r.onAnimationEnd(s.animationName)}),i&2&&Ee("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[ze],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(i,r){i&1&&(D(0,"div",1)(1,"div",2,0)(3,"div",3),V(4,cwe,0,0,"ng-template",4),I(),Z(5,"div"),I()()),i&2&&(S(5),be("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[ln],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}
52
+ `],encapsulation:2}));let e=t;return e})();function gwe(){return new zd}var bwe=new Y("mat-snack-bar-default-options",{providedIn:"root",factory:gwe}),vwe=(()=>{const t=class t{constructor(){o(this,"_overlay",_(si));o(this,"_live",_(nk));o(this,"_injector",_(ct));o(this,"_breakpointObserver",_(Xw));o(this,"_parentSnackBar",_(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",_(bwe));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",mwe);o(this,"snackBarContainerComponent",fwe);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let a=this._parentSnackBar;return a?a._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(a){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=a:this._snackBarRefAtThisLevel=a}openFromComponent(a,i){return this._attach(a,i)}openFromTemplate(a,i){return this._attach(a,i)}open(a,i="",r){let s=ge(ge({},this._defaultConfig),r);return s.data={message:a,action:i},s.announcementMessage===a&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(a,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,s=ct.create({parent:r||this._injector,providers:[{provide:zd,useValue:i}]}),l=new Yr(this.snackBarContainerComponent,i.viewContainerRef,s),c=a.attach(l);return c.instance.snackBarConfig=i,c.instance}_attach(a,i){let r=ge(ge(ge({},new zd),this._defaultConfig),i),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new Sm(l,s);if(a instanceof ma){let d=new no(a,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new Yr(a,void 0,d),p=l.attachComponentPortal(u);c.instance=p.instance}return this._breakpointObserver.observe(owe.HandsetPortrait).pipe(zt(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(a,i){a.afterDismissed().subscribe(()=>{this._openedSnackBarRef==a&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&a.afterOpened().subscribe(()=>a._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter()}_createOverlay(a){let i=new Ll;i.direction=a.direction;let r=this._overlay.position().global(),s=a.direction==="rtl",l=a.horizontalPosition==="left"||a.horizontalPosition==="start"&&!s||a.horizontalPosition==="end"&&s,c=!l&&a.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),a.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(a,i){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector;return ct.create({parent:r||this._injector,providers:[{provide:Sm,useValue:i},{provide:MS,useValue:a.data}]})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ywe=(()=>{const t=class t{constructor(){this.snackbar=_(vwe),this.translate=_(Ra)}showSuccess(a,i="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(a),this.translate.instant(i),{duration:r,panelClass:"mh-snackbar--success"})}showError(a,i="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(a),this.translate.instant(i),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_we="4.0",Em=_we,Gn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Gn||{}),xwe={demo:{env:Gn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Gn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Gn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Gn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Gn.PROD}},$l=(()=>{const t=class t{setEnvironment(a){this.configVariables=xwe[Gn[a.toUpperCase()]]||{}}getEnvironmentVariable(a){return this.configVariables[a]}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Bd=(()=>{const t=class t{constructor(){this.config=_($l),this.injector=_(ct),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(J1e):this.injector.get(X1e)}return this._instance}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),id=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e}(id||{}),Yt=function(e){return e.MONDAY="monday",e.TUESDAY="tuesday",e.WEDNESDAY="wednesday",e.THURSDAY="thursday",e.FRIDAY="friday",e.SATURDAY="saturday",e.SUNDAY="sunday",e}(Yt||{}),RS=function(e){return e.BEFOREBREAKFAST="beforebreakfast",e.DURINGBREAKFAST="duringbreakfast",e.AFTERBREAKFAST="afterbreakfast",e.MORNING="morning",e.BETWEENBREAKFASTANDLUNCH="betweenbreakfastandlunch",e.BEFORELUNCH="beforelunch",e.DURINGLUNCH="duringlunch",e.AFTERLUNCH="afterlunch",e.AFTERNOON="afternoon",e.BETWEENLUNCHANDDINNER="betweenlunchanddinner",e.BEFOREDINNER="beforedinner",e.DURINGDINNER="duringdinner",e.AFTERDINNER="afterdinner",e.EVENING="evening",e.THEHOUROFSLEEP="thehourofsleep",e.NIGHT="night",e.AFTERMEAL="aftermeal",e.BETWEENDINNERANDSLEEP="betweendinnerandsleep",e.BETWEENMEALS="betweenmeals",e}(RS||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),ce=function(e){return e.D="D",e.DA="DA",e.DD="DD",e.DE="DE",e.DN="DN",e.DQ="DQ",e.DT="DT",e.DV="DV",e.DW="DW",e.DX="DX",e.DZ="DZ",e.J="J",e.JD="JD",e.JH2="JH2",e.JQ="JQ",e.JT="JT",e.JV="JV",e.JZ="JZ",e.M="M",e.MA="MA",e.MC="MC",e.MD="MD",e.ME="ME",e.MN="MN",e.MQ="MQ",e.MS="MS",e.MT="MT",e.MV="MV",e.MX="MX",e.MZ2="MZ2",e.O1="O1",e.ONDEMAND="ondemand",e.U="U",e.UA="UA",e.UD="UD",e.UE="UE",e.UH="UH",e.UN="UN",e.UQ="UQ",e.US="US",e.UT="UT",e.UV="UV",e.UW="UW",e.UX="UX",e.UZ="UZ",e.W="W",e.WA="WA",e.WD="WD",e.WE="WE",e.WN="WN",e.WP="WP",e.WQ="WQ",e.WS="WS",e.WT="WT",e.WV="WV",e.WW="WW",e.WX="WX",e.WZ="WZ",e}(ce||{}),Wg=function(e){return e.ascending="asc",e.descending="desc",e}(Wg||{}),Yl=function(e){return e.ACUTE="acute",e.CHRONIC="chronic",e.ONESHOT="oneshot",e.REACTIVATION="reactivation",e.REMISSION="remission",e.SUBACUTE="subacute",e}(Yl||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var Nc={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},wwe=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new ee);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let a=Em.split(".").map(r=>parseInt(r)),i=(this.version||"").split(".").map(r=>parseInt(r));return i.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):i[0]!==a[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${Em})!`),!1):!0}validateInputs(){let a=this,i=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:s}=i.reduce((l,c)=>(a[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${s.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(a){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(a):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(a){}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Kt],decls:0,vars:0,template:function(a,i){},encapsulation:2}));let e=t;return e})(),kwe=class{constructor(e,t,n,a,i){o(this,"logId");o(this,"services");o(this,"key");o(this,"cacheFetchingKey");o(this,"offlineDataStorageEnabled");o(this,"isOfflineAuthenticated");this.logId=i,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=a,this.isOfflineAuthenticated=n}fetchBackendData(){return _a(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return _a(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return _a(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return _a(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return _a(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return _a(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},Cwe=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},Swe=(e,t)=>{let n=_(Bd),a=_($l).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http"))return t(e);let i=e.headers||new Yo,r=n.getInstance().isProfessional;return n.getInstance().resolveAccessToken().pipe(Gs(s=>t(e.clone({url:`${a}${e.url}`,headers:i.set("Authorization",Nc.getAuthorizationHeader(s)).set("user-type",Nc.getUserType({isProfessional:r})).set("client-type",Cwe()?Nc.clientType.mobileApp:Nc.clientType.webApp)}))))};function Ewe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Dwe=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"р."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl£"],GHS:[void 0,"₵"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"₱"],RON:[void 0,"L"],RUR:[void 0,"р."],RWF:[void 0,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",Ewe];function Iwe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Awe=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Iwe];function Twe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,a=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:a===0&&t!==0&&t%1e6===0&&n===0||!(a>=0&&a<=5)?4:5}var Owe=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant Jésus-Christ","après Jésus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} 'à' {0}",void 0],[","," ",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"р."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"¥"],COP:["$CO","$"],CYP:["£CY"],EGP:[void 0,"£E"],FJD:["$FJ","$"],FKP:["£FK","£"],FRF:["F"],GBP:["£GB","£"],GIP:["£GI","£"],HKD:[void 0,"$"],IEP:["£IE"],ILP:["£IL"],ITL:["₤IT"],JPY:[void 0,"¥"],KMF:[void 0,"FC"],LBP:["£LB","£L"],MTP:["£MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"₱"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",Twe];function Mwe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Rwe=["nl",[["a.m.","p.m."],void 0,void 0],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00;¤ -#,##0.00","#E0"],"EUR","€","Euro",{AUD:["AU$","$"],BYN:[void 0,"р."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP¥","¥"],PHP:[void 0,"₱"],RUR:[void 0,"р."],SBD:["SI$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",Mwe];Du(Dwe,"de");Du(Rwe,"nl");Du(Owe,"fr");Du(Awe,"en");var Pwe=class{handleError(e){throw new Error(e)}},Nwe=class extends FC{getFirstDayOfWeek(){return 1}format(e){return Co(e,"dd/MM/yyyy")}parse(e){return L1e(e,"dd/MM/yyyy",new Date)}},Lwe={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Fwe=[M_e(),Uve(Wve([Swe])),Y1e(),{provide:Vi,useClass:Pwe},{provide:Ca,useClass:Nwe,deps:[Qp]},{provide:to,useValue:Lwe},{provide:ZC,useClass:R_e},{provide:jC,useValue:{panelClass:"mh-dialog-container"}}],Vwe=B0(Qne(),1),zwe=new Y("MESSAGE_FORMAT_CONFIG"),Bwe={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},jwe=(()=>{const t=class t extends Wl{constructor(a){super(),this.mfCache=new Map;let{formatters:i,biDiSupport:r,strictNumberSign:s,currency:l,strictPluralKeys:c,throwOnError:d,fallbackPrefix:u}=ge(ge({},Bwe),a);this.messageFormatOptions={customFormatters:i,biDiSupport:r,strict:s,currency:l,strictPluralKeys:c},this.throwOnError=!!d,this.fallbackPrefix=u}compile(a,i){if(this.fallbackPrefix&&a.startsWith(this.fallbackPrefix))return a.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(i).compile(a)}catch(s){if(this.throwOnError)throw s;console.error(s),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${i}': '${a}'`),r=Uwe(a,i)}return this.throwOnError||(r=Hwe(r,a)),r}compileTranslations(a,i){return typeof a=="string"?this.compile(a,i):Object.keys(a).reduce((r,s)=>{let l=a[s];return r[s]=this.compileTranslations(l,i),r},{})}getMessageFormatInstance(a){return this.mfCache.has(a)||this.mfCache.set(a,new Vwe.default(a,this.messageFormatOptions)),this.mfCache.get(a)}};t.ɵfac=function(a){return new(a||t)(ke(zwe,8))},t.ɵprov=G({token:t,factory:t.ɵfac});let e=t;return e})();function Hwe(e,t){return n=>{let a=t;try{a=e(n)}catch(i){console.error(i),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${n}'`)}return a}}function Uwe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var PS={};ve(PS,{"00001":()=>NS,"00002":()=>LS,"00003":()=>FS,"00004":()=>VS,"00005":()=>zS,"00006":()=>BS,"00007":()=>jS,"00008":()=>HS,"00009":()=>US,"00010":()=>WS,"00011":()=>qS,"00012":()=>$S,"00013":()=>YS,"00014":()=>GS,"00015":()=>ZS,"00016":()=>KS,"00017":()=>QS,"00018":()=>XS,"00019":()=>JS,"00020":()=>eE,"00021":()=>tE,"00022":()=>aE,"00023":()=>iE,"00024":()=>nE,"00025":()=>rE,"00026":()=>oE,"00027":()=>sE,"00028":()=>lE,"00029":()=>cE,"00030":()=>dE,ampoule:()=>LE,bandage:()=>OE,bottle:()=>FE,box:()=>RE,cm:()=>uE,default:()=>Wwe,dropsperminute:()=>hE,"effervescent-tablet":()=>AE,gm:()=>pE,internationalunits:()=>mE,iu:()=>DE,liter:()=>PE,"mck/h":()=>fE,"mck/kg/minute":()=>gE,measure:()=>bE,meq:()=>SE,mg:()=>kE,"mg/h":()=>vE,"mg/ml":()=>CE,micrograms:()=>TE,miu:()=>EE,"ml/h":()=>yE,mmol:()=>IE,piece:()=>ME,syringe:()=>NE,"syringe-ampoule":()=>VE,tbl:()=>_E,tsp:()=>xE,"unt/h":()=>wE});var NS="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",LS="{count, plural, one{Ampulle} other{Ampullen}}",FS="anwenden",VS="{count, plural, one{Kapsel} other{Kapseln}}",zS="{count, plural, one{Tablette} other{Tabletten}}",BS="Dosis",jS="{count, plural, one{Tropf} other{Tropfen}}",HS="{count, plural, one{Fläsche} other{Fläschchen}}",US="{count, plural, one{Implantat} other{Implantate}}",WS="{count, plural, one{Infusion} other{Infusionen}}",qS="{count, plural, one{Inhalation} other{Inhalationen}}",$S="Einstechen",YS="Kaugummi",GS="{count, plural, one{Kompresse} other{Kompressen}}",ZS="{count, plural, one{Einlauf} other{Einläufe}}",KS="ml",QS="Ov.",XS="{count, plural, one{Perle} other{Perlen}}",JS="{count, plural, one{Pastille} other{Pastillen}}",eE="Pflaster",tE="cart",aE="Pen",iE="{count, plural, one{Puff} other{Puffs}}",nE="{count, plural, one{Schwamm} other{Schwämme}}",rE="{count, plural, one{Stift} other{Stifte}}",oE="Suppo",sE="Tube",lE="{count, plural, one{Docht} other{Dochte}}",cE="Beutel",dE="Beutel",uE="Zentimeter",hE="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",pE="Gramm",mE="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",fE="Mikrogramm pro Stunde",gE="Mikrogramm pro Kilogramm pro Minute",bE="Maß",vE="Miligramm pro Stunde",yE="Milliliter pro Stunde",_E="Esslöffel",xE="Kaffeelöffel",wE="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",kE="Milligramm",CE="Milligramm pro Millimeter",SE="meq",EE="miu",DE="iu",IE="mmol",AE="effervescent-tablet",TE="micrograms",OE="{count, plural, one{bandage} other{bandagen}}",ME="{count, plural, one{stück} other{stücke}}",RE="schachteln",PE="liter",NE="{count, plural, one{spritze} other{spritzen}}",LE="{count, plural, one{glühbirn} other{glühbirnen}}",FE="{count, plural, one{Fläsche} other{Fläschchen}}",VE="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",Wwe={"00001":NS,"00002":LS,"00003":FS,"00004":VS,"00005":zS,"00006":BS,"00007":jS,"00008":HS,"00009":US,"00010":WS,"00011":qS,"00012":$S,"00013":YS,"00014":GS,"00015":ZS,"00016":KS,"00017":QS,"00018":XS,"00019":JS,"00020":eE,"00021":tE,"00022":aE,"00023":iE,"00024":nE,"00025":rE,"00026":oE,"00027":sE,"00028":lE,"00029":cE,"00030":dE,cm:uE,dropsperminute:hE,gm:pE,internationalunits:mE,"mck/h":fE,"mck/kg/minute":gE,measure:bE,"mg/h":vE,"ml/h":yE,tbl:_E,tsp:xE,"unt/h":wE,mg:kE,"mg/ml":CE,meq:SE,miu:EE,iu:DE,mmol:IE,"effervescent-tablet":AE,micrograms:TE,bandage:OE,piece:ME,box:RE,liter:PE,syringe:NE,ampoule:LE,bottle:FE,"syringe-ampoule":VE},zE={};ve(zE,{"00001":()=>BE,"00002":()=>jE,"00003":()=>HE,"00004":()=>UE,"00005":()=>WE,"00006":()=>qE,"00007":()=>$E,"00008":()=>YE,"00009":()=>GE,"00010":()=>ZE,"00011":()=>KE,"00012":()=>QE,"00013":()=>XE,"00014":()=>JE,"00015":()=>eD,"00016":()=>tD,"00017":()=>aD,"00018":()=>iD,"00019":()=>nD,"00020":()=>rD,"00021":()=>oD,"00022":()=>sD,"00023":()=>lD,"00024":()=>cD,"00025":()=>dD,"00026":()=>uD,"00027":()=>hD,"00028":()=>pD,"00029":()=>mD,"00030":()=>fD,ampoule:()=>jD,bandage:()=>LD,bottle:()=>HD,box:()=>VD,cm:()=>gD,default:()=>qwe,dropsperminute:()=>bD,"effervescent-tablet":()=>PD,gm:()=>vD,internationalunits:()=>yD,iu:()=>MD,liter:()=>zD,"mck/h":()=>_D,"mck/kg/minute":()=>xD,measure:()=>wD,meq:()=>TD,mg:()=>ID,"mg/h":()=>kD,"mg/ml":()=>AD,micrograms:()=>ND,miu:()=>OD,"ml/h":()=>CD,mmol:()=>RD,piece:()=>FD,syringe:()=>BD,"syringe-ampoule":()=>UD,tbl:()=>SD,tsp:()=>ED,"unt/h":()=>DD});var BE="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",jE="{count, plural, one{ampoule} other{ampoules}}",HE="applic.",UE="{count, plural, one{capsule} other{capsules}}",WE="{count, plural, one{tablet} other{tablets}}",qE="{count, plural, one{dose} other{doses}}",$E="{count, plural, one{drop} other{drops}}",YE="{count, plural, one{bottle} other{bottles}}",GE="{count, plural, one{implant} other{implants}}",ZE="{count, plural, one{perfusion} other{perfusions}}",KE="{count, plural, one{inhalation} other{inhalations}}",QE="insert",XE="{count, plural, one{chewing gum} other{chewing gums}}",JE="{count, plural, one{compress} other{compresses}}",eD="enema",tD="ml",aD="{count, plural, one{ovule} other{ovules}}",iD="{count, plural, one{pearl} other{pearls}}",nD="{count, plural, one{pastille} other{pastilles}}",rD="{count, plural, one{patch} other{patches}}",oD="{count, plural, one{cartridge} other{cartridges}}",sD="{count, plural, one{pen} other{pens}}",lD="{count, plural, one{puff} other{puffs}}",cD="{count, plural, one{sponge} other{sponges}}",dD="{count, plural, one{stylo} other{stylos}}",uD="{count, plural, one{supository} other{supositories}}",hD="{count, plural, one{tube} other{tubes}}",pD="{count, plural, one{wick} other{wicks}}",mD="{count, plural, one{bag} other{bags}}",fD="{count, plural, one{small bag} other{small bags}}",gD="centimeter",bD="{count, plural, one{drop per minute} other{drops per minute}}",vD="gram",yD="international units",_D="microgram per hour",xD="microgram per kilogram per minute",wD="{count, plural, one{measure} other{measures}}",kD="milligram per hour",CD="milliliter per hour",SD="{count, plural, one{tablespoon} other{tablespoons}}",ED="{count, plural, one{teaspoon} other{teaspoons}}",DD="{count, plural, one{unit per hour} other{units per hour}}",ID="milligram",AD="milligram per milliliter",TD="milli-equivalent",OD="miu",MD="international units",RD="millimole",PD="{count, plural, one{effervescent tablet} other{effervescent tablets}}",ND="microgram",LD="{count, plural, one{bandage} other{bandages}}",FD="{count, plural, one{piece} other{pieces}}",VD="{count, plural, one{spray} other{sprays}}",zD="liter",BD="{count, plural, one{syringe} other{syringes}}",jD="{count, plural, one{ampoule} other{ampoules}}",HD="{count, plural, one{bottle} other{bottles}}",UD="{count, plural, one{syringe ampoule} other{syringe ampoules}}",qwe={"00001":BE,"00002":jE,"00003":HE,"00004":UE,"00005":WE,"00006":qE,"00007":$E,"00008":YE,"00009":GE,"00010":ZE,"00011":KE,"00012":QE,"00013":XE,"00014":JE,"00015":eD,"00016":tD,"00017":aD,"00018":iD,"00019":nD,"00020":rD,"00021":oD,"00022":sD,"00023":lD,"00024":cD,"00025":dD,"00026":uD,"00027":hD,"00028":pD,"00029":mD,"00030":fD,cm:gD,dropsperminute:bD,gm:vD,internationalunits:yD,"mck/h":_D,"mck/kg/minute":xD,measure:wD,"mg/h":kD,"ml/h":CD,tbl:SD,tsp:ED,"unt/h":DD,mg:ID,"mg/ml":AD,meq:TD,miu:OD,iu:MD,mmol:RD,"effervescent-tablet":PD,micrograms:ND,bandage:LD,piece:FD,box:VD,liter:zD,syringe:BD,ampoule:jD,bottle:HD,"syringe-ampoule":UD},WD={};ve(WD,{"00001":()=>qD,"00002":()=>$D,"00003":()=>YD,"00004":()=>GD,"00005":()=>ZD,"00006":()=>KD,"00007":()=>QD,"00008":()=>XD,"00009":()=>JD,"00010":()=>e2,"00011":()=>t2,"00012":()=>a2,"00013":()=>i2,"00014":()=>n2,"00015":()=>r2,"00016":()=>o2,"00017":()=>s2,"00018":()=>l2,"00019":()=>c2,"00020":()=>d2,"00021":()=>u2,"00022":()=>h2,"00023":()=>p2,"00024":()=>m2,"00025":()=>f2,"00026":()=>g2,"00027":()=>b2,"00028":()=>v2,"00029":()=>y2,"00030":()=>_2,ampoule:()=>$2,bandage:()=>j2,bottle:()=>Y2,box:()=>U2,cm:()=>x2,default:()=>$we,dropsperminute:()=>w2,"effervescent-tablet":()=>z2,gm:()=>k2,internationalunits:()=>C2,iu:()=>F2,liter:()=>W2,"mck/h":()=>S2,"mck/kg/minute":()=>E2,measure:()=>D2,meq:()=>N2,mg:()=>R2,"mg/h":()=>I2,"mg/ml":()=>P2,micrograms:()=>B2,miu:()=>L2,"ml/h":()=>A2,mmol:()=>V2,piece:()=>H2,syringe:()=>q2,"syringe-ampoule":()=>G2,tbl:()=>T2,tsp:()=>O2,"unt/h":()=>M2});var qD="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",$D="amp.",YD="applic.",GD="caps.",ZD="compr.",KD="{count, plural, one{dose} other{doses}}",QD="{count, plural, one{goutte} other{gouttes}}",XD="flac.",JD="{count, plural, one{implant} other{implants}}",e2="{count, plural, one{perfusion} other{perfusions}}",t2="{count, plural, one{inhalation} other{inhalations}}",a2="insert",i2="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",n2="{count, plural, one{compres(se)} other{compres(ses)}}",r2="{count, plural, one{lavement} other{lavements}}",o2="ml",s2="ov.",l2="{count, plural, one{perle} other{perles}}",c2="{count, plural, one{pastille} other{pastilles}}",d2="{count, plural, one{patch} other{patchs}}",u2="patr.",h2="{count, plural, one{stylo} other{stylos}}",p2="{count, plural, one{puff} other{puffs}}",m2="{count, plural, one{éponge} other{éponges}}",f2="{count, plural, one{stylo} other{stylos}}",g2="suppo",b2="{count, plural, one{tube} other{tubes}}",v2="{count, plural, one{mèche} other{mèches}}",y2="{count, plural, one{sac} other{sacs}}",_2="{count, plural, one{sachet} other{sachets}}",x2="{count, plural, one{centimètre} other{centimètres}}",w2="{count, plural, one{goute par minute} other{goutes par minute}}",k2="{count, plural, one{gramme} other{grammes}}",C2="{count, plural, one{unité internationales} other{unités internationales}}",S2="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",E2="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",D2="{count, plural, one{mesure} other{mesures}}",I2="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",A2="{count, plural, one{millilitre par heure} other{millilitres par heure}}",T2="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",O2="{count, plural, one{cuillère à café} other{cuillères à café}}",M2="{count, plural, one{unité par heure} other{unités par heure}}",R2="{count, plural, one{miligramme} other{miligrammes}}",P2="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",N2="milli-équivalent",L2="miu",F2="{count, plural, one{unité internationales} other{unités internationales}}",V2="millimol",z2="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",B2="{count, plural, one{microgramme} other{microgrammes}}",j2="{count, plural, one{bandage} other{bandages}}",H2="{count, plural, one{pièce} other{pièces}}",U2="{count, plural, one{vaporisateur} other{vaporisateurs}}",W2="{count, plural, one{litre} other{litres}}",q2="{count, plural, one{seringue} other{seringues}}",$2="{count, plural, one{ampoule} other{ampoules}}",Y2="{count, plural, one{fiole} other{fioles}}",G2="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",$we={"00001":qD,"00002":$D,"00003":YD,"00004":GD,"00005":ZD,"00006":KD,"00007":QD,"00008":XD,"00009":JD,"00010":e2,"00011":t2,"00012":a2,"00013":i2,"00014":n2,"00015":r2,"00016":o2,"00017":s2,"00018":l2,"00019":c2,"00020":d2,"00021":u2,"00022":h2,"00023":p2,"00024":m2,"00025":f2,"00026":g2,"00027":b2,"00028":v2,"00029":y2,"00030":_2,cm:x2,dropsperminute:w2,gm:k2,internationalunits:C2,"mck/h":S2,"mck/kg/minute":E2,measure:D2,"mg/h":I2,"ml/h":A2,tbl:T2,tsp:O2,"unt/h":M2,mg:R2,"mg/ml":P2,meq:N2,miu:L2,iu:F2,mmol:V2,"effervescent-tablet":z2,micrograms:B2,bandage:j2,piece:H2,box:U2,liter:W2,syringe:q2,ampoule:$2,bottle:Y2,"syringe-ampoule":G2},Z2={};ve(Z2,{"00001":()=>K2,"00002":()=>Q2,"00003":()=>X2,"00004":()=>J2,"00005":()=>eI,"00006":()=>tI,"00007":()=>aI,"00008":()=>iI,"00009":()=>nI,"00010":()=>rI,"00011":()=>oI,"00012":()=>sI,"00013":()=>lI,"00014":()=>cI,"00015":()=>dI,"00016":()=>uI,"00017":()=>hI,"00018":()=>pI,"00019":()=>mI,"00020":()=>fI,"00021":()=>gI,"00022":()=>bI,"00023":()=>vI,"00024":()=>yI,"00025":()=>_I,"00026":()=>xI,"00027":()=>wI,"00028":()=>kI,"00029":()=>CI,"00030":()=>SI,ampoule:()=>QI,bandage:()=>$I,bottle:()=>XI,box:()=>GI,cm:()=>EI,default:()=>Ywe,dropsperminute:()=>DI,"effervescent-tablet":()=>WI,gm:()=>II,internationalunits:()=>AI,iu:()=>HI,liter:()=>ZI,"mck/h":()=>TI,"mck/kg/minute":()=>OI,measure:()=>MI,meq:()=>BI,mg:()=>VI,"mg/h":()=>RI,"mg/ml":()=>zI,micrograms:()=>qI,miu:()=>jI,"ml/h":()=>PI,mmol:()=>UI,piece:()=>YI,syringe:()=>KI,"syringe-ampoule":()=>JI,tbl:()=>NI,tsp:()=>LI,"unt/h":()=>FI});var K2="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",Q2="{count, plural, one{ampule} other{ampullen}}",X2="aanbrengen",J2="{count, plural, one{capsule} other{capsules}}",eI="{count, plural, one{tablet} other{tabletten}}",tI="{count, plural, one{dose} other{dosissen}}",aI="{count, plural, one{druppel} other{druppels}}",iI="{count, plural, one{flesje} other{flesjes}}",nI="{count, plural, one{implantaat} other{implantaten}}",rI="{count, plural, one{infuus} other{infusen}}",oI="{count, plural, one{inhalatie} other{inhalaties}}",sI="inbrengen",lI="{count, plural, one{kauwgom} other{kauwgommen}}",cI="{count, plural, one{kompres} other{kompressen}}",dI="lavement",uI="ml",hI="{count, plural, one{ovule} other{ovules}}",pI="{count, plural, one{parel} other{parels}}",mI="{count, plural, one{pastille} other{pastilles}}",fI="{count, plural, one{pleister} other{pleisters}}",gI="{count, plural, one{patroon} other{patronen}}",bI="{count, plural, one{pen} other{pennen}}",vI="{count, plural, one{puff} other{puffs}}",yI="{count, plural, one{spons} other{sponsen}}",_I="{count, plural, one{stylo} other{stylos}}",xI="{count, plural, one{zetpil} other{zetpillen}}",wI="{count, plural, one{tube} other{tubes}}",kI="{count, plural, one{wiek} other{wieken}}",CI="{count, plural, one{zak} other{zakken}}",SI="{count, plural, one{zakje} other{zakjes}}",EI="centimeter",DI="{count, plural, one{druppel per minuut} other{druppels per minuut}}",II="gram",AI="internationale eenheden",TI="microgram per uur",OI="microgram per kilogram per minuut",MI="{count, plural, one{maat} other{maten}}",RI="milligram per uur",PI="milliliter per uur",NI="{count, plural, one{eetlepel} other{eetlepels}}",LI="{count, plural, one{koffielepel} other{koffielepels}}",FI="{count, plural, one{eenheid per uur} other{eenheden per uur}}",VI="miligram",zI="miligram per milimeter",BI="milli-equivalent",jI="miu",HI="internationale eenheden",UI="millimol",WI="{count, plural, one{bruistablet} other{bruistabletten}}",qI="microgram",$I="{count, plural, one{verband} other{verbanden}}",YI="{count, plural, one{stuk} other{stuks}}",GI="{count, plural, one{verstuiving} other{verstuivingen}}",ZI="liter",KI="{count, plural, one{spuit} other{spuiten}}",QI="{count, plural, one{ampul} other{ampullen}}",XI="{count, plural, one{fles} other{flessen}}",JI="{count, plural, one{spuitampul} other{spuitampullen}}",Ywe={"00001":K2,"00002":Q2,"00003":X2,"00004":J2,"00005":eI,"00006":tI,"00007":aI,"00008":iI,"00009":nI,"00010":rI,"00011":oI,"00012":sI,"00013":lI,"00014":cI,"00015":dI,"00016":uI,"00017":hI,"00018":pI,"00019":mI,"00020":fI,"00021":gI,"00022":bI,"00023":vI,"00024":yI,"00025":_I,"00026":xI,"00027":wI,"00028":kI,"00029":CI,"00030":SI,cm:EI,dropsperminute:DI,gm:II,internationalunits:AI,"mck/h":TI,"mck/kg/minute":OI,measure:MI,"mg/h":RI,"ml/h":PI,tbl:NI,tsp:LI,"unt/h":FI,mg:VI,"mg/ml":zI,meq:BI,miu:jI,iu:HI,mmol:UI,"effervescent-tablet":WI,micrograms:qI,bandage:$I,piece:YI,box:GI,liter:ZI,syringe:KI,ampoule:QI,bottle:XI,"syringe-ampoule":JI},Gwe={nl:Z2,fr:WD,de:PS,en:zE},eA={};ve(eA,{default:()=>Zwe,friday:()=>rA,monday:()=>tA,saturday:()=>oA,sunday:()=>sA,thursday:()=>nA,tuesday:()=>aA,wednesday:()=>iA});var tA="Montag",aA="Dienstag",iA="Mittwoch",nA="Donnerstag",rA="Freitag",oA="Samstag",sA="Sonntag",Zwe={monday:tA,tuesday:aA,wednesday:iA,thursday:nA,friday:rA,saturday:oA,sunday:sA},lA={};ve(lA,{default:()=>Kwe,friday:()=>pA,monday:()=>cA,saturday:()=>mA,sunday:()=>fA,thursday:()=>hA,tuesday:()=>dA,wednesday:()=>uA});var cA="Monday",dA="Tuesday",uA="Wednesday",hA="Thursday",pA="Friday",mA="Saturday",fA="Sunday",Kwe={monday:cA,tuesday:dA,wednesday:uA,thursday:hA,friday:pA,saturday:mA,sunday:fA},gA={};ve(gA,{default:()=>Qwe,friday:()=>xA,monday:()=>bA,saturday:()=>wA,sunday:()=>kA,thursday:()=>_A,tuesday:()=>vA,wednesday:()=>yA});var bA="Lundi",vA="Mardi",yA="Mercredi",_A="Jeudi",xA="Vendredi",wA="Samedi",kA="Dimanche",Qwe={monday:bA,tuesday:vA,wednesday:yA,thursday:_A,friday:xA,saturday:wA,sunday:kA},CA={};ve(CA,{default:()=>Xwe,friday:()=>AA,monday:()=>SA,saturday:()=>TA,sunday:()=>OA,thursday:()=>IA,tuesday:()=>EA,wednesday:()=>DA});var SA="Maandag",EA="Dinsdag",DA="Woensdag",IA="Donderdag",AA="Vrijdag",TA="Zaterdag",OA="Zondag",Xwe={monday:SA,tuesday:EA,wednesday:DA,thursday:IA,friday:AA,saturday:TA,sunday:OA},Jwe={nl:CA,fr:gA,de:eA,en:lA},MA={};ve(MA,{VIDIS_0035:()=>RA,VIDIS_0050:()=>PA,VIDIS_0090:()=>NA,VIDIS_0100:()=>uT,VIDIS_0110:()=>pT,VIDIS_0120:()=>hT,VIDIS_0121:()=>LA,VIDIS_0122:()=>FA,VIDIS_0123:()=>VA,VIDIS_0124:()=>zA,VIDIS_0125:()=>BA,VIDIS_0126:()=>jA,VIDIS_0131:()=>HA,VIDIS_0132:()=>UA,VIDIS_0133:()=>WA,VIDIS_0134:()=>qA,VIDIS_0135:()=>$A,VIDIS_0136:()=>YA,VIDIS_0190:()=>GA,VIDIS_0200:()=>mT,VIDIS_0210:()=>ZA,VIDIS_0211:()=>KA,VIDIS_0230:()=>QA,VIDIS_0290:()=>XA,VIDIS_0330:()=>JA,VIDIS_0340:()=>fT,VIDIS_0341:()=>gT,VIDIS_0400:()=>cT,VIDIS_04001:()=>bT,VIDIS_0435:()=>eT,VIDIS_0440:()=>tT,VIDIS_3030:()=>dT,VIDIS_3090:()=>rT,VIDIS_3100:()=>sT,VIDIS_3120:()=>lT,VIDIS_3140:()=>oT,VIDIS_3150:()=>nT,VIDIS_5000:()=>aT,VIDIS_7000:()=>iT,"action-not-authorized-close-button":()=>VT,"action-not-authorized-title":()=>FT,"data-not-available-title":()=>LT,default:()=>eke,general:()=>yT,"has-hidden-prescriptions":()=>DT,invalid_date_format:()=>CT,myHealth:()=>xT,myHealthUrl:()=>wT,network_error:()=>kT,"no-access":()=>_T,prescriptionList:()=>vT,"report-message-confirm-toast":()=>NT,"report-message-content":()=>TT,"report-message-explanation":()=>AT,"report-message-ignore-button":()=>PT,"report-message-link":()=>MT,"report-message-report-button":()=>RT,"report-message-term-use":()=>OT,"report-message-title":()=>IT,"status-message-content":()=>ET,"status-message-title":()=>ST});var RA="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",PA="Die Patienten-INSS fehlt. (VIDIS_0050)",NA="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",LA="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",FA="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",VA="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",zA="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",BA="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",jA="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",HA="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",UA="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",WA="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",qA="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",$A="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",YA="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",GA="Ungültige INSS-Patientennummer. (VIDIS_0190)",ZA="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",KA="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",QA="Der Vorgang ist ungültig (VIDIS_0230)",XA='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',JA="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",eT="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",tT="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",aT="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",iT="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",nT="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",rT="Das Rezept ist abgelaufen.",oT="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",sT="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",lT="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",cT="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",dT="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",uT="Vorgang nicht erlaubt.",hT="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",pT="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",mT="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",fT="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",gT="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",bT="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",vT="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",yT="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",_T="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",xT="Zurück zum Portal Meine Gesundheit",wT="https://wwwint.meinegesundheit.belgien.be/#/",kT="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",CT="Ungültiges Datumsformat.",ST="Dienst vorübergehend nicht verfügbar",ET=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
53
+ Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,DT="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",IT="Technisches Problem",AT="Bitte versuchen Sie es später noch einmal.",TT="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",OT="unsere Nutzungsbedingungen",MT="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",RT="Problem melden",PT="Nicht melden",NT="Das Problem wurde gemeldet",LT="Daten nicht verfügbar",FT="Aktion nicht erlaubt",VT="Schließen",eke={VIDIS_0035:RA,VIDIS_0050:PA,VIDIS_0090:NA,VIDIS_0121:LA,VIDIS_0122:FA,VIDIS_0123:VA,VIDIS_0124:zA,VIDIS_0125:BA,VIDIS_0126:jA,VIDIS_0131:HA,VIDIS_0132:UA,VIDIS_0133:WA,VIDIS_0134:qA,VIDIS_0135:$A,VIDIS_0136:YA,VIDIS_0190:GA,VIDIS_0210:ZA,VIDIS_0211:KA,VIDIS_0230:QA,VIDIS_0290:XA,VIDIS_0330:JA,VIDIS_0435:eT,VIDIS_0440:tT,VIDIS_5000:aT,VIDIS_7000:iT,VIDIS_3150:nT,VIDIS_3090:rT,VIDIS_3140:oT,VIDIS_3100:sT,VIDIS_3120:lT,VIDIS_0400:cT,VIDIS_3030:dT,VIDIS_0100:uT,VIDIS_0120:hT,VIDIS_0110:pT,VIDIS_0200:mT,VIDIS_0340:fT,VIDIS_0341:gT,VIDIS_04001:bT,prescriptionList:vT,general:yT,"no-access":_T,myHealth:xT,myHealthUrl:wT,network_error:kT,invalid_date_format:CT,"status-message-title":ST,"status-message-content":ET,"has-hidden-prescriptions":DT,"report-message-title":IT,"report-message-explanation":AT,"report-message-content":TT,"report-message-term-use":OT,"report-message-link":MT,"report-message-report-button":RT,"report-message-ignore-button":PT,"report-message-confirm-toast":NT,"data-not-available-title":LT,"action-not-authorized-title":FT,"action-not-authorized-close-button":VT},zT={};ve(zT,{VIDIS_0035:()=>BT,VIDIS_0050:()=>jT,VIDIS_0090:()=>HT,VIDIS_0100:()=>vO,VIDIS_0110:()=>_O,VIDIS_0120:()=>yO,VIDIS_0121:()=>UT,VIDIS_0122:()=>WT,VIDIS_0123:()=>qT,VIDIS_0124:()=>$T,VIDIS_0125:()=>YT,VIDIS_0126:()=>GT,VIDIS_0131:()=>ZT,VIDIS_0132:()=>KT,VIDIS_0133:()=>QT,VIDIS_0134:()=>XT,VIDIS_0135:()=>JT,VIDIS_0136:()=>eO,VIDIS_0190:()=>tO,VIDIS_0200:()=>xO,VIDIS_0210:()=>aO,VIDIS_0211:()=>iO,VIDIS_0230:()=>nO,VIDIS_0290:()=>rO,VIDIS_0330:()=>oO,VIDIS_0340:()=>wO,VIDIS_0341:()=>kO,VIDIS_0400:()=>gO,VIDIS_04001:()=>CO,VIDIS_0435:()=>sO,VIDIS_0440:()=>lO,VIDIS_3030:()=>bO,VIDIS_3090:()=>hO,VIDIS_3100:()=>mO,VIDIS_3120:()=>fO,VIDIS_3140:()=>pO,VIDIS_3150:()=>uO,VIDIS_5000:()=>cO,VIDIS_7000:()=>dO,"action-not-authorized-close-button":()=>qO,"action-not-authorized-title":()=>WO,"data-not-available-title":()=>UO,default:()=>tke,general:()=>EO,"has-hidden-prescriptions":()=>PO,invalid_date_format:()=>OO,myHealth:()=>IO,myHealthUrl:()=>AO,network_error:()=>TO,"no-access":()=>DO,prescriptionList:()=>SO,"report-message-confirm-toast":()=>HO,"report-message-content":()=>FO,"report-message-explanation":()=>LO,"report-message-ignore-button":()=>jO,"report-message-link":()=>zO,"report-message-report-button":()=>BO,"report-message-term-use":()=>VO,"report-message-title":()=>NO,"status-message-content":()=>RO,"status-message-title":()=>MO});var BT="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",jT="The patient's NISS number is missing (VIDIS_0050)",HT="The personal information provided was not recognised. (VIDIS_0090)",UT="Consulting data of a Brussels patient is currently not authorised.",WT="Consulting data of a Walloon patient is currently not authorised.",qT="Consulting data of a Brussels child by a parent is currently not authorised.",$T="Consulting data of a Walloon child by a parent is currently not authorised.",YT="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",GT="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",ZT="Access to the data of a Brussels patient is currently not permitted.",KT="Access to the data of a Walloon patient is currently not permitted.",QT="A parent’s access to the data of a Brussels child is currently not permitted.",XT="A parent’s access to the data of a Walloon child is currently not permitted.",JT="A representative’s access to the data of a Brussels patient is currently not permitted.",eO="A representative’s access to the data of a Walloon patient is currently not permitted.",tO="The patient's NISS number is invalid. (VIDIS_0190)",aO="The login was unsuccessful. Please try again. (VIDIS_0210)",iO="The login was unsuccessful. Please try again. (VIDIS_0211)",nO="The request is invalid. (VIDIS_0230)",rO="User role must be citizen. (VIDIS_0290)",oO="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",sO="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",lO="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",cO="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",dO="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",uO="No mandate found between patient and mandateholder.",hO="Prescription has expired.",pO="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",mO="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",fO="The patient in the session is different from the patient in the request.",gO="User is not authorized to make the request.",bO="No mandate found between patient and mandateholder.",vO="Operation is not allowed.",yO="A therapeutic relation between the requester and the patient is not available.",_O="There is no consent to share personal health information.",xO="User is not allowed to perform the operation due to an exclusion between requester and patient.",wO="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",kO="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",CO="Your request is invalid. Please try again later.",SO="Unfortunately the details of the prescription could not be retrieved. Please try again.",EO="An internal technical error has occured. Please try again later.",DO="An internal technical error has occured. Please try again later.",IO="Back to the MyHealth portal.",AO="https://www.myhealth.belgium.be/",TO="A network error unfortunately has occured. Please contact your network manager if the problem persists.",OO="Invalid date format.",MO="Service temporarily unavailable",RO=`We are currently having a problem connecting to the server.
54
+ Please try again later.`,PO="The patient has hidden one or more prescriptions.",NO="Technical problem",LO="Please try again later.",FO="Help us identify and resolve the issue. By reporting it, you accept ",VO="our terms of use",zO="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",BO="Report the problem",jO="Don't report",HO="The problem has been reported",UO="Data not available",WO="Action not authorized",qO="Close",tke={VIDIS_0035:BT,VIDIS_0050:jT,VIDIS_0090:HT,VIDIS_0121:UT,VIDIS_0122:WT,VIDIS_0123:qT,VIDIS_0124:$T,VIDIS_0125:YT,VIDIS_0126:GT,VIDIS_0131:ZT,VIDIS_0132:KT,VIDIS_0133:QT,VIDIS_0134:XT,VIDIS_0135:JT,VIDIS_0136:eO,VIDIS_0190:tO,VIDIS_0210:aO,VIDIS_0211:iO,VIDIS_0230:nO,VIDIS_0290:rO,VIDIS_0330:oO,VIDIS_0435:sO,VIDIS_0440:lO,VIDIS_5000:cO,VIDIS_7000:dO,VIDIS_3150:uO,VIDIS_3090:hO,VIDIS_3140:pO,VIDIS_3100:mO,VIDIS_3120:fO,VIDIS_0400:gO,VIDIS_3030:bO,VIDIS_0100:vO,VIDIS_0120:yO,VIDIS_0110:_O,VIDIS_0200:xO,VIDIS_0340:wO,VIDIS_0341:kO,VIDIS_04001:CO,prescriptionList:SO,general:EO,"no-access":DO,myHealth:IO,myHealthUrl:AO,network_error:TO,invalid_date_format:OO,"status-message-title":MO,"status-message-content":RO,"has-hidden-prescriptions":PO,"report-message-title":NO,"report-message-explanation":LO,"report-message-content":FO,"report-message-term-use":VO,"report-message-link":zO,"report-message-report-button":BO,"report-message-ignore-button":jO,"report-message-confirm-toast":HO,"data-not-available-title":UO,"action-not-authorized-title":WO,"action-not-authorized-close-button":qO},$O={};ve($O,{VIDIS_0035:()=>YO,VIDIS_0050:()=>GO,VIDIS_0090:()=>ZO,VIDIS_0100:()=>SM,VIDIS_0110:()=>DM,VIDIS_0120:()=>EM,VIDIS_0121:()=>KO,VIDIS_0122:()=>QO,VIDIS_0123:()=>XO,VIDIS_0124:()=>JO,VIDIS_0125:()=>eM,VIDIS_0126:()=>tM,VIDIS_0131:()=>aM,VIDIS_0132:()=>iM,VIDIS_0133:()=>nM,VIDIS_0134:()=>rM,VIDIS_0135:()=>oM,VIDIS_0136:()=>sM,VIDIS_0190:()=>lM,VIDIS_0200:()=>IM,VIDIS_0210:()=>cM,VIDIS_0211:()=>dM,VIDIS_0230:()=>uM,VIDIS_0290:()=>hM,VIDIS_0330:()=>pM,VIDIS_0340:()=>AM,VIDIS_0341:()=>TM,VIDIS_0400:()=>kM,VIDIS_04001:()=>OM,VIDIS_0435:()=>mM,VIDIS_0440:()=>fM,VIDIS_3030:()=>CM,VIDIS_3090:()=>yM,VIDIS_3100:()=>xM,VIDIS_3120:()=>wM,VIDIS_3140:()=>_M,VIDIS_3150:()=>vM,VIDIS_5000:()=>gM,VIDIS_7000:()=>bM,"action-not-authorized-close-button":()=>XM,"action-not-authorized-title":()=>QM,"data-not-available-title":()=>KM,default:()=>ake,general:()=>RM,"has-hidden-prescriptions":()=>jM,invalid_date_format:()=>VM,myHealth:()=>NM,myHealthUrl:()=>LM,network_error:()=>FM,"no-access":()=>PM,prescriptionList:()=>MM,"report-message-confirm-toast":()=>ZM,"report-message-content":()=>WM,"report-message-explanation":()=>UM,"report-message-ignore-button":()=>GM,"report-message-link":()=>$M,"report-message-report-button":()=>YM,"report-message-term-use":()=>qM,"report-message-title":()=>HM,"status-message-content":()=>BM,"status-message-title":()=>zM});var YO="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",GO="Le NISS du patient est manquant. (VIDIS_0050)",ZO="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",KO="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",QO="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",XO="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",JO="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",eM="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",tM="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",aM="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",iM="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",nM="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",rM="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",oM="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",sM="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",lM="Le NISS du patient n’est pas valide. (VIDIS_0190)",cM="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",dM="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",uM="L’opération n’est pas valide. (VIDIS_0230)",hM="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",pM="Votre niveau d’authentification ne vous permet pas d’accéder à cette page. Veuillez vous connecter avec un autre moyen d’authentification (itsme, eID ou code de sécurité envoyé par e-mail ou via app). (VIDIS_0330)",mM="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",fM="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",gM="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",bM="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",vM="Aucun mandat trouvé entre le patient et le mandataire.",yM="L’ordonnance est expirée.",_M="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",xM="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",wM="Le patient dans la session est différent de celui dans la demande.",kM="L’utilisateur n’est pas autorisé à effectuer la requête.",CM="Aucun mandat trouvé entre le patient et le mandataire.",SM="Opération non autorisée.",EM="Aucune relation thérapeutique entre le demandeur et le patient.",DM="Aucun consentement au partage des données de santé.",IM="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",AM="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be",TM="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be",OM="Votre requête est invalide. Veuillez réessayer plus tard.",MM="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",RM="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",PM="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",NM="Revenir au portail MaSanté",LM="https://wwwint.masante.belgique.be/#/",FM="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",VM="Le format de date est invalide.",zM="Service temporairement indisponible",BM=`Nous rencontrons actuellement un problème de connexion au serveur.
55
+ Veuillez réessayer plus tard.`,jM="Le patient a masqué une ou plusieurs prescriptions.",HM="Problème technique",UM="Veuillez réessayer plus tard.",WM="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",qM="conditions d'utilisation",$M="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",YM="Signaler le problème",GM="Ignorer",ZM="Le problème a été signalé",KM="Données non disponibles",QM="Action non autorisée",XM="Fermer",ake={VIDIS_0035:YO,VIDIS_0050:GO,VIDIS_0090:ZO,VIDIS_0121:KO,VIDIS_0122:QO,VIDIS_0123:XO,VIDIS_0124:JO,VIDIS_0125:eM,VIDIS_0126:tM,VIDIS_0131:aM,VIDIS_0132:iM,VIDIS_0133:nM,VIDIS_0134:rM,VIDIS_0135:oM,VIDIS_0136:sM,VIDIS_0190:lM,VIDIS_0210:cM,VIDIS_0211:dM,VIDIS_0230:uM,VIDIS_0290:hM,VIDIS_0330:pM,VIDIS_0435:mM,VIDIS_0440:fM,VIDIS_5000:gM,VIDIS_7000:bM,VIDIS_3150:vM,VIDIS_3090:yM,VIDIS_3140:_M,VIDIS_3100:xM,VIDIS_3120:wM,VIDIS_0400:kM,VIDIS_3030:CM,VIDIS_0100:SM,VIDIS_0120:EM,VIDIS_0110:DM,VIDIS_0200:IM,VIDIS_0340:AM,VIDIS_0341:TM,VIDIS_04001:OM,prescriptionList:MM,general:RM,"no-access":PM,myHealth:NM,myHealthUrl:LM,network_error:FM,invalid_date_format:VM,"status-message-title":zM,"status-message-content":BM,"has-hidden-prescriptions":jM,"report-message-title":HM,"report-message-explanation":UM,"report-message-content":WM,"report-message-term-use":qM,"report-message-link":$M,"report-message-report-button":YM,"report-message-ignore-button":GM,"report-message-confirm-toast":ZM,"data-not-available-title":KM,"action-not-authorized-title":QM,"action-not-authorized-close-button":XM},JM={};ve(JM,{VIDIS_0035:()=>eR,VIDIS_0050:()=>tR,VIDIS_0090:()=>aR,VIDIS_0100:()=>MR,VIDIS_0110:()=>PR,VIDIS_0120:()=>RR,VIDIS_0121:()=>iR,VIDIS_0122:()=>nR,VIDIS_0123:()=>rR,VIDIS_0124:()=>oR,VIDIS_0125:()=>sR,VIDIS_0126:()=>lR,VIDIS_0131:()=>cR,VIDIS_0132:()=>dR,VIDIS_0133:()=>uR,VIDIS_0134:()=>hR,VIDIS_0135:()=>pR,VIDIS_0136:()=>mR,VIDIS_0190:()=>fR,VIDIS_0200:()=>NR,VIDIS_0210:()=>gR,VIDIS_0211:()=>bR,VIDIS_0230:()=>vR,VIDIS_0290:()=>yR,VIDIS_0330:()=>_R,VIDIS_0340:()=>LR,VIDIS_0341:()=>FR,VIDIS_0400:()=>TR,VIDIS_04001:()=>VR,VIDIS_0435:()=>xR,VIDIS_0440:()=>wR,VIDIS_3030:()=>OR,VIDIS_3090:()=>ER,VIDIS_3100:()=>IR,VIDIS_3120:()=>AR,VIDIS_3140:()=>DR,VIDIS_3150:()=>SR,VIDIS_5000:()=>kR,VIDIS_7000:()=>CR,"action-not-authorized-close-button":()=>rP,"action-not-authorized-title":()=>nP,"data-not-available-title":()=>iP,default:()=>ike,general:()=>BR,"has-hidden-prescriptions":()=>GR,invalid_date_format:()=>qR,myHealth:()=>HR,myHealthUrl:()=>UR,network_error:()=>WR,"no-access":()=>jR,prescriptionList:()=>zR,"report-message-confirm-toast":()=>aP,"report-message-content":()=>QR,"report-message-explanation":()=>KR,"report-message-ignore-button":()=>tP,"report-message-link":()=>JR,"report-message-report-button":()=>eP,"report-message-term-use":()=>XR,"report-message-title":()=>ZR,"status-message-content":()=>YR,"status-message-title":()=>$R});var eR="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",tR="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",aR="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",iR="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",nR="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",rR="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",oR="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",sR="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",lR="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",cR="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",dR="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",uR="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",hR="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",pR="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",mR="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",fR="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",gR="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",bR="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",vR="Het verzoek is ongeldig. (VIDIS_0230)",yR="Gebruikersrol moet burger zijn. (VIDIS_0290)",_R="Uw authenticatieniveau is onvoldoende om toegang te krijgen tot deze pagina. Gelieve u op een andere manier te authenticeren (itsme, eID of een beveiligingscode verstuurd via email of een app). (VIDIS_0330)",xR="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",wR="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",kR="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",CR="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",SR="Geen mandaat gevonden tussen patiënt en mandataris.",ER="Voorschrift is verlopen.",DR="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",IR="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",AR="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",TR="De gebruiker is niet gemachtigd om de aanvraag te doen.",OR="Geen mandaat gevonden tussen patiënt en mandataris.",MR="Bewerking is niet toegestaan.",RR="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",PR="Er is geen toestemming om gezondheidsgegevens te delen.",NR="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",LR="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be",FR="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be",VR="Uw verzoek is ongeldig. Probeer later opnieuw.",zR="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",BR="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",jR="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",HR="Terug naar het MijnGezondheid portaal",UR="http://wwwint.mijngezondheid.belgie.be/",WR="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",qR="Ongeldig datumformaat.",$R="Service tijdelijk niet beschikbaar",YR=`Er is momenteel een probleem met de verbinding met de server.
56
+ Probeer het later nog eens.`,GR="De patiënt heeft 1 of meerdere voorschriften verborgen.",ZR="Technisch probleem",KR="Probeer het later opnieuw.",QR="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",XR="gebruiksvoorwaarden",JR="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",eP="Probleem melden",tP="Niet melden",aP="Het probleem is gemeld",iP="Gegevens niet beschikbaar",nP="Actie niet toegestaan",rP="Sluiten",ike={VIDIS_0035:eR,VIDIS_0050:tR,VIDIS_0090:aR,VIDIS_0121:iR,VIDIS_0122:nR,VIDIS_0123:rR,VIDIS_0124:oR,VIDIS_0125:sR,VIDIS_0126:lR,VIDIS_0131:cR,VIDIS_0132:dR,VIDIS_0133:uR,VIDIS_0134:hR,VIDIS_0135:pR,VIDIS_0136:mR,VIDIS_0190:fR,VIDIS_0210:gR,VIDIS_0211:bR,VIDIS_0230:vR,VIDIS_0290:yR,VIDIS_0330:_R,VIDIS_0435:xR,VIDIS_0440:wR,VIDIS_5000:kR,VIDIS_7000:CR,VIDIS_3150:SR,VIDIS_3090:ER,VIDIS_3140:DR,VIDIS_3100:IR,VIDIS_3120:AR,VIDIS_0400:TR,VIDIS_3030:OR,VIDIS_0100:MR,VIDIS_0120:RR,VIDIS_0110:PR,VIDIS_0200:NR,VIDIS_0340:LR,VIDIS_0341:FR,VIDIS_04001:VR,prescriptionList:zR,general:BR,"no-access":jR,myHealth:HR,myHealthUrl:UR,network_error:WR,invalid_date_format:qR,"status-message-title":$R,"status-message-content":YR,"has-hidden-prescriptions":GR,"report-message-title":ZR,"report-message-explanation":KR,"report-message-content":QR,"report-message-term-use":XR,"report-message-link":JR,"report-message-report-button":eP,"report-message-ignore-button":tP,"report-message-confirm-toast":aP,"data-not-available-title":iP,"action-not-authorized-title":nP,"action-not-authorized-close-button":rP},nke={nl:JM,fr:$O,de:MA,en:zT},oP={};ve(oP,{close:()=>sP,default:()=>rke,downloadLeaflet:()=>lP,file:()=>cP});var sP="Schließen",lP="Download Packungsbeilage (pdf)",cP="feile",rke={close:sP,downloadLeaflet:lP,file:cP},dP={};ve(dP,{close:()=>uP,default:()=>oke,downloadLeaflet:()=>hP,file:()=>pP});var uP="Close",hP="Download leaflet (pdf)",pP="file",oke={close:uP,downloadLeaflet:hP,file:pP},mP={};ve(mP,{close:()=>fP,default:()=>ske,downloadLeaflet:()=>gP,file:()=>bP});var fP="Fermer",gP="Télécharger la notice (pdf)",bP="fichier",ske={close:fP,downloadLeaflet:gP,file:bP},vP={};ve(vP,{close:()=>yP,default:()=>lke,downloadLeaflet:()=>_P,file:()=>xP});var yP="Sluiten",_P="Download bijsluiter (pdf)",xP="bestand",lke={close:yP,downloadLeaflet:_P,file:xP},cke={nl:vP,fr:mP,de:oP,en:dP},wP={};ve(wP,{D:()=>kP,DA:()=>CP,DD:()=>SP,DE:()=>EP,DN:()=>DP,DQ:()=>IP,DT:()=>AP,DV:()=>TP,DW:()=>OP,DX:()=>MP,DZ:()=>RP,J:()=>PP,JD:()=>NP,JH2:()=>LP,JQ:()=>FP,JT:()=>VP,JV:()=>zP,JZ:()=>BP,M:()=>jP,MA:()=>HP,MC:()=>UP,MD:()=>WP,ME:()=>qP,MN:()=>$P,MQ:()=>YP,MS:()=>GP,MT:()=>ZP,MV:()=>KP,MX:()=>QP,MZ2:()=>XP,O1:()=>JP,U:()=>tN,UA:()=>lN,UD:()=>iN,UE:()=>uN,UH:()=>eN,UN:()=>cN,UQ:()=>rN,US:()=>sN,UT:()=>aN,UV:()=>nN,UW:()=>hN,UX:()=>dN,UZ:()=>oN,W:()=>pN,WA:()=>mN,WD:()=>fN,WE:()=>gN,WN:()=>bN,WP:()=>vN,WQ:()=>yN,WS:()=>_N,WT:()=>xN,WV:()=>wN,WW:()=>kN,WX:()=>CN,WZ:()=>SN,default:()=>dke,ondemand:()=>EN});var kP="Pro Tag",CP="Pro 8 Tagen",SP="Pro 3 Tagen",EP="Pro 11 Tagen",DP="Pro 9 Tagen",IP="Pro 5 Tagen",AP="Pro 2 Tagen",TP="Pro 4 Tagen",OP="Pro 12 Tagen",MP="Pro 10 Tagen",RP="Pro 6 Tagen",PP="Pro Jahre",NP="Pro 3 Jahren",LP="Pro halbes Jahre",FP="Pro 5 Jahren",VP="Pro 2 Jahren",zP="Pro 4 Jahren",BP="Pro 6 Jahren",jP="Pro Monat",HP="Pro 8 Monaten",UP="Pro 18 Monaten",WP="Pro 3 Monaten",qP="Pro 11 Monaten",$P="Pro 9 Monaten",YP="Pro 5 Monaten",GP="Pro 7 Monaten",ZP="Pro 2 Monaten",KP="Pro 4 Monaten",QP="Pro 10 Monaten",XP="Pro 6 Monaten",JP="Jeden 2 Tagen",eN="Pro halbe Stunde",tN="Pro Uhr",aN="Pro 2 Uhren",iN="Pro 3 Uhren",nN="Pro 4 Uhren",rN="Pro 5 Uhren",oN="Pro 6 Uhren",sN="Pro 7 Uhren",lN="Pro 8 Uhren",cN="Pro 9 Uhren",dN="Pro 10 Uhren",uN="Pro 11 Uhren",hN="Pro 12 Uhren",pN="Pro Woche",mN="Pro 8 Wochen",fN="Pro 3 Wochen",gN="Pro 11 Wochen",bN="Pro 9 Wochen",vN="Pro 24 Wochen",yN="Pro 5 Wochen",_N="Pro 7 Wochen",xN="Pro 2 Wochen",wN="Pro 4 Wochen",kN="Pro 12 Wochen",CN="Pro 10 Wochen",SN="Pro 6 Wochen",EN="Auf Nachfrage",dke={D:kP,DA:CP,DD:SP,DE:EP,DN:DP,DQ:IP,DT:AP,DV:TP,DW:OP,DX:MP,DZ:RP,J:PP,JD:NP,JH2:LP,JQ:FP,JT:VP,JV:zP,JZ:BP,M:jP,MA:HP,MC:UP,MD:WP,ME:qP,MN:$P,MQ:YP,MS:GP,MT:ZP,MV:KP,MX:QP,MZ2:XP,O1:JP,UH:eN,U:tN,UT:aN,UD:iN,UV:nN,UQ:rN,UZ:oN,US:sN,UA:lN,UN:cN,UX:dN,UE:uN,UW:hN,W:pN,WA:mN,WD:fN,WE:gN,WN:bN,WP:vN,WQ:yN,WS:_N,WT:xN,WV:wN,WW:kN,WX:CN,WZ:SN,ondemand:EN},DN={};ve(DN,{D:()=>jN,DA:()=>ZN,DD:()=>WN,DE:()=>XN,DN:()=>KN,DQ:()=>$N,DT:()=>HN,DV:()=>qN,DW:()=>JN,DX:()=>QN,DZ:()=>YN,J:()=>C3,JD:()=>D3,JH2:()=>b3,JQ:()=>A3,JT:()=>E3,JV:()=>I3,JZ:()=>T3,M:()=>i3,MA:()=>_3,MC:()=>S3,MD:()=>p3,ME:()=>k3,MN:()=>x3,MQ:()=>f3,MS:()=>y3,MT:()=>l3,MV:()=>m3,MX:()=>w3,MZ2:()=>v3,O1:()=>UN,U:()=>AN,UA:()=>LN,UD:()=>ON,UE:()=>zN,UH:()=>IN,UN:()=>FN,UQ:()=>RN,US:()=>NN,UT:()=>TN,UV:()=>MN,UW:()=>BN,UX:()=>VN,UZ:()=>PN,W:()=>GN,WA:()=>s3,WD:()=>t3,WE:()=>u3,WN:()=>c3,WP:()=>g3,WQ:()=>n3,WS:()=>o3,WT:()=>e3,WV:()=>a3,WW:()=>h3,WX:()=>d3,WZ:()=>r3,default:()=>uke,ondemand:()=>O3});var IN="Per half hour",AN="Per hour",TN="Per 2 hours",ON="Per 3 hours",MN="Per 4 hours",RN="Per 5 hours",PN="Per 6 hours",NN="Per 7 hours",LN="Per 8 hours",FN="Per 9 hours",VN="Per 10 hours",zN="Per11 hours",BN="Per 12 hours",jN="Per day",HN="Per 2 days",UN="Every 2 days",WN="Per 3 days",qN="Per 4 days",$N="Per 5 days",YN="Per 6 days",GN="Per 7 days",ZN="Per 8 days",KN="Per 9 days",QN="Per 10 days",XN="Per 11 days",JN="Per 12 days",e3="Per 2 weeks",t3="Per 3 weeks",a3="Per 4 weeks",i3="Per month",n3="Per 5 weeks",r3="Per 6 weeks",o3="Per 7 weeks",s3="Per 8 weeks",l3="Per 2 months",c3="Per 9 weeks",d3="Per 10 weeks",u3="Per 11 weeks",h3="Per 12 weeks",p3="Per 3 months",m3="Per 4 months",f3="Per 5 months",g3="Per 24 weeks",b3="Per half year",v3="Per 6 months",y3="Per 7 months",_3="Per 8 months",x3="Per 9 months",w3="Per 10 months",k3="Per 11 months",C3="Per Year",S3="Per 18 months",E3="Per 2 years",D3="Per 3 years",I3="Per 4 years",A3="Per 5 years",T3="Per 6 years",O3="On demand",uke={UH:IN,U:AN,UT:TN,UD:ON,UV:MN,UQ:RN,UZ:PN,US:NN,UA:LN,UN:FN,UX:VN,UE:zN,UW:BN,D:jN,DT:HN,O1:UN,DD:WN,DV:qN,DQ:$N,DZ:YN,W:GN,DA:ZN,DN:KN,DX:QN,DE:XN,DW:JN,WT:e3,WD:t3,WV:a3,M:i3,WQ:n3,WZ:r3,WS:o3,WA:s3,MT:l3,WN:c3,WX:d3,WE:u3,WW:h3,MD:p3,MV:m3,MQ:f3,WP:g3,JH2:b3,MZ2:v3,MS:y3,MA:_3,MN:x3,MX:w3,ME:k3,J:C3,MC:S3,JT:E3,JD:D3,JV:I3,JQ:A3,JZ:T3,ondemand:O3},M3={};ve(M3,{D:()=>R3,DA:()=>P3,DD:()=>N3,DE:()=>L3,DN:()=>F3,DQ:()=>V3,DT:()=>z3,DV:()=>B3,DW:()=>j3,DX:()=>H3,DZ:()=>U3,J:()=>W3,JD:()=>q3,JH2:()=>$3,JQ:()=>Y3,JT:()=>G3,JV:()=>Z3,JZ:()=>K3,M:()=>Q3,MA:()=>X3,MC:()=>J3,MD:()=>eL,ME:()=>tL,MN:()=>aL,MQ:()=>iL,MS:()=>nL,MT:()=>rL,MV:()=>oL,MX:()=>sL,MZ2:()=>lL,O1:()=>cL,U:()=>uL,UA:()=>vL,UD:()=>pL,UE:()=>xL,UH:()=>dL,UN:()=>yL,UQ:()=>fL,US:()=>bL,UT:()=>hL,UV:()=>mL,UW:()=>wL,UX:()=>_L,UZ:()=>gL,W:()=>kL,WA:()=>CL,WD:()=>SL,WE:()=>EL,WN:()=>DL,WP:()=>IL,WQ:()=>AL,WS:()=>TL,WT:()=>OL,WV:()=>ML,WW:()=>RL,WX:()=>PL,WZ:()=>NL,default:()=>hke,ondemand:()=>LL});var R3="Par jour",P3="Par 8 jours",N3="Par 3 jours",L3="Par 11 jours",F3="Par 9 jours",V3="Par 5 jours",z3="Par 2 jours",B3="Par 4 jours",j3="Par 12 jours",H3="Par 10 jours",U3="Par 6 jours",W3="Par an",q3="Par 3 années",$3="Par demi-années",Y3="Par 5 années",G3="Par 2 années",Z3="Par 4 années",K3="Par 6 années",Q3="Par mois",X3="Par 8 mois",J3="Par 18 mois",eL="Par 3 mois",tL="Par 11 mois",aL="Par 9 mois",iL="Par 5 mois",nL="Par 7 mois",rL="Par 2 mois",oL="Par 4 mois",sL="Par 10 mois",lL="Par 6 mois",cL="Tous les 2 jours",dL="Par demi-heure",uL="Par heure",hL="Par 2 heures",pL="Par 3 heures",mL="Par 4 heures",fL="Par 5 heures",gL="Par 6 heures",bL="Par 7 heures",vL="Par 8 heures",yL="Par 9 heures",_L="Par 10 heures",xL="Par 11 heures",wL="Par 12 heures",kL="Par semaine",CL="Par 8 semaines",SL="Par 3 semaines",EL="Par 11 semaines",DL="Par 9 semaines",IL="Par 24 semaines",AL="Par 5 semaines",TL="Par 7 semaines",OL="Par 2 semaines",ML="Par 4 semaines",RL="Par 12 semaines",PL="Par 10 semaines",NL="Par 6 semaines",LL="Sur demande",hke={D:R3,DA:P3,DD:N3,DE:L3,DN:F3,DQ:V3,DT:z3,DV:B3,DW:j3,DX:H3,DZ:U3,J:W3,JD:q3,JH2:$3,JQ:Y3,JT:G3,JV:Z3,JZ:K3,M:Q3,MA:X3,MC:J3,MD:eL,ME:tL,MN:aL,MQ:iL,MS:nL,MT:rL,MV:oL,MX:sL,MZ2:lL,O1:cL,UH:dL,U:uL,UT:hL,UD:pL,UV:mL,UQ:fL,UZ:gL,US:bL,UA:vL,UN:yL,UX:_L,UE:xL,UW:wL,W:kL,WA:CL,WD:SL,WE:EL,WN:DL,WP:IL,WQ:AL,WS:TL,WT:OL,WV:ML,WW:RL,WX:PL,WZ:NL,ondemand:LL},FL={};ve(FL,{D:()=>VL,DA:()=>zL,DD:()=>BL,DE:()=>jL,DN:()=>HL,DQ:()=>UL,DT:()=>WL,DV:()=>qL,DW:()=>$L,DX:()=>YL,DZ:()=>GL,J:()=>ZL,JD:()=>KL,JH2:()=>QL,JQ:()=>XL,JT:()=>JL,JV:()=>eF,JZ:()=>tF,M:()=>aF,MA:()=>iF,MC:()=>nF,MD:()=>rF,ME:()=>oF,MN:()=>sF,MQ:()=>lF,MS:()=>cF,MT:()=>dF,MV:()=>uF,MX:()=>hF,MZ2:()=>pF,O1:()=>mF,U:()=>gF,UA:()=>kF,UD:()=>vF,UE:()=>EF,UH:()=>fF,UN:()=>CF,UQ:()=>_F,US:()=>wF,UT:()=>bF,UV:()=>yF,UW:()=>DF,UX:()=>SF,UZ:()=>xF,W:()=>IF,WA:()=>AF,WD:()=>TF,WE:()=>OF,WN:()=>MF,WP:()=>RF,WQ:()=>PF,WS:()=>NF,WT:()=>LF,WV:()=>FF,WW:()=>VF,WX:()=>zF,WZ:()=>BF,default:()=>pke,ondemand:()=>jF});var VL="Dagelijks",zL="Om de 8 dagen",BL="Om de 3 dagen",jL="Om de 11 dagen",HL="Om de 9 dagen",UL="Om de 5 dagen",WL="Om de 2 dagen",qL="Om de 4 dagen",$L="Om de 12 dagen",YL="Om de 10 dagen",GL="Om de 6 dagen",ZL="Jaarlijks",KL="Om de 3 jaar",QL="Halfjaarlijks",XL="Om de 5 jaar",JL="Om de 2 jaar",eF="Om de 4 jaar",tF="Om de 6 jaar",aF="Maandelijks",iF="Om de 8 maanden",nF="Om de 18 maanden",rF="Om de 3 maanden",oF="Om de 11 maanden",sF="Om de 9 maanden",lF="Om de 5 maanden",cF="Om de 7 maanden",dF="Om de 2 maanden",uF="Om de 4 maanden",hF="Om de 10 maanden",pF="Om de 6 maanden",mF="Om de 2 dagen",fF="Om het half uur",gF="Om het uur",bF="Om de 2 uren",vF="Om de 3 uren",yF="Om de 4 uren",_F="Om de 5 uren",xF="Om de 6 uren",wF="Om de 7 uren",kF="Om de 8 uren",CF="Om de 9 uren",SF="Om de 10 uren",EF="Om de 11 uren",DF="Om de 12 uren",IF="Wekelijks",AF="Om de 8 weken",TF="Om de 3 weken",OF="Om de 11 weken",MF="Om de 9 weken",RF="Om de 24 weken",PF="Om de 5 weken",NF="Om de 7 weken",LF="Om de 2 weken",FF="Om de 4 weken",VF="Om de 12 weken",zF="Om de 10 weken",BF="Om de 6 weken",jF="Op aanvraag",pke={D:VL,DA:zL,DD:BL,DE:jL,DN:HL,DQ:UL,DT:WL,DV:qL,DW:$L,DX:YL,DZ:GL,J:ZL,JD:KL,JH2:QL,JQ:XL,JT:JL,JV:eF,JZ:tF,M:aF,MA:iF,MC:nF,MD:rF,ME:oF,MN:sF,MQ:lF,MS:cF,MT:dF,MV:uF,MX:hF,MZ2:pF,O1:mF,UH:fF,U:gF,UT:bF,UD:vF,UV:yF,UQ:_F,UZ:xF,US:wF,UA:kF,UN:CF,UX:SF,UE:EF,UW:DF,W:IF,WA:AF,WD:TF,WE:OF,WN:MF,WP:RF,WQ:PF,WS:NF,WT:LF,WV:FF,WW:VF,WX:zF,WZ:BF,ondemand:jF},mke={nl:FL,fr:M3,de:wP,en:DN},HF={};ve(HF,{afterbreakfast:()=>UF,afterdinner:()=>WF,afterlunch:()=>qF,aftermeal:()=>$F,afternoon:()=>YF,beforebreakfast:()=>GF,beforedinner:()=>ZF,beforelunch:()=>KF,betweenbreakfastandlunch:()=>QF,betweendinnerandsleep:()=>XF,betweenlunchanddinner:()=>JF,betweenmeals:()=>e5,breakfast:()=>t5,default:()=>fke,dinner:()=>a5,duringbreakfast:()=>i5,duringdinner:()=>n5,duringlunch:()=>r5,evening:()=>o5,lunch:()=>s5,morning:()=>l5,night:()=>c5,thehourofsleep:()=>d5});var UF="nach dem Frühstück",WF="nach dem Abendessen",qF="nach dem Mittagessen",$F="nach dem Essen",YF="Nachmittag",GF="vor dem Frühstück",ZF="vor dem Abendessen",KF="vor dem Mittagessen",QF="zwischen Frühstück und Mittagessen",XF="zwischen Abendessen und Nachtruhe",JF="zwischen Mittagessen und Abendessen",e5="zwischen den Mahlzeiten",t5="Frühstück",a5="Abendessen",i5="zum Frühstück",n5="zum Abendessen",r5="zum Mittagessen",o5="Abend",s5="Mittagessen",l5="Vormittag",c5="Nacht",d5="Nachtruhe",fke={afterbreakfast:UF,afterdinner:WF,afterlunch:qF,aftermeal:$F,afternoon:YF,beforebreakfast:GF,beforedinner:ZF,beforelunch:KF,betweenbreakfastandlunch:QF,betweendinnerandsleep:XF,betweenlunchanddinner:JF,betweenmeals:e5,breakfast:t5,dinner:a5,duringbreakfast:i5,duringdinner:n5,duringlunch:r5,evening:o5,lunch:s5,morning:l5,night:c5,thehourofsleep:d5},u5={};ve(u5,{afterbreakfast:()=>h5,afterdinner:()=>p5,afterlunch:()=>m5,aftermeal:()=>f5,afternoon:()=>g5,beforebreakfast:()=>b5,beforedinner:()=>v5,beforelunch:()=>y5,betweenbreakfastandlunch:()=>_5,betweendinnerandsleep:()=>x5,betweenlunchanddinner:()=>w5,betweenmeals:()=>k5,breakfast:()=>C5,default:()=>gke,dinner:()=>S5,duringbreakfast:()=>E5,duringdinner:()=>D5,duringlunch:()=>I5,evening:()=>A5,lunch:()=>T5,morning:()=>O5,night:()=>M5,thehourofsleep:()=>R5});var h5="after breakfast",p5="after dinner",m5="after lunch",f5="after meal",g5="afternoon",b5="before breakfast",v5="before dinner",y5="before lunch",_5="between breakfast and lunch",x5="between dinner and the hour of sleep",w5="between lunch and dinner",k5="between meals",C5="breakfast",S5="dinner",E5="during breakfast",D5="during dinner",I5="during lunch",A5="evening",T5="lunch",O5="morning",M5="night",R5="the hour of sleep",gke={afterbreakfast:h5,afterdinner:p5,afterlunch:m5,aftermeal:f5,afternoon:g5,beforebreakfast:b5,beforedinner:v5,beforelunch:y5,betweenbreakfastandlunch:_5,betweendinnerandsleep:x5,betweenlunchanddinner:w5,betweenmeals:k5,breakfast:C5,dinner:S5,duringbreakfast:E5,duringdinner:D5,duringlunch:I5,evening:A5,lunch:T5,morning:O5,night:M5,thehourofsleep:R5},P5={};ve(P5,{afterbreakfast:()=>N5,afterdinner:()=>L5,afterlunch:()=>F5,aftermeal:()=>V5,afternoon:()=>z5,beforebreakfast:()=>B5,beforedinner:()=>j5,beforelunch:()=>H5,betweenbreakfastandlunch:()=>U5,betweendinnerandsleep:()=>W5,betweenlunchanddinner:()=>q5,betweenmeals:()=>$5,breakfast:()=>Y5,default:()=>bke,dinner:()=>G5,duringbreakfast:()=>Z5,duringdinner:()=>K5,duringlunch:()=>Q5,evening:()=>X5,lunch:()=>J5,morning:()=>eV,night:()=>tV,thehourofsleep:()=>aV});var N5="après le petit-déjeuner",L5="après le repas du soir",F5="après le repas du midi",V5="après le repas",z5="après-midi",B5="avant le petit-déjeuner",j5="avant le repas du soir",H5="avant le repas du midi",U5="entre le petit-déjeuner et le repas du midi",W5="entre le repas du soir et l’heure du coucher",q5="entre le repas du midi et le repas du soir",$5="entre les repas",Y5="petit-déjeuner",G5="repas du soir",Z5="pendant le petit-déjeuner",K5="pendant le repas du soir",Q5="pendant le repas du midi",X5="soir",J5="repas du midi",eV="matin",tV="nuit",aV="heure du coucher",bke={afterbreakfast:N5,afterdinner:L5,afterlunch:F5,aftermeal:V5,afternoon:z5,beforebreakfast:B5,beforedinner:j5,beforelunch:H5,betweenbreakfastandlunch:U5,betweendinnerandsleep:W5,betweenlunchanddinner:q5,betweenmeals:$5,breakfast:Y5,dinner:G5,duringbreakfast:Z5,duringdinner:K5,duringlunch:Q5,evening:X5,lunch:J5,morning:eV,night:tV,thehourofsleep:aV},iV={};ve(iV,{afterbreakfast:()=>nV,afterdinner:()=>rV,afterlunch:()=>oV,aftermeal:()=>sV,afternoon:()=>lV,beforebreakfast:()=>cV,beforedinner:()=>dV,beforelunch:()=>uV,betweenbreakfastandlunch:()=>hV,betweendinnerandsleep:()=>pV,betweenlunchanddinner:()=>mV,betweenmeals:()=>fV,breakfast:()=>gV,default:()=>vke,dinner:()=>bV,duringbreakfast:()=>vV,duringdinner:()=>yV,duringlunch:()=>_V,evening:()=>xV,lunch:()=>wV,morning:()=>kV,night:()=>CV,thehourofsleep:()=>SV});var nV="na het ontbijt",rV="na het avondmaal",oV="na het middagmaal",sV="na de maaltijd",lV="namiddag",cV="voor het ontbijt",dV="voor het avondmaal",uV="voor het middagmaal",hV="tussen het ontbijt en het middagmaal",pV="tussen het avondmaal en het slapen gaan",mV="tussen het middagmaal en het avondmaal",fV="tussen de maaltijden",gV="ontbijt",bV="avondmaal",vV="tijdens het ontbijt",yV="tijdens het avondmaal",_V="tijdens het middagmaal",xV="'s avonds",wV="middagmaal",kV="'s ochtends",CV="'s nachts",SV="voor het slapen gaan",vke={afterbreakfast:nV,afterdinner:rV,afterlunch:oV,aftermeal:sV,afternoon:lV,beforebreakfast:cV,beforedinner:dV,beforelunch:uV,betweenbreakfastandlunch:hV,betweendinnerandsleep:pV,betweenlunchanddinner:mV,betweenmeals:fV,breakfast:gV,dinner:bV,duringbreakfast:vV,duringdinner:yV,duringlunch:_V,evening:xV,lunch:wV,morning:kV,night:CV,thehourofsleep:SV},yke={nl:iV,fr:P5,de:HF,en:u5},EV={};ve(EV,{day:()=>DV,default:()=>_ke,during:()=>TV,on:()=>AV,week:()=>IV});var DV="Tag",IV="Woche",AV="am",TV="für",_ke={day:DV,week:IV,on:AV,during:TV},OV={};ve(OV,{day:()=>MV,default:()=>xke,during:()=>NV,on:()=>PV,week:()=>RV});var MV="day",RV="week",PV="on",NV="during",xke={day:MV,week:RV,on:PV,during:NV},LV={};ve(LV,{day:()=>FV,default:()=>wke,during:()=>BV,on:()=>zV,week:()=>VV});var FV="jour",VV="semaine",zV="le",BV="durant",wke={day:FV,week:VV,on:zV,during:BV},jV={};ve(jV,{day:()=>HV,default:()=>kke,during:()=>qV,on:()=>WV,week:()=>UV});var HV="dag",UV="week",WV="op",qV="gedurende",kke={day:HV,week:UV,on:WV,during:qV},Cke={nl:jV,fr:LV,de:EV,en:OV},$V={};ve($V,{ambulance_driver:()=>YV,ambulance_first_aid:()=>GV,ambulance_rescuer:()=>ZV,application:()=>KV,applied_psychology_bachelor:()=>QV,audician:()=>XV,audiologist:()=>JV,biologist_pharmacist:()=>e4,care_giver:()=>t4,certificateholder:()=>a4,citizen:()=>i4,clinical_orthopedic_pedagogue:()=>n4,clinical_psychologist:()=>r4,default:()=>Ske,dental_hygienist:()=>o4,dentist:()=>s4,deptalgology:()=>l4,deptanatomopathology:()=>c4,deptanesthesiology:()=>d4,deptbacteriology:()=>u4,deptcardiacsurgery:()=>h4,deptcardiology:()=>p4,deptchildandadolescentpsychiatry:()=>m4,deptdentistry:()=>f4,deptdermatology:()=>g4,deptdiabetology:()=>b4,deptdietetics:()=>v4,deptemergency:()=>y4,deptendocrinology:()=>_4,deptgastroenterology:()=>x4,deptgeneralpractice:()=>w4,deptgenetics:()=>k4,deptgeriatry:()=>C4,deptgynecology:()=>S4,depthandsurgery:()=>E4,depthematology:()=>D4,deptinfectiousdisease:()=>I4,deptintensivecare:()=>A4,deptkinesitherapy:()=>T4,deptlaboratory:()=>O4,deptmajorburns:()=>M4,deptmaxillofacialsurgery:()=>R4,deptmedicine:()=>P4,deptmolecularbiology:()=>N4,deptneonatalogy:()=>L4,deptnephrology:()=>F4,deptneurology:()=>V4,deptneurosurgery:()=>z4,deptnte:()=>B4,deptnuclear:()=>j4,deptnursing:()=>H4,deptnutritiondietetics:()=>U4,deptobstetrics:()=>W4,deptoccupationaltherapy:()=>q4,deptoncology:()=>$4,deptophtalmology:()=>Y4,deptorthopedy:()=>G4,deptpalliativecare:()=>Z4,deptpediatricintensivecare:()=>K4,deptpediatricsurgery:()=>Q4,deptpediatry:()=>X4,deptpharmacy:()=>J4,deptphysicalmedecine:()=>e7,deptphysiotherapy:()=>t7,deptplasticandreparatorysurgery:()=>a7,deptpneumology:()=>i7,deptpodiatry:()=>n7,deptpsychiatry:()=>r7,deptpsychology:()=>o7,deptradiology:()=>s7,deptradiotherapy:()=>l7,deptrevalidation:()=>c7,deptrheumatology:()=>d7,deptsenology:()=>u7,deptsocialservice:()=>h7,deptspeechtherapy:()=>p7,deptsportsmedecine:()=>m7,deptstomatology:()=>f7,deptsurgery:()=>g7,deptthoracicsurgery:()=>b7,depttoxicology:()=>v7,depttropicalmedecine:()=>y7,depturology:()=>_7,deptvascularsurgery:()=>x7,deptvisceraldigestiveabdominalsurgery:()=>w7,diabete_equipment_supplier:()=>k7,dietician:()=>C7,doctor:()=>S7,family_science_bachelor:()=>E7,gerontology_master:()=>D7,groupofnurses:()=>I7,groupofphysiciansdifferentaddress:()=>A7,groupofphysicianssameaddress:()=>T7,guardpost:()=>O7,hub:()=>M7,imaging_technologist:()=>R7,implantprovider:()=>P7,lab_technologist:()=>N7,logopedist:()=>L7,midwife:()=>F7,nurse:()=>V7,occupational_therapist:()=>z7,optician:()=>B7,orghospital:()=>j7,orginsurance:()=>H7,orglaboratory:()=>U7,orgpharmacy:()=>W7,orgpolyclinic:()=>q7,orgpractice:()=>$7,orgprevention:()=>Y7,orgprimaryhealthcarecenter:()=>G7,orgpsychiatriccarehome:()=>Z7,orgpublichealth:()=>K7,orgretirementhome:()=>Q7,orgrevalidationcenter:()=>X7,orgshelteredliving:()=>J7,orthopedagogist_master:()=>ez,orthopedist:()=>tz,orthoptist:()=>az,orthotist:()=>iz,patient:()=>nz,pediatric_nurse:()=>rz,persadministrative:()=>oz,persambulancefirstaid:()=>sz,persaudician:()=>lz,persaudiologist:()=>cz,persbiologist:()=>dz,perscaregiver:()=>uz,persclinicalorthopedagogist:()=>hz,persclinicalpsychologist:()=>pz,persdentist:()=>mz,persdietician:()=>fz,perseducator:()=>gz,perslogopedist:()=>bz,persmidwife:()=>vz,persnurse:()=>yz,persoccupationaltherapist:()=>_z,persoptician:()=>xz,persoraldentalhygienist:()=>wz,persorthopedist:()=>kz,persorthoptist:()=>Cz,persorthotist:()=>Sz,persparamedical:()=>Ez,perspatientdriver:()=>Dz,perspharmacist:()=>Iz,perspharmacistclinicalbiologist:()=>Az,perspharmacyassistant:()=>Tz,persphysician:()=>Oz,persphysiotherapist:()=>Mz,perspodologist:()=>Rz,perspracticalnurse:()=>Pz,perspsychologist:()=>Nz,perssocialworker:()=>Lz,perstechnician:()=>Fz,perstrussmaker:()=>Vz,pharmacist:()=>zz,pharmacist_assistant:()=>Bz,physician:()=>jz,physiotherapist:()=>Hz,podologist:()=>Uz,practical_nurse:()=>Wz,prosthetist:()=>qz,psychologist:()=>$z,psychomotor_therapy_master:()=>Yz,readaptaion_bachelor:()=>Gz,social_worker:()=>Zz,specialized_educator:()=>Kz,truss_maker:()=>Qz});var YV="Rettungswagenfahrer",GV="Rettungssanitäter",ZV="Rettungssanitäter",KV="Softwareapplikation",QV="Bachelor der angewandten Psychologie",XV="Hörgeräteakustiker",JV="Audiologe",e4="Fachapotheker für klinische Chemie",t4="Pflegekräfte",a4="Zertifikatinhaber",i4="Bürger",n4="Klinischer Heilpädagoge",r4="Klinischer Psychologe",o4="Dentalhygieniker",s4="Zahnarzt",l4="Algologie",c4="pathologische Anatomie",d4="Anästhesiologie",u4="Bakteriologie",h4="Herzchirurgie",p4="Kardiologie",m4="Kinder-und Jugendpsychiatrie",f4="Zahnheilkunde",g4="Dermatologie",b4="Diabetologie",v4="Diätetik",y4="Notaufnahme",_4="Endokrinologie",x4="Gastroenterologie",w4="Allgemeinmedizin",k4="Genetik",C4="Geriatrie",S4="Gynäkologie",E4="Handchirurgie",D4="Hämatologie",I4="Infektionskrankheit",A4="Intensivmedizin",T4="Physiotherapie",O4="Labordienst/-abteilung einer Einrichtung",M4="Schwerbrandverletztenzentrum",R4="Mund-Kiefer-Gesichtschirurgie",P4="Innere Medizin",N4="Molekularbiologie",L4="Neonatologie",F4="Nephrologie",V4="Neurologie",z4="Neurologie",B4="Hals-Nasen-Ohren-Heilkunde (HNO)",j4="Nuklearmedizin",H4="Krankenpflege",U4="Diätetik",W4="Geburtshilfe",q4="Ergotherapie",$4="Onkologie",Y4="Augenheilkunde",G4="Orthopädie",Z4="Palliativpflege",K4="Kinder-Intensivstation",Q4="Kinderchirurgie",X4="Pädiatrie",J4="Apothekendienst/-abteilung einer Einrichtung",e7="physikalische Medizin",t7="Physiotherapie",a7="plastische Chirurgie und rekonstruktive Chirurgie",i7="Pneumologie",n7="Podiatrie",r7="Psychiatrie",o7="Psychologie",s7="Radiologie",l7="Strahlentherapie",c7="Rehabilitation",d7="Rheumatologie",u7="Senologie",h7="Sozialdienst",p7="Logopädie",m7="Sportmedizin",f7="Stomatologie",g7="Chirurgie",b7="Thoraxchirurgie",v7="Toxikologie",y7="Tropenmedizin",_7="Urologie",x7="Vaskuläre Chirurgie",w7="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",k7="Lieferant von Material für Diabetesselbstverwaltung ",C7="Diätassistent",S7="Arzt",E7="Bachelor der Familienwissenschaften",D7="Master der Gerontologie",I7="Krankenpflegeverband",A7="Zusammenschluss von Ärzten, unterschiedliche Adresse",T7="Zusammenschluss von Ärzten, gleiche Adresse",O7="Schwesternstützpunkt",M7="Hub",R7="Technologe im bildgebenden Diagnoseverfahren",P7="Lieferant von Implantaten",N7="Labortechniker",L7="Logopäde",F7="Hebamme",V7="Fachkraft für Krankenpflege",z7="Ergotherapeut",B7="Optiker",j7="Krankenhaus",H7="Versicherung",U7="Unabhängiges Labor",W7="Unabhängige Apotheke",q7="Poliklinik",$7="Praxis",Y7="Präventionsdienst",G7="Gesundheits- und Sozialzentrum",Z7="psychiatrische Klinik",K7="Gesundheitsbehörde",Q7="Altenheim",X7="Reha-Klinik",J7="Initiative für begleitetes Wohnen",ez="Master der Heilpädagogik",tz="Orthopäde",az="Orthoptist-Optometrist",iz="Orthopädietechniker",nz="Patient",rz="Kinderkrankenschwester",oz="Büroangestellter",sz="Rettungswagen",lz="Hörgeräteakustiker",cz="Audiologe",dz="medizinischer Labortechniker",uz="informelle Pflegeperson",hz="Klinischer Heilpädagoge",pz="Klinischer Psychologe",mz="Zahnarzt",fz="Diätassistent",gz="Erzieher",bz="Logopäde",vz="Hebamme",yz="Krankenpfleger",_z="Ergotherapeut",xz="Optiker",wz="Dentalhygieniker",kz="Orthopädist",Cz="Orthoptist",Sz="Orthopädietechniker/Prothesenbauer",Ez="medizinische Hilfskraft",Dz="Fahrdienst",Iz="Apotheker",Az="Fachapotheker für klinische Chemie",Tz="Apothekenhelfer",Oz="Arzt",Mz="Physiotherapeut",Rz="Podologe",Pz="Pfleger",Nz="Psychologe",Lz="Sozialarbeiter",Fz="Techniker für medizinische Bildgebung",Vz="Bandagist",zz="Apotheker",Bz="Pharmazeutisch-technischer Assistent ",jz="Arzt",Hz="Physiotherapeut",Uz="Podologe",Wz="Pflegehelfer",qz="Prothesenhersteller",$z="Psychologe",Yz="Master der psychomotorischen Therapie",Gz="Bachelor der Rehabilitationswissenschaften",Zz="Sozialassistent",Kz="Bachelor der Erziehungswissenschaften",Qz="Bandagist",Ske={ambulance_driver:YV,ambulance_first_aid:GV,ambulance_rescuer:ZV,application:KV,applied_psychology_bachelor:QV,audician:XV,audiologist:JV,biologist_pharmacist:e4,care_giver:t4,certificateholder:a4,citizen:i4,clinical_orthopedic_pedagogue:n4,clinical_psychologist:r4,dental_hygienist:o4,dentist:s4,deptalgology:l4,deptanatomopathology:c4,deptanesthesiology:d4,deptbacteriology:u4,deptcardiacsurgery:h4,deptcardiology:p4,deptchildandadolescentpsychiatry:m4,deptdentistry:f4,deptdermatology:g4,deptdiabetology:b4,deptdietetics:v4,deptemergency:y4,deptendocrinology:_4,deptgastroenterology:x4,deptgeneralpractice:w4,deptgenetics:k4,deptgeriatry:C4,deptgynecology:S4,depthandsurgery:E4,depthematology:D4,deptinfectiousdisease:I4,deptintensivecare:A4,deptkinesitherapy:T4,deptlaboratory:O4,deptmajorburns:M4,deptmaxillofacialsurgery:R4,deptmedicine:P4,deptmolecularbiology:N4,deptneonatalogy:L4,deptnephrology:F4,deptneurology:V4,deptneurosurgery:z4,deptnte:B4,deptnuclear:j4,deptnursing:H4,deptnutritiondietetics:U4,deptobstetrics:W4,deptoccupationaltherapy:q4,deptoncology:$4,deptophtalmology:Y4,deptorthopedy:G4,deptpalliativecare:Z4,deptpediatricintensivecare:K4,deptpediatricsurgery:Q4,deptpediatry:X4,deptpharmacy:J4,deptphysicalmedecine:e7,deptphysiotherapy:t7,deptplasticandreparatorysurgery:a7,deptpneumology:i7,deptpodiatry:n7,deptpsychiatry:r7,deptpsychology:o7,deptradiology:s7,deptradiotherapy:l7,deptrevalidation:c7,deptrheumatology:d7,deptsenology:u7,deptsocialservice:h7,deptspeechtherapy:p7,deptsportsmedecine:m7,deptstomatology:f7,deptsurgery:g7,deptthoracicsurgery:b7,depttoxicology:v7,depttropicalmedecine:y7,depturology:_7,deptvascularsurgery:x7,deptvisceraldigestiveabdominalsurgery:w7,diabete_equipment_supplier:k7,dietician:C7,doctor:S7,family_science_bachelor:E7,gerontology_master:D7,groupofnurses:I7,groupofphysiciansdifferentaddress:A7,groupofphysicianssameaddress:T7,guardpost:O7,hub:M7,imaging_technologist:R7,implantprovider:P7,lab_technologist:N7,logopedist:L7,midwife:F7,nurse:V7,occupational_therapist:z7,optician:B7,orghospital:j7,orginsurance:H7,orglaboratory:U7,orgpharmacy:W7,orgpolyclinic:q7,orgpractice:$7,orgprevention:Y7,orgprimaryhealthcarecenter:G7,orgpsychiatriccarehome:Z7,orgpublichealth:K7,orgretirementhome:Q7,orgrevalidationcenter:X7,orgshelteredliving:J7,orthopedagogist_master:ez,orthopedist:tz,orthoptist:az,orthotist:iz,patient:nz,pediatric_nurse:rz,persadministrative:oz,persambulancefirstaid:sz,persaudician:lz,persaudiologist:cz,persbiologist:dz,perscaregiver:uz,persclinicalorthopedagogist:hz,persclinicalpsychologist:pz,persdentist:mz,persdietician:fz,perseducator:gz,perslogopedist:bz,persmidwife:vz,persnurse:yz,persoccupationaltherapist:_z,persoptician:xz,persoraldentalhygienist:wz,persorthopedist:kz,persorthoptist:Cz,persorthotist:Sz,persparamedical:Ez,perspatientdriver:Dz,perspharmacist:Iz,perspharmacistclinicalbiologist:Az,perspharmacyassistant:Tz,persphysician:Oz,persphysiotherapist:Mz,perspodologist:Rz,perspracticalnurse:Pz,perspsychologist:Nz,perssocialworker:Lz,perstechnician:Fz,perstrussmaker:Vz,pharmacist:zz,pharmacist_assistant:Bz,physician:jz,physiotherapist:Hz,podologist:Uz,practical_nurse:Wz,prosthetist:qz,psychologist:$z,psychomotor_therapy_master:Yz,readaptaion_bachelor:Gz,social_worker:Zz,specialized_educator:Kz,truss_maker:Qz},Xz={};ve(Xz,{ambulance_driver:()=>Jz,ambulance_first_aid:()=>eB,ambulance_rescuer:()=>tB,application:()=>aB,applied_psychology_bachelor:()=>iB,audician:()=>nB,audiologist:()=>rB,biologist_pharmacist:()=>oB,care_giver:()=>sB,certificateholder:()=>lB,citizen:()=>cB,clinical_orthopedic_pedagogue:()=>dB,clinical_psychologist:()=>uB,default:()=>Eke,dental_hygienist:()=>hB,dentist:()=>pB,deptalgology:()=>mB,deptanatomopathology:()=>fB,deptanesthesiology:()=>gB,deptbacteriology:()=>bB,deptcardiacsurgery:()=>vB,deptcardiology:()=>yB,deptchildandadolescentpsychiatry:()=>_B,deptdentistry:()=>xB,deptdermatology:()=>wB,deptdiabetology:()=>kB,deptdietetics:()=>CB,deptemergency:()=>SB,deptendocrinology:()=>EB,deptgastroenterology:()=>DB,deptgeneralpractice:()=>IB,deptgenetics:()=>AB,deptgeriatry:()=>TB,deptgynecology:()=>OB,depthandsurgery:()=>MB,depthematology:()=>RB,deptinfectiousdisease:()=>PB,deptintensivecare:()=>NB,deptkinesitherapy:()=>LB,deptlaboratory:()=>FB,deptmajorburns:()=>VB,deptmaxillofacialsurgery:()=>zB,deptmedicine:()=>BB,deptmolecularbiology:()=>jB,deptneonatalogy:()=>HB,deptnephrology:()=>UB,deptneurology:()=>WB,deptneurosurgery:()=>qB,deptnte:()=>$B,deptnuclear:()=>YB,deptnursing:()=>GB,deptnutritiondietetics:()=>ZB,deptobstetrics:()=>KB,deptoccupationaltherapy:()=>QB,deptoncology:()=>XB,deptophtalmology:()=>JB,deptorthopedy:()=>e9,deptpalliativecare:()=>t9,deptpediatricintensivecare:()=>a9,deptpediatricsurgery:()=>i9,deptpediatry:()=>n9,deptpharmacy:()=>r9,deptphysicalmedecine:()=>o9,deptphysiotherapy:()=>s9,deptplasticandreparatorysurgery:()=>l9,deptpneumology:()=>c9,deptpodiatry:()=>d9,deptpodology:()=>u9,deptpsychiatry:()=>h9,deptpsychogeriatry:()=>p9,deptpsychology:()=>m9,deptradiology:()=>f9,deptradiotherapy:()=>g9,deptrevalidation:()=>b9,deptrheumatology:()=>v9,deptrhumatology:()=>y9,deptsenology:()=>_9,deptsocialservice:()=>x9,deptspeechtherapy:()=>w9,deptsportsmedecine:()=>k9,deptstomatology:()=>C9,deptsurgery:()=>S9,deptthoracicsurgery:()=>E9,depttoxicology:()=>D9,depttropicalmedecine:()=>I9,depturology:()=>A9,deptvascularsurgery:()=>T9,deptvisceraldigestiveabdominalsurgery:()=>O9,diabete_equipment_supplier:()=>M9,dietician:()=>R9,doctor:()=>P9,family_science_bachelor:()=>N9,gerontology_master:()=>L9,groupofnurses:()=>F9,groupofphysiciansdifferentaddress:()=>V9,groupofphysicianssameaddress:()=>z9,guardpost:()=>B9,hub:()=>j9,imaging_technologist:()=>H9,implantprovider:()=>U9,lab_technologist:()=>W9,logopedist:()=>q9,midwife:()=>$9,nurse:()=>Y9,occupational_therapist:()=>G9,optician:()=>Z9,orghospital:()=>K9,orginsurance:()=>Q9,orglaboratory:()=>X9,orgpharmacy:()=>J9,orgpharmacyinvoicingoffice:()=>ej,orgpolyclinic:()=>tj,orgpractice:()=>aj,orgprevention:()=>ij,orgprimaryhealthcarecenter:()=>nj,orgpsychiatriccarehome:()=>rj,orgpublichealth:()=>oj,orgretirementhome:()=>sj,orgrevalidationcenter:()=>lj,orgshelteredliving:()=>cj,orthopedagogist_master:()=>dj,orthopedist:()=>uj,orthoptist:()=>hj,orthotist:()=>pj,patient:()=>mj,pediatric_nurse:()=>fj,persadministrative:()=>gj,persambulancefirstaid:()=>bj,persappliedpsychbachelor:()=>vj,persaudician:()=>yj,persaudiologist:()=>_j,persbandagistorthosiologist:()=>xj,persbiologist:()=>wj,perscaregiver:()=>kj,persclinicalorthopedagogist:()=>Cj,persclinicalpsychologist:()=>Sj,persdentist:()=>Ej,persdietician:()=>Dj,perseducator:()=>Ij,persfamilysciencebachelor:()=>Aj,persgerontologymaster:()=>Tj,perslogopedist:()=>Oj,persmidwife:()=>Mj,persmobilityimprover:()=>Rj,persnurse:()=>Pj,persoccupationaltherapist:()=>Nj,persoptician:()=>Lj,persoptometrist:()=>Fj,persoraldentalhygienist:()=>Vj,persorthopedagogistmaster:()=>zj,persorthopedist:()=>Bj,persorthoptist:()=>jj,persorthotist:()=>Hj,persparamedical:()=>Uj,perspatientdriver:()=>Wj,perspharmacist:()=>qj,perspharmacistclinicalbiologist:()=>$j,perspharmacyassistant:()=>Yj,persphysician:()=>Gj,persphysiotherapist:()=>Zj,perspodologist:()=>Kj,perspracticalnurse:()=>Qj,persprosthesiologist:()=>Xj,perspsychologist:()=>Jj,perspsychomotortherapymaster:()=>e6,persreadaptationbachelor:()=>t6,persshoetechnologist:()=>a6,perssocialworker:()=>i6,perstechnician:()=>n6,perstrussmaker:()=>r6,pharmacist:()=>o6,pharmacist_assistant:()=>s6,physician:()=>l6,physiotherapist:()=>c6,podologist:()=>d6,practical_nurse:()=>u6,prosthetist:()=>h6,psychologist:()=>p6,psychomotor_therapy_master:()=>m6,readaptaion_bachelor:()=>f6,social_worker:()=>g6,specialized_educator:()=>b6,truss_maker:()=>v6});var Jz="Ambulance Driver",eB="Ambulance First Aider",tB="Ambulance Rescuer",aB="Software application",iB="Bachelor in Applied Psychology",nB="Audician",rB="Audiologist",oB="Biologist Pharmacist",sB="Caregiver",lB="Certificate holder",cB="Citizen",dB="Clinical Orthopedic Pedagogue",uB="Clinical Psychologist",hB="Dental Hygienist",pB="Dentist",mB="Algology",fB="Anatomopathology",gB="Anesthesiology",bB="Bacteriology",vB="Cardiac surgery",yB="Cardiology",_B="Child and adolescent psychiatry",xB="Dentistry",wB="Dermatology",kB="Diabetology",CB="Dietetics",SB="Emergency",EB="Endocrinology",DB="Gastroenterology",IB="General practice",AB="Genetics",TB="Geriatry",OB="Gynecology",MB="Hand surgery",RB="Hematology",PB="Infectious disease",NB="Intensive care",LB="Kinesitherapy",FB="Laboratory service or department within an organisation",VB="Major burns",zB="Maxillofacial surgery",BB="Internal medecine",jB="Molecular biology",HB="Neonatalogy",UB="Nephrology",WB="Neurology",qB="Neurology",$B="Nose-throat-ear",YB="Nuclear",GB="Nursing",ZB="Nutritional dietetics",KB="Obstetrics",QB="Occupational therapy",XB="Oncology",JB="Ophthalmology",e9="Orthopedy",t9="Palliative care",a9="Pediatric intensive care",i9="Pediatric surgery",n9="Pediatry",r9="Pharmacy Service/Department within an organization",o9="Physical medecine",s9="Physiotherapy",l9="Plastic and reparatory surgery",c9="Pneumology",d9="Podiatry",u9="Podiatry",h9="Psychiatry",p9="Psychogeriatry",m9="Psychology",f9="Radiology",g9="Radiotherapy",b9="Revalidation",v9="Rheumatology",y9="Rhumatology",_9="Senology",x9="Social service",w9="Speech therapy",k9="Sports medecine",C9="Stomatology",S9="Surgery",E9="Thoracic surgery",D9="Toxicology",I9="Tropical medecine",A9="Urology",T9="Vascular surgery",O9="Visceral digestive abdominal surgery",M9="Diabetes Management Equipment Supplier",R9="Dietitian",P9="Doctor",N9="Bachelor in Family Science",L9="Master in Gerontology",F9="Group of nurses",V9="Group of physicians different address",z9="Group of physicians same address",B9="Guard post",j9="Hub",H9="Medical Imaging Technologist",U9="Implant Provider",W9="Laboratory Technologist",q9="Logopedist",$9="Midwife",Y9="Nurse",G9="Occupational Therapist",Z9="Optician",K9="Hospital",Q9="Insurance",X9="Independent laboratory",J9="Independent pharmacy",ej="Pharmacy invoicing office",tj="Polyclinic",aj="Practice organisation",ij="Prevention Service",nj="Primary health care center",rj="Psychiatric care home",oj="Public health organisation",sj="Retirementhome",lj="Revalidation center",cj="Sheltered living",dj="Master's in Orthopedagogy",uj="Orthopedist",hj="Orthoptist-Optometrist",pj="Orthotist",mj="Patient",fj="Pediatric Nurse",gj="Administrative",bj="Ambulance first aid",vj="Bachelor in Applied psychology",yj="Audician",_j="Audiologist",xj="Bandagist orthosiologist (orthopedic technologist)",wj="Medical laboratory technician",kj="Informal Caregiver",Cj="Clinical orthopedagogist",Sj="Clinical psychologist",Ej="Dentist",Dj="Dietician",Ij="Educator",Aj="Bachelor in Family sciences",Tj="Master in Gerontological sciences",Oj="Logopedist",Mj="Midwife",Rj="Mobility improver (orthopedic technologist)",Pj="Nurse",Nj="Occupational therapist",Lj="Optician",Fj="Optometrist",Vj="Oral Dental Hygienist",zj="Master of orthopedagogist",Bj="Orthopedist",jj="Orthoptist",Hj="Orthotist/Prosthetist",Uj="Paramedical staff",Wj="Patient Transporter (non-urgent)",qj="Pharmacist",$j="Pharmacist-clinical biologist",Yj="Pharmacy assistant",Gj="Physician",Zj="Physiotherapist",Kj="Podiologist",Qj="Practical nurse",Xj="Prosthesiologist (orthopedic technologist)",Jj="Psychologist",e6="Master in Psychomotor Therapy",t6="Bachelor in Physiotherapy and Rehabilitation",a6="Shoe technologist (orthopedic technologist)",i6="Social worker",n6="Medical Imaging Technician",r6="Truss maker",o6="Pharmacist",s6="Pharmaceutical Technician Assistant",l6="Physician",c6="Physiotherapist",d6="Podiatrist",u6="Practical Nurse",h6="Prosthetist",p6="Clinical Psychologist",m6="Master's in Psychomotor Therapy",f6="Bachelor in Rehabilitation",g6="Social Worker",b6="Specialized Educator",v6="Truss Maker",Eke={ambulance_driver:Jz,ambulance_first_aid:eB,ambulance_rescuer:tB,application:aB,applied_psychology_bachelor:iB,audician:nB,audiologist:rB,biologist_pharmacist:oB,care_giver:sB,certificateholder:lB,citizen:cB,clinical_orthopedic_pedagogue:dB,clinical_psychologist:uB,dental_hygienist:hB,dentist:pB,deptalgology:mB,deptanatomopathology:fB,deptanesthesiology:gB,deptbacteriology:bB,deptcardiacsurgery:vB,deptcardiology:yB,deptchildandadolescentpsychiatry:_B,deptdentistry:xB,deptdermatology:wB,deptdiabetology:kB,deptdietetics:CB,deptemergency:SB,deptendocrinology:EB,deptgastroenterology:DB,deptgeneralpractice:IB,deptgenetics:AB,deptgeriatry:TB,deptgynecology:OB,depthandsurgery:MB,depthematology:RB,deptinfectiousdisease:PB,deptintensivecare:NB,deptkinesitherapy:LB,deptlaboratory:FB,deptmajorburns:VB,deptmaxillofacialsurgery:zB,deptmedicine:BB,deptmolecularbiology:jB,deptneonatalogy:HB,deptnephrology:UB,deptneurology:WB,deptneurosurgery:qB,deptnte:$B,deptnuclear:YB,deptnursing:GB,deptnutritiondietetics:ZB,deptobstetrics:KB,deptoccupationaltherapy:QB,deptoncology:XB,deptophtalmology:JB,deptorthopedy:e9,deptpalliativecare:t9,deptpediatricintensivecare:a9,deptpediatricsurgery:i9,deptpediatry:n9,deptpharmacy:r9,deptphysicalmedecine:o9,deptphysiotherapy:s9,deptplasticandreparatorysurgery:l9,deptpneumology:c9,deptpodiatry:d9,deptpodology:u9,deptpsychiatry:h9,deptpsychogeriatry:p9,deptpsychology:m9,deptradiology:f9,deptradiotherapy:g9,deptrevalidation:b9,deptrheumatology:v9,deptrhumatology:y9,deptsenology:_9,deptsocialservice:x9,deptspeechtherapy:w9,deptsportsmedecine:k9,deptstomatology:C9,deptsurgery:S9,deptthoracicsurgery:E9,depttoxicology:D9,depttropicalmedecine:I9,depturology:A9,deptvascularsurgery:T9,deptvisceraldigestiveabdominalsurgery:O9,diabete_equipment_supplier:M9,dietician:R9,doctor:P9,family_science_bachelor:N9,gerontology_master:L9,groupofnurses:F9,groupofphysiciansdifferentaddress:V9,groupofphysicianssameaddress:z9,guardpost:B9,hub:j9,imaging_technologist:H9,implantprovider:U9,lab_technologist:W9,logopedist:q9,midwife:$9,nurse:Y9,occupational_therapist:G9,optician:Z9,orghospital:K9,orginsurance:Q9,orglaboratory:X9,orgpharmacy:J9,orgpharmacyinvoicingoffice:ej,orgpolyclinic:tj,orgpractice:aj,orgprevention:ij,orgprimaryhealthcarecenter:nj,orgpsychiatriccarehome:rj,orgpublichealth:oj,orgretirementhome:sj,orgrevalidationcenter:lj,orgshelteredliving:cj,orthopedagogist_master:dj,orthopedist:uj,orthoptist:hj,orthotist:pj,patient:mj,pediatric_nurse:fj,persadministrative:gj,persambulancefirstaid:bj,persappliedpsychbachelor:vj,persaudician:yj,persaudiologist:_j,persbandagistorthosiologist:xj,persbiologist:wj,perscaregiver:kj,persclinicalorthopedagogist:Cj,persclinicalpsychologist:Sj,persdentist:Ej,persdietician:Dj,perseducator:Ij,persfamilysciencebachelor:Aj,persgerontologymaster:Tj,perslogopedist:Oj,persmidwife:Mj,persmobilityimprover:Rj,persnurse:Pj,persoccupationaltherapist:Nj,persoptician:Lj,persoptometrist:Fj,persoraldentalhygienist:Vj,persorthopedagogistmaster:zj,persorthopedist:Bj,persorthoptist:jj,persorthotist:Hj,persparamedical:Uj,perspatientdriver:Wj,perspharmacist:qj,perspharmacistclinicalbiologist:$j,perspharmacyassistant:Yj,persphysician:Gj,persphysiotherapist:Zj,perspodologist:Kj,perspracticalnurse:Qj,persprosthesiologist:Xj,perspsychologist:Jj,perspsychomotortherapymaster:e6,persreadaptationbachelor:t6,persshoetechnologist:a6,perssocialworker:i6,perstechnician:n6,perstrussmaker:r6,pharmacist:o6,pharmacist_assistant:s6,physician:l6,physiotherapist:c6,podologist:d6,practical_nurse:u6,prosthetist:h6,psychologist:p6,psychomotor_therapy_master:m6,readaptaion_bachelor:f6,social_worker:g6,specialized_educator:b6,truss_maker:v6},y6={};ve(y6,{ambulance_driver:()=>_6,ambulance_first_aid:()=>x6,ambulance_rescuer:()=>w6,application:()=>k6,applied_psychology_bachelor:()=>C6,audician:()=>S6,audiologist:()=>E6,biologist_pharmacist:()=>D6,care_giver:()=>I6,certificateholder:()=>A6,citizen:()=>T6,clinical_orthopedic_pedagogue:()=>O6,clinical_psychologist:()=>M6,default:()=>Dke,dental_hygienist:()=>R6,dentist:()=>P6,deptalgology:()=>N6,deptanatomopathology:()=>L6,deptanesthesiology:()=>F6,deptbacteriology:()=>V6,deptcardiacsurgery:()=>z6,deptcardiology:()=>B6,deptchildandadolescentpsychiatry:()=>j6,deptdentistry:()=>H6,deptdermatology:()=>U6,deptdiabetology:()=>W6,deptdietetics:()=>q6,deptemergency:()=>$6,deptendocrinology:()=>Y6,deptgastroenterology:()=>G6,deptgeneralpractice:()=>Z6,deptgenetics:()=>K6,deptgeriatry:()=>Q6,deptgynecology:()=>X6,depthandsurgery:()=>J6,depthematology:()=>eH,deptinfectiousdisease:()=>tH,deptintensivecare:()=>aH,deptkinesitherapy:()=>iH,deptlaboratory:()=>nH,deptmajorburns:()=>rH,deptmaxillofacialsurgery:()=>oH,deptmedicine:()=>sH,deptmolecularbiology:()=>lH,deptneonatalogy:()=>cH,deptnephrology:()=>dH,deptneurology:()=>uH,deptneurosurgery:()=>hH,deptnte:()=>pH,deptnuclear:()=>mH,deptnursing:()=>fH,deptnutritiondietetics:()=>gH,deptobstetrics:()=>bH,deptoccupationaltherapy:()=>vH,deptoncology:()=>yH,deptophtalmology:()=>_H,deptorthopedy:()=>xH,deptpalliativecare:()=>wH,deptpediatricintensivecare:()=>kH,deptpediatricsurgery:()=>CH,deptpediatry:()=>SH,deptpharmacy:()=>EH,deptphysicalmedecine:()=>DH,deptphysiotherapy:()=>IH,deptplasticandreparatorysurgery:()=>AH,deptpneumology:()=>TH,deptpodiatry:()=>OH,deptpsychiatry:()=>MH,deptpsychology:()=>RH,deptradiology:()=>PH,deptradiotherapy:()=>NH,deptrevalidation:()=>LH,deptrheumatology:()=>FH,deptsenology:()=>VH,deptsocialservice:()=>zH,deptspeechtherapy:()=>BH,deptsportsmedecine:()=>jH,deptstomatology:()=>HH,deptsurgery:()=>UH,deptthoracicsurgery:()=>WH,depttoxicology:()=>qH,depttropicalmedecine:()=>$H,depturology:()=>YH,deptvascularsurgery:()=>GH,deptvisceraldigestiveabdominalsurgery:()=>ZH,diabete_equipment_supplier:()=>KH,dietician:()=>QH,doctor:()=>XH,family_science_bachelor:()=>JH,gerontology_master:()=>e8,groupofnurses:()=>t8,groupofphysiciansdifferentaddress:()=>a8,groupofphysicianssameaddress:()=>i8,guardpost:()=>n8,hub:()=>r8,imaging_technologist:()=>o8,implantprovider:()=>s8,lab_technologist:()=>l8,logopedist:()=>c8,midwife:()=>d8,nurse:()=>u8,occupational_therapist:()=>h8,optician:()=>p8,orghospital:()=>m8,orginsurance:()=>f8,orglaboratory:()=>g8,orgpharmacy:()=>b8,orgpolyclinic:()=>v8,orgpractice:()=>y8,orgprevention:()=>_8,orgprimaryhealthcarecenter:()=>x8,orgpsychiatriccarehome:()=>w8,orgpublichealth:()=>k8,orgretirementhome:()=>C8,orgrevalidationcenter:()=>S8,orgshelteredliving:()=>E8,orthopedagogist_master:()=>D8,orthopedist:()=>I8,orthoptist:()=>A8,orthotist:()=>T8,patient:()=>O8,pediatric_nurse:()=>M8,persadministrative:()=>R8,persambulancefirstaid:()=>P8,persaudician:()=>N8,persaudiologist:()=>L8,persbiologist:()=>F8,perscaregiver:()=>V8,persclinicalorthopedagogist:()=>z8,persclinicalpsychologist:()=>B8,persdentist:()=>j8,persdietician:()=>H8,perseducator:()=>U8,perslogopedist:()=>W8,persmidwife:()=>q8,persnurse:()=>$8,persoccupationaltherapist:()=>Y8,persoptician:()=>G8,persoraldentalhygienist:()=>Z8,persorthopedist:()=>K8,persorthoptist:()=>Q8,persorthotist:()=>X8,persparamedical:()=>J8,perspatientdriver:()=>eU,perspharmacist:()=>tU,perspharmacistclinicalbiologist:()=>aU,perspharmacyassistant:()=>iU,persphysician:()=>nU,persphysiotherapist:()=>rU,perspodologist:()=>oU,perspracticalnurse:()=>sU,perspsychologist:()=>lU,perssocialworker:()=>cU,perstechnician:()=>dU,perstrussmaker:()=>uU,pharmacist:()=>hU,pharmacist_assistant:()=>pU,physician:()=>mU,physiotherapist:()=>fU,podologist:()=>gU,practical_nurse:()=>bU,prosthetist:()=>vU,psychologist:()=>yU,psychomotor_therapy_master:()=>_U,readaptaion_bachelor:()=>xU,social_worker:()=>wU,specialized_educator:()=>kU,truss_maker:()=>CU});var _6="Ambulancier",x6="Ambulancier secouriste",w6="Ambulancier secouriste",k6="application logicielle",C6="Bachelier en psychologie appliquée",S6="Audicien",E6="Audiologue",D6="Pharmacien biologiste",I6="Personnel soignant",A6="Titulaire du certificat",T6="Citoyen",O6="Orthopédagogue clinicien",M6="Psychologue clinicien",R6="Hygiéniste bucco-dentaire",P6="Dentiste",N6="algologie",L6="anatomopathologie",F6="anesthésiologie",V6="bactériologie",z6="chirurgie cardiaque",B6="cardiologie",j6="psychiatrie de l’enfant et de l’adolescent",H6="dentisterie",U6="dermatologie",W6="diabétologie",q6="diététique",$6="services d’urgence",Y6="endocrinologie",G6="gastroentérologie",Z6="médecine générale",K6="génétique",Q6="gériatrie",X6="gynécologie",J6="chirurgie de la main",eH="hématologie",tH="maladie infectieuse",aH="soins intensifs",iH="kinésithérapie",nH="Service/Département laboratoire au sein d’une organisation",rH="grands brûlés",oH="chirurgie maxillo-faciale",sH="médecine interne",lH="biologie moléculaire",cH="néonatologie",dH="néphrologie",uH="neurologie",hH="neurologie",pH="oto-rhino-laryngologie",mH="médecine nucléaire",fH="soins infirmiers",gH="diététique nutritionnelle",bH="obstétrique",vH="ergothérapie",yH="oncologie",_H="ophtalmologie",xH="orthopédie",wH="soins palliatifs",kH="soins intensifs pédiatriques",CH="chirurgie pédiatrique",SH="pédiatrie",EH="Service/Département pharmacie au sein d’une organisation",DH="médecine physique",IH="physiothérapie",AH="chirurgie esthétique et réparatrice",TH="pneumologie",OH="podiatrie",MH="psychiatrie",RH="psychologie",PH="radiologie",NH="radiothérapie",LH="rééducation",FH="rhumatologie",VH="sénologie",zH="service social",BH="logopédie",jH="médecine des sports",HH="stomatologie",UH="chirurgie",WH="chirurgie thoracique",qH="toxicologie",$H="médecine tropicale",YH="urologie",GH="chirurgie vasculaire",ZH="chirurgie abdominale, digestive et viscérale",KH="Fournisseur de matériel d’autogestion diabétique",QH="Diététicien",XH="Médecin",JH="Bachelier en science de la famille",e8="Master en gérontologie",t8="Regroupement d’infirmiers",a8="Regroupement de médecins adresse différente",i8="regroupement de médecins même adresse",n8="poste de garde",r8="hub",o8="Technologue en imagerie médicale",s8="Dispensateur d’implants",l8="Technologue de labo",c8="Logopède",d8="Sage-femme",u8="Infirmier\\Infirmière",h8="Ergothérapeute",p8="Opticien",m8="hôpital",f8="assurance",g8="laboratoire indépendant",b8="Pharmacie indépendante",v8="polyclinique",y8="cabinet",_8="Service de prévention",x8="Maison médicale",w8="maison de soins psychiatriques",k8="service public de santé",C8="maison de repos",S8="centre de revalidation",E8="initiative d’habitation protégée",D8="Master en Orthopédagogie",I8="Orthopédiste",A8="Orthoptiste-Optométriste",T8="Orthésiste",O8="Patient",M8="Puéricultrice",R8="personnel admistratif",P8="ambulance premier secours",N8="audicien",L8="audiologue",F8="technicien de laboratoire médical",V8="soignant informel",z8="Orthopédagogue clinicien",B8="Psychologue clinicien",j8="dentiste",H8="diététicien",U8="éducateur",W8="logopède",q8="sage-femme",$8="infirmier",Y8="ergothérapeute",G8="opticien",Z8="Hygiéniste bucco-dentaire",K8="orthopédiste",Q8="orthoptiste",X8="Orthésiste/Prothésiste",J8="personnel paramédical",eU="Transporteur de patient (non urgent)",tU="pharmacien",aU="pharmacien-biologiste clinicien",iU="assistant en pharmacie",nU="médecin",rU="kinésithérapeute",oU="podologue",sU="aide-soignante",lU="psychologue",cU="travailleur social",dU="Technicien d’imagerie médicale",uU="Bandagiste",hU="Pharmacien",pU="Assistant Pharmaceutico-Technique",mU="Médecin",fU="Physiothérapeute",gU="Podologue",bU="Aide-soignant",vU="Prothésiste",yU="Psychologue clinicien",_U="Master en thérapie psychomotrice",xU="Bachelier en réadaptation",wU="Assistant social",kU="Educateur spécialisé",CU="Bandagiste",Dke={ambulance_driver:_6,ambulance_first_aid:x6,ambulance_rescuer:w6,application:k6,applied_psychology_bachelor:C6,audician:S6,audiologist:E6,biologist_pharmacist:D6,care_giver:I6,certificateholder:A6,citizen:T6,clinical_orthopedic_pedagogue:O6,clinical_psychologist:M6,dental_hygienist:R6,dentist:P6,deptalgology:N6,deptanatomopathology:L6,deptanesthesiology:F6,deptbacteriology:V6,deptcardiacsurgery:z6,deptcardiology:B6,deptchildandadolescentpsychiatry:j6,deptdentistry:H6,deptdermatology:U6,deptdiabetology:W6,deptdietetics:q6,deptemergency:$6,deptendocrinology:Y6,deptgastroenterology:G6,deptgeneralpractice:Z6,deptgenetics:K6,deptgeriatry:Q6,deptgynecology:X6,depthandsurgery:J6,depthematology:eH,deptinfectiousdisease:tH,deptintensivecare:aH,deptkinesitherapy:iH,deptlaboratory:nH,deptmajorburns:rH,deptmaxillofacialsurgery:oH,deptmedicine:sH,deptmolecularbiology:lH,deptneonatalogy:cH,deptnephrology:dH,deptneurology:uH,deptneurosurgery:hH,deptnte:pH,deptnuclear:mH,deptnursing:fH,deptnutritiondietetics:gH,deptobstetrics:bH,deptoccupationaltherapy:vH,deptoncology:yH,deptophtalmology:_H,deptorthopedy:xH,deptpalliativecare:wH,deptpediatricintensivecare:kH,deptpediatricsurgery:CH,deptpediatry:SH,deptpharmacy:EH,deptphysicalmedecine:DH,deptphysiotherapy:IH,deptplasticandreparatorysurgery:AH,deptpneumology:TH,deptpodiatry:OH,deptpsychiatry:MH,deptpsychology:RH,deptradiology:PH,deptradiotherapy:NH,deptrevalidation:LH,deptrheumatology:FH,deptsenology:VH,deptsocialservice:zH,deptspeechtherapy:BH,deptsportsmedecine:jH,deptstomatology:HH,deptsurgery:UH,deptthoracicsurgery:WH,depttoxicology:qH,depttropicalmedecine:$H,depturology:YH,deptvascularsurgery:GH,deptvisceraldigestiveabdominalsurgery:ZH,diabete_equipment_supplier:KH,dietician:QH,doctor:XH,family_science_bachelor:JH,gerontology_master:e8,groupofnurses:t8,groupofphysiciansdifferentaddress:a8,groupofphysicianssameaddress:i8,guardpost:n8,hub:r8,imaging_technologist:o8,implantprovider:s8,lab_technologist:l8,logopedist:c8,midwife:d8,nurse:u8,occupational_therapist:h8,optician:p8,orghospital:m8,orginsurance:f8,orglaboratory:g8,orgpharmacy:b8,orgpolyclinic:v8,orgpractice:y8,orgprevention:_8,orgprimaryhealthcarecenter:x8,orgpsychiatriccarehome:w8,orgpublichealth:k8,orgretirementhome:C8,orgrevalidationcenter:S8,orgshelteredliving:E8,orthopedagogist_master:D8,orthopedist:I8,orthoptist:A8,orthotist:T8,patient:O8,pediatric_nurse:M8,persadministrative:R8,persambulancefirstaid:P8,persaudician:N8,persaudiologist:L8,persbiologist:F8,perscaregiver:V8,persclinicalorthopedagogist:z8,persclinicalpsychologist:B8,persdentist:j8,persdietician:H8,perseducator:U8,perslogopedist:W8,persmidwife:q8,persnurse:$8,persoccupationaltherapist:Y8,persoptician:G8,persoraldentalhygienist:Z8,persorthopedist:K8,persorthoptist:Q8,persorthotist:X8,persparamedical:J8,perspatientdriver:eU,perspharmacist:tU,perspharmacistclinicalbiologist:aU,perspharmacyassistant:iU,persphysician:nU,persphysiotherapist:rU,perspodologist:oU,perspracticalnurse:sU,perspsychologist:lU,perssocialworker:cU,perstechnician:dU,perstrussmaker:uU,pharmacist:hU,pharmacist_assistant:pU,physician:mU,physiotherapist:fU,podologist:gU,practical_nurse:bU,prosthetist:vU,psychologist:yU,psychomotor_therapy_master:_U,readaptaion_bachelor:xU,social_worker:wU,specialized_educator:kU,truss_maker:CU},SU={};ve(SU,{ambulance_driver:()=>EU,ambulance_first_aid:()=>DU,ambulance_rescuer:()=>IU,application:()=>AU,applied_psychology_bachelor:()=>TU,audician:()=>OU,audiologist:()=>MU,biologist_pharmacist:()=>RU,care_giver:()=>PU,certificateholder:()=>NU,citizen:()=>LU,clinical_orthopedic_pedagogue:()=>FU,clinical_psychologist:()=>VU,default:()=>Ike,dental_hygienist:()=>zU,dentist:()=>BU,deptalgology:()=>jU,deptanatomopathology:()=>HU,deptanesthesiology:()=>UU,deptbacteriology:()=>WU,deptcardiacsurgery:()=>qU,deptcardiology:()=>$U,deptchildandadolescentpsychiatry:()=>YU,deptdentistry:()=>GU,deptdermatology:()=>ZU,deptdiabetology:()=>KU,deptdietetics:()=>QU,deptemergency:()=>XU,deptendocrinology:()=>JU,deptgastroenterology:()=>eW,deptgeneralpractice:()=>tW,deptgenetics:()=>aW,deptgeriatry:()=>iW,deptgynecology:()=>nW,depthandsurgery:()=>rW,depthematology:()=>oW,deptinfectiousdisease:()=>sW,deptintensivecare:()=>lW,deptkinesitherapy:()=>cW,deptlaboratory:()=>dW,deptmajorburns:()=>uW,deptmaxillofacialsurgery:()=>hW,deptmedicine:()=>pW,deptmolecularbiology:()=>mW,deptneonatalogy:()=>fW,deptnephrology:()=>gW,deptneurology:()=>bW,deptneurosurgery:()=>vW,deptnte:()=>yW,deptnuclear:()=>_W,deptnursing:()=>xW,deptnutritiondietetics:()=>wW,deptobstetrics:()=>kW,deptoccupationaltherapy:()=>CW,deptoncology:()=>SW,deptophtalmology:()=>EW,deptorthopedy:()=>DW,deptpalliativecare:()=>IW,deptpediatricintensivecare:()=>AW,deptpediatricsurgery:()=>TW,deptpediatry:()=>OW,deptpharmacy:()=>MW,deptphysicalmedecine:()=>RW,deptphysiotherapy:()=>PW,deptplasticandreparatorysurgery:()=>NW,deptpneumology:()=>LW,deptpodiatry:()=>FW,deptpsychiatry:()=>VW,deptpsychology:()=>zW,deptradiology:()=>BW,deptradiotherapy:()=>jW,deptrevalidation:()=>HW,deptrheumatology:()=>UW,deptsenology:()=>WW,deptsocialservice:()=>qW,deptspeechtherapy:()=>$W,deptsportsmedecine:()=>YW,deptstomatology:()=>GW,deptsurgery:()=>ZW,deptthoracicsurgery:()=>KW,depttoxicology:()=>QW,depttropicalmedecine:()=>XW,depturology:()=>JW,deptvascularsurgery:()=>eq,deptvisceraldigestiveabdominalsurgery:()=>tq,diabete_equipment_supplier:()=>aq,dietician:()=>iq,doctor:()=>nq,family_science_bachelor:()=>rq,gerontology_master:()=>oq,groupofnurses:()=>sq,groupofphysiciansdifferentaddress:()=>lq,groupofphysicianssameaddress:()=>cq,guardpost:()=>dq,hub:()=>uq,imaging_technologist:()=>hq,implantprovider:()=>pq,lab_technologist:()=>mq,logopedist:()=>fq,midwife:()=>gq,nurse:()=>bq,occupational_therapist:()=>vq,optician:()=>yq,orghospital:()=>_q,orginsurance:()=>xq,orglaboratory:()=>wq,orgpharmacy:()=>kq,orgpolyclinic:()=>Cq,orgpractice:()=>Sq,orgprevention:()=>Eq,orgprimaryhealthcarecenter:()=>Dq,orgpsychiatriccarehome:()=>Iq,orgpublichealth:()=>Aq,orgretirementhome:()=>Tq,orgrevalidationcenter:()=>Oq,orgshelteredliving:()=>Mq,orthopedagogist_master:()=>Rq,orthopedist:()=>Pq,orthoptist:()=>Nq,orthotist:()=>Lq,patient:()=>Fq,pediatric_nurse:()=>Vq,persadministrative:()=>zq,persambulancefirstaid:()=>Bq,persaudician:()=>jq,persaudiologist:()=>Hq,persbiologist:()=>Uq,perscaregiver:()=>Wq,persclinicalorthopedagogist:()=>qq,persclinicalpsychologist:()=>$q,persdentist:()=>Yq,persdietician:()=>Gq,perseducator:()=>Zq,perslogopedist:()=>Kq,persmidwife:()=>Qq,persnurse:()=>Xq,persoccupationaltherapist:()=>Jq,persoptician:()=>e$,persoraldentalhygienist:()=>t$,persorthopedist:()=>a$,persorthoptist:()=>i$,persorthotist:()=>n$,persparamedical:()=>r$,perspatientdriver:()=>o$,perspharmacist:()=>s$,perspharmacistclinicalbiologist:()=>l$,perspharmacyassistant:()=>c$,persphysician:()=>d$,persphysiotherapist:()=>u$,perspodologist:()=>h$,perspracticalnurse:()=>p$,perspsychologist:()=>m$,perssocialworker:()=>f$,perstechnician:()=>g$,perstrussmaker:()=>b$,pharmacist:()=>v$,pharmacist_assistant:()=>y$,physician:()=>_$,physiotherapist:()=>x$,podologist:()=>w$,practical_nurse:()=>k$,prosthetist:()=>C$,psychologist:()=>S$,psychomotor_therapy_master:()=>E$,readaptaion_bachelor:()=>D$,social_worker:()=>I$,specialized_educator:()=>A$,truss_maker:()=>T$});var EU="Ambulancebestuurder",DU="Ambulancier eerste hulp",IU="Amublancier eerste hulp",AU="softwaretoepassing",TU="Bachelor toegepaste psychologie",OU="Audicien",MU="Audioloog",RU="Apotheker-bioloog",PU="Verzorgingspersoneel",NU="Houder van certificaat",LU="Burger",FU="Klinische orthopedagoog",VU="Klinische psycholoog",zU="Mondhygiënist",BU="Tandarts",jU="algologie",HU="anatomo-pathologie",UU="anesthesiologie",WU="bacteriologie",qU="hartchirurgie",$U="cardiologie",YU="kinder- en jeugdpsychiatrie",GU="tandheelkunde",ZU="dermatologie",KU="diabetologie",QU="diëtetiek",XU="spoeddiensten",JU="endocrinologie/hormonenleer",eW="gastro-enterologie",tW="algemene geneeskunde",aW="genetica",iW="geriatrie",nW="gynaecologie",rW="handchirurgie",oW="hematologie",sW="infectieziekte",lW="intensieve zorgen",cW="kinesitherapie",dW="Laboratoriumdienst of -afdeling binnen een organisatie",uW="brandwondencentrum",hW="mond-, kaak- en aangezichtschirurgie",pW="interne geneeskunde",mW="moleculaire biologie",fW="neonatologie",gW="nefrologie",bW="neurologie",vW="neurologie",yW="oto-rhino-laryngologie",_W="nucleaire geneeskunde",xW="verpleegkunde",wW="diëtetiek",kW="verloskunde",CW="ergotherapie",SW="oncologie",EW="oftalmologie",DW="orthopedie",IW="palliatieve zorg",AW="intensieve zorg voor kinderen",TW="kinderchirurgie",OW="pediatrie",MW="Apotheekdienst of -afdeling binnen een organisatie",RW="fysische geneeskunde",PW="fysiotherapie",NW="plastische en reconstructieve chirurgie",LW="pulmonologie",FW="podiatrie",VW="psychiatrie",zW="psychologie",BW="radiologie",jW="radiotherapie",HW="revalidatie",UW="reumatologie",WW="senologie",qW="sociale dienst",$W="logopedie",YW="sportgeneeskunde",GW="stomatologie",ZW="chirurgie",KW="thoraxchirurgie",QW="toxicologie",XW="tropische geneeskunde",JW="urologie",eq="vasculaire chirurgie",tq="digestieve/viscerale chirurgie/buikchirurgie",aq="Leverancier van materiaal voor diabetische zelfzorg ",iq="Diëtist",nq="Arts",rq="Bachelor gezinswetenschappen",oq="Master gerontologie",sq="Groepering van verplegers",lq="Groepering van artsen verschillend adres",cq="groepering van artsen zelfde adres",dq="wachtpost",uq="hub",hq="Technoloog medische beeldvorming",pq="Leverancier implantaten",mq="Laboratoriumtechnoloog",fq="Logopedist",gq="Vroedvrouw",bq="verpleegkundige",vq="Ergotherapeut",yq="Opticien",_q="ziekenhuis",xq="verzekering",wq="Onafhankelijk laboratorium",kq="Onafhankelijke apotheek",Cq="polikliniek",Sq="praktijk",Eq="Preventiedienst",Dq="medisch huis",Iq="psychiatrisch verzorgingstehuis",Aq="openbare gezondheidsdienst",Tq="woonzorgcentrum",Oq="revalidatiecentrum",Mq="initiatief voor beschut wonen",Rq="Master orthopedagogie",Pq="Orthopedist",Nq="Orthoptist-optometrist",Lq="Orthesist",Fq="Patiënt",Vq="Kinderverzorgsters",zq="administratief medewerker",Bq="ambulance eerste hulp",jq="audicien",Hq="audioloog",Uq="medisch laboratoriumtechnoloog",Wq="mantelzorger",qq="Klinisch orthopedagoog",$q="Klinisch psycholoog",Yq="tandarts",Gq="diëtist",Zq="opvoeder",Kq="logopedist",Qq="vroedvrouw",Xq="verpleegkundige",Jq="ergotherapeut",e$="opticien",t$="Mondhygiënist",a$="orthopedist",i$="orthoptist",n$="Orthopedisch technicus",r$="paramedisch personeel",o$="Ziekenvervoerder (niet urgent)",s$="apotheker",l$="apotheker-klinisch bioloog",c$="apothekersassistent",d$="arts",u$="kinesitherapeut",h$="podologist",p$="verzorgende",m$="psycholoog",f$="maatschappelijk werker",g$="Technicus medische beeldvorming",b$="Bandagist",v$="Apotheker",y$="Farmaceutisch-technisch assistent",_$="Arts",x$="Fysiotherapeut",w$="Podoloog",k$="Zorgkundige",C$="Prothesist",S$="Psycholoog",E$="Master psychomotorische therapie",D$="Bachelor readaptatiewetenschappen",I$="Sociaal assistent",A$="Bachelor opvoedkunde",T$="Bandagist",Ike={ambulance_driver:EU,ambulance_first_aid:DU,ambulance_rescuer:IU,application:AU,applied_psychology_bachelor:TU,audician:OU,audiologist:MU,biologist_pharmacist:RU,care_giver:PU,certificateholder:NU,citizen:LU,clinical_orthopedic_pedagogue:FU,clinical_psychologist:VU,dental_hygienist:zU,dentist:BU,deptalgology:jU,deptanatomopathology:HU,deptanesthesiology:UU,deptbacteriology:WU,deptcardiacsurgery:qU,deptcardiology:$U,deptchildandadolescentpsychiatry:YU,deptdentistry:GU,deptdermatology:ZU,deptdiabetology:KU,deptdietetics:QU,deptemergency:XU,deptendocrinology:JU,deptgastroenterology:eW,deptgeneralpractice:tW,deptgenetics:aW,deptgeriatry:iW,deptgynecology:nW,depthandsurgery:rW,depthematology:oW,deptinfectiousdisease:sW,deptintensivecare:lW,deptkinesitherapy:cW,deptlaboratory:dW,deptmajorburns:uW,deptmaxillofacialsurgery:hW,deptmedicine:pW,deptmolecularbiology:mW,deptneonatalogy:fW,deptnephrology:gW,deptneurology:bW,deptneurosurgery:vW,deptnte:yW,deptnuclear:_W,deptnursing:xW,deptnutritiondietetics:wW,deptobstetrics:kW,deptoccupationaltherapy:CW,deptoncology:SW,deptophtalmology:EW,deptorthopedy:DW,deptpalliativecare:IW,deptpediatricintensivecare:AW,deptpediatricsurgery:TW,deptpediatry:OW,deptpharmacy:MW,deptphysicalmedecine:RW,deptphysiotherapy:PW,deptplasticandreparatorysurgery:NW,deptpneumology:LW,deptpodiatry:FW,deptpsychiatry:VW,deptpsychology:zW,deptradiology:BW,deptradiotherapy:jW,deptrevalidation:HW,deptrheumatology:UW,deptsenology:WW,deptsocialservice:qW,deptspeechtherapy:$W,deptsportsmedecine:YW,deptstomatology:GW,deptsurgery:ZW,deptthoracicsurgery:KW,depttoxicology:QW,depttropicalmedecine:XW,depturology:JW,deptvascularsurgery:eq,deptvisceraldigestiveabdominalsurgery:tq,diabete_equipment_supplier:aq,dietician:iq,doctor:nq,family_science_bachelor:rq,gerontology_master:oq,groupofnurses:sq,groupofphysiciansdifferentaddress:lq,groupofphysicianssameaddress:cq,guardpost:dq,hub:uq,imaging_technologist:hq,implantprovider:pq,lab_technologist:mq,logopedist:fq,midwife:gq,nurse:bq,occupational_therapist:vq,optician:yq,orghospital:_q,orginsurance:xq,orglaboratory:wq,orgpharmacy:kq,orgpolyclinic:Cq,orgpractice:Sq,orgprevention:Eq,orgprimaryhealthcarecenter:Dq,orgpsychiatriccarehome:Iq,orgpublichealth:Aq,orgretirementhome:Tq,orgrevalidationcenter:Oq,orgshelteredliving:Mq,orthopedagogist_master:Rq,orthopedist:Pq,orthoptist:Nq,orthotist:Lq,patient:Fq,pediatric_nurse:Vq,persadministrative:zq,persambulancefirstaid:Bq,persaudician:jq,persaudiologist:Hq,persbiologist:Uq,perscaregiver:Wq,persclinicalorthopedagogist:qq,persclinicalpsychologist:$q,persdentist:Yq,persdietician:Gq,perseducator:Zq,perslogopedist:Kq,persmidwife:Qq,persnurse:Xq,persoccupationaltherapist:Jq,persoptician:e$,persoraldentalhygienist:t$,persorthopedist:a$,persorthoptist:i$,persorthotist:n$,persparamedical:r$,perspatientdriver:o$,perspharmacist:s$,perspharmacistclinicalbiologist:l$,perspharmacyassistant:c$,persphysician:d$,persphysiotherapist:u$,perspodologist:h$,perspracticalnurse:p$,perspsychologist:m$,perssocialworker:f$,perstechnician:g$,perstrussmaker:b$,pharmacist:v$,pharmacist_assistant:y$,physician:_$,physiotherapist:x$,podologist:w$,practical_nurse:k$,prosthetist:C$,psychologist:S$,psychomotor_therapy_master:E$,readaptaion_bachelor:D$,social_worker:I$,specialized_educator:A$,truss_maker:T$},Ake={nl:SU,fr:y6,de:$V,en:Xz},O$={};ve(O$,{"00001":()=>M$,"00002":()=>R$,"00005":()=>P$,"00008":()=>N$,"00009":()=>L$,"00010":()=>F$,"00011":()=>V$,"00012":()=>z$,"00013":()=>B$,"00033":()=>j$,"00034":()=>H$,"00035":()=>U$,"00045":()=>W$,"00046":()=>q$,"00049":()=>$$,"00051":()=>Y$,"00052":()=>G$,"00053":()=>Z$,"00054":()=>K$,"00055":()=>Q$,"00056":()=>X$,"00060":()=>J$,"00064":()=>eY,"00066":()=>tY,"00067":()=>aY,"00068":()=>iY,"00070":()=>nY,"00071":()=>rY,"00072":()=>oY,"00073":()=>sY,"both-ears":()=>kY,"both-eyes":()=>_Y,"both-nostrils":()=>bY,"cutaneous-injection":()=>pY,default:()=>Tke,derm:()=>lY,"dermal-injection":()=>mY,"ear-left":()=>xY,"ear-right":()=>wY,"eye-left":()=>vY,"eye-right":()=>yY,hyperdermoclyse:()=>EY,icut:()=>dY,ider:()=>uY,larter:()=>cY,"nose-left":()=>fY,"nose-right":()=>gY,oft:()=>hY,transdermal:()=>SY,"vitreal-injection":()=>CY});var M$="ins Ohr",R$="auf die Haut",P$="Injektion außerhalb der Hirnhaut",N$="in die Luftröhre",L$="in den Gebärmutterhals einführen",F$="Injektion in eine Arterie",V$="Injektion in den Penis",z$="Injektion in die Haut",B$="Injektion in einen Muskel",j$="Injektion ins Rückenmark",H$="in die Gebärmutter einführen",U$="Injektion in eine Vene",W$="in die Harnblase",q$="Infusion",$$="Inhalation",Y$="Injektion",G$="auf die Lippen",Z$="lokal",K$="auf die Schleimhaut",Q$="in die Nase",X$="in die Augen",J$="einnehmen",eY="durch den Mund",tY="durch Mund und Nase",aY="rektal",iY="Spritze unter die Haut",nY="unter die Zunge",rY="auf die Zähne",oY="in den Harnleiter",sY="vaginal",lY="dermatologisch",cY="intraarteriell",dY="intrakutan",uY="intradermal",hY="ophthalmologisch",pY="kutane Injektion",mY="dermale Injektion",fY="linke Nase",gY="rechte Nase",bY="beide Nasenlöcher",vY="linkes Auge",yY="rechtes Auge",_Y="beide Augen",xY="linkes Ohr",wY="rechtes Ohr",kY="beide Ohren",CY="vitreale Injektion",SY="transdermal",EY="Hyperdermoklyse",Tke={"00001":M$,"00002":R$,"00005":P$,"00008":N$,"00009":L$,"00010":F$,"00011":V$,"00012":z$,"00013":B$,"00033":j$,"00034":H$,"00035":U$,"00045":W$,"00046":q$,"00049":$$,"00051":Y$,"00052":G$,"00053":Z$,"00054":K$,"00055":Q$,"00056":X$,"00060":J$,"00064":eY,"00066":tY,"00067":aY,"00068":iY,"00070":nY,"00071":rY,"00072":oY,"00073":sY,derm:lY,larter:cY,icut:dY,ider:uY,oft:hY,"cutaneous-injection":pY,"dermal-injection":mY,"nose-left":fY,"nose-right":gY,"both-nostrils":bY,"eye-left":vY,"eye-right":yY,"both-eyes":_Y,"ear-left":xY,"ear-right":wY,"both-ears":kY,"vitreal-injection":CY,transdermal:SY,hyperdermoclyse:EY},DY={};ve(DY,{"00001":()=>IY,"00002":()=>AY,"00003":()=>TY,"00004":()=>OY,"00005":()=>MY,"00006":()=>RY,"00007":()=>PY,"00008":()=>NY,"00009":()=>LY,"00010":()=>FY,"00011":()=>VY,"00012":()=>zY,"00013":()=>BY,"00014":()=>jY,"00015":()=>HY,"00016":()=>UY,"00017":()=>WY,"00018":()=>qY,"00019":()=>$Y,"00020":()=>YY,"00021":()=>GY,"00022":()=>ZY,"00023":()=>KY,"00024":()=>QY,"00025":()=>XY,"00026":()=>JY,"00027":()=>eG,"00028":()=>tG,"00029":()=>aG,"00030":()=>iG,"00031":()=>nG,"00032":()=>rG,"00033":()=>oG,"00034":()=>sG,"00035":()=>lG,"00036":()=>cG,"00037":()=>dG,"00038":()=>uG,"00039":()=>hG,"00040":()=>pG,"00041":()=>mG,"00042":()=>fG,"00043":()=>gG,"00044":()=>bG,"00045":()=>vG,"00046":()=>yG,"00047":()=>_G,"00048":()=>xG,"00049":()=>wG,"00050":()=>kG,"00051":()=>CG,"00052":()=>SG,"00053":()=>EG,"00054":()=>DG,"00055":()=>IG,"00056":()=>AG,"00057":()=>TG,"00058":()=>OG,"00059":()=>MG,"00060":()=>RG,"00061":()=>PG,"00062":()=>NG,"00063":()=>LG,"00064":()=>FG,"00065":()=>VG,"00066":()=>zG,"00067":()=>BG,"00068":()=>jG,"00069":()=>HG,"00070":()=>UG,"00071":()=>WG,"00072":()=>qG,"00073":()=>$G,"both-ears":()=>lZ,"both-eyes":()=>rZ,"both-nostrils":()=>aZ,"cutaneous-injection":()=>XG,default:()=>Oke,derm:()=>YG,"dermal-injection":()=>JG,"ear-left":()=>oZ,"ear-right":()=>sZ,"eye-left":()=>iZ,"eye-right":()=>nZ,hyperdermoclyse:()=>uZ,icut:()=>ZG,ider:()=>KG,larter:()=>GG,"nose-left":()=>eZ,"nose-right":()=>tZ,oft:()=>QG,transdermal:()=>dZ,"vitreal-injection":()=>cZ});var IY="auric.",AY="derm.",TY="derm./rect",OY="derm./vag.",MY="e.dur.",RY="e.dur./i.thec./local",PY="e.dur./local",NY="e.trach.",LY="endocerv.",FY="i.arter.",VY="i.cavern.",zY="i.derm.",BY="i.m.",jY="i.m./i.thec./e.dur./s.c.",HY="i.m./i.v.",UY="i.m./i.v./inf.",WY="i.m./i.v./inf./e.dur./s.c.",qY="i.m./i.v./inf./i.arter./i.thec.",$Y="i.m./i.v./perf./i.artér./local/s.c.",YY="i.m./i.v./inf./i.thec.",GY="i.m./i.v./inf./rect.",ZY="i.m./i.v./inf./s.c.",KY="i.m./i.v./inhal.",QY="i.m./i.v./local",XY="i.m./i.v./or.",JY="i.m./i.v./rect",eG="i.m./i.v./s.c.",tG="i.m./inf.",aG="i.m./perf./local",iG="i.m./local",nG="i.m./local/rect.",rG="i.m./s.c.",oG="i.thec.",sG="i.ut.",lG="i.v.",cG="i.v./p.dur./local",dG="i.v./i.arter./i.ves.",uG="i.v./inf.",hG="i.v./perf./p.dur.",pG="i.v./perf./i.artér.",mG="i.v./perf./i.théc./s.c.",fG="i.v./perf./inhal.",gG="i.v./perf./s.c.",bG="i.v./s.c.",vG="i.ves.",yG="perf.",_G="perf./i.ves.",xG="perf./s.c.",wG="inhal.",kG="inhal./nas./local",CG="inj.",SG="lip",EG="local",DG="muc.",IG="nas.",AG="opht.",TG="opht./auric.",OG="opht./auric./nas.",MG="opht./auric./nas./local",RG="or.",PG="or./bucco-phar./derm.",NG="or./rect.",LG="or./s.l.",FG="bucco-phar.",VG="bucco-phar./derm.",zG="bucco-phar./nas.",BG="rect.",jG="s.c.",HG="s.c./i.derm.",UG="s.l.",WG="teeth",qG="urethr.",$G="vag.",YG="dermatologically",GG="intra-arterial",ZG="intracutaneous",KG="intradermally",QG="ophtalmological",XG="cutaneous injection",JG="dermal injection",eZ="nose left",tZ="nose right",aZ="both nostrils",iZ="eye left",nZ="eye right",rZ="both eyes",oZ="ear left",sZ="ear right",lZ="both ears",cZ="vitreal injection",dZ="transdermal",uZ="hyperdermoclyse",Oke={"00001":IY,"00002":AY,"00003":TY,"00004":OY,"00005":MY,"00006":RY,"00007":PY,"00008":NY,"00009":LY,"00010":FY,"00011":VY,"00012":zY,"00013":BY,"00014":jY,"00015":HY,"00016":UY,"00017":WY,"00018":qY,"00019":$Y,"00020":YY,"00021":GY,"00022":ZY,"00023":KY,"00024":QY,"00025":XY,"00026":JY,"00027":eG,"00028":tG,"00029":aG,"00030":iG,"00031":nG,"00032":rG,"00033":oG,"00034":sG,"00035":lG,"00036":cG,"00037":dG,"00038":uG,"00039":hG,"00040":pG,"00041":mG,"00042":fG,"00043":gG,"00044":bG,"00045":vG,"00046":yG,"00047":_G,"00048":xG,"00049":wG,"00050":kG,"00051":CG,"00052":SG,"00053":EG,"00054":DG,"00055":IG,"00056":AG,"00057":TG,"00058":OG,"00059":MG,"00060":RG,"00061":PG,"00062":NG,"00063":LG,"00064":FG,"00065":VG,"00066":zG,"00067":BG,"00068":jG,"00069":HG,"00070":UG,"00071":WG,"00072":qG,"00073":$G,derm:YG,larter:GG,icut:ZG,ider:KG,oft:QG,"cutaneous-injection":XG,"dermal-injection":JG,"nose-left":eZ,"nose-right":tZ,"both-nostrils":aZ,"eye-left":iZ,"eye-right":nZ,"both-eyes":rZ,"ear-left":oZ,"ear-right":sZ,"both-ears":lZ,"vitreal-injection":cZ,transdermal:dZ,hyperdermoclyse:uZ},hZ={};ve(hZ,{"00001":()=>pZ,"00002":()=>mZ,"00005":()=>fZ,"00008":()=>gZ,"00009":()=>bZ,"00010":()=>vZ,"00011":()=>yZ,"00012":()=>_Z,"00013":()=>xZ,"00033":()=>wZ,"00034":()=>kZ,"00035":()=>CZ,"00045":()=>SZ,"00046":()=>EZ,"00049":()=>DZ,"00051":()=>IZ,"00052":()=>AZ,"00053":()=>TZ,"00054":()=>OZ,"00055":()=>MZ,"00056":()=>RZ,"00060":()=>PZ,"00064":()=>NZ,"00066":()=>LZ,"00067":()=>FZ,"00068":()=>VZ,"00070":()=>zZ,"00071":()=>BZ,"00072":()=>jZ,"00073":()=>HZ,"both-ears":()=>nK,"both-eyes":()=>tK,"both-nostrils":()=>XZ,"cutaneous-injection":()=>GZ,default:()=>Mke,derm:()=>UZ,"dermal-injection":()=>ZZ,"ear-left":()=>aK,"ear-right":()=>iK,"eye-left":()=>JZ,"eye-right":()=>eK,hyperdermoclyse:()=>sK,icut:()=>qZ,ider:()=>$Z,larter:()=>WZ,"nose-left":()=>KZ,"nose-right":()=>QZ,oft:()=>YZ,transdermal:()=>oK,"vitreal-injection":()=>rK});var pZ="dans l’oreille",mZ="sur la peau",fZ="injection en dehors de la méninge",gZ="dans la trachée",bZ="introduire dans le col de l’utérus",vZ="injection dans l’artère",yZ="injection dans le pénis",_Z="injection dans la peau",xZ="injection dans un muscle",wZ="injection dans la moelle épinière",kZ="introduire dans l’utérus",CZ="injection dans une veine",SZ="dans la vessie",EZ="perfusion",DZ="inhalation",IZ="injection",AZ="lèvre",TZ="local",OZ="sur la muqueuse",MZ="dans le nez",RZ="dans les yeux",PZ="prendre/avaler",NZ="par la bouche",LZ="par la bouche et dans le nez",FZ="par voie rectale",VZ="injection sous-cutanée",zZ="sous la langue",BZ="sur les dents",jZ="dans l’uretère",HZ="par voie vaginale",UZ="dermatologique",WZ="intra-artérielle",qZ="intracutané",$Z="intradermique",YZ="ophtalmologique",GZ="injection cutanée",ZZ="injection dermique",KZ="nez gauche",QZ="nez droite",XZ="les deux narines",JZ="oeil gauche",eK="oeil droite",tK="les deux yeux",aK="oreille gauche",iK="oreille droite",nK="les deux oreilles",rK="injection vitrale",oK="transdermique",sK="hyperdermoclyse",Mke={"00001":pZ,"00002":mZ,"00005":fZ,"00008":gZ,"00009":bZ,"00010":vZ,"00011":yZ,"00012":_Z,"00013":xZ,"00033":wZ,"00034":kZ,"00035":CZ,"00045":SZ,"00046":EZ,"00049":DZ,"00051":IZ,"00052":AZ,"00053":TZ,"00054":OZ,"00055":MZ,"00056":RZ,"00060":PZ,"00064":NZ,"00066":LZ,"00067":FZ,"00068":VZ,"00070":zZ,"00071":BZ,"00072":jZ,"00073":HZ,derm:UZ,larter:WZ,icut:qZ,ider:$Z,oft:YZ,"cutaneous-injection":GZ,"dermal-injection":ZZ,"nose-left":KZ,"nose-right":QZ,"both-nostrils":XZ,"eye-left":JZ,"eye-right":eK,"both-eyes":tK,"ear-left":aK,"ear-right":iK,"both-ears":nK,"vitreal-injection":rK,transdermal:oK,hyperdermoclyse:sK},lK={};ve(lK,{"00001":()=>cK,"00002":()=>dK,"00005":()=>uK,"00008":()=>hK,"00009":()=>pK,"00010":()=>mK,"00011":()=>fK,"00012":()=>gK,"00013":()=>bK,"00033":()=>vK,"00034":()=>yK,"00035":()=>_K,"00045":()=>xK,"00046":()=>wK,"00049":()=>kK,"00051":()=>CK,"00052":()=>SK,"00053":()=>EK,"00054":()=>DK,"00055":()=>IK,"00056":()=>AK,"00060":()=>TK,"00064":()=>OK,"00066":()=>MK,"00067":()=>RK,"00068":()=>PK,"00070":()=>NK,"00071":()=>LK,"00072":()=>FK,"00073":()=>VK,"both-ears":()=>eQ,"both-eyes":()=>QK,"both-nostrils":()=>GK,"cutaneous-injection":()=>WK,default:()=>Rke,derm:()=>zK,"dermal-injection":()=>qK,"ear-left":()=>XK,"ear-right":()=>JK,"eye-left":()=>ZK,"eye-right":()=>KK,hyperdermoclyse:()=>iQ,icut:()=>jK,ider:()=>HK,larter:()=>BK,"nose-left":()=>$K,"nose-right":()=>YK,oft:()=>UK,transdermal:()=>aQ,"vitreal-injection":()=>tQ});var cK="in het oor",dK="op de huid",uK="inspuiting buiten het hersenvlies",hK="in de luchtpijp",pK="inbrengen in de baarmoederhals",mK="inspuiting in een slagader",fK="inspuiting in de penis",gK="inspuiting in de huid",bK="inspuiting in een spier",vK="inspuiting in het ruggenmerg",yK="inbrengen in de baarmoeder",_K="inspuiting in een ader",xK="in de urineblaas",wK="infuus",kK="inhalatie",CK="inspuiting",SK="op de lippen",EK="lokaal",DK="op het slijmvlies",IK="in de neus",AK="in de ogen",TK="innemen",OK="in de mond",MK="in de mond en in de neus",RK="anaal opsteken",PK="onderhuidse inspuiting",NK="onder de tong",LK="op de tanden",FK="in de urineleider",VK="vaginaal",zK="dermatologisch",BK="intra-arterieel",jK="intracutaan",HK="intradermaal",UK="oftalmologisch",WK="cutane injectie",qK="dermale injectie",$K="neus links",YK="neus rechts",GK="beide neusgaten",ZK="oog links",KK="oog rechts",QK="beide ogen",XK="oor links",JK="oor rechts",eQ="beide oren",tQ="vitreale injectie",aQ="transdermaal",iQ="hyperdermoclyse",Rke={"00001":cK,"00002":dK,"00005":uK,"00008":hK,"00009":pK,"00010":mK,"00011":fK,"00012":gK,"00013":bK,"00033":vK,"00034":yK,"00035":_K,"00045":xK,"00046":wK,"00049":kK,"00051":CK,"00052":SK,"00053":EK,"00054":DK,"00055":IK,"00056":AK,"00060":TK,"00064":OK,"00066":MK,"00067":RK,"00068":PK,"00070":NK,"00071":LK,"00072":FK,"00073":VK,derm:zK,larter:BK,icut:jK,ider:HK,oft:UK,"cutaneous-injection":WK,"dermal-injection":qK,"nose-left":$K,"nose-right":YK,"both-nostrils":GK,"eye-left":ZK,"eye-right":KK,"both-eyes":QK,"ear-left":XK,"ear-right":JK,"both-ears":eQ,"vitreal-injection":tQ,transdermal:aQ,hyperdermoclyse:iQ},Pke={nl:lK,fr:hZ,de:O$,en:DY},nQ={};ve(nQ,{default:()=>Nke,rsb:()=>sQ,rsw:()=>oQ,vitalink:()=>rQ});var rQ="Vitalink",oQ="Réseau Santé Wallon",sQ="Brüsseler Gesundheitsnetzwerk",Nke={vitalink:rQ,rsw:oQ,rsb:sQ},lQ={};ve(lQ,{default:()=>Lke,rsb:()=>uQ,rsw:()=>dQ,vitalink:()=>cQ});var cQ="Vitalink",dQ="Réseau Santé Wallon",uQ="Brussels Health Network",Lke={vitalink:cQ,rsw:dQ,rsb:uQ},hQ={};ve(hQ,{default:()=>Fke,rsb:()=>fQ,rsw:()=>mQ,vitalink:()=>pQ});var pQ="Vitalink",mQ="Réseau Santé Wallon",fQ="Réseau Santé Bruxellois",Fke={vitalink:pQ,rsw:mQ,rsb:fQ},gQ={};ve(gQ,{default:()=>Vke,rsb:()=>yQ,rsw:()=>vQ,vitalink:()=>bQ});var bQ="Vitalink",vQ="Réseau Santé Wallon",yQ="Brusselse Gezondheidsnetwerk",Vke={vitalink:bQ,rsw:vQ,rsb:yQ},zke={nl:gQ,fr:hQ,de:nQ,en:lQ},_Q={};ve(_Q,{author:()=>kQ,date:()=>CQ,default:()=>Bke,medicationName:()=>xQ,role:()=>SQ,"sorting-ascendant":()=>EQ,"sorting-descendent":()=>DQ,validityDate:()=>wQ});var xQ="Arzneimittel",wQ="Ablaufdatum",kQ="Verfasser",CQ="Datum",SQ="Benutzerrolle",EQ="Aufsteigend sortieren",DQ="Absteigend sortieren",Bke={medicationName:xQ,validityDate:wQ,author:kQ,date:CQ,role:SQ,"sorting-ascendant":EQ,"sorting-descendent":DQ},IQ={};ve(IQ,{author:()=>RQ,date:()=>PQ,default:()=>jke,medicationName:()=>AQ,role:()=>NQ,"sorting-ascendant":()=>OQ,"sorting-descendent":()=>MQ,validityDate:()=>TQ});var AQ="Drug",TQ="Validity",OQ="Sort by ascending order",MQ="Sort by descending order",RQ="Author",PQ="Date",NQ="Role",jke={medicationName:AQ,validityDate:TQ,"sorting-ascendant":OQ,"sorting-descendent":MQ,author:RQ,date:PQ,role:NQ},LQ={};ve(LQ,{author:()=>zQ,date:()=>BQ,default:()=>Hke,medicationName:()=>FQ,role:()=>jQ,"sorting-ascendant":()=>HQ,"sorting-descendent":()=>UQ,validityDate:()=>VQ});var FQ="Médicament",VQ="Validité",zQ="Auteur",BQ="Date",jQ="Qualité",HQ="Trier par ordre croissant",UQ="Trier par ordre décroissant",Hke={medicationName:FQ,validityDate:VQ,author:zQ,date:BQ,role:jQ,"sorting-ascendant":HQ,"sorting-descendent":UQ},WQ={};ve(WQ,{author:()=>YQ,date:()=>GQ,default:()=>Uke,medicationName:()=>qQ,role:()=>ZQ,"sorting-ascendant":()=>KQ,"sorting-descendent":()=>QQ,validityDate:()=>$Q});var qQ="Geneesmiddel",$Q="Geldigheid",YQ="Auteur",GQ="Datum",ZQ="Rol",KQ="Oplopend sorteren",QQ="Aflopend sorteren",Uke={medicationName:qQ,validityDate:$Q,author:YQ,date:GQ,role:ZQ,"sorting-ascendant":KQ,"sorting-descendent":QQ},Wke={nl:WQ,fr:LQ,de:_Q,en:IQ},XQ={};ve(XQ,{author:()=>nX,default:()=>qke,profession:()=>rX,source:()=>iX,title:()=>JQ,updated:()=>tX,updatedBy:()=>aX,version:()=>eX});var JQ="Versionsdetails",eX="Version",tX="Aktualisiert am",aX="Von",iX="Ursprung",nX="Verfasser",rX="Beruf",qke={title:JQ,version:eX,updated:tX,updatedBy:aX,source:iX,author:nX,profession:rX},oX={};ve(oX,{author:()=>hX,default:()=>$ke,profession:()=>pX,source:()=>uX,title:()=>sX,updated:()=>cX,updatedBy:()=>dX,version:()=>lX});var sX="Version details",lX="Version",cX="Updated on",dX="By",uX="Source",hX="Author",pX="Appeal",$ke={title:sX,version:lX,updated:cX,updatedBy:dX,source:uX,author:hX,profession:pX},mX={};ve(mX,{author:()=>_X,default:()=>Yke,profession:()=>xX,source:()=>yX,title:()=>fX,updated:()=>bX,updatedBy:()=>vX,version:()=>gX});var fX="Détails de la version",gX="Version",bX="Mis à jour le",vX="Par",yX="Source",_X="Auteur",xX="Profession",Yke={title:fX,version:gX,updated:bX,updatedBy:vX,source:yX,author:_X,profession:xX},wX={};ve(wX,{author:()=>IX,default:()=>Gke,profession:()=>AX,source:()=>DX,title:()=>kX,updated:()=>SX,updatedBy:()=>EX,version:()=>CX});var kX="Versie details",CX="Versie",SX="Bijgewerkt op",EX="Door",DX="Bron",IX="Auteur",AX="Beroep",Gke={title:kX,version:CX,updated:SX,updatedBy:EX,source:DX,author:IX,profession:AX},Zke={nl:wX,fr:mX,de:XQ,en:oX},TX={};ve(TX,{day:()=>OX,default:()=>Kke,moreInformations:()=>BX,nextday:()=>VX,nextweek:()=>LX,openCalendar:()=>zX,previousday:()=>FX,previousweek:()=>NX,returnToCurrentWeek:()=>PX,returnToToday:()=>RX,week:()=>MX});var OX="Tagesansicht",MX="Wochenansicht",RX="Zurück zu heute",PX="Diese Woche",NX="Vorige week",LX="Volgende week",FX="Vorige dag",VX="Volgende dag",zX="den Kalender öffnen",BX="Weitere Informationen",Kke={day:OX,week:MX,returnToToday:RX,returnToCurrentWeek:PX,previousweek:NX,nextweek:LX,previousday:FX,nextday:VX,openCalendar:zX,moreInformations:BX},jX={};ve(jX,{day:()=>HX,default:()=>Qke,moreInformations:()=>QX,nextday:()=>ZX,nextweek:()=>YX,openCalendar:()=>KX,previousday:()=>GX,previousweek:()=>$X,returnToCurrentWeek:()=>qX,returnToToday:()=>WX,week:()=>UX});var HX="Day overview",UX="Week overview",WX="Back to today",qX="Present week",$X="Previous week",YX="Next week",GX="Previous day",ZX="Next day",KX="open the calendar",QX="More information",Qke={day:HX,week:UX,returnToToday:WX,returnToCurrentWeek:qX,previousweek:$X,nextweek:YX,previousday:GX,nextday:ZX,openCalendar:KX,moreInformations:QX},XX={};ve(XX,{day:()=>JX,default:()=>Xke,moreInformations:()=>lJ,nextday:()=>oJ,nextweek:()=>nJ,openCalendar:()=>sJ,previousday:()=>rJ,previousweek:()=>iJ,returnToCurrentWeek:()=>aJ,returnToToday:()=>tJ,week:()=>eJ});var JX="Vue journalière",eJ="Vue semaine",tJ="Revenir à aujourd'hui",aJ="Cette semaine",iJ="Semaine précédente",nJ="Semaine suivante",rJ="Jour précédent",oJ="Jour suivant",sJ="Ouvrir le calendrier",lJ="Plus d'informations",Xke={day:JX,week:eJ,returnToToday:tJ,returnToCurrentWeek:aJ,previousweek:iJ,nextweek:nJ,previousday:rJ,nextday:oJ,openCalendar:sJ,moreInformations:lJ},cJ={};ve(cJ,{day:()=>dJ,default:()=>Jke,moreInformations:()=>yJ,nextday:()=>bJ,nextweek:()=>fJ,openCalendar:()=>vJ,previousday:()=>gJ,previousweek:()=>mJ,returnToCurrentWeek:()=>pJ,returnToToday:()=>hJ,week:()=>uJ});var dJ="Dagoverzicht",uJ="Weekoverzicht",hJ="Terug naar vandaag",pJ="Huidige week",mJ="vorherige Woche",fJ="nächste Woche",gJ="vorheriger Tag",bJ="nächster Tag",vJ="de kalender openen",yJ="Meer informatie",Jke={day:dJ,week:uJ,returnToToday:hJ,returnToCurrentWeek:pJ,previousweek:mJ,nextweek:fJ,previousday:gJ,nextday:bJ,openCalendar:vJ,moreInformations:yJ},eCe={nl:cJ,fr:XX,de:TX,en:jX},_J={};ve(_J,{comment:()=>PJ,default:()=>tCe,end:()=>SJ,endCondition:()=>MJ,indication:()=>wJ,instructions:()=>RJ,medication:()=>xJ,noDetails:()=>NJ,periodicity:()=>IJ,posologie:()=>AJ,prescriber:()=>kJ,quantity:()=>DJ,route:()=>TJ,start:()=>CJ,startCondition:()=>OJ,suspension:()=>EJ});var xJ="Arzneimittel",wJ="Grund",kJ="verschreibende Person",CJ="Beginn",SJ="Ende",EJ={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},DJ="Darreichungsform",IJ="Abstand",AJ="Dosierung",TJ="Verabreichung",OJ="Anfangszustand",MJ="Endzustand",RJ="Hinweise",PJ="Kommentar",NJ="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",tCe={medication:xJ,indication:wJ,prescriber:kJ,start:CJ,end:SJ,suspension:EJ,quantity:DJ,periodicity:IJ,posologie:AJ,route:TJ,startCondition:OJ,endCondition:MJ,instructions:RJ,comment:PJ,noDetails:NJ},LJ={};ve(LJ,{comment:()=>KJ,default:()=>aCe,end:()=>jJ,endCondition:()=>GJ,indication:()=>VJ,instructions:()=>ZJ,medication:()=>FJ,noDetails:()=>QJ,periodicity:()=>WJ,posologie:()=>qJ,prescriber:()=>zJ,quantity:()=>UJ,route:()=>$J,start:()=>BJ,startCondition:()=>YJ,suspension:()=>HJ});var FJ="Medication",VJ="Reason",zJ="Prescriber",BJ="Beginning",jJ="End",HJ={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},UJ="Pharmaceutical form",WJ="Frequency",qJ="Dosage",$J="Route of administration",YJ="Condition at the beginning",GJ="Condition at the end",ZJ="Instructions ",KJ="Comments",QJ="The requested information has been deleted or doesn't exist.",aCe={medication:FJ,indication:VJ,prescriber:zJ,start:BJ,end:jJ,suspension:HJ,quantity:UJ,periodicity:WJ,posologie:qJ,route:$J,startCondition:YJ,endCondition:GJ,instructions:ZJ,comment:KJ,noDetails:QJ},XJ={};ve(XJ,{comment:()=>hee,default:()=>iCe,end:()=>iee,endCondition:()=>dee,indication:()=>eee,instructions:()=>uee,medication:()=>JJ,noDetails:()=>pee,periodicity:()=>oee,posologie:()=>see,prescriber:()=>tee,quantity:()=>ree,route:()=>lee,start:()=>aee,startCondition:()=>cee,suspension:()=>nee});var JJ="Médicament",eee="Raison",tee="Prescripteur",aee="Début",iee="Fin",nee={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},ree="Forme pharmaceutique",oee="Fréquence",see="Posologie",lee="Voie d’administration",cee="Condition de début",dee="Condition de fin",uee="Instructions",hee="Commentaire",pee="Le médicament demandée a été supprimée ou n'existe pas.",iCe={medication:JJ,indication:eee,prescriber:tee,start:aee,end:iee,suspension:nee,quantity:ree,periodicity:oee,posologie:see,route:lee,startCondition:cee,endCondition:dee,instructions:uee,comment:hee,noDetails:pee},mee={};ve(mee,{comment:()=>Iee,default:()=>nCe,end:()=>yee,endCondition:()=>Eee,indication:()=>gee,instructions:()=>Dee,medication:()=>fee,noDetails:()=>Aee,periodicity:()=>wee,posologie:()=>kee,prescriber:()=>bee,quantity:()=>xee,route:()=>Cee,start:()=>vee,startCondition:()=>See,suspension:()=>_ee});var fee="Geneesmiddel",gee="Reden",bee="Voorschrijver",vee="Start",yee="Einde",_ee={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},xee="Farmaceutische vorm",wee="Frequentie",kee="Posologie",Cee="Toedieningsweg",See="Beginconditie",Eee="Eindconditie",Dee="Instructies",Iee="Commentaar",Aee="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",nCe={medication:fee,indication:gee,prescriber:bee,start:vee,end:yee,suspension:_ee,quantity:xee,periodicity:wee,posologie:kee,route:Cee,startCondition:See,endCondition:Eee,instructions:Dee,comment:Iee,noDetails:Aee},rCe={nl:mee,fr:XJ,de:_J,en:LJ},Tee={};ve(Tee,{all:()=>Oee,atYourConvenienceText:()=>zee,consultDetails:()=>Lee,current:()=>Mee,days:()=>Bee,default:()=>oCe,disclaimer:()=>Uee,future:()=>Ree,headers:()=>Nee,noMedications:()=>Hee,remarks:()=>Fee,return:()=>Pee,toPlan:()=>Vee,toTake:()=>jee});var Oee="Vollständige Liste",Mee="Aktuel",Ree="Künftig",Pee="Zurück zur Übersicht",Nee={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},Lee="Siehe Details",Fee={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},Vee="Noch zu vereinbaren",zee="Einige Medikamente wurden vom Arzt keiner bestimmten Tageszeit zugeordnet und werden deshalb unter 'Spezifische Anweisungen' angezeigt. Wenn Ihr Arzt Hinweise zur Einnahme des Arzneimittels gegeben hat, halten Sie diese bitte ein. Wenn dieses Medikament in bestimmten Abständen eingenommen werden muss, halten Sie sich bitte den ganzen Tag daran.",Bee={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},jee="am {days} zu nehmen",Hee={all:"Es wurden keine Arzneimitteln gefunden",current:"Es wurden keine Aktuelle Arzneimitteln gefunden",future:"Es wurden keine Künftige Arzneimitteln gefunden",day:"Es wurden keine Arzneimitteln für diesen Tag und diese Tageszeit gefunden",week:"Es wurden keine Arzneimitteln für diesen Woche und diese Tageszeit gefunden"},Uee="Dies ist ein Medikamentenplan, der von Ihrem Pflegeteam verwaltet und über {safe} geteilt wird. Weitere Informationen finden Sie unter {safe}. Die Informationen im Medikamentenplan, den Sie anfordern möchten, sind möglicherweise nicht vollständig. Denken Sie daran, wenn Sie sich auf diesen Medikamentenplan stützen.",oCe={all:Oee,current:Mee,future:Ree,return:Pee,headers:Nee,consultDetails:Lee,remarks:Fee,toPlan:Vee,atYourConvenienceText:zee,days:Bee,toTake:jee,noMedications:Hee,disclaimer:Uee},Wee={};ve(Wee,{all:()=>qee,atYourConvenienceText:()=>ete,consultDetails:()=>Kee,current:()=>$ee,days:()=>tte,default:()=>sCe,disclaimer:()=>nte,future:()=>Yee,headers:()=>Zee,noMedications:()=>ite,notSpecified:()=>Qee,remarks:()=>Xee,return:()=>Gee,toPlan:()=>Jee,toTake:()=>ate});var qee="Complete list",$ee="Current",Yee="Future",Gee="Back to overview",Zee={moment:"Moment",medication:"Medication",dose:"Dose",indication:"Reason",dayperiod:"Time",remark:"Note",leaflet:"Leaflet",days:"Number of days",startCondition:"Condition at the beginning",instructions:"Instructions "},Kee="See details",Qee="Dosage not filled",Xee={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},Jee="Remains to be planned",ete="Some medications are not assigned to a specific time of day by the doctor and are therefore placed in ‘Specific instructions’. If your doctor gave instructions regarding the moment you must take the medication, follow them up. If the medication must be taken according to a specific scheme, stick to it during the whole day.",tte={monday:"Mon",tuesday:"Tue",thursday:"Thu",wednesday:"Wed",friday:"Fri",saturday:"Sat",sunday:"Sun",allDays:"Every day"},ate="To take on {days}",ite={all:"No medication was found.",current:"No present medication was found.",future:"No future medication was found.",day:"No medication was found for this day with that moment.",week:"No medication was found for this day week with that moment."},nte="This is a medication scheme managed by your care team and shared via {safe}. More information to be found on {safe}. The information contained in the medication scheme that you wish to question is maybe incomplete. Take that into account if you base yourself on that medication scheme.",sCe={all:qee,current:$ee,future:Yee,return:Gee,headers:Zee,consultDetails:Kee,notSpecified:Qee,remarks:Xee,toPlan:Jee,atYourConvenienceText:ete,days:tte,toTake:ate,noMedications:ite,disclaimer:nte},rte={};ve(rte,{all:()=>ote,atYourConvenienceText:()=>mte,consultDetails:()=>ute,current:()=>ste,days:()=>fte,default:()=>lCe,disclaimer:()=>vte,future:()=>lte,headers:()=>dte,noMedications:()=>bte,remarks:()=>hte,return:()=>cte,toPlan:()=>pte,toTake:()=>gte});var ote="Toute la liste",ste="En cours",lte="futur",cte="Retour à la vue d'ensemble",dte={moment:"Moment",medication:"Médicament",dose:"Dose",indication:"Raison",dayperiod:"Période",remark:"Remarque",leaflet:"Notice",days:"Jours",startCondition:"Condition de début",instructions:"Instructions"},ute="Voir les détails",hte={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},pte="À convenir",mte="Quelques médicaments n’ont pas été assignés à une période précise de la journée par le médecin, et sont donc placés dans ‘Instructions spécifiques’. Si votre médecin a donné des instructions pour le moment de la prise du médicament, veuillez les suivre. Si ce médicament doit être pris selon une fréquence horaire précise, veuillez respecter cette consigne tout au long de la journée.",fte={monday:"Lun",tuesday:"Mar",wednesday:"Mer",thursday:"Jeu",friday:"Ven",saturday:"Sam",sunday:"Dim",allDays:"Tous les jours"},gte="À prendre {days}",bte={all:"Aucun médicament a été trouvé",current:"Aucun médicament actuel a été trouvé",future:"Aucun médicament futur a été trouvé",day:"Aucun médicament a été trouvé pour ce jour avec cette période de la journée",week:"Aucun médicament a été trouvé pour cette semaine avec cette période de la journée"},vte="Il s’agit d’un schéma de médication qui est géré par votre équipe de soins et partagé via le(s) portail(s) {safe}. Plus d’informations peuvent être trouvées sur le(s) portail(s) {safe}. Il est possible que les informations figurant dans le schéma de médication que vous souhaitez demander ne soient pas complètes. Prenez cela en considération lorsque vous vous basez sur ce schéma de médication.",lCe={all:ote,current:ste,future:lte,return:cte,headers:dte,consultDetails:ute,remarks:hte,toPlan:pte,atYourConvenienceText:mte,days:fte,toTake:gte,noMedications:bte,disclaimer:vte},yte={};ve(yte,{all:()=>_te,atYourConvenienceText:()=>Ate,consultDetails:()=>Ste,current:()=>xte,days:()=>Tte,default:()=>cCe,disclaimer:()=>Rte,future:()=>wte,headers:()=>Cte,noMedications:()=>Mte,notSpecified:()=>Ete,remarks:()=>Dte,return:()=>kte,toPlan:()=>Ite,toTake:()=>Ote});var _te="Volledige lijst",xte="Huidig",wte="Toekomstig",kte="Terug naar overzicht",Cte={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},Ste="Zie details",Ete="Dosering niet ingevuld",Dte={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},Ite="Nog in te plannen",Ate="Sommige medicijnen zijn door de arts niet aan een bepaald tijdstip van de dag toegewezen en worden daarom in 'Specifieke instructies' geplaatst. Als uw arts instructies heeft gegeven voor wanneer u het geneesmiddel moet innemen, volg die dan op. Als dit medicijn volgens een bepaald schema moet worden ingenomen, houdt u hier dan de hele dag aan.",Tte={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Woe",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},Ote="Te nemen op {days}",Mte={all:"Er werden geneesmiddelen gevonden",current:"Er werden geen huidige geneesmiddelen gevonden",future:"Er werden geen toekomstige geneesmiddelen gevonden",day:"Er werden geen geneesmiddelen voor deze dag met deze tijdstip gevonden",week:"Er werden geen geneesmiddelen voor deze week met deze tijdstip gevonden"},Rte="Dit is een medicatieschema dat wordt beheerd door uw zorgteam en wordt gedeeld via {safe}. Meer informatie te vinden op {safe}. De informatie opgenomen in het medicatieschema dat u wenst op te vragen, is mogelijk niet volledig. Houd hier rekening mee wanneer u zich baseert op dit medicatieschema.",cCe={all:_te,current:xte,future:wte,return:kte,headers:Cte,consultDetails:Ste,notSpecified:Ete,remarks:Dte,toPlan:Ite,atYourConvenienceText:Ate,days:Tte,toTake:Ote,noMedications:Mte,disclaimer:Rte},dCe={nl:yte,fr:rte,de:Tee,en:Wee},Pte={};ve(Pte,{default:()=>uCe,flanders:()=>Fte,subtitle:()=>Lte,title:()=>Nte,walloniaBrussels:()=>Vte});var Nte="Medikamentenplan",Lte="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",Fte={intro:"Ich lebe in Flandern",text:"Es liegt noch kein Medikamentenplan für Sie vor. Sie nehmen Arzneimittel ein, haben aber noch keinen Medikamentenplan? Bitten Sie Ihren behandelnden Arzt, einen zu erstellen.",introPro:"Ihr Patient lebt in Flandern",textPro:"Wenn Ihr Patient seinen Wohnsitz in Flandern hat und Sie sehen kein gemeinsames Medikationsschema auf seinem oder ihrem Namen, dann es gibt keinen Medikamenten-Zeitplan für ihn oder sie. Wenn Ihr Patient Medikamente nimmt, aber noch keinen Medikamentenplan hat, dann können Sie ein Medikationsschema erstellen über über die Software für Arzte oder Apotheker."},Vte={intro:"Ich lebe in Wallonien oder in Brüssel",text1:"Wenn Sie mit Ihrem Namen angemeldet sind, steht Ihnen noch keine Medikation zur Verfügung. Nehmen Sie Medikamente ein, haben aber noch keine Medikation? Zögern Sie nicht, Ihren Arzt zu bitten, es zu erstellen.",text2:"Wenn Sie als Bevollmächtigter für eine andere Person oder als Elternteil eines minderjährigen Kindes angemeldet sind, haben Sie über diese Anwendung keinen Zugriff auf das Medikamentenplan. Sie können jedoch den Medikamentenplan in den regionalen Gesundheitssafes ‘Réseau Santé Wallon’ oder ‘Réseau Santé Bruxellois’ einsehen.",introPro:"Ihr Patient lebt in Wallonien oder in Brüssel",textPro:'Sie können direkt über das regionale Portal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=de">Réseau Santé Wallon</a> oder das regionale Portal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=en">Brüsseler Gesundheitsnetzwerk</a>'},uCe={title:Nte,subtitle:Lte,flanders:Fte,walloniaBrussels:Vte},zte={};ve(zte,{default:()=>hCe,flanders:()=>Hte,subtitle:()=>jte,title:()=>Bte,walloniaBrussels:()=>Ute});var Bte="Medication scheme",jte="What to do if I I don't see any content in this part?",Hte={intro:"I live in Flanders",text:"No shared medication scheme has been shared yet. If you use medication you don't have a medication scheme yet, ask your doctor to make create one for you.",introPro:"Your patient lives in Flanders",textPro:"There is no medication schedule for him yet. Is your patient taking medication but doesn't have a medication schedule yet? You can create one using the software for doctors or pharmacists."},Ute={intro:"I live in Wallonia or in Brussels",text1:"If you are registered in your own name, then no medication scheme is available for you at the moment. If you use medication while you don't have a medication scheme yet, ask your doctor to make create one for you.",text2:"If you are registered as a mandate holder for another person or as a parent of a minor child, you cannot access the medication scheme by using this application. However, you can view the current medication scheme on the regional health safes ‘Réseau Santé Wallon’ or the ‘Brussels Health Network’.",introPro:"Your patient lives in Wallonia or Brussels",textPro:`You can directly access your patient's medication schedule via the regional portal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=fr">Réseau Santé Wallon</a> or via the regional portal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=fr">Réseau Santé Bruxellois</a>`},hCe={title:Bte,subtitle:jte,flanders:Hte,walloniaBrussels:Ute},Wte={};ve(Wte,{default:()=>pCe,flanders:()=>Yte,subtitle:()=>$te,title:()=>qte,walloniaBrussels:()=>Gte});var qte="Schéma de médication",$te="Que faire si je ne vois aucun contenu dans cette partie ?",Yte={intro:"J’habite en Flandre",text:"Il n’y a pas encore de schéma de médication à votre nom. Vous prenez des médicaments mais vous n’avez pas encore de schéma de médication ? N’hésitez pas à demander à votre médecin traitant de le créer.",introPro:"Votre patient habite en Flandre",textPro:"Il n’y a pas encore de schéma de médication pour lui. Votre patient prend des médicaments mais n’a pas encore de schéma de médication ? Vous pouvez en créer un via le logiciel pour les médecins ou les pharmaciens"},Gte={intro:"J’habite en Wallonie ou à Bruxelles",text1:"Si vous êtes connecté à votre nom, il n’y a pas encore de schéma de médication disponible pour vous. Vous prenez des médicaments mais vous n’avez pas encore de schéma de médication ? N’hésitez pas à demander à votre médecin traitant de le créer.",text2:"Si vous êtes connecté comme mandataire pour une autre personne ou comme parent d’un enfant mineur, vous n’avez pas accès au schéma de médication via cette application. Vous pouvez toutefois consulter le schéma de médication dans les coffres-forts régionaux de santé via les portails ‘Réseau Santé Wallon’ et du ‘Réseau Santé Bruxellois’",introPro:"Votre patient habite en Wallonie ou à Bruxelles",textPro:'Vous pouvez accéder directement au schéma de médication de votre patient via le portail régional <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=fr">Réseau Santé Wallon</a> ou le portail régional <a class="link" href="https://webapp.abrumet.be/portal/pro?l=fr">Réseau Santé Bruxellois</a>'},pCe={title:qte,subtitle:$te,flanders:Yte,walloniaBrussels:Gte},Zte={};ve(Zte,{default:()=>mCe,flanders:()=>Xte,subtitle:()=>Qte,title:()=>Kte,walloniaBrussels:()=>Jte});var Kte="Medicatieschema",Qte="Wat te doen indien ik geen inhoud zie in dit deel?",Xte={intro:"Ik woon in Vlaanderen",text:"Er is voor u nog geen gedeeld medicatieschema beschikbaar. Als u medicijnen gebruikt en nog geen medicatieschema heeft, vraagt u aan uw arts er een aan te maken voor u",introPro:"Uw patiënt woont in Vlaanderen",textPro:"Als uw patiënt gedomicilieerd is in Vlaanderen en u ziet geen gedeeld medicatieschema op zijn of haar naam, dan is er nog geen. Indien uw patiënt wel geneesmiddelen neemt, maar nog geen medicatieschema heeft, dan kan u een medicatieschema aanmaken via de software voor huisartsen of apothekers."},Jte={intro:"Ik woon in Wallonië of Brussel",text1:"Indien u aangemeld bent in eigen naam, dan is er voor u nog geen medicatieschema beschikbaar. Als u medicijnen gebruikt en nog geen medicatieschema heeft, vraagt u aan uw arts er een aan te maken voor u.",text2:"Indien u aangemeld bent als mandaathouder voor een andere persoon of als ouder van een minderjarig kind, dan heeft u via deze applicatie geen toegang tot het medicatieschema. U kan wel het actuele medicatieschema bekijken bij de regionale gezondheidskluizen ‘Réseau Santé Wallon’ of het ‘Brusselse Gezondheidsnetwerk’.",introPro:"Uw patiënt woont in Wallonië of Brussel",textPro:'U kan rechtstreeks toegang krijgen tot het medicatieschema van uw patiënt via het regionaal portaal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=nl">Réseau Santé Wallon</a> of het regionaal portaal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=nl">Brusselse Gezondheidsnetwerk</a>'},mCe={title:Kte,subtitle:Qte,flanders:Xte,walloniaBrussels:Jte},fCe={nl:Zte,fr:Wte,de:Pte,en:zte},eae={};ve(eae,{day:()=>iae,default:()=>gCe,list:()=>tae,week:()=>aae});var tae="Liste",aae="Woche",iae="Tag",gCe={list:tae,week:aae,day:iae},nae={};ve(nae,{day:()=>sae,default:()=>bCe,list:()=>rae,week:()=>oae});var rae="List",oae="Week",sae="Day",bCe={list:rae,week:oae,day:sae},lae={};ve(lae,{day:()=>uae,default:()=>vCe,list:()=>cae,week:()=>dae});var cae="Liste",dae="Semaine",uae="Jour",vCe={list:cae,week:dae,day:uae},hae={};ve(hae,{day:()=>fae,default:()=>yCe,list:()=>pae,week:()=>mae});var pae="Lijst",mae="Week",fae="Dag",yCe={list:pae,week:mae,day:fae},_Ce={nl:hae,fr:lae,de:eae,en:nae},gae={};ve(gae,{default:()=>xCe,evening:()=>_ae,ifNeeded:()=>wae,morning:()=>vae,night:()=>xae,noon:()=>yae,toPlan:()=>bae});var bae="Spezifische Anweisungen",vae="Morgen",yae="Mittag und Nachmittag",_ae="Abends",xae="Zubettgehen",wae="Gegebenenfalls",xCe={toPlan:bae,morning:vae,noon:yae,evening:_ae,night:xae,ifNeeded:wae},kae={};ve(kae,{default:()=>wCe,evening:()=>Dae,ifNeeded:()=>Aae,morning:()=>Sae,night:()=>Iae,noon:()=>Eae,toPlan:()=>Cae});var Cae="Specific instructions",Sae="Morning",Eae="Noon and afternoon",Dae="Evening meal",Iae="Going to sleep",Aae="If necessary",wCe={toPlan:Cae,morning:Sae,noon:Eae,evening:Dae,night:Iae,ifNeeded:Aae},Tae={};ve(Tae,{default:()=>kCe,evening:()=>Pae,ifNeeded:()=>Lae,morning:()=>Mae,night:()=>Nae,noon:()=>Rae,toPlan:()=>Oae});var Oae="Instructions spécifiques",Mae="Matin",Rae="Midi et Après-midi",Pae="Soir",Nae="Au coucher",Lae="Si nécessaire",kCe={toPlan:Oae,morning:Mae,noon:Rae,evening:Pae,night:Nae,ifNeeded:Lae},Fae={};ve(Fae,{default:()=>CCe,evening:()=>jae,ifNeeded:()=>Uae,morning:()=>zae,night:()=>Hae,noon:()=>Bae,toPlan:()=>Vae});var Vae="Specifieke instructies",zae="Ochtend",Bae="Middag en namiddag",jae="Avondmaal",Hae="Bij het slapen gaan",Uae="Indien nodig",CCe={toPlan:Vae,morning:zae,noon:Bae,evening:jae,night:Hae,ifNeeded:Uae},SCe={nl:Fae,fr:Tae,de:gae,en:kae},ECe=class extends Hl{getTranslation(e){return Dt({commons:yt(ge({},cke[e]),{days:Jwe[e],errors:nke[e],roles:Ake[e],safes:zke[e],periodicities:mke[e],administrationUnits:Gwe[e],period:yke[e],routes:Pke[e],posology:Cke[e],sortDropdown:Wke[e]}),medicationSchemeListView:dCe[e],medicationSchemeOverview:_Ce[e],medicationSchemeMoments:SCe[e],medicationSchemeNoData:fCe[e],medicationSchemeDateToggler:eCe[e],medicationSchemeCreationDetails:Zke[e],medicationSchemeDetails:rCe[e]})}},DCe=[Fwe,Xve({defaultLanguage:"fr",loader:{provide:Hl,useClass:ECe},compiler:{provide:Wl,useClass:jwe}})];function Gl(e){e||(Sl(),e=_(fi));let t=new kt(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(zt(t))}function Wae(e,t){var c;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&Sl();let a=n?((c=t==null?void 0:t.injector)==null?void 0:c.get(fi))??_(fi):null,i=ICe(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=Ga({kind:0},{equal:i}):r=Ga({kind:1,value:t==null?void 0:t.initialValue},{equal:i});let s,l=e.subscribe({next:d=>r.set({kind:1,value:d}),error:d=>{if(t!=null&&t.rejectErrors)throw d;r.set({kind:2,error:d})},complete:()=>{s==null||s()}});if(t!=null&&t.requireSync&&r().kind===0)throw new J(601,!1);return s=a==null?void 0:a.onDestroy(l.unsubscribe.bind(l)),pa(()=>{let d=r();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new J(601,!1)}},{equal:t==null?void 0:t.equal})}function ICe(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}var qg=["*"];function ACe(e,t){e&1&&Me(0)}var TCe=["tabListContainer"],OCe=["tabList"],MCe=["tabListInner"],RCe=["nextPaginator"],PCe=["previousPaginator"],NCe=["content"];function LCe(e,t){}var FCe=["tabBodyWrapper"],VCe=["tabHeader"];function zCe(e,t){}function BCe(e,t){if(e&1&&V(0,zCe,0,0,"ng-template",12),e&2){let n=L().$implicit;z("cdkPortalOutlet",n.templateLabel)}}function jCe(e,t){if(e&1&&P(0),e&2){let n=L().$implicit;te(n.textLabel)}}function HCe(e,t){if(e&1){let n=gt();D(0,"div",7,2),xe("click",function(){let a=Ce(n),i=a.$implicit,r=a.$index,s=L(),l=Ei(1);return Se(s._handleClick(i,l,r))})("cdkFocusChange",function(a){let i=Ce(n).$index,r=L();return Se(r._tabFocusChanged(a,i))}),Z(2,"span",8)(3,"div",9),D(4,"span",10)(5,"span",11),V(6,BCe,1,1,null,12)(7,jCe,1,1),I()()()}if(e&2){let n=t.$implicit,a=t.$index,i=Ei(1),r=L();Ci(n.labelClass),Ee("mdc-tab--active",r.selectedIndex===a),z("id",r._getTabLabelId(n,a))("disabled",n.disabled)("fitInkBarToContent",r.fitInkBarToContent),be("tabIndex",r._getTabIndex(a))("aria-posinset",a+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(a))("aria-selected",r.selectedIndex===a)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),S(3),z("matRippleTrigger",i)("matRippleDisabled",n.disabled||r.disableRipple),S(3),W(n.templateLabel?6:7)}}function UCe(e,t){e&1&&Me(0)}function WCe(e,t){if(e&1){let n=gt();D(0,"mat-tab-body",13),xe("_onCentered",function(){Ce(n);let a=L();return Se(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){Ce(n);let i=L();return Se(i._setTabBodyWrapperHeight(a))})("_beforeCentering",function(a){Ce(n);let i=L();return Se(i._bodyCentered(a))}),I()}if(e&2){let n=t.$implicit,a=t.$index,i=L();Ci(n.bodyClass),z("id",i._getTabContentId(a))("content",n.content)("position",n.position)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),be("tabindex",i.contentTabIndex!=null&&i.selectedIndex===a?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(n,a))("aria-hidden",i.selectedIndex!==a)}}var qCe=new Y("MatTabContent"),$Ce=(()=>{const t=class t{constructor(){o(this,"template",_(ma))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matTabContent",""]],features:[st([{provide:qCe,useExisting:t}])]}));let e=t;return e})(),YCe=new Y("MatTabLabel"),qae=new Y("MAT_TAB"),GCe=(()=>{const t=class t extends kfe{constructor(){super(...arguments);o(this,"_closestTab",_(qae,{optional:!0}))}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[st([{provide:YCe,useExisting:t}]),ze]}));let e=t;return e})(),$ae=new Y("MAT_TAB_GROUP"),Yae=(()=>{const t=class t{constructor(){o(this,"_viewContainerRef",_(Qa));o(this,"_closestTabGroup",_($ae,{optional:!0}));o(this,"disabled",!1);o(this,"_templateLabel");o(this,"_explicitContent");o(this,"_implicitContent");o(this,"textLabel","");o(this,"ariaLabel");o(this,"ariaLabelledby");o(this,"labelClass");o(this,"bodyClass");o(this,"id",null);o(this,"_contentPortal",null);o(this,"_stateChanges",new ue);o(this,"position",null);o(this,"origin",null);o(this,"isActive",!1);_(Aa).load(Bn)}get templateLabel(){return this._templateLabel}set templateLabel(a){this._setTemplateLabelInput(a)}get content(){return this._contentPortal}ngOnChanges(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new no(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(a){a&&a._closestTab===this&&(this._templateLabel=a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-tab"]],contentQueries:function(a,i,r){if(a&1&&(ht(r,GCe,5),ht(r,$Ce,7,ma)),a&2){let s;ye(s=_e())&&(i.templateLabel=s.first),ye(s=_e())&&(i._explicitContent=s.first)}},viewQuery:function(a,i){if(a&1&&Ye(ma,7),a&2){let r;ye(r=_e())&&(i._implicitContent=r.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(a,i){a&2&&be("id",null)},inputs:{disabled:[2,"disabled","disabled",pe],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[st([{provide:qae,useExisting:t}]),Kt],ngContentSelectors:qg,decls:1,vars:0,template:function(a,i){a&1&&(Ct(),V(0,ACe,1,0,"ng-template"))},encapsulation:2}));let e=t;return e})(),ap="mdc-tab-indicator--active",o0="mdc-tab-indicator--no-transition",ZCe=class{constructor(e){o(this,"_items");o(this,"_currentItem");this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar()),this._currentItem=void 0}alignToElement(e){var a,i;let t=this._items.find(r=>r.elementRef.nativeElement===e),n=this._currentItem;if(t!==n&&(n==null||n.deactivateInkBar(),t)){let r=(i=n==null?void 0:(a=n.elementRef.nativeElement).getBoundingClientRect)==null?void 0:i.call(a);t.activateInkBar(r),this._currentItem=t}}},KCe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_inkBarElement");o(this,"_inkBarContentElement");o(this,"_fitToContent",!1)}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(a){let i=this._elementRef.nativeElement;if(!a||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(ap);return}let r=i.getBoundingClientRect(),s=a.width/r.width,l=a.left-r.left;i.classList.add(o0),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${s})`),i.getBoundingClientRect(),i.classList.remove(o0),i.classList.add(ap),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(ap)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){var a;(a=this._inkBarElement)==null||a.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let a=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=a.createElement("span"),r=this._inkBarContentElement=a.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement,(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe]}}));let e=t;return e})(),Gae=(()=>{const t=class t extends KCe{constructor(){super(...arguments);o(this,"elementRef",_(Te));o(this,"disabled",!1)}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(be("aria-disabled",!!r.disabled),Ee("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",pe]},features:[ze]}));let e=t;return e})(),s0={passive:!0},QCe=650,XCe=100,JCe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_changeDetectorRef",_(_t));o(this,"_viewportRuler",_(Nl));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_ngZone",_(Ne));o(this,"_platform",_(Wt));o(this,"_sharedResizeObserver",_(Zk));o(this,"_injector",_(ct));o(this,"_renderer",_(oi));o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"_eventCleanups");o(this,"_scrollDistance",0);o(this,"_selectedIndexChanged",!1);o(this,"_destroyed",new ue);o(this,"_showPaginationControls",!1);o(this,"_disableScrollAfter",!0);o(this,"_disableScrollBefore",!0);o(this,"_tabLabelCount");o(this,"_scrollDistanceChanged");o(this,"_keyManager");o(this,"_currentTextContent");o(this,"_stopScrolling",new ue);o(this,"disablePagination",!1);o(this,"_selectedIndex",0);o(this,"selectFocusedIndex",new ee);o(this,"indexFocused",new ee);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}get selectedIndex(){return this._selectedIndex}set selectedIndex(a){let i=isNaN(a)?0:a;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}ngAfterViewInit(){this._eventCleanups.push(Ea(this._renderer,this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),s0),Ea(this._renderer,this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),s0))}ngAfterContentInit(){let a=this._dir?this._dir.change:Dt("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Jd(32),zt(this._destroyed)),r=this._viewportRuler.change(150).pipe(zt(this._destroyed)),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Jf(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Nn(s,{injector:this._injector}),ha(a,r,i,this._items.changes,this._itemsResized()).pipe(zt(this._destroyed)).subscribe(()=>{var l;this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),(l=this._keyManager)==null||l.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return typeof ResizeObserver!="function"?xl:this._items.changes.pipe(Da(this._items),rr(a=>new kt(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(s=>i.next(s));return a.forEach(s=>r.observe(s.elementRef.nativeElement)),()=>{r.disconnect()}}))),Zm(1),ea(a=>a.some(i=>i.contentRect.width>0&&i.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(){var a;this._eventCleanups.forEach(i=>i()),(a=this._keyManager)==null||a.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(a){var i;if(!Va(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let r=this._items.get(this.focusIndex);r&&!r.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:(i=this._keyManager)==null||i.onKeydown(a)}}_onContentChanges(){let a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",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(a){!this._isValidIndex(a)||this.focusIndex===a||!this._keyManager||this._keyManager.setActiveItem(a)}_isValidIndex(a){return this._items?!!this._items.toArray()[a]:!0}_setTabFocus(a){if(this._showPaginationControls&&this._scrollToLabel(a),this._items&&this._items.length){this._items.toArray()[a].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let a=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-a:a;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(a){this._scrollTo(a)}_scrollHeader(a){let i=this._tabListContainer.nativeElement.offsetWidth,r=(a=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(a){this._stopInterval(),this._scrollHeader(a)}_scrollToLabel(a){if(this.disablePagination)return;let i=this._items?this._items.toArray()[a]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:l}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=s,d=c+l):(d=this._tabListInner.nativeElement.offsetWidth-s,c=d-l);let u=this.scrollDistance,p=this.scrollDistance+r;c<u?this.scrollDistance-=u-c:d>p&&(this.scrollDistance+=Math.min(d-p,c-u))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let a=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=a-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,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 a=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return a-i||0}_alignInkBarToSelectedTab(){let a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=a?a.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(a,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),T_(QCe,XCe).pipe(zt(ha(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:s}=this._scrollHeader(a);(s===0||s>=r)&&this._stopInterval()}))}_scrollTo(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,a)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",pe],selectedIndex:[2,"selectedIndex","selectedIndex",sn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}}));let e=t;return e})(),eSe=(()=>{const t=class t extends JCe{constructor(){super(...arguments);o(this,"_items");o(this,"_tabListContainer");o(this,"_tabList");o(this,"_tabListInner");o(this,"_nextPaginator");o(this,"_previousPaginator");o(this,"_inkBar");o(this,"ariaLabel");o(this,"ariaLabelledby");o(this,"disableRipple",!1)}ngAfterContentInit(){this._inkBar=new ZCe(this._items),super.ngAfterContentInit()}_itemSelected(i){i.preventDefault()}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,s){if(i&1&&ht(s,Gae,4),i&2){let l;ye(l=_e())&&(r._items=l)}},viewQuery:function(i,r){if(i&1&&(Ye(TCe,7),Ye(OCe,7),Ye(MCe,7),Ye(RCe,5),Ye(PCe,5)),i&2){let s;ye(s=_e())&&(r._tabListContainer=s.first),ye(s=_e())&&(r._tabList=s.first),ye(s=_e())&&(r._tabListInner=s.first),ye(s=_e())&&(r._nextPaginator=s.first),ye(s=_e())&&(r._previousPaginator=s.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&Ee("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",pe]},features:[ze],ngContentSelectors:qg,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(i,r){if(i&1){let s=gt();Ct(),D(0,"div",5,0),xe("click",function(){return Ce(s),Se(r._handlePaginatorClick("before"))})("mousedown",function(l){return Ce(s),Se(r._handlePaginatorPress("before",l))})("touchend",function(){return Ce(s),Se(r._stopInterval())}),Z(2,"div",6),I(),D(3,"div",7,1),xe("keydown",function(l){return Ce(s),Se(r._handleKeydown(l))}),D(5,"div",8,2),xe("cdkObserveContent",function(){return Ce(s),Se(r._onContentChanges())}),D(7,"div",9,3),Me(9),I()()(),D(10,"div",10,4),xe("mousedown",function(l){return Ce(s),Se(r._handlePaginatorPress("after",l))})("click",function(){return Ce(s),Se(r._handlePaginatorClick("after"))})("touchend",function(){return Ce(s),Se(r._stopInterval())}),Z(12,"div",6),I()}i&2&&(Ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),z("matRippleDisabled",r._disableScrollBefore||r.disableRipple),S(3),Ee("_mat-animation-noopable",r._animationMode==="NoopAnimations"),S(2),be("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),S(5),Ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),z("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Tu,$me],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}}
57
+ `],encapsulation:2}));let e=t;return e})(),tSe=new Y("MAT_TABS_CONFIG"),l0=(()=>{const t=class t extends ln{constructor(){super();o(this,"_host",_(Dm));o(this,"_centeringSub",Ge.EMPTY);o(this,"_leavingSub",Ge.EMPTY)}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Da(this._host._isCenterPosition())).subscribe(i=>{this._host._content&&i&&!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()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matTabBodyHost",""]],features:[ze]}));let e=t;return e})(),Dm=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ct));o(this,"_renderer",_(oi));o(this,"_animationsModule",_(Ia,{optional:!0}));o(this,"_eventCleanups");o(this,"_initialized");o(this,"_fallbackTimer");o(this,"_positionIndex");o(this,"_dirChangeSubscription",Ge.EMPTY);o(this,"_position");o(this,"_previousPosition");o(this,"_onCentering",new ee);o(this,"_beforeCentering",new ee);o(this,"_afterLeavingCenter",new ee);o(this,"_onCentered",new ee(!0));o(this,"_portalHost");o(this,"_contentElement");o(this,"_content");o(this,"animationDuration","500ms");o(this,"preserveContent",!1);if(this._dir){let a=_(_t);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),a.markForCheck()})}}set position(a){this._positionIndex=a,this._computePositionAnimationState()}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Nn(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){var a;clearTimeout(this._fallbackTimer),(a=this._eventCleanups)==null||a.forEach(i=>i()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement,i=r=>{var s;r.target===((s=this._contentElement)==null?void 0:s.nativeElement)&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(a,"transitionstart",r=>{var s;r.target===((s=this._contentElement)==null?void 0:s.nativeElement)&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(a,"transitionend",i),this._renderer.listen(a,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let a=this._position==="center";this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(a){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",a)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(a=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=a=="ltr"?"left":"right":this._positionIndex>0?this._position=a=="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(),Nn(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._animationsModule==="NoopAnimations"||this.animationDuration==="0ms"||this.animationDuration==="0s"}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-tab-body"]],viewQuery:function(a,i){if(a&1&&(Ye(l0,5),Ye(NCe,5)),a&2){let r;ye(r=_e())&&(i._portalHost=r.first),ye(r=_e())&&(i._contentElement=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(a,i){a&2&&be("inert",i._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(a,i){a&1&&(D(0,"div",1,0),V(2,LCe,0,0,"ng-template",2),I()),a&2&&Ee("mat-tab-body-content-left",i._position==="left")("mat-tab-body-content-right",i._position==="right")("mat-tab-body-content-can-animate",i._position==="center"||i._previousPosition==="center")},dependencies:[l0,pk],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)}
58
+ `],encapsulation:2}));let e=t;return e})(),aSe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_changeDetectorRef",_(_t));o(this,"_ngZone",_(Ne));o(this,"_tabsSubscription",Ge.EMPTY);o(this,"_tabLabelSubscription",Ge.EMPTY);o(this,"_tabBodySubscription",Ge.EMPTY);o(this,"_diAnimationsDisabled",_(Ia,{optional:!0})==="NoopAnimations");o(this,"_allTabs");o(this,"_tabBodies");o(this,"_tabBodyWrapper");o(this,"_tabHeader");o(this,"_tabs",new jo);o(this,"_indexToSelect",0);o(this,"_lastFocusedTabIndex",null);o(this,"_tabBodyWrapperHeight",0);o(this,"color");o(this,"_fitInkBarToContent",!1);o(this,"stretchTabs",!0);o(this,"alignTabs",null);o(this,"dynamicHeight",!1);o(this,"_selectedIndex",null);o(this,"headerPosition","above");o(this,"_animationDuration");o(this,"_contentTabIndex");o(this,"disablePagination",!1);o(this,"disableRipple",!1);o(this,"preserveContent",!1);o(this,"_backgroundColor");o(this,"ariaLabel");o(this,"ariaLabelledby");o(this,"selectedIndexChange",new ee);o(this,"focusChange",new ee);o(this,"animationDone",new ee);o(this,"selectedTabChange",new ee(!0));o(this,"_groupId");o(this,"_isServer",!_(Wt).isBrowser);let a=_(tSe,{optional:!0});this._groupId=_(ra).getId("mat-tab-group-"),this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=a&&a.disablePagination!=null?a.disablePagination:!1,this.dynamicHeight=a&&a.dynamicHeight!=null?a.dynamicHeight:!1,(a==null?void 0:a.contentTabIndex)!=null&&(this.contentTabIndex=a.contentTabIndex),this.preserveContent=!!(a!=null&&a.preserveContent),this.fitInkBarToContent=a&&a.fitInkBarToContent!=null?a.fitInkBarToContent:!1,this.stretchTabs=a&&a.stretchTabs!=null?a.stretchTabs:!0,this.alignTabs=a&&a.alignTabs!=null?a.alignTabs:null}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(a){this._fitInkBarToContent=a,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(a){this._indexToSelect=isNaN(a)?null:a}get animationDuration(){return this._animationDuration}set animationDuration(a){let i=a+"";this._animationDuration=/^\d+$/.test(i)?a+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(a){this._contentTabIndex=isNaN(a)?null:a}get backgroundColor(){return this._backgroundColor}set backgroundColor(a){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),a&&i.add("mat-tabs-with-background",`mat-background-${a}`),this._backgroundColor=a}ngAfterContentChecked(){let a=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=a){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(a));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,s)=>r.isActive=s===a),i||(this.selectedIndexChange.emit(a),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-a,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=a-this._selectedIndex)}),this._selectedIndex!==a&&(this._selectedIndex=a,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let a=this._clampTabIndex(this._indexToSelect);if(a===this._selectedIndex){let i=this._tabs.toArray(),r;for(let s=0;s<i.length;s++)if(i[s].isActive){this._indexToSelect=this._selectedIndex=s,this._lastFocusedTabIndex=null,r=i[s];break}!r&&i[a]&&Promise.resolve().then(()=>{i[a].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(a))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Da(this._allTabs)).subscribe(a=>{this._tabs.reset(a.filter(i=>i._closestTabGroup===this||!i._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(a){let i=this._tabHeader;i&&(i.focusIndex=a)}_focusChanged(a){this._lastFocusedTabIndex=a,this.focusChange.emit(this._createChangeEvent(a))}_createChangeEvent(a){let i=new iSe;return i.index=a,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[a]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ha(...this._tabs.map(a=>a._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))}_getTabLabelId(a,i){return a.id||`${this._groupId}-label-${i}`}_getTabContentId(a){return`${this._groupId}-content-${a}`}_setTabBodyWrapperHeight(a){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=a;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=a+"px")}_removeTabBodyWrapperHeight(){let a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight,a.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(a,i,r){i.focusIndex=r,a.disabled||(this.selectedIndex=r)}_getTabIndex(a){let i=this._lastFocusedTabIndex??this.selectedIndex;return a===i?0:-1}_tabFocusChanged(a,i){a&&a!=="mouse"&&a!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(a){var i;a&&((i=this._tabBodies)==null||i.forEach((r,s)=>r._setActiveClass(s===this._selectedIndex)))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-tab-group"]],contentQueries:function(a,i,r){if(a&1&&ht(r,Yae,5),a&2){let s;ye(s=_e())&&(i._allTabs=s)}},viewQuery:function(a,i){if(a&1&&(Ye(FCe,5),Ye(VCe,5),Ye(Dm,5)),a&2){let r;ye(r=_e())&&(i._tabBodyWrapper=r.first),ye(r=_e())&&(i._tabHeader=r.first),ye(r=_e())&&(i._tabBodies=r)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(a,i){a&2&&(be("mat-align-tabs",i.alignTabs),Ci("mat-"+(i.color||"primary")),zn("--mat-tab-animation-duration",i.animationDuration),Ee("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header",i.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",i.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",pe],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",pe],selectedIndex:[2,"selectedIndex","selectedIndex",sn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",sn],disablePagination:[2,"disablePagination","disablePagination",pe],disableRipple:[2,"disableRipple","disableRipple",pe],preserveContent:[2,"preserveContent","preserveContent",pe],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[st([{provide:$ae,useExisting:t}])],ngContentSelectors:qg,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(a,i){if(a&1){let r=gt();Ct(),D(0,"mat-tab-header",3,0),xe("indexFocused",function(s){return Ce(r),Se(i._focusChanged(s))})("selectFocusedIndex",function(s){return Ce(r),Se(i.selectedIndex=s)}),Ba(2,HCe,8,17,"div",4,Si),I(),V(4,UCe,1,0),D(5,"div",5,1),Ba(7,WCe,1,10,"mat-tab-body",6,Si),I()}a&2&&(z("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),S(2),ja(i._tabs),S(2),W(i._isServer?4:-1),S(),Ee("_mat-animation-noopable",i._animationsDisabled()),S(2),ja(i._tabs))},dependencies:[eSe,Gae,Xf,Tu,ln,Dm],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}
59
+ `],encapsulation:2}));let e=t;return e})(),iSe=class{constructor(){o(this,"index");o(this,"tab")}},nSe=(()=>{const t=class t{constructor(){o(this,"_vertical",!1);o(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(a){this._vertical=Mo(a)}get inset(){return this._inset}set inset(a){this._inset=Mo(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,i){a&2&&(be("aria-orientation",i.vertical?"vertical":"horizontal"),Ee("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(a,i){},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}
60
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Zae={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(Zae);var rSe=Zae,Kae={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(Kae);var oSe=Kae,yi=function(e,t,n,a){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(e):a?a.value:t.get(e)},vo,Fs,Ir,sSe=class{constructor(...e){vo.set(this,new Map),Fs.set(this,new Map),Ir.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,a]of Object.entries(e)){n=n.toLowerCase(),a=a.map(s=>s.toLowerCase()),yi(this,Ir,"f").has(n)||yi(this,Ir,"f").set(n,new Set);let i=yi(this,Ir,"f").get(n),r=!0;for(let s of a){let l=s.startsWith("*");if(s=l?s.slice(1):s,i==null||i.add(s),r&&yi(this,Fs,"f").set(n,s),r=!1,l)continue;let c=yi(this,vo,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);yi(this,vo,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),a=t.length<e.length;return!(n.length<t.length-1)&&a?null:yi(this,vo,"f").get(n)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&yi(this,Fs,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:yi(this,Ir,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of yi(this,Ir,"f").values())Object.freeze(e);return this}_getTestState(){return{types:yi(this,vo,"f"),extensions:yi(this,Fs,"f")}}};vo=new WeakMap,Fs=new WeakMap,Ir=new WeakMap;var lSe=sSe;new lSe(oSe,rSe)._freeze();var cSe=(()=>{const t=class t{transform(a){return a?"":"no"}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),ji=(()=>{const t=class t{transform(a){let i="";return Array.isArray(a)&&a.forEach(r=>{i+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof a=="string"&&a.split(" ").length>1&&a.split(" ").forEach((r,s)=>{s===0?i=r.charAt(0).toUpperCase()+r.slice(1):i+=" "+r}),typeof a=="string"&&a.split(" ").length===1&&(i=a.charAt(0).toUpperCase()+a.slice(1)),i}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),$g=(()=>{const t=class t{transform(a){return ewe(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"fullname",type:t,pure:!0});let e=t;return e})(),dSe=(()=>{const t=class t{constructor(){this.translate=_(Ra)}transform(a){return a||this.translate.currentLang}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),Yg=(()=>{const t=class t{transform(a){if(a){let i=a%1,r=Math.floor(a)>0?`${Math.floor(a)} + `:"";return i===.25?`${r}¼`:i===.5?`${r}½`:i===.75?`${r}¾`:a.toString()}return""}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"quantity",type:t,pure:!0});let e=t;return e})(),uSe=(()=>{const t=class t{constructor(){this.translate=_(Ra)}transform(a){return twe(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"translateObject",type:t,pure:!0});let e=t;return e})(),Zl=(()=>{const t=class t{constructor(){this.translate=_(Ra)}transform(a){return ql(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"translateValue",type:t,pure:!0});let e=t;return e})(),hSe={1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday",7:"sunday"},pSe=(()=>{const t=class t{transform(a){return hSe[cr(a)]}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"weekdayName",type:t,pure:!0});let e=t;return e})(),mSe=(()=>{const t=class t{transform(a){let i=new Date;return a==null?void 0:a.filter(r=>r.type==="definitive"||r.endDate&&!Zr(new Date(r.endDate),i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),Qae=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.cdRef=_(_t),this.destroyRef=_(fi),this.result="",this.translate.onLangChange.pipe(Gl(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.medication),this.cdRef.markForCheck()})}transform(a){return this.medication!==a&&(this.medication=a,this.result=this.getResult(a)),this.result}getResult(a){var r,s;let i=a.posology;if(i){if(i.length===1&&this.posologiesAreWithDayPeriodOrWithTime(i)&&((r=a.frequency)!=null&&r.periodicity))return i[0].quantity.value+" - 1x/"+this.translate.instant("commons.periodicities."+a.frequency.periodicity);if(i.length>1&&this.posologiesAreWithDayPeriodOrWithTime(i)&&i.every(l=>l.quantity.value===i[0].quantity.value)&&((s=a.frequency)!=null&&s.periodicity))return i[0].quantity.value+" - "+i.length+"x/"+this.translate.instant("commons.periodicities."+a.frequency.periodicity);if(i[0].text)return ql(i[0].text,this.translate.currentLang)}}posologiesAreWithDayPeriodOrWithTime(a){return a.some(i=>{var r,s;return!!((r=i==null?void 0:i.daytime)!=null&&r.dayPeriod)||!!((s=i==null?void 0:i.daytime)!=null&&s.time)})}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"dose",type:t,pure:!1});let e=t;return e})(),oo=function(e){return e.TO_PLAN="toPlan",e.MORNING="morning",e.NOON="noon",e.EVENING="evening",e.NIGHT="night",e.IF_NEEDED="ifNeeded",e}(oo||{}),Ws=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(Ws||{}),pi=function(e){return e.LIST="list",e.DAY="day",e.WEEK="week",e}(pi||{});function jd(e,t){return!Zr(e,t)}function fSe(e,t){return!hl(e,t)}function gSe(e,t){let n=[],a=e;for(;!hl(a,t);)n.push(a),a=xt(Bi(a,1));return n}function Uu(e){switch(e){case Yt.MONDAY:return 1;case Yt.TUESDAY:return 2;case Yt.WEDNESDAY:return 3;case Yt.THURSDAY:return 4;case Yt.FRIDAY:return 5;case Yt.SATURDAY:return 6;case Yt.SUNDAY:return 7;default:return}}var Xae="minutes",ci="hours",di="days",Ja="weeks",ei="months",Ar="years",bSe=new Map([[ce.UH,{number:30,unit:Xae}],[ce.U,{number:1,unit:ci}],[ce.UT,{number:2,unit:ci}],[ce.UD,{number:3,unit:ci}],[ce.UV,{number:4,unit:ci}],[ce.UQ,{number:5,unit:ci}],[ce.UZ,{number:6,unit:ci}],[ce.US,{number:7,unit:ci}],[ce.UA,{number:8,unit:ci}],[ce.UN,{number:9,unit:ci}],[ce.UX,{number:10,unit:ci}],[ce.UE,{number:11,unit:ci}],[ce.UW,{number:12,unit:ci}],[ce.D,{number:1,unit:di}],[ce.DT,{number:2,unit:di}],[ce.O1,{number:2,unit:di}],[ce.DD,{number:3,unit:di}],[ce.DV,{number:4,unit:di}],[ce.DQ,{number:5,unit:di}],[ce.DZ,{number:6,unit:di}],[ce.DA,{number:8,unit:di}],[ce.DN,{number:9,unit:di}],[ce.DX,{number:10,unit:di}],[ce.DE,{number:11,unit:di}],[ce.DW,{number:12,unit:di}],[ce.WT,{number:2,unit:Ja}],[ce.WD,{number:3,unit:Ja}],[ce.WV,{number:4,unit:Ja}],[ce.WQ,{number:5,unit:Ja}],[ce.WZ,{number:6,unit:Ja}],[ce.WS,{number:7,unit:Ja}],[ce.WA,{number:8,unit:Ja}],[ce.WN,{number:9,unit:Ja}],[ce.WX,{number:10,unit:Ja}],[ce.WE,{number:11,unit:Ja}],[ce.WW,{number:12,unit:Ja}],[ce.WP,{number:24,unit:Ja}],[ce.W,{number:1,unit:Ja}],[ce.M,{number:1,unit:ei}],[ce.MT,{number:2,unit:ei}],[ce.MD,{number:3,unit:ei}],[ce.MV,{number:4,unit:ei}],[ce.MQ,{number:5,unit:ei}],[ce.MZ2,{number:6,unit:ei}],[ce.MS,{number:7,unit:ei}],[ce.MA,{number:8,unit:ei}],[ce.MN,{number:9,unit:ei}],[ce.MX,{number:10,unit:ei}],[ce.ME,{number:11,unit:ei}],[ce.MC,{number:18,unit:ei}],[ce.JH2,{number:6,unit:ei}],[ce.J,{number:1,unit:Ar}],[ce.JT,{number:2,unit:Ar}],[ce.JD,{number:3,unit:Ar}],[ce.JV,{number:4,unit:Ar}],[ce.JQ,{number:5,unit:Ar}],[ce.JZ,{number:6,unit:Ar}]]);function vSe(e,t,n){var i;let a=bSe.get((i=t.frequency)==null?void 0:i.periodicity);switch(a==null?void 0:a.unit){case Xae:case ci:return!0;case di:return ySe(e,t,a,n);case Ja:return _Se(e,t,a,n);case ei:return xSe(e,t,a,n);case Ar:return wSe(e,t,a,n);default:return!1}}function ySe(e,t,n,a){var d;let i=xt(new Date(t.treatmentStartDate)),r=Bu(a,i),s=Math.floor(r/n.number),l=n.number*s,c=((d=e.day)==null?void 0:d.dayNumber)||1;return r===l+c-1}function _Se(e,t,n,a){var r,s,l;let i=xt(new Date(t.treatmentStartDate));if((s=(r=e.day)==null?void 0:r.weekday)!=null&&s.day)return G_e(i,a)%n.number===0&&cr(a)===Uu(e.day.weekday.day);{let c=Bu(a,i),d=Math.floor(c/(n.number*7)),u=n.number*7*d,p=((l=e.day)==null?void 0:l.dayNumber)||1;return c===u+p-1}}function xSe(e,t,n,a){var s,l;let i;(s=e.day)!=null&&s.date?i=xt(new Date(e.day.date)):(l=e.day)!=null&&l.dayNumber?i=xt(Bi(new Date(t.treatmentStartDate),e.day.dayNumber-1)):i=xt(new Date(t.treatmentStartDate));let r=Y_e(i,a);return n.number>1?r%n.number===0&&So(a.getDate(),i.getDate()):So(a.getDate(),i.getDate())}function wSe(e,t,n,a){var s;let i=(s=e.day)!=null&&s.date?xt(new Date(e.day.date)):xt(new Date(t.treatmentStartDate)),r=Z_e(i,a);return n.number>1?r%n.number===0&&c0(a,i):c0(a,i)}function c0(e,t){return e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}var kSe=[ce.M,ce.MT,ce.MD,ce.MV,ce.MQ,ce.MZ2,ce.MS,ce.MA,ce.MN,ce.MX,ce.ME,ce.MC];function ip(e){return kSe.includes(e)}var CSe=[ce.J,ce.JH2,ce.JT,ce.JD,ce.JV,ce.JQ,ce.JZ];function np(e){return CSe.includes(e)}function SSe(e,t){return jd(t,xt(new Date(e.treatmentStartDate)))&&(!e.treatmentEndDate||fSe(t,ju(new Date(e.treatmentEndDate))))}function Jae(e,t){var n;return(n=e.suspensions)!=null&&n.length?e.suspensions.some(a=>a.startDate&&a.endDate?jg(t,{start:xt(new Date(a.startDate)),end:ju(new Date(a.endDate))}):jd(t,xt(new Date(a.startDate)))):!1}function ESe(e,t){var a;let n=(a=e.suspensions)==null?void 0:a.filter(i=>i.type==="temporary");return n!=null&&n.length?n.some(i=>jg(t,{start:xt(new Date(i.startDate)),end:ju(new Date(i.endDate))})):!1}function eie(e,t,n){var a,i,r,s,l,c,d;return(a=t.frequency)!=null&&a.periodicity?vSe(e,t,n):(i=e.day)!=null&&i.date?So(n,xt(new Date(e.day.date))):(r=e.day)!=null&&r.dayNumber?So(n,xt(Bi(new Date(t.treatmentStartDate),e.day.dayNumber-1))):(l=(s=e.day)==null?void 0:s.weekday)!=null&&l.day||(d=(c=e.day)==null?void 0:c.weekday)!=null&&d.weekNumber?e.day.weekday.weekNumber?Hu(n)===e.day.weekday.weekNumber&&(Uu(e.day.weekday.day)||1)===cr(n):So(n,tie(e,t)):!!(t.treatmentStartDate&&So(n,xt(new Date(t.treatmentStartDate))))}function DSe(e,t){var n,a;return(a=(n=e.day)==null?void 0:n.weekday)!=null&&a.weekNumber?ISe(e,t):tie(e,t)}function ISe(e,t){let n=new Date(t.treatmentStartDate),a=Hu(n),i=xt(Bi(Lg(Gr(n),e.day.weekday.weekNumber-a),(Uu(e.day.weekday.day)||1)-1));return Zr(i,n)?j_e(i,1):i}function tie(e,t){var i,r;let n=Uu((r=(i=e.day)==null?void 0:i.weekday)==null?void 0:r.day)||0,a=cr(new Date(t.treatmentStartDate));return xt(Bi(new Date(t.treatmentStartDate),(n-a+7)%7))}function aie(e,t){let n=e.treatmentEndDate?new Date(e.treatmentEndDate):null,a=ASe(e,t);return n&&a?H_e([n,a]):n||a}function ASe(e,t){var a;if(!((a=e.suspensions)!=null&&a.length))return null;let n=e.suspensions.filter(i=>TSe(i,t)).map(i=>Hg(new Date(i.startDate)));return W_e(t,n)}function TSe(e,t){return e.startDate&&jd(new Date(e.startDate),t)||Zr(new Date(e.startDate),t)&&jd(new Date(e.endDate),t)}function iie(e,t,n){let a=new Date(t.treatmentStartDate);if(!n||Zr(n,a))return n;let i,r=n;for(;!i&&!Zr(r,a);)eie(e,t,r)?i=r:r=Hg(r);return r}function OSe(e,t){let n=Object.values(oo),a=i=>ql(i.medication.name,t)||"";return[...e||[]].sort((i,r)=>{let s=n.indexOf(i.posology.dayPart)-n.indexOf(r.posology.dayPart);return s===0?a(i).localeCompare(a(r),void 0,{sensitivity:"base"}):s})}function MSe(e,t,n="asc"){let a=i=>ql(i.name,t)||"";return[...e||[]].sort((i,r)=>a(i).localeCompare(a(r),void 0,{sensitivity:"base"})*(n==="asc"?1:-1))}function RSe(e){return e?e.flatMap(t=>t!=null&&t.posology?t.posology.map(n=>({medication:t,posology:n})):t?[{medication:t,posology:{dayPart:oo.TO_PLAN}}]:[]).filter(t=>t!==void 0):[]}function d0(e,t){return SSe(e.medication,t)&&!Jae(e.medication,t)&&eie(e.posology,e.medication,t)}function PSe(e){return e.filter(t=>nie(t))}function nie(e){let t=xt(new Date),n=e.treatmentEndDate;return e.treatmentStartDate&&hl(new Date(e.treatmentStartDate).setHours(0),t)?!1:!Jae(e,t)&&(!n||hl(new Date(n),t))}function NSe(e){return e.filter(t=>Wu(t))}function Wu(e){let t=xt(new Date);return e.treatmentStartDate&&hl(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&ESe(e,t)}function LSe(e){return e.filter(t=>nie(t)||Wu(t))}var FSe=(()=>{const t=class t{transform(a,i){return a.filter(r=>i===r.posology.dayPart)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"filterMedicationByDayPart",type:t,pure:!0});let e=t;return e})(),VSe=(()=>{const t=class t{transform(a,i){switch(i){case"current":return PSe(a);case"future":return NSe(a);case"all":default:return LSe(a)}}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"filterMedicationTo",type:t,pure:!0});let e=t;return e})(),rie=(()=>{const t=class t{transform(a){return Wu(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),zSe=(()=>{const t=class t{transform(a,i){let r=aie(a.medication,i),s=iie(a.posology,a.medication,r);return vS(xt(s),xt(i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"isLastIngestionDay",type:t,pure:!0});let e=t;return e})(),BSe=(()=>{const t=class t{transform(a,i,r){let s=aie(a.medication,i),l=iie(a.posology,a.medication,s);return jg(l,{start:xt(i),end:ju(r)})?{lastDay:s,lastIngestionDay:l}:null}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"lastIngestionPeriod",type:t,pure:!0});let e=t;return e})(),jSe=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.cdRef=_(_t),this.destroyRef=_(fi),this.result="",this.translate.onLangChange.pipe(Gl(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology),this.cdRef.markForCheck()})}transform(a){return this.posology!==a&&(this.posology=a,this.result=this.getResult(a)),this.result}getResult(a){if(a!=null&&a.daytime){if(a.daytime.dayPeriod)return this.translate.instant("commons.period."+a.daytime.dayPeriod);if(a.daytime.time)return a.daytime.time.substring(0,5)}return""}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"posologyDayTime",type:t,pure:!1});let e=t;return e})(),HSe=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.cdRef=_(_t),this.destroyRef=_(fi),this.result="",this.translate.onLangChange.pipe(Gl(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(a,i){return(this.posology!==a||this.medication!==i)&&(this.posology=a,this.medication=i,this.result=this.getResult(a,i)),this.result}getResult(a,i){var s,l,c;if(!((s=a.daytime)!=null&&s.dayPeriod)&&!((l=a.daytime)!=null&&l.time))return"";let r=[this.getPosologyDayTimeTranslation(a)];return(c=i.frequency)!=null&&c.periodicity?r.push(...this.getPeriodicityText(a,i.frequency.periodicity,new Date(i.treatmentStartDate))):r.push(...this.getPosologyText(a,i,new Date(i.treatmentStartDate))),r.join(" ").trim()}getPeriodicityText(a,i,r){var s,l,c,d,u;if(((s=a.day)==null?void 0:s.weekday)!=null&&a.daytime!=null&&!ip(i)&&!np(i))return[this.translate.instant("commons.posology.on"),this.translate.instant("commons.days."+a.day.weekday.day).toLowerCase()];if(((l=a.day)==null?void 0:l.dayNumber)!=null&&a.daytime!=null&&!ip(i)&&!np(i))return[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()];if(ip(i))return((c=a.day)==null?void 0:c.date)!=null?[this.translate.instant("commons.posology.day"),Pc(new Date(a.day.date)).toString()]:((d=a.day)==null?void 0:d.dayNumber)!=null?[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()]:[this.translate.instant("commons.posology.day"),Pc(r).toString()];if(np(i)){let p=[this.translate.instant("commons.posology.on")];return(u=a.day)!=null&&u.date?p.push(Pc(new Date(a.day.date))+"/"+(n0(a.day.date)+1)):p.push(Pc(r)+"/"+(n0(r)+1)),p}return[]}getPosologyText(a,i,r){var l,c,d;let s=[this.translate.instant("commons.posology.on")];return((l=a.day)==null?void 0:l.date)!=null?s.push(Co(new Date(a.day.date),"dd-MM-yyyy")):((c=a.day)==null?void 0:c.weekday)!=null?s.push(Co(DSe(a,i),"dd-MM-yyyy")):((d=a.day)==null?void 0:d.dayNumber)!=null?s.push(Co(Bi(r,a.day.dayNumber-1),"dd-MM-yyyy")):s.push(Co(r,"dd-MM-yyyy")),s}getPosologyDayTimeTranslation(a){var i,r,s;return a&&((i=a.daytime)!=null&&i.dayPeriod)&&Object.values(RS).includes((r=a.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+a.daytime.dayPeriod):(s=a.daytime)!=null&&s.time?a.daytime.time.substring(0,5):""}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),USe=(()=>{const t=class t{transform(a,i){var r,s;return((s=(r=a.suspensions)==null?void 0:r.filter(l=>Zr(i,xt(new Date(l.startDate)))).reduce((l,c)=>this.getClosestToLastIngestionDate(i,l,c),null))==null?void 0:s.type)||""}getClosestToLastIngestionDate(a,i,r){if(i==null)return r;let s=Xy(new Date(i.startDate),a),l=Xy(new Date(r.startDate),a);return s===l?i.type==="definitive"?i:r:s<l?i:r}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ga({name:"suspensionType",type:t,pure:!0});let e=t;return e})(),oie=e=>({posology:e}),WSe=e=>({count:e});function qSe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I()),e&2&&(S(),ie("",N(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function $Se(e,t){if(e&1&&(D(0,"li"),Za(1,2),I()),e&2){let n=t.$implicit;L(3);let a=Ei(3);S(),z("ngTemplateOutlet",a)("ngTemplateOutletContext",hn(2,oie,n))}}function YSe(e,t){if(e&1&&(D(0,"ul"),Ba(1,$Se,2,4,"li",null,Si),I()),e&2){let n=L(2);S(),ja(n.medication().posology)}}function GSe(e,t){if(e&1&&Za(0,2),e&2){let n=L(2),a=Ei(3);z("ngTemplateOutlet",a)("ngTemplateOutletContext",hn(2,oie,n.medication().posology[0]))}}function ZSe(e,t){if(e&1&&V(0,qSe,3,3,"span",1)(1,YSe,3,0,"ul")(2,GSe,1,4,"ng-container",2),e&2){let n=L();W(n.medication().temporality===n.temporalities.ONESHOT?0:-1),S(),W(n.medication().posology.length>1?1:2)}}function KSe(e,t){e&1&&(P(0),T(1,"translate")),e&2&&ie(" ",N(1,1,"medicationSchemeListView.notSpecified"),`
61
+ `)}function QSe(e,t){e&1&&(D(0,"span"),P(1),I()),e&2&&(S(),ie(" ",t,""))}function XSe(e,t){if(e&1&&(D(0,"span"),P(1),T(2,"translate"),I(),V(3,QSe,2,1,"span"),T(4,"posologySpecification")),e&2){let n,a=L(2).posology,i=L();S(),ie(" ",na(2,2,"commons.administrationUnits."+a.quantity.unit,hn(8,WSe,a.quantity.value)),""),S(2),W((n=na(4,5,a,i.medication()))?3:-1,n)}}function JSe(e,t){if(e&1&&(D(0,"span"),P(1),T(2,"quantity"),I(),V(3,XSe,5,10)),e&2){let n=L().posology;S(),te(N(2,2,n.quantity.value)),S(2),W(n.quantity.unit?3:-1)}}function eEe(e,t){if(e&1&&(D(0,"span",3),T(1,"getLangForAttrLang"),T(2,"canTranslateForAttr"),P(3),I()),e&2){let n=L();z("lang",N(1,3,n.lang)),be("translate",N(2,5,n.lang)),S(3),ie("  ",t," ")}}function tEe(e,t){if(e&1&&(D(0,"span",3),T(1,"getLangForAttrLang"),T(2,"canTranslateForAttr"),P(3),I(),V(4,eEe,4,7,"span",3),T(5,"posologySpecification")),e&2){let n,a=t,i=L().posology,r=L();z("lang",N(1,4,a.lang)),be("translate",N(2,6,a.lang)),S(3),ie(" ",a.value," "),S(),W((n=na(5,8,i,r.medication()))?4:-1,n)}}function aEe(e,t){if(e&1&&(D(0,"div"),V(1,JSe,4,4)(2,tEe,6,11),T(3,"translateObject"),I()),e&2){let n,a=t.posology;S(),W(a.quantity?1:-1),S(),W((n=N(3,2,a.text))?2:-1,n)}}var iEe=(()=>{const t=class t{constructor(){this.medication=Oe.required(),this.temporalities=Yl}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-posology"]],inputs:{medication:[1,"medication"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(a,i){if(a&1&&V(0,ZSe,3,2)(1,KSe,2,3)(2,aEe,4,4,"ng-template",null,0,Tw),a&2){let r;W((r=i.medication().posology)!=null&&r.length?0:1)}},dependencies:[qt,Yg,HSe,uSe,cSe,dSe,Hw],styles:[".if-needed[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"],changeDetection:0});let e=t;return e})(),nEe=e=>({count:e});function rEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"firstLetterUppercase"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.indication")),S(3),te(N(5,4,t)))}function oEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"fullname"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.prescriber")),S(3),te(N(5,4,t)))}function sEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"date"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.start")),S(3),te(na(5,4,t,"dd/MM/yyyy")))}function lEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"date"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.end")),S(3),te(na(5,4,t,"dd/MM/yyyy")))}function cEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",5),P(4),T(5,"date"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.suspension.start")),S(3),te(na(5,4,t,"dd/MM/yyyy")))}function dEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",5),P(4),T(5,"date"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.suspension.end")),S(3),te(na(5,4,t,"dd/MM/yyyy")))}function uEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"firstLetterUppercase"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.suspension.reason")),S(3),te(N(5,4,t)))}function hEe(e,t){e&1&&Z(0,"span",1)(1,"span",2)}function pEe(e,t){e&1&&Z(0,"mat-divider")}function mEe(e,t){if(e&1&&(V(0,cEe,6,7)(1,dEe,6,7)(2,uEe,6,6),T(3,"translateValue"),V(4,hEe,2,0)(5,pEe,1,0,"mat-divider")),e&2){let n,a,i,r=t.$implicit,s=t.$index,l=t.$count;W((n=r.startDate)?0:-1,n),S(),W((a=r.endDate)?1:-1,a),S(),W((i=N(3,5,r.reason))?2:-1,i),S(2),W(r.type==="definitive"?4:-1),S(),W(s!==l-1?5:-1)}}function fEe(e,t){if(e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",4),Ba(4,mEe,6,7,null,null,Si),I()),e&2){let n=L();S(),te(N(2,1,"medicationSchemeDetails.suspension.label")),S(3),ja(n)}}function gEe(e,t){e&1&&V(0,fEe,6,3),e&2&&W(t.length>0?0:-1)}function bEe(e,t){if(e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"translate"),T(6,"firstLetterUppercase"),I()),e&2){let n=L();S(),te(N(2,2,"medicationSchemeDetails.quantity")),S(3),te(N(6,7,na(5,4,"commons.administrationUnits."+n.medication().posology[0].quantity.unit,hn(9,nEe,n.medication().posology[0].quantity.value))))}}function vEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"translate"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.periodicity")),S(3),te(N(5,4,"commons.periodicities."+t)))}function yEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),T(5,"translate"),T(6,"firstLetterUppercase"),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.route")),S(3),te(N(6,6,N(5,4,"commons.routes."+t))))}function _Ee(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.startCondition")),S(3),te(t))}function xEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.endCondition")),S(3),te(t))}function wEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.instructions")),S(3),te(t))}function kEe(e,t){e&1&&(D(0,"span",1),P(1),T(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(S(),te(N(2,2,"medicationSchemeDetails.comment")),S(3),te(t))}var sie=(()=>{const t=class t{constructor(){this.medication=Oe.required(),this.temporalities=Yl}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"]},decls:29,vars:32,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],[3,"medication"],[1,"details__value","suspension"],[1,"details__value","suspension__date"]],template:function(a,i){if(a&1&&(D(0,"span",0)(1,"span",1),P(2),T(3,"translate"),I(),D(4,"span",2),P(5),T(6,"translateValue"),T(7,"firstLetterUppercase"),I(),V(8,rEe,6,6),T(9,"translateValue"),V(10,oEe,6,6)(11,sEe,6,7)(12,lEe,6,7)(13,gEe,1,1),T(14,"activeAndFutureSuspensions"),V(15,bEe,7,11)(16,vEe,6,6),D(17,"span",1),P(18),T(19,"translate"),I(),D(20,"span",2),Z(21,"vidis-medication-scheme-posology",3),I(),V(22,yEe,7,8)(23,_Ee,5,4)(24,xEe,5,4)(25,wEe,5,4),T(26,"translateValue"),V(27,kEe,5,4),T(28,"translateValue"),I()),a&2){let r,s,l,c,d,u,p,b,g,w,k,E;S(2),te(N(3,16,"medicationSchemeDetails.medication")),S(3),te(N(7,20,N(6,18,i.medication().name))),S(3),W((r=N(9,22,i.medication().indication))?8:-1,r),S(2),W((s=i.medication().author)?10:-1,s),S(),W((l=i.medication().treatmentStartDate)?11:-1,l),S(),W((c=i.medication().treatmentEndDate)?12:-1,c),S(),W((d=N(14,24,i.medication().suspensions))?13:-1,d),S(2),W(!((u=i.medication().posology)==null||u[0]==null||u[0].quantity==null)&&u[0].quantity.unit?15:-1),S(),W((p=(p=i.medication().frequency)==null?null:p.periodicity)?16:-1,p),S(2),te(N(19,26,"medicationSchemeDetails.posologie")),S(3),z("medication",i.medication()),S(),W((b=i.medication().route)?22:-1,b),S(),W((g=i.medication().treatmentStartCondition)?23:-1,g),S(),W((w=i.medication().treatmentEndCondition)?24:-1,w),S(),W((k=N(26,28,i.medication().instructions))?25:-1,k),S(2),W((E=N(28,30,i.medication().comment))?27:-1,E)}},dependencies:[Xa,nSe,qt,iEe,Pl,$g,ji,Zl,mSe],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}.details[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{display:none}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{grid-template-columns:max-content max-content max-content max-content max-content max-content;column-gap:10px}.details[_ngcontent-%COMP%] .suspension__date[_ngcontent-%COMP%]{margin-right:20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{border:1px solid #8f8f8f;padding:8px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin-top:6px;margin-bottom:6px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__label[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__value[_ngcontent-%COMP%]{margin-bottom:0}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"],changeDetection:0});let e=t;return e})(),lie=(()=>{const t=class t{constructor(){this.http=_(jl)}find(a){return this.http.post("/v1/medicationscheme",{ssins:a?[a]:[]})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),cie=(()=>{const t=class t{constructor(){this.http=_(jl)}find(a){return this.http.get("assets/v1_medicationscheme.json")}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),die=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),CEe=(e,t)=>e.getEnvironmentVariable("env")===Gn.DEMO?t.get(cie):t.get(lie),SEe={provide:die,useFactory:CEe,deps:[$l,ct]},uie=(()=>{const t=class t{setServices(a){this.services=a}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),u0=(()=>{const t=class t extends kwe{constructor(a,i){super(a.getServices(),id.MEDICATION_SCHEME,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,"medicationScheme_log"),this.medicationSchemeApiService=_(die),this.authServiceSelector=_(Bd),this.medicationSchemeStateSubject$=new Pr({status:nr.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1}}fetchMedicationScheme(a=!0){return _a(this,null,function*(){return awe(this.getData(a),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(id.MEDICATION_SCHEME_PAGE_STATE)??{filter:Ws.ALL,view:0,date:{displayDate:new Date,startOfWeek:Ka(new Date,this.fnsOptions),endOfWeek:Fg(new Date,this.fnsOptions)}}}setPageState(a){let i=this.getPageState(),r=ge(ge({},i),a);this.services.cacheDataStorage.set(id.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return _a(this,null,function*(){let a=yield this.authServiceSelector.getInstance().resolveSsin(),i=this.medicationSchemeApiService.find(a);return Aoe(i)})}};t.ɵfac=function(a){return new(a||t)(ke(uie),ke(Bd))},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();B0(Nre());var Lc;function EEe(){if(Lc===void 0&&(Lc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Lc=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Lc}function Os(e){var t;return((t=EEe())==null?void 0:t.createHTML(e))||e}function h0(e){return Error(`Unable to find icon with the name "${e}"`)}function DEe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function p0(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function m0(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Sr=class{constructor(e,t,n){o(this,"url");o(this,"svgText");o(this,"options");o(this,"svgElement");this.url=e,this.svgText=t,this.options=n}},IEe=(()=>{const t=class t{constructor(a,i,r,s){o(this,"_httpClient");o(this,"_sanitizer");o(this,"_errorHandler");o(this,"_document");o(this,"_svgIconConfigs",new Map);o(this,"_iconSetConfigs",new Map);o(this,"_cachedIconsByUrl",new Map);o(this,"_inProgressUrlFetches",new Map);o(this,"_fontCssClassesByAlias",new Map);o(this,"_resolvers",[]);o(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=a,this._sanitizer=i,this._errorHandler=s,this._document=r}addSvgIcon(a,i,r){return this.addSvgIconInNamespace("",a,i,r)}addSvgIconLiteral(a,i,r){return this.addSvgIconLiteralInNamespace("",a,i,r)}addSvgIconInNamespace(a,i,r,s){return this._addSvgIconConfig(a,i,new Sr(r,null,s))}addSvgIconResolver(a){return this._resolvers.push(a),this}addSvgIconLiteralInNamespace(a,i,r,s){let l=this._sanitizer.sanitize(ai.HTML,r);if(!l)throw m0(r);let c=Os(l);return this._addSvgIconConfig(a,i,new Sr("",c,s))}addSvgIconSet(a,i){return this.addSvgIconSetInNamespace("",a,i)}addSvgIconSetLiteral(a,i){return this.addSvgIconSetLiteralInNamespace("",a,i)}addSvgIconSetInNamespace(a,i,r){return this._addSvgIconSetConfig(a,new Sr(i,null,r))}addSvgIconSetLiteralInNamespace(a,i,r){let s=this._sanitizer.sanitize(ai.HTML,i);if(!s)throw m0(i);let l=Os(s);return this._addSvgIconSetConfig(a,new Sr("",l,r))}registerFontClassAlias(a,i=a){return this._fontCssClassesByAlias.set(a,i),this}classNameForFontAlias(a){return this._fontCssClassesByAlias.get(a)||a}setDefaultFontSetClass(...a){return this._defaultFontSetClass=a,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(a){let i=this._sanitizer.sanitize(ai.RESOURCE_URL,a);if(!i)throw p0(a);let r=this._cachedIconsByUrl.get(i);return r?Dt(Fc(r)):this._loadSvgIconFromConfig(new Sr(a,null)).pipe(Uc(s=>this._cachedIconsByUrl.set(i,s)),It(s=>Fc(s)))}getNamedSvgIcon(a,i=""){let r=f0(i,a),s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,a),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(a,l):Doe(h0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(a){return a.svgText?Dt(Fc(this._svgElementFromConfig(a))):this._loadSvgIconFromConfig(a).pipe(It(i=>Fc(i)))}_getSvgFromIconSetConfigs(a,i){let r=this._extractIconWithNameFromAnySet(a,i);if(r)return Dt(r);let s=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(M_(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(ai.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),Dt(null)})));return Gm(s).pipe(It(()=>{let l=this._extractIconWithNameFromAnySet(a,i);if(!l)throw h0(a);return l}))}_extractIconWithNameFromAnySet(a,i){for(let r=i.length-1;r>=0;r--){let s=i[r];if(s.svgText&&s.svgText.toString().indexOf(a)>-1){let l=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(l,a,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(a){return this._fetchIcon(a).pipe(Uc(i=>a.svgText=i),It(()=>this._svgElementFromConfig(a)))}_loadSvgIconSetFromConfig(a){return a.svgText?Dt(null):this._fetchIcon(a).pipe(Uc(i=>a.svgText=i))}_extractSvgIconFromSet(a,i,r){let s=a.querySelector(`[id="${i}"]`);if(!s)return null;let l=s.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let c=this._svgElementFromString(Os("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,r)}_svgElementFromString(a){let i=this._document.createElement("DIV");i.innerHTML=a;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(a){let i=this._svgElementFromString(Os("<svg></svg>")),r=a.attributes;for(let s=0;s<r.length;s++){let{name:l,value:c}=r[s];l!=="id"&&i.setAttribute(l,c)}for(let s=0;s<a.childNodes.length;s++)a.childNodes[s].nodeType===this._document.ELEMENT_NODE&&i.appendChild(a.childNodes[s].cloneNode(!0));return i}_setSvgAttributes(a,i){return a.setAttribute("fit",""),a.setAttribute("height","100%"),a.setAttribute("width","100%"),a.setAttribute("preserveAspectRatio","xMidYMid meet"),a.setAttribute("focusable","false"),i&&i.viewBox&&a.setAttribute("viewBox",i.viewBox),a}_fetchIcon(a){let{url:i,options:r}=a,s=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw DEe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(ai.RESOURCE_URL,i);if(!l)throw p0(i);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:s}).pipe(It(u=>Os(u)),P_(()=>this._inProgressUrlFetches.delete(l)),N_());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(a,i,r){return this._svgIconConfigs.set(f0(a,i),r),this}_addSvgIconSetConfig(a,i){let r=this._iconSetConfigs.get(a);return r?r.push(i):this._iconSetConfigs.set(a,[i]),this}_svgElementFromConfig(a){if(!a.svgElement){let i=this._svgElementFromString(a.svgText);this._setSvgAttributes(i,a.options),a.svgElement=i}return a.svgElement}_getIconConfigFromResolvers(a,i){for(let r=0;r<this._resolvers.length;r++){let s=this._resolvers[r](i,a);if(s)return AEe(s)?new Sr(s.url,null,s.options):new Sr(s,null)}}};o(t,"ɵfac",function(a){return new(a||t)(ke(jl,8),ke(DC),ke(at,8),ke(Vi))}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Fc(e){return e.cloneNode(!0)}function f0(e,t){return e+":"+t}function AEe(e){return!!(e.url&&e.options)}var TEe=["*"],OEe=new Y("MAT_ICON_DEFAULT_OPTIONS"),MEe=new Y("mat-icon-location",{providedIn:"root",factory:REe});function REe(){let e=_(at),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var hie=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],PEe=hie.map(e=>`[${e}]`).join(", "),NEe=/^url\(['"]?#(.*?)['"]?\)$/,gr=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_iconRegistry",_(IEe));o(this,"_location",_(MEe));o(this,"_errorHandler",_(Vi));o(this,"_defaultColor");o(this,"_color");o(this,"inline",!1);o(this,"_svgIcon");o(this,"_fontSet");o(this,"_fontIcon");o(this,"_previousFontSetClass",[]);o(this,"_previousFontIconClass");o(this,"_svgName");o(this,"_svgNamespace");o(this,"_previousPath");o(this,"_elementsWithExternalReferences");o(this,"_currentIconFetch",Ge.EMPTY);let a=_(new rs("aria-hidden"),{optional:!0}),i=_(OEe,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),a||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(a){this._color=a}get svgIcon(){return this._svgIcon}set svgIcon(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}get fontSet(){return this._fontSet}set fontSet(a){let i=this._cleanupFontValue(a);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(a){let i=this._cleanupFontValue(a);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(a){if(!a)return["",""];let i=a.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${a}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let a=this._elementsWithExternalReferences;if(a&&a.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(a){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(a),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(a)}_clearSvgElement(){let a=this._elementRef.nativeElement,i=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=a.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let a=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>a.classList.remove(r)),i.forEach(r=>a.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(a){return typeof a=="string"?a.trim().split(" ")[0]:a}_prependPathToReferences(a){let i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(l=>{s.setAttribute(l.name,`url('${a}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(a){let i=a.querySelectorAll(PEe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)hie.forEach(l=>{let c=i[s],d=c.getAttribute(l),u=d?d.match(NEe):null;if(u){let p=r.get(c);p||(p=[],r.set(c,p)),p.push({name:l,value:u[1]})}})}_updateSvgIcon(a){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),a){let[i,r]=this._splitIconName(a);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe($a(1)).subscribe(s=>this._setSvgElement(s),s=>{let l=`Error retrieving icon ${i}:${r}! ${s.message}`;this._errorHandler.handleError(new Error(l))})}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,i){a&2&&(be("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Ci(i.color?"mat-"+i.color:""),Ee("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",pe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:TEe,decls:1,vars:0,template:function(a,i){a&1&&(Ct(),Me(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}
62
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),qu=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,Nt]}));let e=t;return e})(),LEe=(()=>{const t=class t{constructor(){this.message=Oe.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"]},decls:3,vars:3,consts:[["fontIcon","info"]],template:function(a,i){a&1&&(Z(0,"mat-icon",0),P(1),T(2,"translate")),a&2&&(S(),ie(" ",N(2,1,"commons.errors."+i.message())," "))},dependencies:[gr,qt],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),FEe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(a,i){a&1&&(D(0,"h2",0),P(1),T(2,"translate"),I(),D(3,"mat-dialog-content")(4,"p")(5,"span"),P(6),T(7,"translate"),I()(),D(8,"p")(9,"span"),P(10),T(11,"translate"),I(),D(12,"a",1),T(13,"translate"),P(14),T(15,"translate"),I(),P(16,"."),I()(),D(17,"mat-dialog-actions")(18,"button",2),P(19),T(20,"translate"),I(),D(21,"button",3),P(22),T(23,"translate"),I()()),a&2&&(S(),te(N(2,9,"commons.errors.report-message-title")),S(5),te(N(7,11,"commons.errors.report-message-explanation")),S(4),te(N(11,13,"commons.errors.report-message-content")),S(2),z("href",N(13,15,"commons.errors.report-message-link"),If),S(2),te(N(15,17,"commons.errors.report-message-term-use")),S(4),z("mat-dialog-close",!0),S(),ie(" ",N(20,19,"commons.errors.report-message-report-button")," "),S(2),z("mat-dialog-close",!1),S(),ie(" ",N(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[WC,Lu,Fu,zu,Vu,Xa,jn,qt],encapsulation:2});let e=t;return e})(),VEe=(()=>{const t=class t{constructor(){this.vidisErrorCode=_(Sg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(a,i){a&1&&(D(0,"h2",0),P(1),T(2,"translate"),I(),D(3,"mat-dialog-content")(4,"p")(5,"span"),P(6),T(7,"translate"),I()()(),D(8,"mat-dialog-actions")(9,"button",1),P(10),T(11,"translate"),I()()),a&2&&(S(),te(N(2,4,"commons.errors.action-not-authorized-title")),S(5),te(N(7,6,"commons.errors."+i.vidisErrorCode)),S(3),z("mat-dialog-close",!1),S(),ie(" ",N(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[WC,Lu,Fu,zu,Vu,Xa,jn,qt],encapsulation:2});let e=t;return e})();function g0(e,t,n){let a=CS(),i=jEe(e,n.timeZone,n.locale??a.locale);return"formatToParts"in i?zEe(i,t):BEe(i,t)}function zEe(e,t){let n=e.formatToParts(t);for(let a=n.length-1;a>=0;--a)if(n[a].type==="timeZoneName")return n[a].value}function BEe(e,t){let n=e.format(t).replace(/\u200E/g,""),a=/ [\w-+ ]+$/.exec(n);return a?a[0].substr(1):""}function jEe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function HEe(e,t){let n=YEe(t);return"formatToParts"in n?WEe(n,e):qEe(n,e)}var UEe={year:0,month:1,day:2,hour:3,minute:4,second:5};function WEe(e,t){try{let n=e.formatToParts(t),a=[];for(let i=0;i<n.length;i++){let r=UEe[n[i].type];r!==void 0&&(a[r]=parseInt(n[i].value,10))}return a}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function qEe(e,t){let n=e.format(t),a=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(a[3],10),parseInt(a[1],10),parseInt(a[2],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10)]}var rp={},b0=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),$Ee=b0==="06/25/2014, 00:00:00"||b0==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function YEe(e){return rp[e]||(rp[e]=$Ee?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),rp[e]}function pie(e,t,n,a,i,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(a,i,r,s),l}var v0=36e5,GEe=6e4,op={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function mie(e,t,n){if(!e)return 0;let a=op.timezoneZ.exec(e);if(a)return 0;let i,r;if(a=op.timezoneHH.exec(e),a)return i=parseInt(a[1],10),y0(i)?-(i*v0):NaN;if(a=op.timezoneHHMM.exec(e),a){i=parseInt(a[2],10);let s=parseInt(a[3],10);return y0(i,s)?(r=Math.abs(i)*v0+s*GEe,a[1]==="+"?-r:r):NaN}if(QEe(e)){t=new Date(t||Date.now());let s=n?t:ZEe(t),l=Im(s,e);return-(n?l:KEe(t,l,e))}return NaN}function ZEe(e){return pie(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Im(e,t){let n=HEe(e,t),a=pie(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),r=i%1e3;return i-=r>=0?r:1e3+r,a-i}function KEe(e,t,n){let a=e.getTime()-t,i=Im(new Date(a),n);if(t===i)return t;a-=i-t;let r=Im(new Date(a),n);return i===r?i:Math.max(i,r)}function y0(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var _0={};function QEe(e){if(_0[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),_0[e]=!0,!0}catch{return!1}}var XEe=60*1e3,JEe={X:function(e,t,n){let a=sp(n.timeZone,e);if(a===0)return"Z";switch(t){case"X":return x0(a);case"XXXX":case"XX":return yo(a);case"XXXXX":case"XXX":default:return yo(a,":")}},x:function(e,t,n){let a=sp(n.timeZone,e);switch(t){case"x":return x0(a);case"xxxx":case"xx":return yo(a);case"xxxxx":case"xxx":default:return yo(a,":")}},O:function(e,t,n){let a=sp(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+eDe(a,":");case"OOOO":default:return"GMT"+yo(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return g0("short",e,n);case"zzzz":default:return g0("long",e,n)}}};function sp(e,t){let n=e?mie(e,t,!0)/XEe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function Hd(e,t){let n=e<0?"-":"",a=Math.abs(e).toString();for(;a.length<t;)a="0"+a;return n+a}function yo(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=Hd(Math.floor(a/60),2),r=Hd(Math.floor(a%60),2);return n+i+t+r}function x0(e,t){return e%60===0?(e>0?"-":"+")+Hd(Math.abs(e)/60,2):yo(e,t)}function eDe(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=Math.floor(a/60),r=a%60;return r===0?n+String(i):n+String(i)+t+Hd(r,2)}function w0(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var tDe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,lp=36e5,k0=6e4,aDe=2,qa={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:tDe};function iDe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let n=t.additionalDigits==null?aDe:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let a=nDe(e),{year:i,restDateString:r}=rDe(a.date,n),s=oDe(r,i);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(a.time&&(c=sDe(a.time),c===null||isNaN(c)))return new Date(NaN);if(a.timeZone||t.timeZone){if(d=mie(a.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=w0(new Date(l+c)),d=w0(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function nDe(e){let t={},n=qa.dateTimePattern.exec(e),a;if(n?(t.date=n[1],a=n[3]):(n=qa.datePattern.exec(e),n?(t.date=n[1],a=n[2]):(t.date=null,a=e)),a){let i=qa.timeZone.exec(a);i?(t.time=a.replace(i[1],""),t.timeZone=i[1].trim()):t.time=a}return t}function rDe(e,t){if(e){let n=qa.YYY[t],a=qa.YYYYY[t],i=qa.YYYY.exec(e)||a.exec(e);if(i){let r=i[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(i=qa.YY.exec(e)||n.exec(e),i){let r=i[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function oDe(e,t){if(t===null)return null;let n,a,i;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=qa.MM.exec(e);if(r)return n=new Date(0),a=parseInt(r[1],10)-1,S0(t,a)?(n.setUTCFullYear(t,a),n):new Date(NaN);if(r=qa.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return dDe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=qa.MMDD.exec(e),r){n=new Date(0),a=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return S0(t,a,s)?(n.setUTCFullYear(t,a,s),n):new Date(NaN)}if(r=qa.Www.exec(e),r)return i=parseInt(r[1],10)-1,E0(i)?C0(t,i):new Date(NaN);if(r=qa.WwwD.exec(e),r){i=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return E0(i,s)?C0(t,i,s):new Date(NaN)}return null}function sDe(e){let t,n,a=qa.HH.exec(e);if(a)return t=parseFloat(a[1].replace(",",".")),cp(t)?t%24*lp:NaN;if(a=qa.HHMM.exec(e),a)return t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")),cp(t,n)?t%24*lp+n*k0:NaN;if(a=qa.HHMMSS.exec(e),a){t=parseInt(a[1],10),n=parseInt(a[2],10);let i=parseFloat(a[3].replace(",","."));return cp(t,n,i)?t%24*lp+n*k0+i*1e3:NaN}return null}function C0(e,t,n){t=t||0,n=n||0;let a=new Date(0);a.setUTCFullYear(e,0,4);let i=a.getUTCDay()||7,r=t*7+n+1-i;return a.setUTCDate(a.getUTCDate()+r),a}var lDe=[31,28,31,30,31,30,31,31,30,31,30,31],cDe=[31,29,31,30,31,30,31,31,30,31,30,31];function fie(e){return e%400===0||e%4===0&&e%100!==0}function S0(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let a=fie(e);if(a&&n>cDe[t]||!a&&n>lDe[t])return!1}return!0}function dDe(e,t){if(t<1)return!1;let n=fie(e);return!(n&&t>366||!n&&t>365)}function E0(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function cp(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var uDe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function hDe(e,t,n={}){t=String(t);let a=t.match(uDe);if(a){let i=iDe(n.originalDate||e,n);t=a.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+JEe[s[0]](i,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Co(e,t,n)}var pDe=(()=>{const t=class t{reportError(a){return Dt({status:"ok"})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mDe=(()=>{const t=class t{constructor(){this.http=_(jl)}reportError(a){return this.http.post("/v2/report/error",a)}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),fDe=(()=>{const t=class t{constructor(){this.config=_($l),this.injector=_(ct),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(pDe):this.injector.get(mDe)}return this._instance}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gDe=(()=>{const t=class t extends wwe{constructor(){super(...arguments),this.version=Em,this.authServiceSelector=_(Bd),this.translateService=_(Ra),this.webComponentConfig=_($l),this.injector=_(ct),this.servicesStore=_(uie),this.matDialog=_(gs),this.destroyRef=_(fi),this.errorServiceSelector=_(fDe),this.snackbarService=_(ywe),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return _a(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().isOfflineDataStorageEnabled=this.offlineDataStorageEnabled,this.authServiceSelector.getInstance().isOfflineAuthenticated=this.isOfflineAuthenticated,this.servicesStore.setServices(this.services),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(a=>_a(this,null,function*(){yield this.fetchData(!0),a()}))})}onPropsChanged(a){a.language&&this.translateService.use(this.language)}checkError(a){(a==null?void 0:a.group)===On.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(a.code):(a==null?void 0:a.group)===On.OTHER&&this.showTechnicalErrorPopup(a)}showTechnicalErrorPopup(a){this.matDialog.open(FEe,{data:{error:a}}).beforeClosed().pipe(ea(i=>i),Gl(this.destroyRef)).subscribe(()=>{this.reportVidisError(a)})}reportVidisError(a){let i={backendTraceId:"",errorMessage:a.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(i).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(a){this.matDialog.open(VEe,{data:a})}formatDateWithZone(){return hDe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})(),t.ɵcmp=se({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[ze],decls:0,vars:0,template:function(a,i){},encapsulation:2});let e=t;return e})();function bDe(e,t){if(e&1&&(D(0,"mat-option",4),P(1),T(2,"translate"),I()),e&2){let n=t.$implicit;z("value",n),S(),te(N(2,2,"commons.sortDropdown."+n))}}function vDe(e,t){if(e&1){let n=gt();D(0,"button",6),T(1,"translate"),xe("click",function(){Ce(n);let a=L();return Se(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.descending}))}),Z(2,"mat-icon",7),I()}if(e&2){let n=L();z("disabled",n.disabled()),be("aria-label",N(1,2,"commons.sortDropdown.sorting-ascendant"))}}function yDe(e,t){if(e&1){let n=gt();D(0,"button",6),T(1,"translate"),xe("click",function(){Ce(n);let a=L();return Se(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.ascending}))}),Z(2,"mat-icon",8),I()}if(e&2){let n=L();z("disabled",n.disabled()),be("aria-label",N(1,2,"commons.sortDropdown.sorting-descendent"))}}var _De=(()=>{const t=class t{constructor(){this.sortData=ds.required(),this.sortItems=Oe.required(),this.disabled=Oe(!1),this.sortDirection=Wg}emitNewData(a){this.sortData.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(a,i){a&1&&(D(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),xe("valueChange",function(r){return i.emitNewData({sort:r,order:i.sortData().order})}),Ba(4,bDe,3,4,"mat-option",4,Si),I()()(),V(6,vDe,3,4,"button",5)(7,yDe,3,4,"button",5),I()),a&2&&(S(3),z("value",i.sortData().sort)("disabled",i.disabled()),S(),ja(i.sortItems()),S(2),W(i.sortData().order===i.sortDirection.ascending?6:7))},dependencies:[gr,Xa,Fl,cl,Qk,zye,Vye,LC,qt],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),xDe=[[["","alert-details",""]]],wDe=["[alert-details]"];function kDe(e,t){if(e&1&&(D(0,"h2"),P(1),I()),e&2){let n=L();S(),ie(" ",n.alertTitle()," ")}}function CDe(e,t){if(e&1){let n=gt();D(0,"button",7),xe("click",function(){Ce(n);let a=L(2);return Se(a.onActionButtonClicked())}),P(1),I()}if(e&2){let n=L(2);z("disabled",n.buttonDisabled()),S(),ie(" ",n.buttonLabel()," ")}}function SDe(e,t){if(e&1&&(D(0,"span",5),Me(1),I(),V(2,CDe,2,2,"button",6)),e&2){let n=L();S(2),W(n.actionButton()?2:-1)}}function EDe(e,t){if(e&1){let n=gt();D(0,"mat-icon",8),xe("click",function(){Ce(n);let a=L();return Se(a.onCloseButtonClick())})("keydown.enter",function(){Ce(n);let a=L();return Se(a.onCloseButtonClick())})("keydown.space",function(){Ce(n);let a=L();return Se(a.onCloseButtonClick())}),I()}if(e&2){let n=L();be("aria-label",n.closeButtonAriaLabel())}}function DDe(e,t){if(e&1){let n=gt();D(0,"mat-icon",9),xe("click",function(){Ce(n);let a=L();return Se(a.toggleExpanded())})("keydown.enter",function(){Ce(n);let a=L();return Se(a.toggleExpanded())})("keydown.space",function(){Ce(n);let a=L();return Se(a.toggleExpanded())}),I()}if(e&2){let n=L();z("fontIcon",n.expanded()?"remove":"add"),be("aria-label",n.currentExpandIconAriaLabel)}}var IDe=(()=>{const t=class t{constructor(){o(this,"usage",Oe("info"));o(this,"backgroundColor",Oe("color"));o(this,"alertTitle",Oe());o(this,"actionButton",Oe(!1));o(this,"buttonDisabled",Oe(!1));o(this,"buttonLabel",Oe());o(this,"dismissMode",Oe("pinned"));o(this,"closeButtonAriaLabel",Oe(""));o(this,"startExpanded",Oe(!1));o(this,"expandedButtonAriaLabel",Oe(""));o(this,"collapsedButtonAriaLabel",Oe(""));o(this,"closeButtonClicked",qr());o(this,"actionButtonClicked",qr());o(this,"expanded",zpe(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",pa(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"toggleExpanded",()=>{this.expanded.update(a=>!a)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",pa(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:wDe,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(a,i){a&1&&(Ct(xDe),D(0,"div",0),Z(1,"mat-icon",1),D(2,"div",2),V(3,kDe,2,1,"h2")(4,SDe,3,1),I(),V(5,EDe,1,1,"mat-icon",3)(6,DDe,1,2,"mat-icon",4),I()),a&2&&(Ci(i.usage()),Ee("white",i.backgroundColor()==="white"),S(),z("fontIcon",i.fontIcon()),S(2),W(i.alertTitle()?3:-1),S(),W(i.dismissMode()!=="expandable"||i.expanded()?4:-1),S(),W(i.dismissMode()==="closable"?5:i.dismissMode()==="expandable"?6:-1))},dependencies:[Uw,gr,jn],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function ADe(e,t){if(e&1&&(D(0,"mh-alert",0),T(1,"translate"),D(2,"div",1),P(3),T(4,"translate"),I()()),e&2){let n=L();z("alertTitle",N(1,2,"commons.errors.data-not-available-title")),S(3),te(N(4,4,"commons.errors."+n.error().code))}}var TDe=(()=>{const t=class t{constructor(){this.error=Oe.required(),this.vidisErrorGroup=On}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(a,i){a&1&&V(0,ADe,5,6,"mh-alert",0),a&2&&W(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[qt,IDe],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),ODe=["*"],gie=(()=>{const t=class t{constructor(){this.item=Oe.required(),this.expandedElement=ds.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:ODe,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(a,i){a&1&&(Ct(),D(0,"button",0),xe("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),Z(1,"mat-icon",1),Me(2),I()),a&2&&(S(),z("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Xa,jn,gr],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),MDe=["*"],RDe=(e,t,n,a,i)=>({"custom-content":e,circle:t,progress:n,"progress-dark":a,pulse:i});function PDe(e,t){e&1&&Me(0)}function NDe(e,t){if(e&1&&(D(0,"div",0),V(1,PDe,1,0),I()),e&2){let n=L(),a=pv(0),i=pv(1);z("ngClass",ape(5,RDe,a==="custom-content",a==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",n.styles()),be("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),S(),W(a==="custom-content"?1:-1)}}var bie=new Y("ngx-skeleton-loader.config"),Kl=(()=>{var t;const n=class n{constructor(){hb(this,t);var i,r,s,l,c,d;pb(this,t,_(bie,{optional:!0})),this.count=Oe(((i=kn(this,t))==null?void 0:i.count)||1,{transform:sn}),this.loadingText=Oe(((r=kn(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=Oe(((s=kn(this,t))==null?void 0:s.appearance)||"line"),this.animation=Oe(((l=kn(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Oe(((c=kn(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Oe(((d=kn(this,t))==null?void 0:d.theme)||null),this.items=pa(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&xpe(),[...Array(u)].map((p,b)=>b)}),this.styles=pa(()=>{var p,b,g;let u=this.theme();return(b=(p=kn(this,t))==null?void 0:p.theme)!=null&&b.extendsFromRoot?ge(ge({},(g=kn(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(i){return new(i||n)},n.ɵcmp=se({type:n,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:MDe,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(i,r){i&1&&(Ct(),Zf(0)(1),Ba(2,NDe,2,11,"div",0,Si)),i&2&&(hv(r.appearance()),S(),hv(r.animation()),S(),ja(r.items()))},dependencies:[Eu,jw],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=n;return e})(),Ql=(()=>{const t=class t{static forRoot(a){return{ngModule:t,providers:[{provide:bie,useValue:a}]}}};t.ɵfac=function(a){return new(a||t)},t.ɵmod=ft({type:t}),t.ɵinj=mt({imports:[Uw]});let e=t;return e})(),LDe=(()=>{const t=class t{constructor(){this.creationDetails=_(Sg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["ng-component"]],decls:39,vars:38,consts:[["mat-dialog-title",""],["mat-flat-button","","mat-dialog-close",""]],template:function(a,i){a&1&&(D(0,"h2",0),P(1),T(2,"translate"),I(),D(3,"mat-dialog-content")(4,"dl")(5,"dt"),P(6),T(7,"translate"),I(),D(8,"dd"),P(9),I(),D(10,"dt"),P(11),T(12,"translate"),I(),D(13,"dd"),P(14),T(15,"date"),I(),D(16,"dt"),P(17),T(18,"translate"),I(),D(19,"dd"),P(20),T(21,"fullname"),I(),D(22,"dt"),P(23),T(24,"translate"),I(),D(25,"dd"),P(26),T(27,"translate"),T(28,"firstLetterUppercase"),I(),D(29,"dt"),P(30),T(31,"translate"),I(),D(32,"dd"),P(33),T(34,"translate"),I()()(),D(35,"mat-dialog-actions")(36,"button",1),P(37),T(38,"translate"),I()()),a&2&&(S(),te(N(2,13,"medicationSchemeCreationDetails.title")),S(5),ie("",N(7,15,"medicationSchemeCreationDetails.version"),":"),S(3),te(i.creationDetails.version),S(2),ie("",N(12,17,"medicationSchemeCreationDetails.updated"),":"),S(3),te(na(15,19,i.creationDetails.lastChange.date,"dd/MM/yyyy")),S(3),ie("",N(18,22,"medicationSchemeCreationDetails.author"),":"),S(3),te(N(21,24,i.creationDetails.lastChange==null?null:i.creationDetails.lastChange.author)),S(3),ie("",N(24,26,"medicationSchemeCreationDetails.profession"),":"),S(2),be("translate","no"),S(),ie(" ",N(28,30,N(27,28,"commons.roles."+i.creationDetails.lastChange.author.role.toLowerCase()))," "),S(4),ie("",N(31,32,"medicationSchemeCreationDetails.source"),":"),S(3),te(N(34,34,"commons.safes."+i.creationDetails.source.toLowerCase())),S(4),te(N(38,36,"commons.close")))},dependencies:[Fu,Vu,zu,Lu,Xa,jn,qt,Pl,$g,ji],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),FDe=()=>({height:"47px",width:"50%",margin:"0px"});function VDe(e,t){e&1&&Z(0,"ngx-skeleton-loader",0),e&2&&z("count",1)("theme",on(2,FDe))}function zDe(e,t){if(e&1){let n=gt();D(0,"dl")(1,"dt"),P(2),T(3,"translate"),I(),D(4,"dd"),P(5),I(),D(6,"dt"),P(7),T(8,"translate"),I(),D(9,"dd"),P(10),T(11,"date"),I(),D(12,"dt"),P(13),T(14,"translate"),I(),D(15,"dd"),P(16),T(17,"fullname"),T(18,"translate"),T(19,"firstLetterUppercase"),I(),D(20,"dt"),P(21),T(22,"translate"),I(),D(23,"dd"),P(24),T(25,"translate"),I()(),D(26,"div"),P(27),T(28,"translate"),D(29,"a",1),xe("click",function(){Ce(n);let a=L();return Se(a.openCreationDetails())}),P(30),T(31,"date"),I()()}if(e&2){let n,a=L();S(2),ie("",N(3,12,"medicationSchemeCreationDetails.version"),":"),S(3),te(a.creationDetails().version),S(2),ie("",N(8,14,"medicationSchemeCreationDetails.updated"),":"),S(3),te(na(11,16,a.creationDetails().lastChange.date,"dd/MM/yyyy")),S(3),ie("",N(14,19,"medicationSchemeCreationDetails.updatedBy"),":"),S(2),be("translate","no"),S(),sr(" ",N(17,21,(n=a.creationDetails().lastChange)==null?null:n.author),", ",N(19,25,N(18,23,"commons.roles."+a.creationDetails().lastChange.author.role.toLowerCase()))," "),S(5),ie("",N(22,27,"medicationSchemeCreationDetails.source"),":"),S(3),te(N(25,29,"commons.safes."+a.creationDetails().source.toLowerCase())),S(3),ie(" ",N(28,31,"medicationSchemeCreationDetails.updated"),": "),S(3),te(na(31,33,a.creationDetails().lastChange.date,"dd/MM/yyyy"))}}var BDe=(()=>{const t=class t{constructor(){this.matDialog=_(gs),this.isLoading=Oe.required(),this.creationDetails=Oe.required()}openCreationDetails(){this.matDialog.open(LDe,{data:this.creationDetails()})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-creation-details"]],inputs:{isLoading:[1,"isLoading"],creationDetails:[1,"creationDetails"]},decls:2,vars:1,consts:[["appearance","line",3,"count","theme"],["mat-button","",3,"click"]],template:function(a,i){a&1&&V(0,VDe,1,3,"ngx-skeleton-loader",0)(1,zDe,32,36),a&2&&W(i.isLoading()?0:i.creationDetails()?1:-1)},dependencies:[Xa,Sk,qt,Ql,Kl,$g,ji,Pl],styles:["dl[_ngcontent-%COMP%]{display:flex}dt[_ngcontent-%COMP%]{color:#8f8f8f;margin-right:8px}dd[_ngcontent-%COMP%]{margin-right:20px;margin-inline-start:0}@media only screen and (max-width: 600px){dl[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 600px){div[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})(),jDe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(a,i){},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}
63
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),HDe={passive:!0},UDe=(()=>{const t=class t{constructor(){o(this,"_platform",_(Wt));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Ii).createRenderer(null,null));o(this,"_styleLoader",_(Aa));o(this,"_monitoredElements",new Map)}monitor(a){if(!this._platform.isBrowser)return xl;this._styleLoader.load(jDe);let i=Rn(a),r=this._monitoredElements.get(i);if(r)return r.subject;let s=new ue,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(l)?(i.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(l)&&(i.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),Ea(this._renderer,i,"animationstart",c,HDe)));return this._monitoredElements.set(i,{subject:s,unlisten:d}),s}stopMonitoring(a){let i=Rn(a),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((a,i)=>this.stopMonitoring(i))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),WDe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),qDe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],$De=new Y("MAT_INPUT_CONFIG"),YDe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_platform",_(Wt));o(this,"ngControl",_(dg,{optional:!0,self:!0}));o(this,"_autofillMonitor",_(UDe));o(this,"_ngZone",_(Ne));o(this,"_formField",_(Bl,{optional:!0}));o(this,"_renderer",_(oi));o(this,"_uid",_(ra).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",_($De,{optional:!0}));o(this,"_cleanupIosKeyup");o(this,"_cleanupWebkitWheel");o(this,"_formFieldDescribedBy");o(this,"_isServer");o(this,"_isNativeSelect");o(this,"_isTextarea");o(this,"_isInFormField");o(this,"focused",!1);o(this,"stateChanges",new ue);o(this,"controlType","mat-input");o(this,"autofilled",!1);o(this,"_disabled",!1);o(this,"_id");o(this,"placeholder");o(this,"name");o(this,"_required");o(this,"_type","text");o(this,"userAriaDescribedBy");o(this,"_readonly",!1);o(this,"disabledInteractive");o(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(a=>Bv().has(a)));o(this,"_iOSKeyupListener",a=>{let i=a.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let a=_(Ru,{optional:!0}),i=_(Pu,{optional:!0}),r=_(hg),s=_(Gk,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?el(s.value)?this._signalBasedValueAccessor=s:this._inputValueAccessor=s:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new pg(r,this.ngControl,i,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=c==="select",this._isTextarea=c==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((d=this._config)==null?void 0:d.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&ku(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(a){this._disabled=Mo(a),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(a){this._id=a||this._uid}get required(){var a,i;return this._required??((i=(a=this.ngControl)==null?void 0:a.control)==null?void 0:i.hasValidator(ps.required))??!1}set required(a){this._required=Mo(a)}get type(){return this._type}set type(a){let i=this._type;this._type=a||"text",this._validateType(),!this._isTextarea&&Bv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==i&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(a){this._errorStateTracker.matcher=a}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(a){a!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(a):this._inputValueAccessor.value=a,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(a){this._readonly=Mo(a)}get errorState(){return this._errorStateTracker.errorState}set errorState(a){this._errorStateTracker.errorState=a}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(a=>{this.autofilled=a.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var a,i;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(a=this._cleanupIosKeyup)==null||a.call(this),(i=this._cleanupWebkitWheel)==null||i.call(this)}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(a){this._elementRef.nativeElement.focus(a)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(a){if(a!==this.focused){if(!this._isNativeSelect&&a&&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=a,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())}_dirtyCheckPlaceholder(){let a=this._getPlaceholder();if(a!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=a,a?i.setAttribute("placeholder",a):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){qDe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let a=this._elementRef.nativeElement.validity;return a&&a.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let a=this._elementRef.nativeElement,i=a.options[0];return this.focused||a.multiple||!this.empty||!!(a.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(a){let i=this._elementRef.nativeElement,r=i.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||a;s=a.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=a;this._formFieldDescribedBy=a,s.length?i.setAttribute("aria-describedby",s.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||a.size>1)}_ensureWheelDefaultBehavior(){var a;(a=this._cleanupWebkitWheel)==null||a.call(this),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}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(a,i){a&1&&xe("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),a&2&&(un("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),be("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),Ee("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._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",pe]},exportAs:["matInput"],features:[st([{provide:Nu,useExisting:t}]),Kt]}));let e=t;return e})(),GDe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,cl,cl,WDe,Nt]}));let e=t;return e})(),ZDe=e=>({visibility:e});function KDe(e,t){if(e&1){let n=gt();D(0,"mat-form-field")(1,"input",8),xe("dateChange",function(a){Ce(n);let i=L();return Se(i.onChangeDate(a))}),I(),Z(2,"mat-datepicker",null,0),I(),D(4,"a",9),T(5,"translate"),xe("click",function(){Ce(n);let a=Ei(3);return Se(a.open())}),P(6),T(7,"date"),T(8,"firstLetterUppercase"),Z(9,"br"),P(10),T(11,"date"),T(12,"firstLetterUppercase"),I()}if(e&2){let n=Ei(3),a=L();zn("height","0px")("width","0px"),S(),z("matDatepicker",n),S(3),be("aria-label",N(5,8,"medicationSchemeDateToggler.openCalendar")),S(2),ie(" ",N(8,15,Lr(7,10,a.activeDate().displayDate,"EEEE",void 0,a.locale))," "),S(4),ie(" ",N(12,22,Lr(11,17,a.activeDate().displayDate,"dd MMMM yyyy",void 0,a.locale))," ")}}function QDe(e,t){if(e&1&&(D(0,"span"),P(1),T(2,"date"),T(3,"date"),Z(4,"br"),P(5),T(6,"date"),I()),e&2){let n=L(2);S(),sr(" ",Lr(2,3,n.activeDate().startOfWeek,"dd",void 0,n.locale)," - ",Lr(3,8,n.activeDate().endOfWeek,"dd",void 0,n.locale)," "),S(4),ie(" ",Lr(6,13,n.activeDate().endOfWeek,"MMMM y",void 0,n.locale)," ")}}function XDe(e,t){if(e&1&&(P(0),T(1,"date"),Z(2,"br"),P(3," - "),Z(4,"br"),P(5),T(6,"date")),e&2){let n=L(2);ie(" ",Lr(1,2,n.activeDate().startOfWeek,"dd MMMM y",void 0,n.locale)," "),S(5),ie(" ",Lr(6,7,n.activeDate().endOfWeek,"dd MMMM y",void 0,n.locale)," ")}}function JDe(e,t){if(e&1){let n=gt();D(0,"mat-form-field")(1,"mat-date-range-input",10)(2,"input",11),xe("dateChange",function(a){Ce(n);let i=L();return Se(i.onChangeDate(a))}),I(),Z(3,"input",12),I(),Z(4,"mat-date-range-picker",null,0),I(),D(6,"a",9),T(7,"translate"),xe("click",function(){Ce(n);let a=Ei(5);return Se(a.open())}),V(8,QDe,7,18,"span")(9,XDe,7,12),I()}if(e&2){let n=Ei(5),a=L();zn("height","0px")("width","0px"),S(),z("rangePicker",n),S(),z("value",a.activeDate().startOfWeek),S(),z("value",a.activeDate().endOfWeek),S(3),be("aria-label",N(7,9,"medicationSchemeDateToggler.openCalendar")),S(2),W(a.activeDate().startOfWeek.getFullYear()===a.activeDate().endOfWeek.getFullYear()?8:9)}}var e2e=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.dateAdapter=_(Ca),this.destroyRef=_(fi),this.activeDate=ds.required(),this.fnsOptions={weekStartsOn:1},this.views=pi}ngOnInit(){this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(this.translate.currentLang),this.translate.onLangChange.pipe(Gl(this.destroyRef)).subscribe(({lang:a})=>{this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(a)})}onChangeDate(a){this.activeDate().displayDate=new Date(a.value),this.emitDateChange()}onTogglePrevious(){switch(this.activeDate().view){case pi.DAY:this.activeDate().displayDate=Hg(this.activeDate().displayDate);break;case pi.WEEK:this.activeDate().displayDate=j1e(this.activeDate().displayDate);break}this.emitDateChange()}onToggleNext(){switch(this.activeDate().view){case pi.DAY:this.activeDate().displayDate=Bi(this.activeDate().displayDate,1);break;case pi.WEEK:this.activeDate().displayDate=Lg(this.activeDate().displayDate,1);break}this.emitDateChange()}onSetCurrent(){this.activeDate().displayDate=xt(new Date),this.emitDateChange()}isDisplayDateToday(a){return B1e(new Date(a))}isDisplayDateThisWeek(a){return z1e(new Date(a),this.fnsOptions)}emitDateChange(){this.activeDate.set(yt(ge({},this.activeDate()),{startOfWeek:Ka(this.activeDate().displayDate,this.fnsOptions),endOfWeek:Fg(this.activeDate().displayDate,this.fnsOptions)}))}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-date-toggler"]],inputs:{activeDate:[1,"activeDate"]},outputs:{activeDate:"activeDateChange"},decls:16,vars:16,consts:[["calendar",""],[1,"text-center"],[1,"items-center"],["mat-icon-button","",3,"click"],["fontIcon","chevron_left"],["fontIcon","chevron_right"],["mat-button","",3,"click","ngStyle"],["fontIcon","replay"],["matInput","","tabindex","-1",3,"dateChange","matDatepicker"],["mat-button","",3,"click"],["tabindex","-1",3,"rangePicker"],["matStartDate","",3,"dateChange","value"],["matEndDate","",3,"value"]],template:function(a,i){a&1&&(D(0,"div",1)(1,"div",2)(2,"button",3),T(3,"translate"),xe("click",function(){return i.onTogglePrevious()}),Z(4,"mat-icon",4),I(),D(5,"div"),V(6,KDe,13,24)(7,JDe,10,11),I(),D(8,"button",3),T(9,"translate"),xe("click",function(){return i.onToggleNext()}),Z(10,"mat-icon",5),I()(),D(11,"a",6),T(12,"translate"),xe("click",function(){return i.onSetCurrent()}),Z(13,"mat-icon",7),P(14),T(15,"translate"),I()()),a&2&&(S(2),be("aria-label",N(3,6,"medicationSchemeDateToggler.previous"+i.activeDate().view)),S(4),W(i.activeDate().view===i.views.DAY?6:7),S(2),be("aria-label",N(9,8,"medicationSchemeDateToggler.next"+i.activeDate().view)),S(3),z("ngStyle",hn(14,ZDe,i.isDisplayDateToday(i.activeDate().displayDate)&&i.isDisplayDateThisWeek(i.activeDate().displayDate)?"hidden":"visible")),be("aria-label",N(12,10,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))),S(3),ie(" ",N(15,12,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))," "))},dependencies:[hye,cl,Qk,GDe,YDe,Ybe,Lbe,fg,sC,Wbe,qbe,$be,Xa,Sk,Fl,qu,gr,qt,ji,Pl,jw],styles:["@media only screen and (min-width: 600px){br[_ngcontent-%COMP%]{display:none}}.text-center[_ngcontent-%COMP%]{text-align:center}.items-center[_ngcontent-%COMP%]{align-items:center;justify-content:center;display:flex;flex-wrap:wrap;margin-top:16px;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),t2e=[[["caption"]],[["colgroup"],["col"]],"*"],a2e=["caption","colgroup, col","*"];function i2e(e,t){e&1&&Me(0,2)}function n2e(e,t){e&1&&(D(0,"thead",0),Za(1,1),I(),D(2,"tbody",0),Za(3,2)(4,3),I(),D(5,"tfoot",0),Za(6,4),I())}function r2e(e,t){e&1&&Za(0,1)(1,2)(2,3)(3,4)}var pn=new Y("CDK_TABLE"),Am=(()=>{const t=class t{constructor(){o(this,"template",_(ma))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),Tm=(()=>{const t=class t{constructor(){o(this,"template",_(ma))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),o2e=(()=>{const t=class t{constructor(){o(this,"template",_(ma))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),pl=(()=>{const t=class t{constructor(){o(this,"_table",_(pn,{optional:!0}));o(this,"_hasStickyChanged",!1);o(this,"_name");o(this,"_sticky",!1);o(this,"_stickyEnd",!1);o(this,"cell");o(this,"headerCell");o(this,"footerCell");o(this,"cssClassFriendlyName");o(this,"_columnCssClassName")}get name(){return this._name}set name(a){this._setNameInput(a)}get sticky(){return this._sticky}set sticky(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(a){a!==this._stickyEnd&&(this._stickyEnd=a,this._hasStickyChanged=!0)}hasStickyChanged(){let a=this._hasStickyChanged;return this.resetStickyChanged(),a}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,i,r){if(a&1&&(ht(r,Am,5),ht(r,Tm,5),ht(r,o2e,5)),a&2){let s;ye(s=_e())&&(i.cell=s.first),ye(s=_e())&&(i.headerCell=s.first),ye(s=_e())&&(i.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",pe],stickyEnd:[2,"stickyEnd","stickyEnd",pe]},features:[st([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),vie=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},s2e=(()=>{const t=class t extends vie{constructor(){super(_(pl),_(Te))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ze]}));let e=t;return e})(),l2e=(()=>{const t=class t extends vie{constructor(){var s;let a=_(pl),i=_(Te);super(a,i);let r=(s=a._table)==null?void 0:s._getCellRole();r&&i.nativeElement.setAttribute("role",r)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[ze]}));let e=t;return e})(),D0=class{constructor(){o(this,"tasks",[]);o(this,"endTasks",[])}},Om=new Y("_COALESCED_STYLE_SCHEDULER"),yie=(()=>{const t=class t{constructor(){o(this,"_currentSchedule",null);o(this,"_ngZone",_(Ne))}schedule(a){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(a)}scheduleEnd(a){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(a)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new D0,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let a=this._currentSchedule;this._currentSchedule=new D0;for(let i of a.tasks)i();for(let i of a.endTasks)i()}this._currentSchedule=null})))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Gg=(()=>{const t=class t{constructor(){o(this,"template",_(ma));o(this,"_differs",_(hs));o(this,"columns");o(this,"_columnsDiffer")}ngOnChanges(a){if(!this._columnsDiffer){let i=a.columns&&a.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(a){return this instanceof Ud?a.headerCell.template:this instanceof _ie?a.footerCell.template:a.cell.template}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,features:[Kt]}));let e=t;return e})(),Ud=(()=>{const t=class t extends Gg{constructor(){super(_(ma),_(hs));o(this,"_table",_(pn,{optional:!0}));o(this,"_hasStickyChanged",!1);o(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",pe]},features:[ze,Kt]}));let e=t;return e})(),_ie=(()=>{const t=class t extends Gg{constructor(){super(_(ma),_(hs));o(this,"_table",_(pn,{optional:!0}));o(this,"_hasStickyChanged",!1);o(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",pe]},features:[ze,Kt]}));let e=t;return e})(),Mm=(()=>{const t=class t extends Gg{constructor(){super(_(ma),_(hs));o(this,"_table",_(pn,{optional:!0}));o(this,"when")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[ze]}));let e=t;return e})(),Zo=(()=>{const t=class t{constructor(){o(this,"_viewContainer",_(Qa));o(this,"cells");o(this,"context");t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};o(t,"mostRecentCellOutlet",null),o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),I0=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({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(a,i){a&1&&Za(0,0)},dependencies:[Zo],encapsulation:2}));let e=t;return e})(),A0=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Za(0,0)},dependencies:[Zo],encapsulation:2}));let e=t;return e})(),c2e=(()=>{const t=class t{constructor(){o(this,"templateRef",_(ma));o(this,"_contentClassName","cdk-no-data-row")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),T0=["top","bottom","left","right"],d2e=class{constructor(e,t,n,a,i=!0,r=!0,s,l){o(this,"_isNativeHtmlTable");o(this,"_stickCellCss");o(this,"direction");o(this,"_coalescedStyleScheduler");o(this,"_isBrowser");o(this,"_needsPositionStickyOnElement");o(this,"_positionListener");o(this,"_tableInjector");o(this,"_elemSizeCache",new WeakMap);o(this,"_resizeObserver",globalThis!=null&&globalThis.ResizeObserver?new globalThis.ResizeObserver(e=>this._updateCachedSizes(e)):null);o(this,"_updatedStickyColumnsParamsToReplay",[]);o(this,"_stickyColumnsReplayTimeout",null);o(this,"_cachedCellWidths",[]);o(this,"_borderCellCss");o(this,"_destroyed",!1);this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=a,this._isBrowser=i,this._needsPositionStickyOnElement=r,this._positionListener=s,this._tableInjector=l,this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){(t.includes("left")||t.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let n=[];for(let a of e)a.nodeType===a.ELEMENT_NODE&&n.push(a,...Array.from(a.children));this._afterNextRender({write:()=>{for(let a of n)this._removeStickyStyle(a,t)}})}updateStickyColumns(e,t,n,a=!0,i=!0){var k,E;if(!e.length||!this._isBrowser||!(t.some(O=>O)||n.some(O=>O))){(k=this._positionListener)==null||k.stickyColumnsUpdated({sizes:[]}),(E=this._positionListener)==null||E.stickyEndColumnsUpdated({sizes:[]});return}let r=e[0],s=r.children.length,l=this.direction==="rtl",c=l?"right":"left",d=l?"left":"right",u=t.lastIndexOf(!0),p=n.indexOf(!0),b,g,w;i&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...n]}),this._afterNextRender({earlyRead:()=>{b=this._getCellWidths(r,a),g=this._getStickyStartColumnPositions(b,t),w=this._getStickyEndColumnPositions(b,n)},write:()=>{for(let O of e)for(let B=0;B<s;B++){let j=O.children[B];t[B]&&this._addStickyStyle(j,c,g[B],B===u),n[B]&&this._addStickyStyle(j,d,w[B],B===p)}this._positionListener&&b.some(O=>!!O)&&(this._positionListener.stickyColumnsUpdated({sizes:u===-1?[]:b.slice(0,u+1).map((O,B)=>t[B]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:p===-1?[]:b.slice(p).map((O,B)=>n[B+p]?O:null).reverse()}))}})}stickRows(e,t,n){if(!this._isBrowser)return;let a=n==="bottom"?e.slice().reverse():e,i=n==="bottom"?t.slice().reverse():t,r=[],s=[],l=[];this._afterNextRender({earlyRead:()=>{for(let c=0,d=0;c<a.length;c++){if(!i[c])continue;r[c]=d;let u=a[c];l[c]=this._isNativeHtmlTable?Array.from(u.children):[u];let p=this._retrieveElementSize(u).height;d+=p,s[c]=p}},write:()=>{var d,u;let c=i.lastIndexOf(!0);for(let p=0;p<a.length;p++){if(!i[p])continue;let b=r[p],g=p===c;for(let w of l[p])this._addStickyStyle(w,n,b,g)}n==="top"?(d=this._positionListener)==null||d.stickyHeaderRowsUpdated({sizes:s,offsets:r,elements:l}):(u=this._positionListener)==null||u.stickyFooterRowsUpdated({sizes:s,offsets:r,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let n=e.querySelector("tfoot");n&&(t.some(a=>!a)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let n of t)e.style[n]="",e.classList.remove(this._borderCellCss[n]);T0.some(n=>t.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,n,a){e.classList.add(this._stickCellCss),a&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${n}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},n=0;for(let a of T0)e.style[a]&&(n+=t[a]);return n?`${n}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],a=e.children;for(let i=0;i<a.length;i++){let r=a[i];n.push(this._retrieveElementSize(r).width)}return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(e,t){let n=[],a=0;for(let i=0;i<e.length;i++)t[i]&&(n[i]=a,a+=e[i]);return n}_getStickyEndColumnPositions(e,t){let n=[],a=0;for(let i=e.length;i>0;i--)t[i]&&(n[i]=a,a+=e[i]);return n}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let n=e.getBoundingClientRect(),a={width:n.width,height:n.height};return this._resizeObserver&&(this._elemSizeCache.set(e,a),this._resizeObserver.observe(e,{box:"border-box"})),a}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let n of this._updatedStickyColumnsParamsToReplay)n.rows=n.rows.filter(a=>!t.has(a));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(n=>!!n.rows.length)}_updateCachedSizes(e){var n,a;let t=!1;for(let i of e){let r=(n=i.borderBoxSize)!=null&&n.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==((a=this._elemSizeCache.get(i.target))==null?void 0:a.width)&&u2e(i.target)&&(t=!0),this._elemSizeCache.set(i.target,r)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?Nn(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function u2e(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var Rm=new Y("CDK_SPL"),xie=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(Qa));o(this,"elementRef",_(Te));let a=_(pn);a._rowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),wie=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(Qa));o(this,"elementRef",_(Te));let a=_(pn);a._headerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),kie=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(Qa));o(this,"elementRef",_(Te));let a=_(pn);a._footerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),Cie=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(Qa));o(this,"elementRef",_(Te));let a=_(pn);a._noDataRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),O0=(()=>{const t=class t{constructor(){o(this,"_differs",_(hs));o(this,"_changeDetectorRef",_(_t));o(this,"_elementRef",_(Te));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_platform",_(Wt));o(this,"_viewRepeater",_(am));o(this,"_coalescedStyleScheduler",_(Om));o(this,"_viewportRuler",_(Nl));o(this,"_stickyPositioningListener",_(Rm,{optional:!0,skipSelf:!0}));o(this,"_document",_(at));o(this,"_data");o(this,"_onDestroy",new ue);o(this,"_renderRows");o(this,"_renderChangeSubscription");o(this,"_columnDefsByName",new Map);o(this,"_rowDefs");o(this,"_headerRowDefs");o(this,"_footerRowDefs");o(this,"_dataDiffer");o(this,"_defaultRowDef");o(this,"_customColumnDefs",new Set);o(this,"_customRowDefs",new Set);o(this,"_customHeaderRowDefs",new Set);o(this,"_customFooterRowDefs",new Set);o(this,"_customNoDataRow");o(this,"_headerRowDefChanged",!0);o(this,"_footerRowDefChanged",!0);o(this,"_stickyColumnStylesNeedReset",!0);o(this,"_forceRecalculateCellWidths",!0);o(this,"_cachedRenderRowsMap",new Map);o(this,"_isNativeHtmlTable");o(this,"_stickyStyler");o(this,"stickyCssClass","cdk-table-sticky");o(this,"needsPositionStickyOnElement",!0);o(this,"_isServer");o(this,"_isShowingNoDataRow",!1);o(this,"_hasAllOutlets",!1);o(this,"_hasInitialized",!1);o(this,"_cellRoleInternal");o(this,"_trackByFn");o(this,"_dataSource");o(this,"_multiTemplateDataRows",!1);o(this,"_fixedLayout",!1);o(this,"contentChanged",new ee);o(this,"viewChange",new Pr({start:0,end:Number.MAX_VALUE}));o(this,"_rowOutlet");o(this,"_headerRowOutlet");o(this,"_footerRowOutlet");o(this,"_noDataRowOutlet");o(this,"_contentColumnDefs");o(this,"_contentRowDefs");o(this,"_contentHeaderRowDefs");o(this,"_contentFooterRowDefs");o(this,"_noDataRow");o(this,"_injector",_(ct));_(new rs("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((a,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}_getCellRole(){if(this._cellRoleInternal===void 0){let a=this._elementRef.nativeElement.getAttribute("role");return a==="grid"||a==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(a){this._trackByFn=a}get dataSource(){return this._dataSource}set dataSource(a){this._dataSource!==a&&this._switchDataSource(a)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(a){this._multiTemplateDataRows=a,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(a){this._fixedLayout=a,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(zt(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var a,i,r,s;(a=this._stickyStyler)==null||a.destroy(),[(i=this._rowOutlet)==null?void 0:i.viewContainer,(r=this._headerRowOutlet)==null?void 0:r.viewContainer,(s=this._footerRowOutlet)==null?void 0:s.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l==null||l.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Ih(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let a=this._dataDiffer.diff(this._renderRows);if(!a){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(a,i,(r,s,l)=>this._getEmbeddedViewArgs(r.item,l),r=>r.item.data,r=>{r.operation===Hs.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),a.forEachIdentityChange(r=>{let s=i.get(r.currentIndex);s.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(a){this._customColumnDefs.add(a)}removeColumnDef(a){this._customColumnDefs.delete(a)}addRowDef(a){this._customRowDefs.add(a)}removeRowDef(a){this._customRowDefs.delete(a)}addHeaderRowDef(a){this._customHeaderRowDefs.add(a),this._headerRowDefChanged=!0}removeHeaderRowDef(a){this._customHeaderRowDefs.delete(a),this._headerRowDefChanged=!0}addFooterRowDef(a){this._customFooterRowDefs.add(a),this._footerRowDefChanged=!0}removeFooterRowDef(a){this._customFooterRowDefs.delete(a),this._footerRowDefChanged=!0}setNoDataRow(a){this._customNoDataRow=a}updateStickyHeaderRowStyles(){let a=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=M0(this._headerRowOutlet,"thead");r&&(r.style.display=a.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(a,["top"]),this._stickyStyler.stickRows(a,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let a=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=M0(this._footerRowOutlet,"tfoot");r&&(r.style.display=a.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(a,["bottom"]),this._stickyStyler.stickRows(a,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let a=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...a,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),a.forEach((s,l)=>{this._addStickyColumnStyles([s],this._headerRowDefs[l])}),this._rowDefs.forEach(s=>{let l=[];for(let c=0;c<i.length;c++)this._renderRows[c].rowDef===s&&l.push(i[c]);this._addStickyColumnStyles(l,s)}),r.forEach((s,l)=>{this._addStickyColumnStyles([s],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.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 a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a,this._forceRecalculateCellWidths=a,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 a=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return a;for(let r=0;r<this._data.length;r++){let s=this._data[r],l=this._getRenderRowsForData(s,r,i.get(s));this._cachedRenderRowsMap.has(s)||this._cachedRenderRowsMap.set(s,new WeakMap);for(let c=0;c<l.length;c++){let d=l[c],u=this._cachedRenderRowsMap.get(d.data);u.has(d.rowDef)?u.get(d.rowDef).push(d):u.set(d.rowDef,[d]),a.push(d)}}return a}_getRenderRowsForData(a,i,r){return this._getRowDefs(a,i).map(s=>{let l=r&&r.has(s)?r.get(s):[];if(l.length){let c=l.shift();return c.dataIndex=i,c}else return{data:a,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Vc(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(a=>{this._columnDefsByName.has(a.name),this._columnDefsByName.set(a.name,a)})}_cacheRowDefs(){this._headerRowDefs=Vc(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Vc(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Vc(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let a=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&a.length>1,this._defaultRowDef=a[0]}_renderUpdatedColumns(){let a=(l,c)=>{let d=!!c.getColumnsDiff();return l||d},i=this._rowDefs.reduce(a,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(a,!1);r&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(a,!1);return s&&this._forceRenderFooterRows(),i||r||s}_switchDataSource(a){this._data=[],Ih(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=a}_observeRenderChanges(){if(!this.dataSource)return;let a;Ih(this.dataSource)?a=this.dataSource.connect(this):Io(this.dataSource)?a=this.dataSource:Array.isArray(this.dataSource)&&(a=Dt(this.dataSource)),this._renderChangeSubscription=a.pipe(zt(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((a,i)=>this._renderRow(this._headerRowOutlet,a,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((a,i)=>this._renderRow(this._footerRowOutlet,a,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(a,i){let r=Array.from((i==null?void 0:i.columns)||[]).map(c=>this._columnDefsByName.get(c)),s=r.map(c=>c.sticky),l=r.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(a,s,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(a){let i=[];for(let r=0;r<a.viewContainer.length;r++){let s=a.viewContainer.get(r);i.push(s.rootNodes[0])}return i}_getRowDefs(a,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(s=>!s.when||s.when(i,a));else{let s=this._rowDefs.find(l=>l.when&&l.when(i,a))||this._defaultRowDef;s&&r.push(s)}return r.length,r}_getEmbeddedViewArgs(a,i){let r=a.rowDef,s={$implicit:a.data};return{templateRef:r.template,context:s,index:i}}_renderRow(a,i,r,s={}){let l=a.viewContainer.createEmbeddedView(i.template,s,r);return this._renderCellTemplateForItem(i,s),l}_renderCellTemplateForItem(a,i){for(let r of this._getCellTemplates(a))Zo.mostRecentCellOutlet&&Zo.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let a=this._rowOutlet.viewContainer;for(let i=0,r=a.length;i<r;i++){let s=a.get(i).context;s.count=r,s.first=i===0,s.last=i===r-1,s.even=i%2===0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[i].dataIndex,s.renderIndex=i):s.index=this._renderRows[i].dataIndex}}_getCellTemplates(a){return!a||!a.columns?[]:Array.from(a.columns,i=>{let r=this._columnDefsByName.get(i);return a.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let a=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(a,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(a,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let a=this._dir?this._dir.value:"ltr";this._stickyStyler=new d2e(this._isNativeHtmlTable,this.stickyCssClass,a,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:Dt()).pipe(zt(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(a){return a.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let a=this._customNoDataRow||this._noDataRow;if(!a)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let s=r.createEmbeddedView(a.templateRef),l=s.rootNodes[0];s.rootNodes.length===1&&(l==null?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(a._contentClassName))}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,i,r){if(a&1&&(ht(r,c2e,5),ht(r,pl,5),ht(r,Mm,5),ht(r,Ud,5),ht(r,_ie,5)),a&2){let s;ye(s=_e())&&(i._noDataRow=s.first),ye(s=_e())&&(i._contentColumnDefs=s),ye(s=_e())&&(i._contentRowDefs=s),ye(s=_e())&&(i._contentHeaderRowDefs=s),ye(s=_e())&&(i._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,i){a&2&&Ee("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",pe],fixedLayout:[2,"fixedLayout","fixedLayout",pe]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[st([{provide:pn,useExisting:t},{provide:am,useClass:$C},{provide:Om,useClass:yie},{provide:Rm,useValue:null}])],ngContentSelectors:a2e,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,i){a&1&&(Ct(t2e),Me(0),Me(1,1),V(2,i2e,1,0)(3,n2e,7,0)(4,r2e,4,0)),a&2&&(S(2),W(i._isServer?2:-1),S(),W(i._isNativeHtmlTable?3:4))},dependencies:[wie,xie,Cie,kie],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
64
+ `],encapsulation:2}));let e=t;return e})();function Vc(e,t){return e.concat(Array.from(t))}function M0(e,t){let n=t.toUpperCase(),a=e.viewContainer.element.nativeElement;for(;a;){let i=a.nodeType===1?a.nodeName:null;if(i===n)return a;if(i==="TABLE")break;a=a.parentNode}return null}var h2e=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[im]}));let e=t;return e})(),p2e=[[["caption"]],[["colgroup"],["col"]],"*"],m2e=["caption","colgroup, col","*"];function f2e(e,t){e&1&&Me(0,2)}function g2e(e,t){e&1&&(D(0,"thead",0),Za(1,1),I(),D(2,"tbody",2),Za(3,3)(4,4),I(),D(5,"tfoot",0),Za(6,5),I())}function b2e(e,t){e&1&&Za(0,1)(1,3)(2,4)(3,5)}var Sie=(()=>{const t=class t extends O0{constructor(){super(...arguments);o(this,"stickyCssClass","mat-mdc-table-sticky");o(this,"needsPositionStickyOnElement",!1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&Ee("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[st([{provide:O0,useExisting:t},{provide:pn,useExisting:t},{provide:Om,useClass:yie},{provide:am,useClass:$C},{provide:Rm,useValue:null}]),ze],ngContentSelectors:m2e,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Ct(p2e),Me(0),Me(1,1),V(2,f2e,1,0)(3,g2e,7,0)(4,b2e,4,0)),i&2&&(S(2),W(r._isServer?2:-1),S(),W(r._isNativeHtmlTable?3:4))},dependencies:[wie,xie,Cie,kie],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}
65
+ `],encapsulation:2}));let e=t;return e})(),Eie=(()=>{const t=class t extends Am{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","matCellDef",""]],features:[st([{provide:Am,useExisting:t}]),ze]}));let e=t;return e})(),Die=(()=>{const t=class t extends Tm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","matHeaderCellDef",""]],features:[st([{provide:Tm,useExisting:t}]),ze]}));let e=t;return e})(),Iie=(()=>{const t=class t extends pl{get name(){return this._name}set name(a){this._setNameInput(a)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[st([{provide:pl,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ze]}));let e=t;return e})(),Aie=(()=>{const t=class t extends s2e{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[ze]}));let e=t;return e})(),Tie=(()=>{const t=class t extends l2e{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[ze]}));let e=t;return e})(),Oie=(()=>{const t=class t extends Ud{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",pe]},features:[st([{provide:Ud,useExisting:t}]),ze]}));let e=t;return e})(),Mie=(()=>{const t=class t extends Mm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[st([{provide:Mm,useExisting:t}]),ze]}));let e=t;return e})(),Rie=(()=>{const t=class t extends I0{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({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:[st([{provide:I0,useExisting:t}]),ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Za(0,0)},dependencies:[Zo],encapsulation:2}));let e=t;return e})(),Pie=(()=>{const t=class t extends A0{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})()),o(t,"ɵcmp",se({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[st([{provide:A0,useExisting:t}]),ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Za(0,0)},dependencies:[Zo],encapsulation:2}));let e=t;return e})(),Nie=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,h2e,Nt]}));let e=t;return e})(),v2e=9007199254740991,Lie=class extends vfe{constructor(t=[]){super();o(this,"_data");o(this,"_renderData",new Pr([]));o(this,"_filter",new Pr(""));o(this,"_internalPageChanges",new ue);o(this,"_renderChangesSubscription",null);o(this,"filteredData");o(this,"_sort");o(this,"_paginator");o(this,"sortingDataAccessor",(t,n)=>{let a=t[n];if(Kw(a)){let i=Number(a);return i<v2e?i:a}return a});o(this,"sortData",(t,n)=>{let a=n.active,i=n.direction;return!a||i==""?t:t.sort((r,s)=>{let l=this.sortingDataAccessor(r,a),c=this.sortingDataAccessor(s,a),d=typeof l,u=typeof c;d!==u&&(d==="number"&&(l+=""),u==="number"&&(c+=""));let p=0;return l!=null&&c!=null?l>c?p=1:l<c&&(p=-1):l!=null?p=1:c!=null&&(p=-1),p*(i=="asc"?1:-1)})});o(this,"filterPredicate",(t,n)=>{let a=n.trim().toLowerCase();return Object.values(t).some(i=>`${i}`.toLowerCase().includes(a))});this._data=new Pr(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var l;let t=this._sort?ha(this._sort.sortChange,this._sort.initialized):Dt(null),n=this._paginator?ha(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Dt(null),a=this._data,i=Hc([a,this._filter]).pipe(It(([c])=>this._filterData(c))),r=Hc([i,t]).pipe(It(([c])=>this._orderData(c))),s=Hc([r,n]).pipe(It(([c])=>this._pageData(c)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=s.subscribe(c=>this._renderData.next(c))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(n=>this.filterPredicate(n,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let n=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(n,n+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let n=this.paginator;if(n&&(n.length=t,n.pageIndex>0)){let a=Math.ceil(n.length/n.pageSize)-1||0,i=Math.min(n.pageIndex,a);i!==n.pageIndex&&(n.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}},y2e=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],_2e=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function x2e(e,t){e&1&&(D(0,"span",3),Me(1,1),I())}function w2e(e,t){e&1&&(D(0,"span",6),Me(1,2),I())}var k2e=["*"],R0=new Y("MatChipAvatar"),P0=new Y("MatChipTrailingIcon"),N0=new Y("MatChipRemove"),Fie=new Y("MatChip"),L0=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_parentChip",_(Fie));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);_(Aa).load(Bn),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var a;return this._disabled||((a=this._parentChip)==null?void 0:a.disabled)||!1}set disabled(a){this._disabled=a}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,i){a&1&&xe("click",function(r){return i._handleClick(r)})("keydown",function(r){return i._handleKeydown(r)}),a&2&&(be("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),Ee("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",pe],tabIndex:[2,"tabIndex","tabIndex",a=>a==null?-1:sn(a)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),$u=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(_t));o(this,"_elementRef",_(Te));o(this,"_ngZone",_(Ne));o(this,"_focusMonitor",_(ao));o(this,"_globalRippleOptions",_(ig,{optional:!0}));o(this,"_document",_(at));o(this,"_onFocus",new ue);o(this,"_onBlur",new ue);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",_(ra).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new ee);o(this,"destroyed",new ee);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",_(_k));o(this,"_injector",_(ct));var r;let a=_(Aa);a.load(Bn),a.load(io);let i=_(Ia,{optional:!0});this._animationsDisabled=i==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(a){this._value=a}get disabled(){return this._disabled||this._chipListDisabled}set disabled(a){this._disabled=a}ngOnInit(){let a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.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=ha(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var a,i;this._focusMonitor.stopMonitoring(this._elementRef),(a=this._rippleLoader)==null||a.destroyRipple(this._elementRef.nativeElement),(i=this._actionChanges)==null||i.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((a=this._globalRippleOptions)!=null&&a.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(a){(a.keyCode===8&&!a.repeat||a.keyCode===46)&&(a.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(a){return this._getActions().find(i=>{let r=i._elementRef.nativeElement;return r===a||r.contains(a)})}_getActions(){let a=[];return this.primaryAction&&a.push(this.primaryAction),this.removeIcon&&a.push(this.removeIcon),this.trailingIcon&&a.push(this.trailingIcon),a}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(a=>{let i=a!==null;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,i,r){if(a&1&&(ht(r,R0,5),ht(r,P0,5),ht(r,N0,5),ht(r,R0,5),ht(r,P0,5),ht(r,N0,5)),a&2){let s;ye(s=_e())&&(i.leadingIcon=s.first),ye(s=_e())&&(i.trailingIcon=s.first),ye(s=_e())&&(i.removeIcon=s.first),ye(s=_e())&&(i._allLeadingIcons=s),ye(s=_e())&&(i._allTrailingIcons=s),ye(s=_e())&&(i._allRemoveIcons=s)}},viewQuery:function(a,i){if(a&1&&Ye(L0,5),a&2){let r;ye(r=_e())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(a,i){a&1&&xe("keydown",function(r){return i._handleKeydown(r)}),a&2&&(un("id",i.id),be("role",i.role)("aria-label",i.ariaLabel),Ci("mat-"+(i.color||"primary")),Ee("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",pe],highlighted:[2,"highlighted","highlighted",pe],disableRipple:[2,"disableRipple","disableRipple",pe],disabled:[2,"disabled","disabled",pe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[st([{provide:Fie,useExisting:t}])],ngContentSelectors:_2e,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(a,i){a&1&&(Ct(y2e),Z(0,"span",0),D(1,"span",1)(2,"span",2),V(3,x2e,2,0,"span",3),D(4,"span",4),Me(5),Z(6,"span",5),I()()(),V(7,w2e,2,0,"span",6)),a&2&&(S(2),z("isInteractive",!1),S(),W(i.leadingIcon?3:-1),S(4),W(i._hasTrailingIcon()?7:-1))},dependencies:[L0],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}
66
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Vie=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Te));o(this,"_changeDetectorRef",_(_t));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_lastDestroyedFocusedChipIndex",null);o(this,"_keyManager");o(this,"_destroyed",new ue);o(this,"_defaultRole","presentation");o(this,"_disabled",!1);o(this,"tabIndex",0);o(this,"_explicitRole",null);o(this,"_chips");o(this,"_chipActions",new jo)}get chipFocusChanges(){return this._getChipStream(a=>a._onFocus)}get chipDestroyedChanges(){return this._getChipStream(a=>a.destroyed)}get chipRemovedChanges(){return this._getChipStream(a=>a.removed)}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(a){this._explicitRole=a}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var a;(a=this._keyManager)==null||a.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(a=>a._hasFocus())}_syncChipsState(){var a;(a=this._chips)==null||a.forEach(i=>{i._chipListDisabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(a){this._originatesFromChip(a)&&this._keyManager.onKeydown(a)}_isValidIndex(a){return a>=0&&a<this._chips.length}_allowFocusEscape(){let a=this._elementRef.nativeElement.tabIndex;a!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=a))}_getChipStream(a){return this._chips.changes.pipe(Da(null),rr(()=>ha(...this._chips.map(a))))}_originatesFromChip(a){let i=a.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){var a;this._chips.changes.pipe(Da(this._chips)).subscribe(i=>{let r=[];i.forEach(s=>s._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new Jf(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(zt(this._destroyed)).subscribe(({chip:i})=>{let r=i._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(a=this._dir)==null||a.change.pipe(zt(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(a){return!a.isInteractive||a.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Da(null),zt(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(zt(this._destroyed)).subscribe(a=>{let i=this._chips.toArray().indexOf(a.chip);this._isValidIndex(i)&&a.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=i)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[a];i.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-chip-set"]],contentQueries:function(a,i,r){if(a&1&&ht(r,$u,5),a&2){let s;ye(s=_e())&&(i._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,i){a&1&&xe("keydown",function(r){return i._handleKeydown(r)}),a&2&&be("role",i.role)},inputs:{disabled:[2,"disabled","disabled",pe],role:"role",tabIndex:[2,"tabIndex","tabIndex",a=>a==null?0:sn(a)]},ngContentSelectors:k2e,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a,i){a&1&&(Ct(),D(0,"div",0),Me(1),I())},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}
67
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function C2e(e,t){if(e&1&&(P(0),T(1,"translate"),T(2,"firstLetterUppercase"),T(3,"date")),e&2){let n=L();sr(" ",N(2,4,N(1,2,"medicationSchemeListView.remarks.suspended")),": ",na(3,6,n.lastDay,"dd/MM")," ")}}function S2e(e,t){if(e&1&&(P(0),T(1,"translate"),T(2,"firstLetterUppercase"),T(3,"date")),e&2){let n=L();sr(" ",N(2,4,N(1,2,"medicationSchemeListView.remarks.end")),": ",na(3,6,n.lastIngestionDay,"dd/MM")," ")}}function E2e(e,t){if(e&1&&(D(0,"mat-chip",0),V(1,C2e,4,9),T(2,"suspensionType"),V(3,S2e,4,9),I()),e&2){let n=L();z("disableRipple",!0),S(),W(na(2,2,n.item().medication,t.lastIngestionDay)==="temporary"?1:3)}}function D2e(e,t){e&1&&(P(0),T(1,"translate"),T(2,"firstLetterUppercase")),e&2&&ie(" ",N(2,3,N(1,1,"medicationSchemeListView.remarks.lastDayTemporary"))," ")}function I2e(e,t){e&1&&(P(0),T(1,"translate"),T(2,"firstLetterUppercase")),e&2&&ie(" ",N(2,3,N(1,1,"medicationSchemeListView.remarks.lastDayDefinitive"))," ")}function A2e(e,t){if(e&1&&(D(0,"mat-chip",0),V(1,D2e,3,5),T(2,"suspensionType"),V(3,I2e,3,5),I()),e&2){let n=L();z("disableRipple",!0),S(),W(na(2,2,n.item().medication,n.dateInfo().displayDate)==="temporary"?1:3)}}function T2e(e,t){e&1&&(D(0,"mat-chip",0),P(1),T(2,"translate"),I()),e&2&&(z("disableRipple",!0),S(),ie(" ",N(2,2,"medicationSchemeListView.remarks.ifneeded")," "))}var Yu=(()=>{const t=class t{constructor(){this.dateInfo=Oe.required(),this.item=Oe.required(),this.views=pi}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-remark-flag"]],inputs:{dateInfo:[1,"dateInfo"],item:[1,"item"]},decls:5,vars:8,consts:[[1,"mh-orange--outline","mh-no-overlay",3,"disableRipple"]],template:function(a,i){if(a&1&&(V(0,E2e,4,5,"mat-chip",0),T(1,"lastIngestionPeriod"),T(2,"isLastIngestionDay"),V(3,A2e,4,5,"mat-chip",0)(4,T2e,3,4,"mat-chip",0)),a&2){let r;W((r=i.dateInfo().view===i.views.WEEK&&ope(1,1,i.item(),i.dateInfo().startOfWeek,i.dateInfo().endOfWeek))?0:i.dateInfo().view===i.views.DAY&&na(2,5,i.item(),i.dateInfo().displayDate)?3:i.dateInfo().view===i.views.LIST?4:-1,r)}},dependencies:[$u,qt,BSe,zSe,ji,USe,Pl],styles:[".remark[_ngcontent-%COMP%]{white-space:nowrap;border:2px solid #e68619;font-weight:700;padding:6px 8px;border-radius:6px}mat-chip[_ngcontent-%COMP%]{--mdc-chip-outline-width: 2px}"],changeDetection:0});let e=t;return e})(),O2e=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["ng-component"]],decls:10,vars:9,consts:[["mat-dialog-title",""],["mat-button","","mat-dialog-close",""]],template:function(a,i){a&1&&(D(0,"h2",0),P(1),T(2,"translate"),I(),D(3,"mat-dialog-content"),P(4),T(5,"translate"),I(),D(6,"mat-dialog-actions")(7,"button",1),P(8),T(9,"translate"),I()()),a&2&&(S(),te(N(2,3,"medicationSchemeListView.toPlan")),S(3),ie(" ",N(5,5,"medicationSchemeListView.atYourConvenienceText"),`
68
+ `),S(4),te(N(9,7,"commons.close")))},dependencies:[Fu,Vu,zu,Lu,Xa,jn,qt],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})();function M2e(e,t){e&1&&(P(0),T(1,"translate")),e&2&&ie(" ",N(1,1,"commons.periodicities."+t)," ")}function R2e(e,t){e&1&&(P(0),T(1,"translate"),T(2,"firstLetterUppercase")),e&2&&ie(" ",N(2,3,N(1,1,"commons.period."+t))," ")}function P2e(e,t){if(e&1){let n=gt();D(0,"div",0),P(1),T(2,"translate"),D(3,"button",1),T(4,"translate"),xe("click",function(){Ce(n);let a=L();return Se(a.openToPlanInfo())}),Z(5,"mat-icon",2),I()(),D(6,"strong"),V(7,M2e,2,3)(8,R2e,3,5),I()}if(e&2){let n,a,i=L();S(),ie(" ",N(2,4,"medicationSchemeListView.toPlan")," "),S(2),be("aria-label",N(4,6,"medicationSchemeDateToggler.moreInformations")),S(4),W((n=(n=i.item().medication.frequency)==null?null:n.periodicity)?7:-1,n),S(),W((a=(a=i.item().posology)==null||a.daytime==null?null:a.daytime.dayPeriod)?8:-1,a)}}function N2e(e,t){if(e&1&&(P(0),T(1,"posologyDayTime"),T(2,"firstLetterUppercase")),e&2){let n=L();ie(" ",N(2,3,N(1,1,n.item().posology)),`
69
+ `)}}var zie=(()=>{const t=class t{constructor(){this.dialog=_(gs),this.item=Oe.required(),this.dayParts=oo}openToPlanInfo(){this.dialog.open(O2e)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-day-part"]],inputs:{item:[1,"item"]},decls:2,vars:1,consts:[[1,"to-plan"],["mat-icon-button","",1,"btn-help",3,"click"],["fontIcon","help"]],template:function(a,i){a&1&&V(0,P2e,9,8)(1,N2e,3,5),a&2&&W(i.item().posology.dayPart===i.dayParts.TO_PLAN?0:1)},dependencies:[Xa,Fl,gr,qt,ji,jSe],styles:[".to-plan[_ngcontent-%COMP%]{white-space:nowrap}@media only screen and (max-width: 960px){.to-plan[_ngcontent-%COMP%] .btn-help[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})(),L2e=()=>["moment","noData"],F2e=()=>["expandDetails"],V2e=e=>({count:e}),z2e=()=>({height:"47px",margin:"0px"});function B2e(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.moment")," "))}function j2e(e,t){if(e&1&&(D(0,"td",21),P(1),T(2,"translate"),I()),e&2){let n=t.$implicit;S(),ie(" ",N(2,1,"medicationSchemeMoments."+n.posology.dayPart)," ")}}function H2e(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.medication")," "))}function U2e(e,t){if(e&1){let n=gt();D(0,"td",21)(1,"vidis-table-detail-button",22),mr("expandedElementChange",function(a){Ce(n);let i=L();return eo(i.expandedElement,a)||(i.expandedElement=a),Se(a)}),D(2,"span",23),P(3),T(4,"translateValue"),T(5,"firstLetterUppercase"),I()()()}if(e&2){let n=t.$implicit,a=L();S(),z("item",n),pr("expandedElement",a.expandedElement),S(2),te(N(5,5,N(4,3,n.medication.name)))}}function W2e(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.dose")," "))}function q2e(e,t){e&1&&(D(0,"div",24),P(1),T(2,"translateValue"),I()),e&2&&(S(),te(N(2,1,t)))}function $2e(e,t){if(e&1&&(P(0),T(1,"translate")),e&2){let n=L();ie(" ",na(1,1,"commons.administrationUnits."+n.unit,hn(4,V2e,n.value))," ")}}function Y2e(e,t){if(e&1&&(P(0),T(1,"quantity"),V(2,$2e,2,6)),e&2){let n=t;ie(" ",N(1,2,n.value)," "),S(2),W(n.unit?2:-1)}}function G2e(e,t){if(e&1&&(D(0,"td",21),V(1,q2e,3,3,"div",24)(2,Y2e,3,4),I()),e&2){let n,a,i=t.$implicit;S(),W((n=i.posology.text)?1:-1,n),S(),W((a=i.posology.quantity)?2:-1,a)}}function Z2e(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.dayperiod")," "))}function K2e(e,t){if(e&1&&(D(0,"td",21),Z(1,"vidis-medication-scheme-day-part",25),I()),e&2){let n=t.$implicit;S(),z("item",n)}}function Q2e(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.remark")," "))}function X2e(e,t){if(e&1&&(D(0,"td",21),Z(1,"vidis-medication-scheme-remark-flag",26),I()),e&2){let n=t.$implicit,a=L();S(),z("item",n)("dateInfo",a.dateInfo())}}function J2e(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.days")," "))}function eIe(e,t){e&1&&(D(0,"span"),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.days.allDays")," "))}function tIe(e,t){e&1&&P(0," , ")}function aIe(e,t){if(e&1&&(P(0),T(1,"weekdayName"),T(2,"translate"),T(3,"firstLetterUppercase"),V(4,tIe,1,0)),e&2){let n=t.$implicit,a=t.$index,i=t.$count;ie(" ",N(3,6,N(2,4,"medicationSchemeListView.days."+N(1,2,n)))," "),S(4),W(a!==i-1?4:-1)}}function iIe(e,t){if(e&1&&(D(0,"span",27),Ba(1,aIe,5,8,null,null,Si),I()),e&2){let n=L().$implicit,a=L();be("aria-label",a.getAriaLabel(n.dates)),S(),ja(n.dates)}}function nIe(e,t){if(e&1&&(D(0,"td",21),V(1,eIe,3,3,"span")(2,iIe,3,1,"span",27),I()),e&2){let n=t.$implicit;zn("white-space","nowrap"),S(),W(n.dates.length===7?1:n.dates.length<7?2:-1)}}function rIe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.startCondition")," "))}function oIe(e,t){if(e&1&&(D(0,"td",21),P(1),I()),e&2){let n=t.$implicit;S(),ie(" ",n.medication.treatmentStartCondition," ")}}function sIe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.instructions")," "))}function lIe(e,t){if(e&1&&(D(0,"td",21),P(1),T(2,"translateValue"),I()),e&2){let n=t.$implicit;S(),ie(" ",N(2,1,n.medication.instructions)," ")}}function cIe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.leaflet")," "))}function dIe(e,t){e&1&&(D(0,"a",28),T(1,"translateValue"),T(2,"translate"),Z(3,"mat-icon",29),I()),e&2&&(z("href",N(1,2,t),If),be("aria-label",N(2,4,"medicationSchemeListView.headers.leaflet")))}function uIe(e,t){if(e&1&&(D(0,"td",21),V(1,dIe,4,6,"a",28),I()),e&2){let n,a=t.$implicit;S(),W((n=a.medication.leaflet)?1:-1,n)}}function hIe(e,t){if(e&1&&(D(0,"td",30)(1,"div",31),Z(2,"vidis-medication-scheme-details-row",32),I()()),e&2){let n=t.$implicit,a=L();Ee("mh-detail-row--expanded",n===a.expandedElement()),z("colSpan",a.columns().length),S(2),z("medication",n.medication)}}function pIe(e,t){if(e&1&&(D(0,"td",21),P(1,"/"),I()),e&2){let n=L();be("colspan",n.columns().length-1)}}function mIe(e,t){e&1&&Z(0,"tr",33)}function fIe(e,t){if(e&1&&Z(0,"tr",34),e&2){let n=L();z("hidden",n.isLoading())}}function gIe(e,t){if(e&1&&Z(0,"tr",34),e&2){let n=L();z("hidden",n.isLoading())}}function bIe(e,t){if(e&1&&Z(0,"tr",35),e&2){let n=L();z("hidden",n.isLoading())}}function vIe(e,t){if(e&1&&Z(0,"ngx-skeleton-loader",19),e&2){let n=L();z("count",n.dataSource().data.length<=0?3:n.dataSource.data.length>n.data.pagination.pageSize?n.data.pagination.pageSize:n.dataSource.data.length)("theme",on(2,z2e))}}var yIe=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.isLoading=Oe.required(),this.dateInfo=Oe.required(),this.items=Oe.required(),this.dataSource=pa(()=>new Lie(this.items())),this.columns=pa(()=>this.dateInfo().view===pi.WEEK?["moment","medication","dose","dayperiod","days","remark","leaflet"]:["moment","medication","dose","dayperiod","remark","leaflet"]),this.expandedElement=Ga(null),this.hasMedication=(a,i)=>i.medication,this.hasNoMedication=(a,i)=>!i.medication}getAriaLabel(a){let i=[Yt.MONDAY,Yt.TUESDAY,Yt.WEDNESDAY,Yt.THURSDAY,Yt.FRIDAY,Yt.SATURDAY,Yt.SUNDAY],r=a.map(s=>i[cr(s)-1]).map(s=>this.translate.instant("commons.days."+s).toLowerCase()).join(", ");return this.translate.instant("medicationSchemeListView.toTake",{days:r})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-desktop"]],inputs:{isLoading:[1,"isLoading"],dateInfo:[1,"dateInfo"],items:[1,"items"]},decls:38,vars:14,consts:[["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","moment"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","medication"],["matColumnDef","dose"],["matColumnDef","dayperiod"],["matColumnDef","remark"],["matColumnDef","days"],["mat-cell","",3,"white-space",4,"matCellDef"],["matColumnDef","startCondition"],["matColumnDef","instructions"],["matColumnDef","leaflet"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["matColumnDef","noData"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["class","mh-detail-row","mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["appearance","line",3,"count","theme"],["mat-header-cell",""],["mat-cell",""],[3,"expandedElementChange","item","expandedElement"],[1,"textOverflow","align-left"],[1,"textOverflow"],[3,"item"],[3,"item","dateInfo"],[1,"chip"],["mat-icon-button","","target","_blank",3,"href"],["fontIcon","menu_book"],["mat-cell","",3,"colSpan"],[1,"details"],[3,"medication"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row","",1,"mh-detail-row",3,"hidden"]],template:function(a,i){a&1&&(D(0,"table",0),T(1,"translate"),da(2,1),V(3,B2e,3,3,"th",2)(4,j2e,3,3,"td",3),ua(),da(5,4),V(6,H2e,3,3,"th",2)(7,U2e,6,7,"td",3),ua(),da(8,5),V(9,W2e,3,3,"th",2)(10,G2e,3,2,"td",3),ua(),da(11,6),V(12,Z2e,3,3,"th",2)(13,K2e,2,1,"td",3),ua(),da(14,7),V(15,Q2e,3,3,"th",2)(16,X2e,2,2,"td",3),ua(),da(17,8),V(18,J2e,3,3,"th",2)(19,nIe,3,3,"td",9),ua(),da(20,10),V(21,rIe,3,3,"th",2)(22,oIe,2,1,"td",3),ua(),da(23,11),V(24,sIe,3,3,"th",2)(25,lIe,3,3,"td",3),ua(),da(26,12),V(27,cIe,3,3,"th",2)(28,uIe,2,1,"td",3),ua(),da(29,13),V(30,hIe,3,4,"td",14),ua(),da(31,15),V(32,pIe,2,1,"td",3),ua(),V(33,mIe,1,0,"tr",16)(34,fIe,1,1,"tr",17)(35,gIe,1,1,"tr",17)(36,bIe,1,1,"tr",18),I(),V(37,vIe,1,3,"ngx-skeleton-loader",19)),a&2&&(z("dataSource",i.dataSource()),be("aria-label",N(1,10,"medicationSchemeDateToggler."+i.dateInfo().view)),S(33),z("matHeaderRowDef",i.columns()),S(),z("matRowDefColumns",i.columns())("matRowDefWhen",i.hasMedication),S(),z("matRowDefColumns",on(12,L2e))("matRowDefWhen",i.hasNoMedication),S(),z("matRowDefColumns",on(13,F2e))("matRowDefWhen",i.hasMedication),S(),W(i.isLoading()?37:-1))},dependencies:[Nie,Sie,Die,Oie,Iie,Eie,Mie,Aie,Tie,Rie,Pie,Xa,Kfe,qu,gr,qt,Yu,zie,sie,gie,Zl,ji,Yg,pSe],styles:["tr[_ngcontent-%COMP%]:not(.mh-detail-row) > td[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px}.chip[_ngcontent-%COMP%]{padding:6px 8px;border-radius:9999px;background-color:#b8efd6}"],changeDetection:0});let e=t;return e})(),Pm=new Y("CdkAccordion"),_Ie=(()=>{const t=class t{constructor(){o(this,"_stateChanges",new ue);o(this,"_openCloseAllActions",new ue);o(this,"id",_(ra).getId("cdk-accordion-"));o(this,"multi",!1)}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(a){this._stateChanges.next(a)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",pe]},exportAs:["cdkAccordion"],features:[st([{provide:Pm,useExisting:t}]),Kt]}));let e=t;return e})(),xIe=(()=>{const t=class t{constructor(){o(this,"accordion",_(Pm,{optional:!0,skipSelf:!0}));o(this,"_changeDetectorRef",_(_t));o(this,"_expansionDispatcher",_(qC));o(this,"_openCloseAllSubscription",Ge.EMPTY);o(this,"closed",new ee);o(this,"opened",new ee);o(this,"destroyed",new ee);o(this,"expandedChange",new ee);o(this,"id",_(ra).getId("cdk-accordion-child-"));o(this,"_expanded",!1);o(this,"disabled",!1);o(this,"_removeUniqueSelectionListener",()=>{})}get expanded(){return this._expanded}set expanded(a){if(this._expanded!==a){if(this._expanded=a,this.expandedChange.emit(a),a){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()}}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((a,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==a&&(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(a=>{this.disabled||(this.expanded=a)})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",pe],disabled:[2,"disabled","disabled",pe]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[st([{provide:Pm,useValue:void 0}])]}));let e=t;return e})(),wIe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),kIe=["body"],CIe=["bodyWrapper"],SIe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],EIe=["mat-expansion-panel-header","*","mat-action-row"];function DIe(e,t){}var IIe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],AIe=["mat-panel-title","mat-panel-description","*"];function TIe(e,t){e&1&&(D(0,"span",1),ir(),D(1,"svg",2),Z(2,"path",3),I()())}var Nm=new Y("MAT_ACCORDION"),Bie=new Y("MAT_EXPANSION_PANEL"),OIe=(()=>{const t=class t{constructor(){o(this,"_template",_(ma));o(this,"_expansionPanel",_(Bie,{optional:!0}))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}));let e=t;return e})(),jie=new Y("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Zg=(()=>{const t=class t extends xIe{constructor(){super();o(this,"_viewContainerRef",_(Qa));o(this,"_animationsDisabled",_(Ia,{optional:!0})==="NoopAnimations");o(this,"_document",_(at));o(this,"_ngZone",_(Ne));o(this,"_elementRef",_(Te));o(this,"_renderer",_(oi));o(this,"_cleanupTransitionEnd");o(this,"_hideToggle",!1);o(this,"_togglePosition");o(this,"afterExpand",new ee);o(this,"afterCollapse",new ee);o(this,"_inputChanges",new ue);o(this,"accordion",_(Nm,{optional:!0,skipSelf:!0}));o(this,"_lazyContent");o(this,"_body");o(this,"_bodyWrapper");o(this,"_portal");o(this,"_headerId",_(ra).getId("mat-expansion-panel-header-"));o(this,"_transitionEndListener",({target:i,propertyName:r})=>{var s;i===((s=this._bodyWrapper)==null?void 0:s.nativeElement)&&r==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})});let i=_(jie,{optional:!0});this._expansionDispatcher=_(qC),i&&(this.hideToggle=i.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(i){this._hideToggle=i}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(i){this._togglePosition=i}_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(Da(null),ea(()=>this.expanded&&!this._portal),$a(1)).subscribe(()=>{this._portal=new no(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(i){this._inputChanges.next(i)}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._cleanupTransitionEnd)==null||i.call(this),this._inputChanges.complete()}_containsFocus(){if(this._body){let i=this._document.activeElement,r=this._body.nativeElement;return i===r||r.contains(i)}return!1}_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 i=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this._transitionEndListener),i.classList.add("mat-expansion-panel-animations-enabled")},200)})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,s){if(i&1&&ht(s,OIe,5),i&2){let l;ye(l=_e())&&(r._lazyContent=l.first)}},viewQuery:function(i,r){if(i&1&&(Ye(kIe,5),Ye(CIe,5)),i&2){let s;ye(s=_e())&&(r._body=s.first),ye(s=_e())&&(r._bodyWrapper=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&Ee("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",pe],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[st([{provide:Nm,useValue:void 0},{provide:Bie,useExisting:t}]),ze,Kt],ngContentSelectors:EIe,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&&(Ct(SIe),Me(0),D(1,"div",2,0)(3,"div",3,1)(5,"div",4),Me(6,1),V(7,DIe,0,0,"ng-template",5),I(),Me(8,2),I()()),i&2&&(S(),be("inert",r.expanded?null:""),S(2),z("id",r.id),be("aria-labelledby",r._headerId),S(4),z("cdkPortalOutlet",r._portal))},dependencies:[ln],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: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}
70
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Kg=(()=>{const t=class t{constructor(){o(this,"panel",_(Zg,{host:!0}));o(this,"_element",_(Te));o(this,"_focusMonitor",_(ao));o(this,"_changeDetectorRef",_(_t));o(this,"_parentChangeSubscription",Ge.EMPTY);o(this,"expandedHeight");o(this,"collapsedHeight");o(this,"tabIndex",0);_(Aa).load(Bn);let a=this.panel,i=_(jie,{optional:!0}),r=_(new rs("tabindex"),{optional:!0}),s=a.accordion?a.accordion._stateChanges.pipe(ea(l=>!!(l.hideToggle||l.togglePosition))):xl;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=ha(a.opened,a.closed,s,a._inputChanges.pipe(ea(l=>!!(l.hideToggle||l.disabled||l.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),a.closed.pipe(ea(()=>a._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let a=this._isExpanded();return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null}_keydown(a){switch(a.keyCode){case 32:case 13:Va(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a);return}}focus(a,i){a?this._focusMonitor.focusVia(this._element,a,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(a=>{a&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(a,i){a&1&&xe("click",function(){return i._toggle()})("keydown",function(r){return i._keydown(r)}),a&2&&(be("id",i.panel._headerId)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),zn("height",i._getHeaderHeight()),Ee("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after",i._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",i._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",a=>a==null?0:sn(a)]},ngContentSelectors:AIe,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(a,i){a&1&&(Ct(IIe),D(0,"span",0),Me(1),Me(2,1),Me(3,2),I(),V(4,TIe,3,0,"span",1)),a&2&&(Ee("mat-content-hide-toggle",!i._showToggle()),S(4),W(i._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:"";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}}
71
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hie=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}));let e=t;return e})(),Uie=(()=>{const t=class t extends _Ie{constructor(){super(...arguments);o(this,"_keyManager");o(this,"_ownHeaders",new jo);o(this,"_headers");o(this,"hideToggle",!1);o(this,"displayMode","default");o(this,"togglePosition","after")}ngAfterContentInit(){this._headers.changes.pipe(Da(this._headers)).subscribe(i=>{this._ownHeaders.reset(i.filter(r=>r.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Jf(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(i){this._keyManager.onKeydown(i)}_handleHeaderFocus(i){this._keyManager.updateActiveItem(i)}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._keyManager)==null||i.destroy(),this._ownHeaders.destroy()}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=ot(t)))(r||t)}})()),o(t,"ɵdir",he({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,s){if(i&1&&ht(s,Kg,5),i&2){let l;ye(l=_e())&&(r._headers=l)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&Ee("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",pe],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[st([{provide:Nm,useExisting:t}]),ze]}));let e=t;return e})(),Wie=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,wIe,qo]}));let e=t;return e})(),MIe=["*"],RIe=new Y("MAT_CARD_CONFIG"),qie=(()=>{const t=class t{constructor(){o(this,"appearance");let a=_(RIe,{optional:!0});this.appearance=(a==null?void 0:a.appearance)||"raised"}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,i){a&2&&Ee("mat-mdc-card-outlined",i.appearance==="outlined")("mdc-card--outlined",i.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:MIe,decls:1,vars:0,template:function(a,i){a&1&&(Ct(),Me(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
72
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),$ie=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Yie=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,Nt]}));let e=t;return e})();function PIe(e,t){return this.dates()}function NIe(e,t){if(e&1&&(D(0,"span",0),P(1),T(2,"translate"),T(3,"firstLetterUppercase"),I()),e&2){let n=t.$implicit,a=L();z("ngClass",a.activeWeekDays().includes(n)?"active":"inactive"),S(),ie(" ",N(3,4,N(2,2,"medicationSchemeListView.days."+n))," ")}}var LIe=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.dates=Oe.required(),this.allDays=[Yt.MONDAY,Yt.TUESDAY,Yt.WEDNESDAY,Yt.THURSDAY,Yt.FRIDAY,Yt.SATURDAY,Yt.SUNDAY],this.activeWeekDays=pa(()=>this.dates().map(a=>this.allDays[cr(a)-1]))}get ariaLabel(){let a=this.dates().map(i=>this.allDays[cr(i)-1]).map(i=>this.translate.instant("commons.days."+i).toLowerCase()).join(", ");return this.translate.instant("medicationSchemeListView.toTake",{days:a})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-weekdays-intake"]],hostVars:1,hostBindings:function(a,i){a&2&&be("aria-label",i.ariaLabel)},inputs:{dates:[1,"dates"]},decls:2,vars:0,consts:[[3,"ngClass"]],template:function(a,i){a&1&&Ba(0,NIe,4,6,"span",0,PIe,!0),a&2&&ja(i.allDays)},dependencies:[Eu,qt,ji],styles:["[_nghost-%COMP%]{display:flex;margin:16px 0}@media only screen and (max-width: 600px){[_nghost-%COMP%]{justify-content:space-between}}@media only screen and (min-width: 600px){[_nghost-%COMP%] span[_ngcontent-%COMP%]{margin-right:8px}}[_nghost-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;border-radius:6px;padding:6px}@media (max-width: 360px){[_nghost-%COMP%] span[_ngcontent-%COMP%]{padding:2px}}[_nghost-%COMP%] .active[_ngcontent-%COMP%]{color:#0d0d0d;background:#b8efd6;border:2px solid #1d8657}[_nghost-%COMP%] .inactive[_ngcontent-%COMP%]{color:gray;background:transparent;border:2px solid #808080}"],changeDetection:0});let e=t;return e})(),FIe=e=>({count:e});function VIe(e,t){e&1&&(P(0),T(1,"translateValue")),e&2&&ie(" ",N(1,1,t)," ")}function zIe(e,t){if(e&1&&(P(0),T(1,"translate")),e&2){let n=L();ie(" ",na(1,1,"commons.administrationUnits."+n.unit,hn(4,FIe,n.value))," ")}}function BIe(e,t){if(e&1&&(P(0),T(1,"quantity"),V(2,zIe,2,6)),e&2){let n=t;ie(" ",N(1,2,n.value)," "),S(2),W(n.unit?2:-1)}}function jIe(e,t){e&1&&(D(0,"p"),P(1),I()),e&2&&(S(),te(t))}function HIe(e,t){e&1&&(D(0,"p"),P(1),I()),e&2&&(S(),te(t))}function UIe(e,t){if(e&1&&(V(0,jIe,2,1,"p")(1,HIe,2,1,"p"),T(2,"translateValue")),e&2){let n,a,i=L();W((n=i.item().medication.treatmentStartCondition)?0:-1,n),S(),W((a=N(2,2,i.item().medication.instructions))?1:-1,a)}}function WIe(e,t){if(e&1&&Z(0,"vidis-medication-scheme-weekdays-intake",2),e&2){let n=L(2);z("dates",n.item().dates)}}function qIe(e,t){if(e&1&&(V(0,WIe,1,1,"vidis-medication-scheme-weekdays-intake",2),Z(1,"vidis-medication-scheme-remark-flag",3)),e&2){let n=L();W(n.dateInfo().view===n.views.WEEK?0:-1),S(),z("item",n.item())("dateInfo",n.dateInfo())}}var $Ie=(()=>{const t=class t{constructor(){this.activeTab=Oe.required(),this.dateInfo=Oe.required(),this.item=Oe.required(),this.dayParts=oo,this.views=pi}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-card"]],inputs:{activeTab:[1,"activeTab"],dateInfo:[1,"dateInfo"],item:[1,"item"]},decls:13,vars:10,consts:[[1,"textOverflow"],[3,"item"],[3,"dates"],[3,"item","dateInfo"]],template:function(a,i){if(a&1&&(D(0,"mat-card")(1,"mat-card-content")(2,"strong",0),P(3),T(4,"translateValue"),T(5,"firstLetterUppercase"),I(),D(6,"p",0),V(7,VIe,2,3)(8,BIe,3,4),I(),D(9,"p"),Z(10,"vidis-medication-scheme-day-part",1),I(),V(11,UIe,3,4)(12,qIe,2,3),I()()),a&2){let r,s;S(3),te(N(5,8,N(4,6,i.item().medication.name))),S(4),W((r=i.item().posology.text)?7:-1,r),S(),W((s=i.item().posology.quantity)?8:-1,s),S(2),z("item",i.item()),S(),W(i.activeTab()===i.dayParts.IF_NEEDED?11:-1),S(),W(i.activeTab()!==i.dayParts.IF_NEEDED?12:-1)}},dependencies:[Yie,qie,$ie,Xa,qu,qt,Yu,LIe,zie,Zl,ji,Yg],styles:["mat-card[_ngcontent-%COMP%]{margin-top:10px}mat-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:16px}"],changeDetection:0});let e=t;return e})(),YIe=()=>({height:"250px",margin:"3px"});function GIe(e,t){e&1&&Z(0,"ngx-skeleton-loader",1),e&2&&z("count",2)("theme",on(2,YIe))}function ZIe(e,t){if(e&1){let n=gt();D(0,"vidis-medication-scheme-card",3),xe("click",function(){let a=Ce(n).$implicit,i=L(4);return Se(i.clickDetails.emit(a.medication.id))}),I()}if(e&2){let n=t.$implicit,a=L(3).$implicit,i=L();z("activeTab",a.part)("dateInfo",i.dateInfo())("item",n)}}function KIe(e,t){if(e&1&&Ba(0,ZIe,1,3,"vidis-medication-scheme-card",2,Si),e&2){let n=L();ja(n)}}function QIe(e,t){if(e&1&&(D(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),P(3),T(4,"translate"),I()(),V(5,GIe,1,3,"ngx-skeleton-loader",1)(6,KIe,2,0),I()),e&2){let n=t,a=L().$implicit,i=L();z("disabled",!i.isLoading()&&n.length<=0),S(3),sr("",N(4,4,"medicationSchemeMoments."+a)," (",n.length,")"),S(2),W(i.isLoading()?5:6)}}function XIe(e,t){if(e&1&&(V(0,QIe,7,6,"mat-expansion-panel",0),T(1,"filterMedicationByDayPart")),e&2){let n,a=t.$implicit,i=L();W((n=na(1,1,i.items(),a))?0:-1,n)}}var JIe=(()=>{const t=class t{constructor(){this.isLoading=Oe.required(),this.dateInfo=Oe.required(),this.items=Oe.required({transform:this.filterOutUndefinedMedications}),this.clickDetails=qr(),this.dayPartOrder=Object.values(oo)}filterOutUndefinedMedications(a){return a.filter(i=>i.medication)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-mobile"]],inputs:{isLoading:[1,"isLoading"],dateInfo:[1,"dateInfo"],items:[1,"items"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:0,consts:[[3,"disabled"],["appearence","line",3,"count","theme"],[3,"activeTab","dateInfo","item"],[3,"click","activeTab","dateInfo","item"]],template:function(a,i){a&1&&(D(0,"mat-accordion"),Ba(1,XIe,2,4,null,null,Si),I()),a&2&&(S(),ja(i.dayPartOrder))},dependencies:[Uie,Wie,Zg,Kg,Hie,Ql,Kl,$Ie,FSe,qt],styles:["mat-expansion-panel-header[_ngcontent-%COMP%]{--mat-expansion-header-text-color: #2473db}mat-expansion-panel-header[_ngcontent-%COMP%]{--mat-expansion-header-indicator-color: #2473db}mat-card[_ngcontent-%COMP%]{margin-top:10px}"],changeDetection:0});let e=t;return e})();function eAe(e,t){if(e&1&&(D(0,"p",3),P(1),T(2,"translate"),I()),e&2){let n=L();S(),te(N(2,1,"medicationSchemeListView.noMedications."+n.activeDate().view))}}var tAe=(()=>{const t=class t{constructor(){this.isLoading=Oe.required(),this.filteredMedicationViewItems=Oe.required(),this.activeDate=ds.required(),this.clickDetails=qr()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-moment-view"]],inputs:{isLoading:[1,"isLoading"],filteredMedicationViewItems:[1,"filteredMedicationViewItems"],activeDate:[1,"activeDate"]},outputs:{activeDate:"activeDateChange",clickDetails:"clickDetails"},decls:4,vars:8,consts:[[3,"activeDateChange","activeDate"],[3,"isLoading","dateInfo","items"],[3,"clickDetails","isLoading","dateInfo","items"],[1,"no-content"]],template:function(a,i){a&1&&(D(0,"vidis-medication-scheme-date-toggler",0),mr("activeDateChange",function(r){return eo(i.activeDate,r)||(i.activeDate=r),r}),I(),Z(1,"vidis-medication-scheme-desktop",1),D(2,"vidis-medication-scheme-mobile",2),xe("clickDetails",function(r){return i.clickDetails.emit(r)}),I(),V(3,eAe,3,3,"p",3)),a&2&&(pr("activeDate",i.activeDate),S(),z("isLoading",i.isLoading())("dateInfo",i.activeDate())("items",i.filteredMedicationViewItems()),S(),z("isLoading",i.isLoading())("dateInfo",i.activeDate())("items",i.filteredMedicationViewItems()),S(),W(!i.isLoading()&&i.filteredMedicationViewItems().length<=0?3:-1))},dependencies:[Xa,qt,yIe,JIe,e2e],styles:["@media only screen and (min-width: 960px){vidis-medication-scheme-mobile[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width: 960px){vidis-medication-scheme-desktop[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})(),aAe=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.loadingStatus=nr,this.isLoading=Oe.required(),this.medicationScheme=Oe.required(),this.view=Oe.required(),this.clickDetails=qr(),this.dateToggleEmit=ds.required(),this.activeDate=pa(()=>yt(ge({},this.dateToggleEmit()),{view:this.view()})),this.currentLang=Wae(this.translate.onLangChange.pipe(It(a=>a.lang),Da(this.translate.currentLang))),this.filteredMedicationViewItems=pa(()=>{let a=this.medicationScheme(),i=Object.values(oo);if(!this.isLoading()&&a){let r=RSe(a.medications),s=this.filterMedications(r,this.activeDate());return i.forEach(l=>{s.some(c=>c.posology.dayPart===l)||s.push({medication:void 0,posology:{dayPart:l}})}),OSe(s,this.currentLang())}return[]})}filterMedications(a,i){if(this.view()==pi.DAY)return a.filter(s=>d0(s,i.displayDate));let r=gSe(i.startOfWeek,i.endOfWeek);return a.map(s=>yt(ge({},s),{dates:r.filter(l=>d0(s,l))})).filter(s=>s.dates.length)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-daily-weekly"]],inputs:{isLoading:[1,"isLoading"],medicationScheme:[1,"medicationScheme"],view:[1,"view"],dateToggleEmit:[1,"dateToggleEmit"]},outputs:{clickDetails:"clickDetails",dateToggleEmit:"dateToggleEmitChange"},decls:1,vars:3,consts:[[3,"activeDateChange","clickDetails","isLoading","filteredMedicationViewItems","activeDate"]],template:function(a,i){a&1&&(D(0,"vidis-medication-scheme-moment-view",0),xe("activeDateChange",function(r){return i.dateToggleEmit.set(r)})("clickDetails",function(r){return i.clickDetails.emit(r)}),I()),a&2&&z("isLoading",i.isLoading())("filteredMedicationViewItems",i.filteredMedicationViewItems())("activeDate",i.activeDate())},dependencies:[tAe],encapsulation:2,changeDetection:0});let e=t;return e})(),iAe=["button"],nAe=["*"];function rAe(e,t){if(e&1&&(D(0,"div",2),Z(1,"mat-pseudo-checkbox",6),I()),e&2){let n=L();S(),z("disabled",n.disabled)}}var Gie=new Y("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:oAe});function oAe(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var Zie=new Y("MatButtonToggleGroup"),sAe={provide:Ou,useExisting:Kr(()=>Qie),multi:!0},Kie=class{constructor(e,t){o(this,"source");o(this,"value");this.source=e,this.value=t}},Qie=(()=>{const t=class t{constructor(){o(this,"_changeDetector",_(_t));o(this,"_dir",_(Ma,{optional:!0}));o(this,"_multiple",!1);o(this,"_disabled",!1);o(this,"_disabledInteractive",!1);o(this,"_selectionModel");o(this,"_rawValue");o(this,"_controlValueAccessorChangeFn",()=>{});o(this,"_onTouched",()=>{});o(this,"_buttonToggles");o(this,"appearance");o(this,"_name",_(ra).getId("mat-button-toggle-group-"));o(this,"vertical");o(this,"valueChange",new ee);o(this,"change",new ee);o(this,"_hideSingleSelectionIndicator");o(this,"_hideMultipleSelectionIndicator");let a=_(Gie,{optional:!0});this.appearance=a&&a.appearance?a.appearance:"standard",this.hideSingleSelectionIndicator=(a==null?void 0:a.hideSingleSelectionIndicator)??!1,this.hideMultipleSelectionIndicator=(a==null?void 0:a.hideMultipleSelectionIndicator)??!1}get name(){return this._name}set name(a){this._name=a,this._markButtonsForCheck()}get value(){let a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a.map(i=>i.value):a[0]?a[0].value:void 0}set value(a){this._setSelectionByValue(a),this.valueChange.emit(this.value)}get selected(){let a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a:a[0]||null}get multiple(){return this._multiple}set multiple(a){this._multiple=a,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(a){this._disabledInteractive=a,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(a){this._hideSingleSelectionIndicator=a,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(a){this._hideMultipleSelectionIndicator=a,this._markButtonsForCheck()}ngOnInit(){this._selectionModel=new YC(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(a=>a.checked)),this.multiple||this._initializeTabIndex()}writeValue(a){this.value=a,this._changeDetector.markForCheck()}registerOnChange(a){this._controlValueAccessorChangeFn=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this.disabled=a}_keydown(a){if(this.multiple||this.disabled)return;let i=a.target.id,r=this._buttonToggles.toArray().findIndex(l=>l.buttonId===i),s=null;switch(a.keyCode){case 32:case 13:s=this._buttonToggles.get(r)||null;break;case 38:s=this._getNextButton(r,-1);break;case 37:s=this._getNextButton(r,this.dir==="ltr"?-1:1);break;case 40:s=this._getNextButton(r,1);break;case 39:s=this._getNextButton(r,this.dir==="ltr"?1:-1);break;default:return}s&&(a.preventDefault(),s._onButtonClick(),s.focus())}_emitChangeEvent(a){let i=new Kie(a,this.value);this._rawValue=i.value,this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(a,i,r=!1,s=!1){!this.multiple&&this.selected&&!a.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(a):this._selectionModel.deselect(a):s=!0,s?Promise.resolve().then(()=>this._updateModelValue(a,r)):this._updateModelValue(a,r)}_isSelected(a){return this._selectionModel&&this._selectionModel.isSelected(a)}_isPrechecked(a){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>a.value!=null&&i===a.value):a.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(a=>{a.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let a=0;a<this._buttonToggles.length;a++){let i=this._buttonToggles.get(a);if(!i.disabled){i.tabIndex=0;break}}this._markButtonsForCheck()}_getNextButton(a,i){let r=this._buttonToggles;for(let s=1;s<=r.length;s++){let l=(a+i*s+r.length)%r.length,c=r.get(l);if(c&&!c.disabled)return c}return null}_setSelectionByValue(a){if(this._rawValue=a,!this._buttonToggles)return;let i=this._buttonToggles.toArray();if(this.multiple&&a?(this._clearSelection(),a.forEach(r=>this._selectValue(r,i))):(this._clearSelection(),this._selectValue(a,i)),!this.multiple&&i.every(r=>r.tabIndex===-1)){for(let r of i)if(!r.disabled){r.tabIndex=0;break}}}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(a=>{a.checked=!1,this.multiple||(a.tabIndex=-1)})}_selectValue(a,i){for(let r of i)if(r.value===a){r.checked=!0,this._selectionModel.select(r),this.multiple||(r.tabIndex=0);break}}_updateModelValue(a,i){i&&this._emitChangeEvent(a),this.valueChange.emit(this.value)}_markButtonsForCheck(){var a;(a=this._buttonToggles)==null||a.forEach(i=>i._markForCheck())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",he({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,i,r){if(a&1&&ht(r,Qg,5),a&2){let s;ye(s=_e())&&(i._buttonToggles=s)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(a,i){a&1&&xe("keydown",function(r){return i._keydown(r)}),a&2&&(be("role",i.multiple?"group":"radiogroup")("aria-disabled",i.disabled),Ee("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard",i.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",pe],value:"value",multiple:[2,"multiple","multiple",pe],disabled:[2,"disabled","disabled",pe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",pe],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",pe],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",pe]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[st([sAe,{provide:Zie,useExisting:t}])]}));let e=t;return e})(),Qg=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(_t));o(this,"_elementRef",_(Te));o(this,"_focusMonitor",_(ao));o(this,"_idGenerator",_(ra));o(this,"_animationMode",_(Ia,{optional:!0}));o(this,"_checked",!1);o(this,"ariaLabel");o(this,"ariaLabelledby",null);o(this,"_buttonElement");o(this,"buttonToggleGroup");o(this,"id");o(this,"name");o(this,"value");o(this,"_tabIndex");o(this,"disableRipple");o(this,"_appearance");o(this,"_disabled",!1);o(this,"_disabledInteractive");o(this,"change",new ee);_(Aa).load(Bn);let a=_(Zie,{optional:!0}),i=_(new rs("tabindex"),{optional:!0})||"",r=_(Gie,{optional:!0});this._tabIndex=parseInt(i)||0,this.buttonToggleGroup=a,this.appearance=r&&r.appearance?r.appearance:"standard",this.disabledInteractive=(r==null?void 0:r.disabledInteractive)??!1}get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(a){a!==this._tabIndex&&(this._tabIndex=a,this._markForCheck())}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(a){this._appearance=a}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(a){a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(a){this._disabled=a}get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(a){this._disabledInteractive=a}ngOnInit(){let a=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),a&&(a._isPrechecked(this)?this.checked=!0:a._isSelected(this)!==this._checked&&a._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 a=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),a&&a._isSelected(this)&&a._syncButtonToggle(this,!1,!1,!0)}focus(a){this._buttonElement.nativeElement.focus(a)}_onButtonClick(){if(this.disabled)return;let a=this.isSingleSelector()?!0:!this._checked;if(a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let i=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);i&&(i.tabIndex=-1),this.tabIndex=0}this.change.emit(new Kie(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(a,i){if(a&1&&Ye(iAe,5),a&2){let r;ye(r=_e())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(a,i){a&1&&xe("focus",function(){return i.focus()}),a&2&&(be("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),Ee("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-disabled-interactive",i.disabledInteractive)("mat-button-toggle-appearance-standard",i.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",pe],appearance:"appearance",checked:[2,"checked","checked",pe],disabled:[2,"disabled","disabled",pe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",pe]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:nAe,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(a,i){if(a&1){let r=gt();Ct(),D(0,"button",1,0),xe("click",function(){return Ce(r),Se(i._onButtonClick())}),V(2,rAe,2,1,"div",2),D(3,"span",3),Me(4),I()(),Z(5,"span",4)(6,"span",5)}if(a&2){let r=Ei(1);z("id",i.buttonId)("disabled",i.disabled&&!i.disabledInteractive||null),be("role",i.isSingleSelector()?"radio":"button")("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-pressed",i.isSingleSelector()?null:i.checked)("aria-checked",i.isSingleSelector()?i.checked:null)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-disabled",i.disabled&&i.disabledInteractive?"true":null),S(2),W(i.buttonToggleGroup&&(!i.buttonToggleGroup.multiple&&!i.buttonToggleGroup.hideSingleSelectionIndicator||i.buttonToggleGroup.multiple&&!i.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),S(4),z("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[Tu,RC],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))}
73
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),lAe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Nt,rg,Qg,Nt]}));let e=t;return e})(),cAe=["*"];function dAe(e,t){e&1&&(D(0,"div",2),ir(),D(1,"svg",3),Z(2,"path",4),I()())}var Xie=new Y("MAT_SORT_DEFAULT_OPTIONS"),Lm=(()=>{const t=class t{constructor(a){o(this,"_defaultOptions");o(this,"_initializedStream",new qm(1));o(this,"sortables",new Map);o(this,"_stateChanges",new ue);o(this,"active");o(this,"start","asc");o(this,"_direction","");o(this,"disableClear");o(this,"disabled",!1);o(this,"sortChange",new ee);o(this,"initialized",this._initializedStream);this._defaultOptions=a}get direction(){return this._direction}set direction(a){this._direction=a}register(a){this.sortables.set(a.id,a)}deregister(a){this.sortables.delete(a.id)}sort(a){this.active!=a.id?(this.active=a.id,this.direction=a.start?a.start:this.start):this.direction=this.getNextSortDirection(a),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(a){var l;if(!a)return"";let i=(a==null?void 0:a.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),r=uAe(a.start||this.start,i),s=r.indexOf(this.direction)+1;return s>=r.length&&(s=0),r[s]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};o(t,"ɵfac",function(a){return new(a||t)(Gt(Xie,8))}),o(t,"ɵdir",he({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",pe],disabled:[2,"matSortDisabled","disabled",pe]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Kt]}));let e=t;return e})();function uAe(e,t){let n=["asc","desc"];return e=="desc"&&n.reverse(),t||n.push(""),n}var Wd=(()=>{const t=class t{constructor(){o(this,"changes",new ue)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function hAe(e){return e||new Wd}var pAe={provide:Wd,deps:[[new Xo,new Jo,Wd]],useFactory:hAe},mAe=(()=>{const t=class t{constructor(){o(this,"_intl",_(Wd));o(this,"_sort",_(Lm,{optional:!0}));o(this,"_columnDef",_("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));o(this,"_changeDetectorRef",_(_t));o(this,"_focusMonitor",_(ao));o(this,"_elementRef",_(Te));o(this,"_ariaDescriber",_(hfe,{optional:!0}));o(this,"_renderChanges");o(this,"_animationModule",_(Ia,{optional:!0}));o(this,"_recentlyCleared",Ga(null));o(this,"_sortButton");o(this,"id");o(this,"arrowPosition","after");o(this,"start");o(this,"disabled",!1);o(this,"_sortActionDescription","Sort");o(this,"disableClear");_(Aa).load(Bn);let a=_(Xie,{optional:!0});this._sort,a!=null&&a.arrowPosition&&(this.arrowPosition=a==null?void 0:a.arrowPosition)}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(a){this._updateSortActionDescription(a)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=ha(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(){var a,i;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(a=this._renderChanges)==null||a.unsubscribe(),this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let a=this._isSorted(),i=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(a&&!this._isSorted()?i:null)}}_handleKeydown(a){(a.keyCode===32||a.keyCode===13)&&(a.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(a){var i,r;this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription),(r=this._ariaDescriber)==null||r.describe(this._sortButton,a)),this._sortActionDescription=a}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",se({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,i){a&1&&xe("click",function(){return i._toggleOnInteraction()})("keydown",function(r){return i._handleKeydown(r)})("mouseleave",function(){return i._recentlyCleared.set(null)}),a&2&&(be("aria-sort",i._getAriaSortAttribute()),Ee("mat-sort-header-disabled",i._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",pe],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",pe]},exportAs:["matSortHeader"],ngContentSelectors:cAe,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(a,i){a&1&&(Ct(),D(0,"div",0)(1,"div",1),Me(2),I(),V(3,dAe,3,0,"div",2),I()),a&2&&(Ee("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before",i.arrowPosition==="before")("mat-sort-header-descending",i._sort.direction==="desc")("mat-sort-header-ascending",i._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",i._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",i._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",i._animationModule==="NoopAnimations"),be("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),S(3),W(i._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}
74
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),fAe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[pAe],imports:[Nt]}));let e=t;return e})(),gAe=()=>["expandDetails"],bAe=e=>({view:e}),vAe=()=>({height:"47px",margin:"0px"});function yAe(e,t){e&1&&(D(0,"th",16),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.medication")," "))}function _Ae(e,t){if(e&1){let n=gt();D(0,"td",17)(1,"vidis-table-detail-button",18),mr("expandedElementChange",function(a){Ce(n);let i=L();return eo(i.expandedElement,a)||(i.expandedElement=a),Se(a)}),D(2,"div",19),P(3),T(4,"translateValue"),T(5,"firstLetterUppercase"),I()()()}if(e&2){let n=t.$implicit,a=L();S(),z("item",n),pr("expandedElement",a.expandedElement),S(2),te(N(5,5,N(4,3,n.name)))}}function xAe(e,t){e&1&&Z(0,"th",20)}function wAe(e,t){e&1&&(D(0,"mat-chip-set")(1,"mat-chip",21),P(2),T(3,"translate"),I()()),e&2&&(S(),z("disableRipple",!0),S(),ie(" ",N(3,2,"medicationSchemeListView.future")," "))}function kAe(e,t){if(e&1&&(D(0,"td",17),V(1,wAe,4,4,"mat-chip-set"),T(2,"isFutureMedication"),I()),e&2){let n=t.$implicit;S(),W(N(2,1,n)?1:-1)}}function CAe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.dose")," "))}function SAe(e,t){e&1&&(D(0,"div",22),P(1),I()),e&2&&(S(),te(t))}function EAe(e,t){e&1&&(P(0),T(1,"translate")),e&2&&ie(" ",N(1,1,"medicationSchemeListView.consultDetails")," ")}function DAe(e,t){e&1&&(P(0),T(1,"translate")),e&2&&ie(" ",N(1,1,"medicationSchemeListView.notSpecified")," ")}function IAe(e,t){if(e&1&&(D(0,"td",17),V(1,SAe,2,1,"div",22),T(2,"dose"),V(3,EAe,2,3)(4,DAe,2,3),I()),e&2){let n,a=t.$implicit;S(),W((n=N(2,1,a))?1:!(a.posology==null||a.posology[0]==null)&&a.posology[0].quantity||!(a.posology==null||a.posology[0]==null)&&a.posology[0].text?3:4,n)}}function AAe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.indication")," "))}function TAe(e,t){if(e&1&&(D(0,"div",22),P(1),T(2,"translateValue"),T(3,"firstLetterUppercase"),I()),e&2){let n=L().$implicit;S(),te(N(3,3,N(2,1,n.indication)))}}function OAe(e,t){if(e&1&&(D(0,"td",17),V(1,TAe,4,5,"div",22),I()),e&2){let n=t.$implicit;S(),W(n.indication?1:-1)}}function MAe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.remark")," "))}function RAe(e,t){if(e&1&&Z(0,"vidis-medication-scheme-remark-flag",23),e&2){let n=L(2);z("dateInfo",hn(1,bAe,n.dateTogglerViews.LIST))}}function PAe(e,t){if(e&1&&(D(0,"td",17),V(1,RAe,1,3,"vidis-medication-scheme-remark-flag",23),I()),e&2){let n=t.$implicit,a=L();S(),W(n.temporality===a.temporality.ONESHOT?1:-1)}}function NAe(e,t){e&1&&(D(0,"th",20),P(1),T(2,"translate"),I()),e&2&&(S(),ie(" ",N(2,1,"medicationSchemeListView.headers.leaflet")," "))}function LAe(e,t){e&1&&(D(0,"a",24),T(1,"translateValue"),T(2,"translate"),Z(3,"mat-icon",25),I()),e&2&&(z("href",N(1,2,t),If),be("aria-label",N(2,4,"medicationSchemeListView.headers.leaflet")))}function FAe(e,t){if(e&1&&(D(0,"td",17),V(1,LAe,4,6,"a",24),I()),e&2){let n,a=t.$implicit;S(),W((n=a.leaflet)?1:-1,n)}}function VAe(e,t){if(e&1&&(D(0,"td",26)(1,"div"),Z(2,"vidis-medication-scheme-details-row",27),I()()),e&2){let n=t.$implicit,a=L();Ee("mh-detail-row--expanded",n===a.expandedElement()),z("colSpan",a.columnsToDisplay().length),S(2),z("medication",n)}}function zAe(e,t){e&1&&Z(0,"tr",28)}function BAe(e,t){if(e&1&&Z(0,"tr",29),e&2){let n=L();z("hidden",n.isLoading())}}function jAe(e,t){if(e&1&&Z(0,"tr",30),e&2){let n=L();z("hidden",n.isLoading())}}function HAe(e,t){e&1&&Z(0,"ngx-skeleton-loader",15),e&2&&z("count",3)("theme",on(2,vAe))}var UAe=(()=>{const t=class t{set sort(a){this.dataSource.sort=a,this.dataSource.sortingDataAccessor=(i,r)=>this.getSortingAccessor(i,r)}constructor(){this.translate=_(Ra),this.isLoading=Oe.required(),this.view=Oe.required(),this.medications=Oe.required(),this.temporality=Yl,this.dateTogglerViews=pi,this.dataSource=new Lie([]),this.columnsToDisplay=pa(()=>{var a;return(a=this.medications())!=null&&a.some(i=>Wu(i))?["name","future","dose","indication","remark","leaflet"]:["name","dose","indication","remark","leaflet"]}),this.expandedElement=Ga(null),ku(()=>this.dataSource.data=this.medications())}getSortingAccessor(a,i){var r;return i!=="name"||!a[i]?"":(r=ql(a[i],this.translate.currentLang))==null?void 0:r.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLocaleLowerCase()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-list-desktop"]],viewQuery:function(a,i){if(a&1&&Ye(Lm,7),a&2){let r;ye(r=_e())&&(i.sort=r.first)}},inputs:{isLoading:[1,"isLoading"],view:[1,"view"],medications:[1,"medications"]},decls:26,vars:9,consts:[["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","future"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","dose"],["matColumnDef","indication"],["matColumnDef","remark"],["matColumnDef","leaflet"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns"],["class","mh-detail-row","mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns"],["appearance","line",3,"count","theme"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"expandedElementChange","item","expandedElement"],[1,"textOverflow","align-left"],["mat-header-cell",""],[1,"mh-green","mh-no-overlay",3,"disableRipple"],[1,"textOverflow"],[3,"dateInfo"],["mat-icon-button","","target","_blank",3,"href"],["fontIcon","menu_book"],["mat-cell","",3,"colSpan"],[3,"medication"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row","",1,"mh-detail-row",3,"hidden"]],template:function(a,i){a&1&&(D(0,"table",0),T(1,"translate"),da(2,1),V(3,yAe,3,3,"th",2)(4,_Ae,6,7,"td",3),ua(),da(5,4),V(6,xAe,1,0,"th",5)(7,kAe,3,3,"td",3),ua(),da(8,6),V(9,CAe,3,3,"th",5)(10,IAe,5,3,"td",3),ua(),da(11,7),V(12,AAe,3,3,"th",5)(13,OAe,2,1,"td",3),ua(),da(14,8),V(15,MAe,3,3,"th",5)(16,PAe,2,1,"td",3),ua(),da(17,9),V(18,NAe,3,3,"th",5)(19,FAe,2,1,"td",3),ua(),da(20,10),V(21,VAe,3,4,"td",11),ua(),V(22,zAe,1,0,"tr",12)(23,BAe,1,1,"tr",13)(24,jAe,1,1,"tr",14),I(),V(25,HAe,1,3,"ngx-skeleton-loader",15)),a&2&&(z("dataSource",i.dataSource),be("aria-label",N(1,6,"medicationSchemeListView."+i.view())),S(22),z("matHeaderRowDef",i.columnsToDisplay()),S(),z("matRowDefColumns",i.columnsToDisplay()),S(),z("matRowDefColumns",on(8,gAe)),S(),W(i.isLoading()?25:-1))},dependencies:[Vie,$u,Nie,Sie,Die,Oie,Iie,Eie,Mie,Aie,Tie,Rie,Pie,fAe,Lm,mAe,qu,gr,Ql,Kl,qt,Yu,sie,gie,Zl,ji,Qae,rie],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"],changeDetection:0});let e=t;return e})(),WAe=e=>({view:e});function qAe(e,t){e&1&&(D(0,"div",0)(1,"mat-chip-set")(2,"mat-chip",3),P(3),T(4,"translate"),I()()()),e&2&&(S(2),z("disableRipple",!0),S(),ie(" ",N(4,2,"medicationSchemeListView.future")," "))}function $Ae(e,t){e&1&&P(0),e&2&&ie(" ",t," ")}function YAe(e,t){e&1&&(P(0),T(1,"translate")),e&2&&ie(" ",N(1,1,"medicationSchemeListView.consultDetails")," ")}function GAe(e,t){e&1&&(P(0),T(1,"translate")),e&2&&ie(" ",N(1,1,"medicationSchemeListView.notSpecified")," ")}function ZAe(e,t){e&1&&(D(0,"p",1),P(1),T(2,"firstLetterUppercase"),I()),e&2&&(S(),ie(" ",N(2,1,t)," "))}function KAe(e,t){if(e&1&&Z(0,"vidis-medication-scheme-remark-flag",2),e&2){let n=L();z("dateInfo",hn(1,WAe,n.dateTogglerViews.LIST))}}var QAe=(()=>{const t=class t{constructor(){this.medication=Oe.required(),this.temporality=Yl,this.dateTogglerViews=pi}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-list-card"]],inputs:{medication:[1,"medication"]},decls:16,vars:15,consts:[[1,"text-end"],[1,"textOverflow"],[3,"dateInfo"],[1,"mh-green","mh-no-overlay",3,"disableRipple"]],template:function(a,i){if(a&1&&(D(0,"mat-card")(1,"mat-card-content"),V(2,qAe,5,4,"div",0),T(3,"isFutureMedication"),D(4,"strong",1),P(5),T(6,"translateValue"),T(7,"firstLetterUppercase"),I(),D(8,"p",1),V(9,$Ae,1,1),T(10,"dose"),V(11,YAe,2,3)(12,GAe,2,3),I(),V(13,ZAe,3,3,"p",1),T(14,"translateValue"),V(15,KAe,1,3,"vidis-medication-scheme-remark-flag",2),I()()),a&2){let r,s,l;S(2),W(N(3,5,i.medication())?2:-1),S(3),te(N(7,9,N(6,7,i.medication().name))),S(4),W((r=N(10,11,i.medication()))?9:!((s=i.medication().posology)==null||s[0]==null)&&s[0].quantity||!((s=i.medication().posology)==null||s[0]==null)&&s[0].text?11:12,r),S(4),W((l=N(14,13,i.medication().indication))?13:-1,l),S(2),W(i.medication().temporality===i.temporality.ONESHOT?15:-1)}},dependencies:[Vie,$u,Yie,qie,$ie,Xa,qt,Yu,Zl,ji,Qae,rie],styles:["mat-card[_ngcontent-%COMP%]{margin-top:10px}mat-card[_ngcontent-%COMP%] .text-end[_ngcontent-%COMP%]{justify-items:end;margin-bottom:10px}mat-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:16px}"],changeDetection:0});let e=t;return e})(),XAe=()=>({height:"250px",margin:"3px"});function JAe(e,t){e&1&&Z(0,"ngx-skeleton-loader",1),e&2&&z("count",2)("theme",on(2,XAe))}function eTe(e,t){if(e&1){let n=gt();D(0,"vidis-medication-scheme-list-card",3),xe("click",function(){let a=Ce(n).$implicit,i=L(2);return Se(i.clickDetails.emit(a.id))}),I()}if(e&2){let n=t.$implicit;z("medication",n)}}function tTe(e,t){if(e&1&&Ba(0,eTe,1,1,"vidis-medication-scheme-list-card",2,Si),e&2){let n=L();ja(n.sortedMedications())}}var aTe=(()=>{const t=class t{constructor(){this.translate=_(Ra),this.isLoading=Oe.required(),this.medications=Oe.required(),this.clickDetails=qr(),this.sortedMedications=pa(()=>MSe(this.medications(),this.translate.currentLang,this.sorting().order)),this.sortingDropdownSet=["medicationName"],this.sorting=Ga({sort:"medicationName",order:Wg.ascending})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-list-mobile"]],inputs:{isLoading:[1,"isLoading"],medications:[1,"medications"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[[3,"emitNewSortValue","sortDataChange","sortItems","sortData"],["appearence","line",3,"count","theme"],[3,"medication"],[3,"click","medication"]],template:function(a,i){a&1&&(D(0,"vidis-sort-dropdown",0),xe("emitNewSortValue",function(r){return i.sorting.set(r)}),mr("sortDataChange",function(r){return eo(i.sorting,r)||(i.sorting=r),r}),I(),V(1,JAe,1,3,"ngx-skeleton-loader",1)(2,tTe,2,0)),a&2&&(z("sortItems",i.sortingDropdownSet),pr("sortData",i.sorting),S(),W(i.isLoading()?1:2))},dependencies:[Ql,Kl,_De,QAe],encapsulation:2,changeDetection:0});let e=t;return e})(),iTe=()=>[];function nTe(e,t){if(e&1&&(D(0,"mat-button-toggle",1),P(1),T(2,"translate"),I()),e&2){let n=t.$implicit;z("value",n),S(),te(N(2,2,"medicationSchemeListView."+n))}}function rTe(e,t){if(e&1&&(D(0,"p",4),P(1),T(2,"translate"),I()),e&2){let n=L(2);S(),ie(" ",N(2,1,"medicationSchemeListView.noMedications."+n.filterTo())," ")}}function oTe(e,t){if(e&1){let n=gt();Z(0,"vidis-medication-scheme-list-desktop",2),D(1,"vidis-medication-scheme-list-mobile",3),xe("clickDetails",function(a){Ce(n);let i=L();return Se(i.clickDetails.emit(a))}),I(),V(2,rTe,3,3,"p",4)}if(e&2){let n=t,a=L();z("isLoading",a.isLoading())("view",a.tab)("medications",n),S(),z("isLoading",a.isLoading())("medications",n),S(),W(!a.isLoading()&&n.length<=0?2:-1)}}var sTe=(()=>{const t=class t{constructor(){this.isLoading=Oe.required(),this.medicationScheme=Oe.required(),this.clickDetails=qr(),this.filterTo=ds.required(),this.filterChips=[Ws.ALL,Ws.CURRENT,Ws.FUTURE]}changeFilter(a){this.filterTo.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-list-view"]],inputs:{isLoading:[1,"isLoading"],medicationScheme:[1,"medicationScheme"],filterTo:[1,"filterTo"]},outputs:{clickDetails:"clickDetails",filterTo:"filterToChange"},decls:5,vars:6,consts:[[3,"change","value"],[3,"value"],[3,"isLoading","view","medications"],[3,"clickDetails","isLoading","medications"],[1,"no-content"]],template:function(a,i){if(a&1&&(D(0,"mat-button-toggle-group",0),xe("change",function(r){return i.changeFilter(r.value)}),Ba(1,nTe,3,4,"mat-button-toggle",1,Si),I(),V(3,oTe,3,6),T(4,"filterMedicationTo")),a&2){let r;z("value",i.filterTo()),S(),ja(i.filterChips),S(2),W((r=na(4,2,((r=i.medicationScheme())==null?null:r.medications)||on(5,iTe),i.filterTo()))?3:-1,r)}},dependencies:[lAe,Qie,Qg,UAe,aTe,qt,VSe],styles:["mat-button-toggle-group[_ngcontent-%COMP%]{margin:16px 0}@media only screen and (min-width: 960px){vidis-medication-scheme-list-mobile[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width: 960px){vidis-medication-scheme-list-desktop[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})();function lTe(e,t){e&1&&(Z(0,"div",2),T(1,"translate")),e&2&&z("innerHTML",N(1,1,"medicationSchemeNoData.walloniaBrussels.textPro"),h1)}function cTe(e,t){e&1&&(D(0,"ul")(1,"li"),P(2),T(3,"translate"),I(),D(4,"li"),P(5),T(6,"translate"),I()()),e&2&&(S(2),te(N(3,2,"medicationSchemeNoData.walloniaBrussels.text1")),S(3),te(N(6,4,"medicationSchemeNoData.walloniaBrussels.text2")))}function dTe(e,t){e&1&&(Z(0,"div",2),T(1,"translate")),e&2&&z("innerHTML",N(1,1,"medicationSchemeNoData.flanders.textPro"),h1)}function uTe(e,t){e&1&&(D(0,"span"),P(1),T(2,"translate"),I()),e&2&&(S(),te(N(2,1,"medicationSchemeNoData.flanders.text")))}var hTe=(()=>{const t=class t{constructor(){this.isProfessional=Oe.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=se({type:t,selectors:[["vidis-medication-scheme-no-data"]],inputs:{isProfessional:[1,"isProfessional"]},decls:46,vars:11,consts:[[1,"content"],[1,"content__accordion"],[3,"innerHTML"],[1,"image"],["xmlns","http://www.w3.org/2000/svg","width","271.257","height","216.322","viewBox","0 0 271.257 216.322"],["id","Group_4712","data-name","Group 4712","transform","translate(-1002 -319)"],["id","Path_4332","data-name","Path 4332","d","M274.281,666.383a132.077,132.077,0,0,0,1.245,16.972c.027.2.057.4.084.592l53.175-.3c.156-.2.31-.395.459-.6.5-.665.962-1.349,1.389-2.056,2.053-3.408,2.993-7.4,2.051-10.15l-.017-.043a4.829,4.829,0,0,0-.943-1.638c-2.147-2.417-6.489-2.014-10.429-.063,3.534-3.868,6.348-8.75,6.562-13.107.21-4.25-2.013-7.286-4.423-9.866-.079-.085-.158-.168-.237-.251-.038-.043-.079-.083-.117-.126-1.881-1.966-4.073-3.9-7.246-3.67-3.48.258-7.339,3.173-10.045,6.57s-4.5,7.251-6.326,11.015a44.457,44.457,0,0,1-6.727,10.833c3.966-5.016,7.164-10.724,8.345-16.275s.142-10.882-3.393-13.5a8.266,8.266,0,0,0-3.621-1.461c-.152-.025-.307-.046-.465-.064a14.512,14.512,0,0,0-10.5,3.464,24.178,24.178,0,0,0-7.461,11.585A39.527,39.527,0,0,0,274.281,666.383Z","transform","translate(940.206 -148.625)","fill","#9bd68c"],["id","Path_4333","data-name","Path 4333","d","M275.759,723.859l1.017-.006q.484-.3.973-.6c.2-.127.406-.25.61-.375q5.059-3.09,10.181-5.928t10.287-5.419a.426.426,0,0,0,.245-.487.123.123,0,0,0-.017-.036c-.048-.09-.155-.128-.312-.051-.423.212-.848.424-1.27.641q-5.183,2.623-10.322,5.507t-10.212,6.021l-.214.132Z","transform","translate(973.519 -188.724)","fill","#fff"],["id","Path_4334","data-name","Path 4334","d","M296.04,692.365l.629,0c.142-.2.281-.4.423-.6l9.993-14.017q8.181-11.474,16.357-22.948a.4.4,0,0,0,.071-.138c.047-.169-.078-.269-.237-.251a.478.478,0,0,0-.332.211l-9.171,12.864L297.5,690.318l-1.035,1.451C296.321,691.969,296.179,692.167,296.04,692.365Z","transform","translate(940.128 -157.156)","fill","#fff"],["id","Path_4335","data-name","Path 4335","d","M362.616,680.131c.032,1.06.1,2.1.194,3.135l.053.593.66,0c-.02-.2-.04-.4-.058-.593-.139-1.493-.238-3-.252-4.552a63.509,63.509,0,0,1,1.25-12.8,79.7,79.7,0,0,1,3.872-13.3,91.322,91.322,0,0,1,6.335-13.158.351.351,0,0,0,.058-.234c-.027-.188-.278-.244-.465-.064a.545.545,0,0,0-.095.12q-.456.785-.9,1.574a91.27,91.27,0,0,0-6.064,13.2,79.325,79.325,0,0,0-3.61,13.319A62.652,62.652,0,0,0,362.616,680.131Z","transform","translate(859.544 -148.573)","fill","#fff"],["id","Path_4337","data-name","Path 4337","d","M439.615,341.8H625.647a6.9,6.9,0,0,0,6.89-6.89V237.229a6.9,6.9,0,0,0-6.89-6.89H439.615a6.9,6.9,0,0,0-6.89,6.89v97.677A6.9,6.9,0,0,0,439.615,341.8ZM625.647,231.15a6.086,6.086,0,0,1,6.079,6.079v97.677a6.086,6.086,0,0,1-6.079,6.079H439.615a6.086,6.086,0,0,1-6.08-6.079V237.229a6.086,6.086,0,0,1,6.079-6.079Z","transform","translate(570.775 90.161)","fill","none","stroke","#277694","stroke-width","3","opacity","0.21"],["id","Group_4711","data-name","Group 4711","transform","translate(1070 342)","opacity","0.43"],["id","Path_4338","data-name","Path 4338","d","M478.228,356.428h52.082a7.512,7.512,0,0,0,7.5-7.5V296.842a7.512,7.512,0,0,0-7.5-7.5H478.228a7.512,7.512,0,0,0-7.5,7.5v52.082A7.512,7.512,0,0,0,478.228,356.428Zm52.082-66.206a6.628,6.628,0,0,1,6.621,6.621v52.082a6.628,6.628,0,0,1-6.621,6.621H478.228a6.628,6.628,0,0,1-6.621-6.621V296.842a6.628,6.628,0,0,1,6.621-6.621Z","transform","translate(-470.725 -289.339)","fill","#d16c1e"],["id","Path_4343","data-name","Path 4343","d","M477.114,356.228a.439.439,0,0,0,.314-.131l61.623-62.454a.441.441,0,0,0-.628-.62L476.8,355.477a.441.441,0,0,0,.314.751Z","transform","translate(-474.716 -291.323)","fill","#d16c1e"],["id","Path_4344","data-name","Path 4344","d","M537.224,356.228a.441.441,0,0,0,.314-.751l-61.621-62.454a.441.441,0,0,0-.628.62L536.91,356.1A.439.439,0,0,0,537.224,356.228Z","transform","translate(-472.534 -291.323)","fill","#d16c1e"],["id","Path_4346","data-name","Path 4346","d","M414.926,739.446H282.072a.441.441,0,1,1,0-.883H414.926a.441.441,0,1,1,0,.883Z","transform","translate(854.643 -204.167)","fill","#3f3d56","opacity","0.16"],["id","Path_4347","data-name","Path 4347","d","M204.267,543.356h-5.411l-2.574-20.872h7.986Z","transform","translate(982.355 -13.131)","fill","#ffb8b8"],["id","Path_4348","data-name","Path 4348","d","M0,6.571H17.007V0H6.571A6.571,6.571,0,0,0,0,6.571H0Z","transform","translate(1170.777 528.68)","fill","#2f2e41"],["id","Path_4349","data-name","Path 4349","d","M123.265,531.857l-4.922,2.248L107.329,516.19l7.265-3.318Z","transform","translate(1102.62 -7.762)","fill","#ffb8b8"],["id","Path_4350","data-name","Path 4350","d","M0,6.571H17.006V0H6.571A6.571,6.571,0,0,0,0,6.571H0Z","transform","translate(1210.83 529.273) rotate(-24.548)","fill","#2f2e41"],["id","Path_4351","data-name","Path 4351","d","M409.262,542.8a4.438,4.438,0,0,0,.354-6.8l6.361-14.433-8.081,1.37-4.8,13.5a4.462,4.462,0,0,0,6.168,6.364Z","transform","translate(800.865 -82.949)","fill","#ffb8b8"],["id","Path_4352","data-name","Path 4352","d","M402.061,614.577l5.191-45.34a1.545,1.545,0,0,1,3.047-.138l2.574,12.4a1.977,1.977,0,0,0,.178.5L428.117,611.3a1.987,1.987,0,0,0,2.453.955l5.238-1.93a1.986,1.986,0,0,0,1.167-2.578l-12.264-31.8a1.54,1.54,0,0,1-.1-.527l-.626-33.207a1.987,1.987,0,0,0-1.793-1.939l-32.545-3.175a1.986,1.986,0,0,0-2.174,2.121l5.467,75.28a1.994,1.994,0,0,0,1.981,1.842h5.169A1.986,1.986,0,0,0,402.061,614.577Z","transform","translate(786.19 -91.616)","fill","#63b6d6"],["id","Ellipse_1470","data-name","Ellipse 1470","cx","10.841","cy","10.841","rx","10.841","ry","10.841","transform","translate(1178.011 367.056)","fill","#ffb8b8"],["id","Path_4353","data-name","Path 4353","d","M420.045,419q.445-.213.884-.409h0a21.951,21.951,0,0,1,22.078,2.384,18.629,18.629,0,0,1,7.635,17.764c-1.942,14.73.281,34.711.512,36.7-17.821,8.195-33.455-2.108-34.843-3.065Z","transform","translate(759.413 -24.345)","fill","#3193b9"],["id","Path_4354","data-name","Path 4354","d","M397.972,491.077a1.981,1.981,0,0,0,1.5-1.144l9.1-20.155a5.054,5.054,0,0,0-.3-4.736L397.09,446.915a3.667,3.667,0,0,0-6.54,3.315l8.263,17.353-5.431,18.382a2,2,0,0,0,.441,1.9l2.371,2.587a1.98,1.98,0,0,0,1.462.644A2.018,2.018,0,0,0,397.972,491.077Z","transform","translate(813.08 -40.167)","fill","#3193b9"],["id","Path_4355","data-name","Path 4355","d","M475.088,497.229l1.682-33.633-.436-.057-7.56,35.576H473.1a1.985,1.985,0,0,0,1.984-1.887Z","transform","translate(710.641 -50.531)","opacity","0.2"],["id","Path_4356","data-name","Path 4356","d","M489.108,536.134a4.438,4.438,0,0,0-1.065-6.722l3.226-15.439-7.621,3.017-1.895,14.2a4.462,4.462,0,0,0,7.355,4.945Z","transform","translate(690.63 -78.705)","fill","#ffb8b8"],["id","Path_4357","data-name","Path 4357","d","M476.832,473.5l6.369-42.457.006-.04-1.231-5.663a5.971,5.971,0,0,0-11.8,1.022l-1.911,46.248a1.993,1.993,0,0,0,1.765,2.056l4.619.513a2.073,2.073,0,0,0,.224.012,1.98,1.98,0,0,0,1.959-1.692Z","transform","translate(704.429 -26.567)","fill","#3193b9"],["id","Path_4358","data-name","Path 4358","d","M454.275,374.354a7.808,7.808,0,0,0,7.009-4.506h0a15.9,15.9,0,0,0,1.66-5.033c.259-3.263-1.584-8.39-4.026-11.2-2.679-3.079-6.918-3.508-11.018-3.924-1.12-.114-2.278-.231-3.375-.4a6.346,6.346,0,0,0-3.107.041,2.253,2.253,0,0,0-1.294,1.224.779.779,0,0,1-.437.437.66.66,0,0,1-.53-.025,1.186,1.186,0,0,0-1.074,0,1.043,1.043,0,0,0-.561.763,1.093,1.093,0,0,1-.1.32,1.266,1.266,0,0,1-.827.626,1.118,1.118,0,0,0-.869,1.2c.066.557.094,1.158.121,1.739.1,2.187.208,4.448,2.406,4.412a6.329,6.329,0,0,0,1.655-.292,2.456,2.456,0,0,1,2.273.132c1.3.812,1.516,2.51,1.7,4.008l.033.262c.219,1.713,1.125,3.775,2.955,3.947a4.255,4.255,0,0,0,1.7-.295,3.047,3.047,0,0,1,1.772-.213,2.442,2.442,0,0,1,1.448,2.525,9.85,9.85,0,0,1-.163,1.266,6.746,6.746,0,0,0-.141,2.019c.052.411.525.682,1.487.853A7.453,7.453,0,0,0,454.275,374.354Z","transform","translate(739.033 13.388)","fill","#2f2e41"]],template:function(a,i){a&1&&(D(0,"div",0)(1,"div",1)(2,"p"),P(3),T(4,"translate"),I(),D(5,"mat-accordion")(6,"mat-expansion-panel")(7,"mat-expansion-panel-header")(8,"mat-panel-title"),P(9),T(10,"translate"),I()(),V(11,lTe,2,3,"div",2)(12,cTe,7,6,"ul"),I(),D(13,"mat-expansion-panel")(14,"mat-expansion-panel-header")(15,"mat-panel-title"),P(16),T(17,"translate"),I()(),V(18,dTe,2,3,"div",2)(19,uTe,3,3,"span"),I()()(),D(20,"div",3),ir(),D(21,"svg",4)(22,"g",5),Z(23,"path",6)(24,"path",7)(25,"path",8)(26,"path",9)(27,"path",10),D(28,"g",11),Z(29,"path",12)(30,"path",13)(31,"path",14),I(),Z(32,"path",15)(33,"path",16)(34,"path",17)(35,"path",18)(36,"path",19)(37,"path",20)(38,"path",21)(39,"ellipse",22)(40,"path",23)(41,"path",24)(42,"path",25)(43,"path",26)(44,"path",27)(45,"path",28),I()()()()),a&2&&(S(3),te(N(4,5,"medicationSchemeNoData.subtitle")),S(6),te(N(10,7,"medicationSchemeNoData.walloniaBrussels."+(i.isProfessional()?"introPro":"intro"))),S(2),W(i.isProfessional()?11:12),S(5),te(N(17,9,"medicationSchemeNoData.flanders."+(i.isProfessional()?"introPro":"intro"))),S(2),W(i.isProfessional()?18:19))},dependencies:[Uie,Wie,Zg,Kg,Hie,qt],styles:["ul[_ngcontent-%COMP%]{padding-inline-start:20px}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;min-width:250px}.content__accordion[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .content__accordion[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-left:20px;margin-top:10px;padding-bottom:16px;max-width:800px}.content[_ngcontent-%COMP%] mat-accordion[_ngcontent-%COMP%]{margin:20px 20px 0}.content[_ngcontent-%COMP%] mat-accordion[_ngcontent-%COMP%] mat-expansion-panel-header[_ngcontent-%COMP%]{--mat-expansion-header-text-color: #2473db}.content[_ngcontent-%COMP%] mat-accordion[_ngcontent-%COMP%] mat-expansion-panel-header[_ngcontent-%COMP%]{--mat-expansion-header-indicator-color: #2473db}.content[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:100%}.content[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{height:100%}@media only screen and (max-width: 960px){.content[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})(),pTe=(e,t)=>[e,t],mTe=()=>({height:"50px",margin:"0px"}),fTe=e=>({safe:e});function gTe(e,t){e&1&&(D(0,"div"),P(1,"Component not properly initialized!"),I())}function bTe(e,t){if(e&1&&Z(0,"vidis-status-message",0),e&2){let n=L();z("error",n.error)}}function vTe(e,t){if(e&1&&Z(0,"vidis-medication-scheme-no-data",1),e&2){let n=L(4);z("isProfessional",n.professional)}}function yTe(e,t){if(e&1&&Z(0,"vidis-error-display",5),e&2){let n=L(3);z("message",n.data.errors[0].code)}}function _Te(e,t){if(e&1){let n=gt();D(0,"vidis-medication-scheme-list-view",8),xe("filterToChange",function(a){Ce(n);let i=L(5);return Se(i.onPageStateChange({filter:a}))})("clickDetails",function(a){Ce(n);let i=L(5);return Se(i.onSelectMedication.emit(a))}),I()}if(e&2){let n=L(3),a=L(2);z("isLoading",n.status===a.loadingStatus.LOADING)("medicationScheme",n==null||n.data==null?null:n.data.schemes[0])("view",a.view)("filterTo",a.pageState.filter)}}function xTe(e,t){if(e&1&&Z(0,"vidis-error-display",5),e&2){let n=L(4);z("message",n.data.errors[0].code)}}function wTe(e,t){if(e&1){let n=gt();D(0,"vidis-medication-scheme-daily-weekly",10),xe("clickDetails",function(a){Ce(n);let i=L(6);return Se(i.onSelectMedication.emit(a))})("dateToggleEmitChange",function(a){Ce(n);let i=L(6);return Se(i.onPageStateChange({date:a}))}),I()}if(e&2){let n=L().$implicit,a=L(3),i=L(2);z("isLoading",a.status===i.loadingStatus.LOADING)("medicationScheme",a==null||a.data==null?null:a.data.schemes[0])("view",n)("dateToggleEmit",i.pageState.date)}}function kTe(e,t){if(e&1&&(D(0,"mat-tab",4),T(1,"translate"),V(2,xTe,1,1,"vidis-error-display",5)(3,wTe,1,4,"vidis-medication-scheme-daily-weekly",9),I()),e&2){let n=t.$implicit,a=L(3);z("label",N(1,2,"medicationSchemeOverview."+n)),S(2),W(!(a==null||a.data==null)&&a.data.errors[0]?2:3)}}function CTe(e,t){e&1&&Z(0,"ngx-skeleton-loader",7),e&2&&z("count",1)("theme",on(2,mTe))}function STe(e,t){if(e&1&&(D(0,"p"),P(1),T(2,"translate"),T(3,"translate"),I()),e&2){let n=L(3);S(),ie(" ",na(3,3,"medicationSchemeListView.disclaimer",hn(6,fTe,N(2,1,"commons.safes."+n.data.schemes[0].source)))," ")}}function ETe(e,t){if(e&1){let n=gt();Z(0,"vidis-medication-scheme-creation-details",2),D(1,"mat-tab-group",3),xe("selectedTabChange",function(a){Ce(n);let i=L(4);return Se(i.onPageStateChange({view:a.index}))}),D(2,"mat-tab",4),T(3,"translate"),V(4,yTe,1,1,"vidis-error-display",5)(5,_Te,1,4,"vidis-medication-scheme-list-view",6),I(),Ba(6,kTe,4,4,"mat-tab",4,Si),I(),V(8,CTe,1,3,"ngx-skeleton-loader",7)(9,STe,4,8,"p")}if(e&2){let n=L(2),a=L(2);z("isLoading",n.status===a.loadingStatus.LOADING)("creationDetails",a.creationDetails()),S(),z("selectedIndex",a.pageState.view),S(),z("label",N(3,6,"medicationSchemeOverview.list")),S(2),W(!(n==null||n.data==null)&&n.data.errors[0]?4:5),S(2),ja(tpe(8,pTe,a.viewsEnum.WEEK,a.viewsEnum.DAY)),S(2),W(n.status===a.loadingStatus.LOADING?8:n.status===a.loadingStatus.SUCCESS&&n.data.schemes[0]?9:-1)}}function DTe(e,t){if(e&1&&V(0,vTe,1,1,"vidis-medication-scheme-no-data",1)(1,ETe,10,11),e&2){let n=L(),a=L(2);W((n==null||n.data==null?null:n.data.errors)<=0&&(n==null||n.data==null?null:n.data.schemes.length)<=0&&n.status!==a.loadingStatus.LOADING?0:1)}}function ITe(e,t){if(e&1&&V(0,bTe,1,1,"vidis-status-message",0)(1,DTe,2,1),e&2){let n=L(2);W(t.status===n.loadingStatus.ERROR?0:1)}}function ATe(e,t){if(e&1&&V(0,ITe,2,1),e&2){let n,a=L();W((n=a.medicationSchemeState())?0:-1,n)}}var TTe=(()=>{const t=class t extends gDe{constructor(){super(...arguments),this.onSelectMedication=new ee,this.creationDetails=pa(()=>{let a=this.medicationSchemeState();if(a.status===nr.SUCCESS&&a.data.schemes[0]){let i=a.data.schemes[0];return{version:i.version,lastChange:i.lastChange,source:i.source}}}),this.loadingStatus=nr,this.viewsEnum=pi}fetchData(a){return _a(this,null,function*(){return this.pageState=this.medicationSchemeService.getPageState(),this.medicationSchemeService.fetchMedicationScheme(a)})}injectService(){nu(this.injector,()=>{this.medicationSchemeService=_(u0),this.medicationSchemeState=Wae(this.medicationSchemeService.medicationSchemeState$),ku(()=>{let a=this.medicationSchemeState();this.checkError(a.error)})})}onPageStateChange(a){this.medicationSchemeService.setPageState(a)}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=ot(t)))(i||t)}})(),t.ɵcmp=se({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[st([u0,lie,cie,SEe]),ze],decls:2,vars:1,consts:[[3,"error"],[3,"isProfessional"],[3,"isLoading","creationDetails"],["mat-stretch-tabs","true",3,"selectedTabChange","selectedIndex"],[3,"label"],[3,"message"],[3,"isLoading","medicationScheme","view","filterTo"],["appearance","line",3,"count","theme"],[3,"filterToChange","clickDetails","isLoading","medicationScheme","view","filterTo"],[3,"isLoading","medicationScheme","view","dateToggleEmit"],[3,"clickDetails","dateToggleEmitChange","isLoading","medicationScheme","view","dateToggleEmit"]],template:function(a,i){a&1&&V(0,gTe,2,0,"div")(1,ATe,1,1),a&2&&W(i.isCorrectlySetup()?1:0)},dependencies:[aSe,Yae,TDe,LEe,sTe,aAe,BDe,hTe,Ql,Kl,qt],encapsulation:2,changeDetection:0});let e=t;return e})(),OTe=class{selectionFinished(e){return this.createWeekRange(e)}createPreview(e){return this.createWeekRange(e)}createWeekRange(e){let t={weekStartsOn:1};if(e){let n=Ka(e,t),a=Fg(e,t);return new wa(n,a)}return new wa(null,null)}};dve({providers:[DCe,{provide:sl,useClass:OTe}]}).then(e=>{let t=Xpe(TTe,{injector:e.injector});customElements.define("vidis-medication-scheme-list",t)}).catch(e=>console.error(e));