@smals-belgium-shared/vidis-medication-scheme-list 3.4.4-snapshot.16 → 3.4.4-snapshot.18
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.
- package/CHANGELOG.md +5 -42
- package/README.md +3 -4
- package/assets/main-C4p9zXWh.js +80 -0
- package/medication-scheme-list.css +1 -1
- package/medication-scheme-list.js +1 -1
- package/package.json +1 -1
- package/assets/main-CUIX4DEl.js +0 -80
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
var fde=Object.defineProperty;var D0=e=>{throw TypeError(e)};var gde=(e,t,n)=>t in e?fde(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var o=(e,t,n)=>gde(e,typeof t!="symbol"?t+"":t,n),I0=(e,t,n)=>t.has(e)||D0("Cannot "+n);var Rn=(e,t,n)=>(I0(e,t,"read from private field"),n?n.call(e):t.get(e)),T0=(e,t,n)=>t.has(e)?D0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),O0=(e,t,n,a)=>(I0(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n);var vde=Object.create,ru=Object.defineProperty,bde=Object.defineProperties,yde=Object.getOwnPropertyDescriptor,_de=Object.getOwnPropertyDescriptors,xde=Object.getOwnPropertyNames,bd=Object.getOwnPropertySymbols,wde=Object.getPrototypeOf,Zm=Object.prototype.hasOwnProperty,n_=Object.prototype.propertyIsEnumerable,A0=(e,t,n)=>t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pe=(e,t)=>{for(var n in t||(t={}))Zm.call(t,n)&&A0(e,n,t[n]);if(bd)for(var n of bd(t))n_.call(t,n)&&A0(e,n,t[n]);return e},dt=(e,t)=>bde(e,_de(t)),Ede=(e,t)=>{var n={};for(var a in e)Zm.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&bd)for(var a of bd(e))t.indexOf(a)<0&&n_.call(e,a)&&(n[a]=e[a]);return n},Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var n in t)ru(e,n,{get:t[n],enumerable:!0})},kde=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xde(t))!Zm.call(e,i)&&i!==n&&ru(e,i,{get:()=>t[i],enumerable:!(a=yde(t,i))||a.enumerable});return e},r_=(e,t,n)=>(n=e!=null?vde(wde(e)):{},kde(t||!e||!e.__esModule?ru(n,"default",{value:e,enumerable:!0}):n,e)),va=(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())}),Cde=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,b=1,y=arguments.length;b<y;b++){f=arguments[b];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,b=f&&m[f],y=0;if(b)return b.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 b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var y=b.call(m),x,k=[],I;try{for(;(f===void 0||f-- >0)&&!(x=y.next()).done;)k.push(x.value)}catch(R){I={error:R}}finally{try{x&&!x.done&&(b=y.return)&&b.call(y)}finally{if(I)throw I.error}}return k}function r(m,f,b){if(arguments.length===2)for(var y=0,x=f.length,k;y<x;y++)(k||!(y in f))&&(k||(k=Array.prototype.slice.call(f,0,y)),k[y]=f[y]);return m.concat(k||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class s extends Error{constructor(f,b,y){super(f),this.token=b,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:b,desc:y,width:x}=m;if(b==="d")return c(x);f(`${y} is not supported`)}function v(m,f){let{char:b,desc:y,width:x}=m;if((b==="c"||b==="e")&&x<3){let k=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(k,s.WARNING)}return l(x)}function g(m){let f=c(m.width),b;switch(m.char){case"h":b="h12";break;case"H":b="h23";break;case"k":b="h24";break;case"K":b="h11";break}return b?{hour:f,hourCycle:b}:{hour:f}}function w(m,f){let{char:b,desc:y,width:x}=m;switch(b){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 E(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:v(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 S(m,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:k=>{throw k},y={timeZone:f},x=[];for(let k of m){let{error:I,field:R,str:z}=k;if(I){let Ie=new s(I.message,k);Ie.stack=I.stack,b(Ie)}if(z){let Ie=`Ignoring string part: ${z}`;b(new s(Ie,k,s.WARNING))}R&&(x.indexOf(R)===-1?x.push(R):b(new s(`Duplicate ${R} token`,k)));let K=E(k,(Ie,Ve)=>b(new s(Ie,k,Ve)));K&&Object.assign(y,K)}return y}let A={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 b=m[f],y=1;for(;m[++f]===b;)++y;let x=A[b];if(!x){let k=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(k),width:y}}return{char:b,field:x.field,desc:x.desc,width:y}}function ve(m,f){let b=m[++f],y=2;if(b==="'")return{char:"'",str:b,width:y};for(;;){let x=m[++f];if(++y,x===void 0){let k=`Unterminated quoted literal in pattern: ${b||m}`;return{char:"'",error:new Error(k),str:b,width:y}}else if(x==="'"){if(m[++f]!=="'")return{char:"'",str:b,width:y};++y}b+=x}}function Pe(m,f){let b=m[f];if(!b)return null;if(B(b))return j(m,f);if(b==="'")return ve(m,f);let y=b,x=1;for(;;){let k=m[++f];if(!k||B(k)||k==="'")return{char:b,str:y,width:x};y+=k,x+=1}}function He(m){let f=[],b=0;for(;;){let y=Pe(m,b);if(!y)return f;f.push(y),b+=y.width}}function xa(m,f,b,y){typeof f=="string"&&(f=He(f)),typeof b=="function"&&(y=b,b=void 0);let x=S(f,b,y),k=new Intl.DateTimeFormat(m,x);return I=>k.format(I)}function ra(m,f,b,y){typeof f=="string"&&(f=He(f)),typeof b=="function"&&(y=b,b=void 0);let x=S(f,b,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 Mt extends Error{constructor(f,b){super(b),this.code=f}}class pa extends Mt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class ge extends Mt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class se extends Mt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class qe extends Mt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class $ extends Mt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class Q extends Mt{constructor(f,b,y){let x=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${x} (got ${b.length})`),this.stem=f,this.options=b}}function ue(m,f){let{numberingSystem:b}=f;return Array.isArray(m)||(m=[m]),b?m.map(y=>{let x=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${x}-${b}`}).concat(m):m}function Qe(m,f){let b=+m+f/2;return b-b%+f}function Ot(m){let{scale:f,unit:b}=m,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Va(m){let f=Ot(m),{precision:b}=m;return b&&b.style==="precision-increment"?y=>Qe(y,b.increment)*f:y=>y*f}function nt(m){let f=Ot(m),{precision:b}=m;if(b&&b.style==="precision-increment"){let y=`+n + ${b.increment/2}`,x=`x - (x % +${b.increment})`;return f!==1&&(x=`(${x}) * ${f}`),`function(n) { var x = ${y}; return ${x}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function ct(m,f){let{decimal:b,group:y,integerWidth:x,notation:k,precision:I,roundingMode:R,sign:z,unit:K,unitPer:Ie,unitWidth:Ve}=m,Je=(Nt,oa)=>{},he={};if(K)switch(K.style){case"base-unit":he.style="decimal";break;case"currency":he.style="currency",he.currency=K.currency;break;case"measure-unit":he.style="unit",he.unit=K.unit.replace(/.*-/,""),Ie&&(he.unit+="-per-"+Ie.replace(/.*-/,""));break;case"percent":he.style="percent";break}switch(Ve){case"unit-width-full-name":he.currencyDisplay="name",he.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":he.currencyDisplay="code";break;case"unit-width-narrow":he.currencyDisplay="narrowSymbol",he.unitDisplay="narrow";break;case"unit-width-short":he.currencyDisplay="symbol",he.unitDisplay="short";break}switch(y){case"group-off":he.useGrouping=!1;break;case"group-auto":he.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":he.useGrouping=!0;break}if(I)switch(I.style){case"precision-fraction":{let{minFraction:Nt,maxFraction:oa,minSignificant:Ea,maxSignificant:Qa,source:Bi}=I;typeof Nt=="number"&&(he.minimumFractionDigits=Nt,typeof Ea=="number"&&Je()),typeof oa=="number"&&(he.maximumFractionDigits=oa),typeof Ea=="number"&&(he.minimumSignificantDigits=Ea),typeof Qa=="number"&&(he.maximumSignificantDigits=Qa);break}case"precision-integer":he.maximumFractionDigits=0;break;case"precision-unlimited":he.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":he.trailingZeroDisplay=I.trailingZero;break;case"precision-currency-cash":Je(I.style);break}if(k)switch(k.style){case"compact-short":he.notation="compact",he.compactDisplay="short";break;case"compact-long":he.notation="compact",he.compactDisplay="long";break;case"notation-simple":he.notation="standard";break;case"scientific":case"engineering":{let{expDigits:Nt,expSign:oa,source:Ea,style:Qa}=k;he.notation=Qa;break}}if(x){let{min:Nt,max:oa,source:Ea}=x;if(Nt>0&&(he.minimumIntegerDigits=Nt),Number(oa)>0){let Qa=he.notation==="engineering"||he.notation==="scientific";oa===3&&Qa?he.notation="engineering":Je()}}switch(z){case"sign-auto":he.signDisplay="auto";break;case"sign-always":he.signDisplay="always";break;case"sign-except-zero":he.signDisplay="exceptZero";break;case"sign-never":he.signDisplay="never";break;case"sign-accounting":he.currencySign="accounting";break;case"sign-accounting-always":he.currencySign="accounting",he.signDisplay="always";break;case"sign-accounting-except-zero":he.currencySign="accounting",he.signDisplay="exceptZero";break}return he}function Ut(m,f,b){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 k=`Invalid number (${x}) of ¤ chars in pattern`;return b(new $("¤",k)),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],k=2;if(x==="'")return{char:y,str:x,width:k};for(;;){let I=m[++f];if(++k,I===void 0){let R=`Unterminated quoted literal in pattern: ${x}`;return b(new $("'",R)),{char:y,str:x,width:k}}else if(I==="'"){if(m[++f]!=="'")return{char:y,str:x,width:k};++k}x+=I}}}return null}let zi=m=>m>="0"&&m<="9";function Pt(m,f){let b=m[f];if(zi(b)){let y=b;for(;;){let x=m[++f];if(zi(x))y+=x;else return{char:"0",digits:y,width:y.length}}}switch(b){case"#":{let y=1;for(;m[++f]==="#";)++y;return{char:b,width:y}}case"@":{let y=1;for(;m[++f]==="@";)++y;let x=y;for(f-=1;m[++f]==="#";)++x;return{char:b,min:y,width:x}}case"E":{let y=m[f+1]==="+";y&&++f;let x=0;for(;m[++f]==="0";)++x;let k=(y?2:1)+x;if(x)return{char:b,expDigits:x,plus:y,width:k};break}case".":case",":return{char:b,width:1}}return null}function za(m,f,b){let y;(function(K){K[K.Prefix=0]="Prefix",K[K.Number=1]="Number",K[K.Suffix=2]="Suffix"})(y||(y={}));let x=[],k=[],I=[],R=y.Prefix,z="";for(;f<m.length;){let K=m[f];if(K===";"){f+=1;break}switch(R){case y.Prefix:{let Ie=Ut(m,f,b);if(Ie)z&&(x.push({char:"'",str:z,width:z.length}),z=""),x.push(Ie),f+=Ie.width;else{let Ve=Pt(m,f);Ve?(z&&(x.push({char:"'",str:z,width:z.length}),z=""),R=y.Number,k.push(Ve),f+=Ve.width):(z+=K,f+=1)}break}case y.Number:{let Ie=Pt(m,f);Ie?(k.push(Ie),f+=Ie.width):R=y.Suffix;break}case y.Suffix:{let Ie=Ut(m,f,b);Ie?(z&&(I.push({char:"'",str:z,width:z.length}),z=""),I.push(Ie),f+=Ie.width):(z+=K,f+=1);break}}}return z&&I.push({char:"'",str:z,width:z.length}),{pattern:{prefix:x,number:k,suffix:I},pos:f}}function wa(m,f){let{pattern:b,pos:y}=za(m,0,f);if(y<m.length){let{pattern:x}=za(m,y,f);return{tokens:b,negative:x}}return{tokens:b}}function Xi(m,f){let b={},y=!1,x=!1,k=0,I="",R=-1,z="",K=0;for(let Ve=0;Ve<m.length;++Ve){let Je=m[Ve];switch(Je.char){case"#":{if(R===-1){if(I){let he="Pattern has # after integer digits";f(new $("#",he))}k+=Je.width}else K+=Je.width;break}case"0":{if(R===-1)I+=Je.digits;else{if(K){let he="Pattern has digits after # in fraction";f(new $("0",he))}z+=Je.digits}break}case"@":{b.precision&&f(new se("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Je.min,maxSignificant:Je.width};break}case",":y=!0;break;case".":if(R===1){let he="Pattern has more than one decimal separator";f(new $(".",he))}R=Ve;break;case"E":{if(x&&f(new se("exponent",b.notation)),y){let he="Exponential patterns may not contain grouping separators";f(new $("E",he))}b.notation={style:"scientific"},Je.expDigits>1&&(b.notation.expDigits=Je.expDigits),Je.plus&&(b.notation.expSign="sign-always"),x=!0}}}y?b.group="group-auto":k+I.length>3&&(b.group="group-off");let Ie=+`${I||"0"}.${z}`;if(Ie&&(b.precision={style:"precision-increment",increment:Ie}),!x)I.length>1&&(b.integerWidth={min:I.length}),!b.precision&&(z.length||K)&&(b.precision={style:"precision-fraction",minFraction:z.length,maxFraction:z.length+K});else if((!b.precision||Ie)&&(b.integerWidth=k?{min:1,max:k+I.length}:{min:Math.max(1,I.length)}),b.precision)Ie||(b.integerWidth={min:1,max:1});else{let Ve=I.length+z.length;R===-1?Ve>0&&(b.precision={style:"precision-fraction",maxSignificant:Ve}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,Ve)+K},Ve>1&&(b.precision.minSignificant=Ve))}return b}function er(m,f,b,y,x){let k=!1,I="";for(let R of m)switch(R.char){case"%":f.unit={style:R.style},x?k=!0:I="";break;case"¤":if(!b){let z="The ¤ pattern requires a currency";y(new $("¤",z));break}switch(f.unit={style:"currency",currency:b},R.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?k=!0:I="";break;case"*":break;case"+":k||(I+="+");break;case"'":k||(I+=R.str);break}return I}function pc(m,f){let b=!1,y="";for(let x of m)switch(x.char){case"%":case"¤":f?b=!0:y="";break;case"-":b||(y+="-");break;case"'":b||(y+=x.str);break}return y}function mc(m,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:z=>{throw z},{tokens:y,negative:x}=wa(m,b),k=Xi(y.number,b),I=er(y.prefix,k,f,b,!0),R=er(y.suffix,k,f,b,!1);if(x){let z=pc(x.prefix,!0),K=pc(x.suffix,!1);k.affix={pos:[I,R],neg:[z,K]},k.sign="sign-never"}else(I||R)&&(k.affix={pos:[I,R]});return k}function Dce(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 f0(m){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[b]=m.split("-",1);return f.indexOf(b)!==-1}let g0={"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},v0={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function Ice(m){return m in g0}function Tce(m){return m in v0}function Oce(m,f,b){if(Ice(m)){let y=g0[m];if(f.length>y){if(y===0)for(let x of f)b(new pa(m,x));else b(new Q(m,f,y));return!1}else if(Tce(m)&&f.length<v0[m])return b(new qe(m)),!1}return!0}function oh(m,f){let b=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=m&&m.match(b);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 Ace(m,f,b){let y=oh(m,"fraction");if(y){f.length>1&&b(new Q(m,f,1));let k={style:"precision-fraction",source:m,minFraction:y.min};y.max!=null&&(k.maxFraction=y.max);let I=f[0],R=oh(I,"significant");return R?(k.source=`${m}/${I}`,k.minSignificant=R.min,R.max!=null&&(k.maxSignificant=R.max)):I&&b(new pa(m,I)),k}let x=oh(m,"significant");if(x){for(let I of f)b(new pa(m,I));let k={style:"precision-fraction",source:m,minSignificant:x.min};return x.max!=null&&(k.maxSignificant=x.max),k}return null}class Rce{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new pa(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new se(f,b))}parseToken(f,b){if(!Oce(f,b,this.onError))return;let y=b[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 k=null,I;for(let z of b)switch(z){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":I=z;break;default:/^\+e+$/.test(z)?k=z.length-1:this.badOption(f,z)}this.assertEmpty("notation");let R=b.join("/");x.notation=k&&I?{style:f,source:R,expDigits:k,expSign:I}:k?{style:f,source:R,expDigits:k}:I?{style:f,source:R,expSign:I}:{style:f,source:R};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":{f0(y)?(this.assertEmpty("unit"),x.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{f0(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 k=Number(y);k>0?(this.assertEmpty("precision"),x.precision={style:f,increment:k}):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 k=y.match(/^#*(0*)$/);k?(this.assertEmpty("integerWidth"),x.integerWidth={source:y,min:k[1].length,max:k[0].length}):this.badOption(f,y)}break}case"scale":{let k=Number(y);k>0?(this.assertEmpty("scale"),x.scale=k):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":{Dce(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 k=Ace(f,b,this.onError);k?(this.assertEmpty("precision"),x.precision=k):this.onError(new ge(f))}}}}function b0(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x=>{throw x},b=[];for(let x of m.split(" "))if(x){let k=x.split("/"),I=k.shift()||"";b.push({stem:I,options:k})}let y=new Rce(f);for(let{stem:x,options:k}of b)y.parseToken(x,k);return y.skeleton}function Mce(m,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?b0(f.slice(2),y):mc(f,b,y));let x=ue(m,f),k=ct(f),I=Va(f),R=new Intl.NumberFormat(x,k);if(f.affix){let[z,K]=f.affix.pos,[Ie,Ve]=f.affix.neg||["",""];return Je=>{let he=R.format(I(Je));return Je<0?`${Ie}${he}${Ve}`:`${z}${he}${K}`}}return z=>R.format(I(z))}function Pce(m,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?b0(f.slice(2),y):mc(f,b,y));let x=ue(m,f),k=ct(f),I=nt(f),R=["(function() {",`var opt = ${JSON.stringify(k)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(x)}, opt);`],z="nf.format(value)";if(I&&(R.push(`var mod = ${I};`),z="nf.format(mod(value))"),f.affix){let[K,Ie]=f.affix.pos.map(Ve=>JSON.stringify(Ve));if(f.affix.neg){let[Ve,Je]=f.affix.neg.map(he=>JSON.stringify(he));z=`value < 0 ? ${Ve} + ${z} + ${Je} : ${K} + ${z} + ${Ie}`}else z=`${K} + ${z} + ${Ie}`}return R.push(`return function(value) { return ${z}; }`),R.join(`
|
|
4
|
+
`)+`
|
|
5
|
+
})()`}var sh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nce(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var Ps={},y0={},_0={exports:{}};(function(m){(function(f,b){m.exports?m.exports=b():f.moo=b()})(sh,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function x(U){return U&&b.call(U)==="[object RegExp]"}function k(U){return U&&typeof U=="object"&&!x(U)&&!Array.isArray(U)}function I(U){return U.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(U){var re=new RegExp("|"+U);return re.exec("").length-1}function z(U){return"("+U+")"}function K(U){if(!U.length)return"(?!)";var re=U.map(function(Ee){return"(?:"+Ee+")"}).join("|");return"(?:"+re+")"}function Ie(U){if(typeof U=="string")return"(?:"+I(U)+")";if(x(U)){if(U.ignoreCase)throw new Error("RegExp /i flag not allowed");if(U.global)throw new Error("RegExp /g flag is implied");if(U.sticky)throw new Error("RegExp /y flag is implied");if(U.multiline)throw new Error("RegExp /m flag is implied");return U.source}else throw new Error("Not a pattern: "+U)}function Ve(U,re){return U.length>re?U:Array(re-U.length+1).join(" ")+U}function Je(U,re){for(var Ee=U.length,Te=0;;){var Ue=U.lastIndexOf(`
|
|
6
|
+
`,Ee-1);if(Ue===-1||(Te++,Ee=Ue,Te===re)||Ee===0)break}var Fe=Te<re?0:Ee+1;return U.substring(Fe).split(`
|
|
7
|
+
`)}function he(U){for(var re=Object.getOwnPropertyNames(U),Ee=[],Te=0;Te<re.length;Te++){var Ue=re[Te],Fe=U[Ue],rt=[].concat(Fe);if(Ue==="include"){for(var jt=0;jt<rt.length;jt++)Ee.push({include:rt[jt]});continue}var _t=[];rt.forEach(function(Be){k(Be)?(_t.length&&Ee.push(oa(Ue,_t)),Ee.push(oa(Ue,Be)),_t=[]):_t.push(Be)}),_t.length&&Ee.push(oa(Ue,_t))}return Ee}function Nt(U){for(var re=[],Ee=0;Ee<U.length;Ee++){var Te=U[Ee];if(Te.include){for(var Ue=[].concat(Te.include),Fe=0;Fe<Ue.length;Fe++)re.push({include:Ue[Fe]});continue}if(!Te.type)throw new Error("Rule has no type: "+JSON.stringify(Te));re.push(oa(Te.type,Te))}return re}function oa(U,re){if(k(re)||(re={match:re}),re.include)throw new Error("Matching rules cannot also include states");var Ee={defaultType:U,lineBreaks:!!re.error||!!re.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var Te in re)f.call(re,Te)&&(Ee[Te]=re[Te]);if(typeof Ee.type=="string"&&U!==Ee.type)throw new Error("Type transform cannot be a string (type '"+Ee.type+"' for token '"+U+"')");var Ue=Ee.match;return Ee.match=Array.isArray(Ue)?Ue:Ue?[Ue]:[],Ee.match.sort(function(Fe,rt){return x(Fe)&&x(rt)?0:x(rt)?-1:x(Fe)?1:rt.length-Fe.length}),Ee}function Ea(U){return Array.isArray(U)?Nt(U):he(U)}var Qa=oa("error",{lineBreaks:!0,shouldThrow:!0});function Bi(U,re){for(var Ee=null,Te=Object.create(null),Ue=!0,Fe=null,rt=[],jt=[],_t=0;_t<U.length;_t++)U[_t].fallback&&(Ue=!1);for(var _t=0;_t<U.length;_t++){var Be=U[_t];if(Be.include)throw new Error("Inheritance is not allowed in stateless lexers");if(Be.error||Be.fallback){if(Ee)throw!Be.fallback==!Ee.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+"')");Ee=Be}var ma=Be.match.slice();if(Ue)for(;ma.length&&typeof ma[0]=="string"&&ma[0].length===1;){var wo=ma.shift();Te[wo.charCodeAt(0)]=Be}if(Be.pop||Be.push||Be.next){if(!re)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(ma.length!==0){Ue=!1,rt.push(Be);for(var tn=0;tn<ma.length;tn++){var Ir=ma[tn];if(x(Ir)){if(Fe===null)Fe=Ir.unicode;else if(Fe!==Ir.unicode&&Be.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Eo=K(ma.map(Ie)),ji=new RegExp(Eo);if(ji.test(""))throw new Error("RegExp matches empty string: "+ji);var Ls=R(Eo);if(Ls>0)throw new Error("RegExp has capture groups: "+ji+`
|
|
8
|
+
Use (?: … ) instead`);if(!Be.lineBreaks&&ji.test(`
|
|
9
|
+
`))throw new Error("Rule should declare lineBreaks: "+ji);jt.push(z(Eo))}}var ko=Ee&&Ee.fallback,Fs=y&&!ko?"ym":"gm",xc=y||ko?"":"|";Fe===!0&&(Fs+="u");var mde=new RegExp(K(jt)+xc,Fs);return{regexp:mde,groups:rt,fast:Te,error:Ee||Qa}}function ar(U){var re=Bi(Ea(U));return new Kt({start:re},"start")}function In(U,re,Ee){var Te=U&&(U.push||U.next);if(Te&&!Ee[Te])throw new Error("Missing state '"+Te+"' (in token '"+U.defaultType+"' of state '"+re+"')");if(U&&U.pop&&+U.pop!=1)throw new Error("pop must be 1 (in token '"+U.defaultType+"' of state '"+re+"')")}function Tn(U,re){var Ee=U.$all?Ea(U.$all):[];delete U.$all;var Te=Object.getOwnPropertyNames(U);re||(re=Te[0]);for(var Ue=Object.create(null),Fe=0;Fe<Te.length;Fe++){var rt=Te[Fe];Ue[rt]=Ea(U[rt]).concat(Ee)}for(var Fe=0;Fe<Te.length;Fe++)for(var rt=Te[Fe],jt=Ue[rt],_t=Object.create(null),Be=0;Be<jt.length;Be++){var ma=jt[Be];if(ma.include){var wo=[Be,1];if(ma.include!==rt&&!_t[ma.include]){_t[ma.include]=!0;var tn=Ue[ma.include];if(!tn)throw new Error("Cannot include nonexistent state '"+ma.include+"' (in state '"+rt+"')");for(var Ir=0;Ir<tn.length;Ir++){var Eo=tn[Ir];jt.indexOf(Eo)===-1&&wo.push(Eo)}}jt.splice.apply(jt,wo),Be--}}for(var ji=Object.create(null),Fe=0;Fe<Te.length;Fe++){var rt=Te[Fe];ji[rt]=Bi(Ue[rt],!0)}for(var Fe=0;Fe<Te.length;Fe++){for(var Ls=Te[Fe],ko=ji[Ls],Fs=ko.groups,Be=0;Be<Fs.length;Be++)In(Fs[Be],Ls,ji);for(var xc=Object.getOwnPropertyNames(ko.fast),Be=0;Be<xc.length;Be++)In(ko.fast[xc[Be]],Ls,ji)}return new Kt(ji,re)}function On(U){for(var re=typeof Map<"u",Ee=re?new Map:Object.create(null),Te=Object.getOwnPropertyNames(U),Ue=0;Ue<Te.length;Ue++){var Fe=Te[Ue],rt=U[Fe],jt=Array.isArray(rt)?rt:[rt];jt.forEach(function(_t){if(typeof _t!="string")throw new Error("keyword must be string (in keyword '"+Fe+"')");re?Ee.set(_t,Fe):Ee[_t]=Fe})}return function(_t){return re?Ee.get(_t):Ee[_t]}}var Kt=function(U,re){this.startState=re,this.states=U,this.buffer="",this.stack=[],this.reset()};Kt.prototype.reset=function(U,re){return this.buffer=U||"",this.index=0,this.line=re?re.line:1,this.col=re?re.col:1,this.queuedToken=re?re.queuedToken:null,this.queuedText=re?re.queuedText:"",this.queuedThrow=re?re.queuedThrow:null,this.setState(re?re.state:this.startState),this.stack=re&&re.stack?re.stack.slice():[],this},Kt.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}},Kt.prototype.setState=function(U){if(!(!U||this.state===U)){this.state=U;var re=this.states[U];this.groups=re.groups,this.error=re.error,this.re=re.regexp,this.fast=re.fast}},Kt.prototype.popState=function(){this.setState(this.stack.pop())},Kt.prototype.pushState=function(U){this.stack.push(this.state),this.setState(U)};var yc=y?function(U,re){return U.exec(re)}:function(U,re){var Ee=U.exec(re);return Ee[0].length===0?null:Ee};Kt.prototype._getGroup=function(U){for(var re=this.groups.length,Ee=0;Ee<re;Ee++)if(U[Ee+1]!==void 0)return this.groups[Ee];throw new Error("Cannot find token type for matched text")};function _c(){return this.value}if(Kt.prototype.next=function(){var U=this.index;if(this.queuedGroup){var re=this._token(this.queuedGroup,this.queuedText,U);return this.queuedGroup=null,this.queuedText="",re}var Ee=this.buffer;if(U!==Ee.length){var rt=this.fast[Ee.charCodeAt(U)];if(rt)return this._token(rt,Ee.charAt(U),U);var Te=this.re;Te.lastIndex=U;var Ue=yc(Te,Ee),Fe=this.error;if(Ue==null)return this._token(Fe,Ee.slice(U,Ee.length),U);var rt=this._getGroup(Ue),jt=Ue[0];return Fe.fallback&&Ue.index!==U?(this.queuedGroup=rt,this.queuedText=jt,this._token(Fe,Ee.slice(U,Ue.index),U)):this._token(rt,jt,U)}},Kt.prototype._token=function(U,re,Ee){var Te=0;if(U.lineBreaks){var Ue=/\n/g,Fe=1;if(re===`
|
|
10
|
+
`)Te=1;else for(;Ue.exec(re);)Te++,Fe=Ue.lastIndex}var rt={type:typeof U.type=="function"&&U.type(re)||U.defaultType,value:typeof U.value=="function"?U.value(re):re,text:re,toString:_c,offset:Ee,lineBreaks:Te,line:this.line,col:this.col},jt=re.length;if(this.index+=jt,this.line+=Te,Te!==0?this.col=jt-Fe+1:this.col+=jt,U.shouldThrow){var _t=new Error(this.formatError(rt,"invalid syntax"));throw _t}return U.pop?this.popState():U.push?this.pushState(U.push):U.next&&this.setState(U.next),rt},typeof Symbol<"u"&&Symbol.iterator){var An=function(U){this.lexer=U};An.prototype.next=function(){var U=this.lexer.next();return{value:U,done:!U}},An.prototype[Symbol.iterator]=function(){return this},Kt.prototype[Symbol.iterator]=function(){return new An(this)}}return Kt.prototype.formatError=function(Te,re){if(Te==null)var Ee=this.buffer.slice(this.index),Te={text:Ee,offset:this.index,lineBreaks:Ee.indexOf(`
|
|
11
|
+
`)===-1?0:1,line:this.line,col:this.col};var Ue=2,Fe=Math.max(Te.line-Ue,1),rt=Te.line+Ue,jt=String(rt).length,_t=Je(this.buffer,this.line-Te.line+Ue+1).slice(0,5),Be=[];Be.push(re+" at line "+Te.line+" col "+Te.col+":"),Be.push("");for(var ma=0;ma<_t.length;ma++){var wo=_t[ma],tn=Fe+ma;Be.push(Ve(String(tn),jt)+" "+wo),tn===Te.line&&Be.push(Ve("",jt+Te.col+1)+"^")}return Be.join(`
|
|
12
|
+
`)},Kt.prototype.clone=function(){return new Kt(this.states,this.state)},Kt.prototype.has=function(U){return!0},{compile:ar,states:Tn,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:On}})})(_0);var Lce=_0.exports;(function(m){var f=sh&&sh.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(m,"__esModule",{value:!0}),m.lexer=m.states=void 0;let b=f(Lce);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=b.default.states(m.states)})(y0),Object.defineProperty(Ps,"__esModule",{value:!0});var x0=Ps.parse=Ps.ParseError=void 0;let w0=y0,fc=m=>({offset:m.offset,line:m.line,col:m.col,text:m.text,lineBreaks:m.lineBreaks}),lh=m=>m==="plural"||m==="select"||m==="selectordinal";function Fce(m,f){let b="",y="";for(let x of f){let k=x.ctx.text;switch(y+=k,x.type){case"content":b+=x.value;break;case"argument":case"function":case"octothorpe":b+=k;break;default:throw new Ta(m,`Unsupported part in strict mode function arg style: ${k}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let Vce=["number","date","time","spellout","ordinal","duration"],E0=["zero","one","two","few","many","other"];class Ta extends Error{constructor(f,b){super(w0.lexer.formatError(f,b))}}Ps.ParseError=Ta;class zce{constructor(f,b){var y,x,k,I;this.lexer=w0.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:E0,this.ordinalKeys=(x=b==null?void 0:b.ordinal)!==null&&x!==void 0?x:E0,this.strict=(k=b==null?void 0:b.strict)!==null&&k!==void 0?k:!1,this.strictPluralKeys=(I=b==null?void 0:b.strictPluralKeys)!==null&&I!==void 0?I:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new Ta(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let x=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&x.length>0&&!x.includes(y)){let k=`The ${b} case ${y} is not valid in this locale`;throw new Ta(f,k)}}}parseSelect(f,b,y,x){let{value:k}=f,I={type:x,arg:k,cases:[],ctx:y};x==="plural"||x==="selectordinal"?b=!0:this.strict&&(b=!1);for(let R of this.lexer)switch(R.type){case"offset":if(x==="select")throw new Ta(R,"Unexpected plural offset for select");if(I.cases.length>0)throw new Ta(R,"Plural offset must be set before cases");I.pluralOffset=Number(R.value),y.text+=R.text,y.lineBreaks+=R.lineBreaks;break;case"case":{this.checkSelectKey(R,x,R.value),I.cases.push({key:R.value,tokens:this.parseBody(b),ctx:fc(R)});break}case"end":return I;default:throw new Ta(R,`Unexpected lexer token: ${R.type}`)}throw new Ta(null,"Unexpected message end")}parseArgToken(f,b){let y=fc(f),x=this.lexer.next();if(!x)throw new Ta(null,"Unexpected message end");if(y.text+=x.text,y.lineBreaks+=x.lineBreaks,this.strict&&(x.type==="func-simple"||x.type==="func-args")&&!Vce.includes(x.value)){let k=`Invalid strict mode function arg type: ${x.value}`;throw new Ta(f,k)}switch(x.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let k=this.lexer.next();if(!k)throw new Ta(null,"Unexpected message end");if(k.type!=="end")throw new Ta(k,`Unexpected lexer token: ${k.type}`);if(y.text+=k.text,lh(x.value.toLowerCase()))throw new Ta(x,`Invalid type identifier: ${x.value}`);return{type:"function",arg:f.value,key:x.value,ctx:y}}case"func-args":{if(lh(x.value.toLowerCase())){let I=`Invalid type identifier: ${x.value}`;throw new Ta(x,I)}let k=this.parseBody(this.strict?!1:b);return this.strict&&k.length>0&&(k=Fce(f,k)),{type:"function",arg:f.value,key:x.value,param:k,ctx:y}}case"select":if(lh(x.value))return this.parseSelect(f,b,y,x.value);throw new Ta(x,`Unexpected select type ${x.value}`);default:throw new Ta(x,`Unexpected lexer token: ${x.type}`)}}parseBody(f,b){let y=[],x=null;for(let k of this.lexer)if(k.type==="argument")x&&(x=null),y.push(this.parseArgToken(k,f));else if(k.type==="octothorpe"&&f)x&&(x=null),y.push({type:"octothorpe",ctx:fc(k)});else{if(k.type==="end"&&!b)return y;{let I=k.value;if(!f&&k.type==="quoted"&&I[0]==="#"){if(I.includes("{")){let R=`Unsupported escape pattern: ${I}`;throw new Ta(k,R)}I=k.text}x?(x.value+=I,x.ctx.text+=k.text,x.ctx.lineBreaks+=k.lineBreaks):(x={type:"content",value:I,ctx:fc(k)},y.push(x))}}if(b)return y;throw new Ta(null,"Unexpected message end")}}function Bce(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new zce(m,f).parse()}x0=Ps.parse=Bce;function Ns(m){return Ns[m]||(Ns[m]=new Intl.NumberFormat(m))}function jce(m,f,b){return Ns(m).format(f-b)}function Hce(m,f,b,y){var x=f-b;if(isNaN(x))throw new Error("`"+y+"` or its offset is not a number");return Ns(m).format(x)}function Uce(m,f,b,y,x){if({}.hasOwnProperty.call(y,m))return y[m];f&&(m-=f);var k=b(m,x);return k in y?y[k]:y.other}function Wce(m,f){return{}.hasOwnProperty.call(f,m)?f[m]:f.other}function qce(m,f){for(var b=0;b<m.length;++b)if(!f||f[m[b]]===void 0)throw new Error("Message requires argument '".concat(m[b],"'"))}var Gce=Object.freeze({__proto__:null,_nf:Ns,number:jce,plural:Uce,reqArgs:qce,select:Wce,strictNumber:Hce});function $ce(m,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(m).toLocaleDateString(f,y)}function Yce(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 b=m%60,y=[Math.round(b)===b?b:b.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(k){return Number(k)<10?"0"+String(k):String(k)}).join(":")}var ch={};function gc(m,f){var b=String(m)+JSON.stringify(f);return ch[b]||(ch[b]=new Intl.NumberFormat(m,f)),ch[b]}function Zce(m,f,b,y){var x=b&&b.split(":")||[],k=x[0],I=x[1],R={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:I&&I.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return gc(f,R[k]||{}).format(m)}var Kce=function(m,f,b){return gc(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(m)},Qce=function(m,f){return gc(f,{maximumFractionDigits:0}).format(m)},Xce=function(m,f){return gc(f,{style:"percent"}).format(m)};function Jce(m,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(m).toLocaleTimeString(f,y)}var dh=Object.freeze({__proto__:null,date:$ce,duration:Yce,numberCurrency:Kce,numberFmt:Zce,numberInteger:Qce,numberPercent:Xce,time:Jce}),ede={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}},uh=Nce(ede);function tde(m){let f=0;for(let b=0;b<m.length;++b){let y=m.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function tr(m,f){f&&(m+=" "+tde(m).toString(36));let b=m.trim().replace(/\W+/g,"_");return uh.ES3[b]||uh.ESnext[b]||/^\d/.test(b)?"_"+b:b}function hh(m,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!uh.ES3[f])return m?m+"."+f:f;{let b=JSON.stringify(f);return m?m+"["+b+"]":b}}var ade=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],ide=new RegExp("^"+ade.join("|^"));function nde(m,f){var b=ide.test(f),y=JSON.stringify(b?"":"");return"".concat(y," + ").concat(m," + ").concat(y)}var rde="@messageformat/runtime",ode="@messageformat/runtime/lib/cardinals",k0="@messageformat/runtime/lib/plurals",sde="@messageformat/runtime/lib/formatters",lde=function(){function m(f){this.arguments=[],this.runtime={},this.options=f}return m.prototype.compile=function(f,b,y){var x,k,I=this,R=this.options,z=R.localeCodeFromKey,K=R.requireAllArguments,Ie=R.strict,Ve=R.strictPluralKeys;if(typeof f=="object"){var Je={};try{for(var he=a(Object.keys(f)),Nt=he.next();!Nt.done;Nt=he.next()){var oa=Nt.value,Ea=z?z(oa):oa,Qa=y&&Ea&&y[Ea]||b;Je[oa]=this.compile(f[oa],Qa,y)}}catch(Kt){x={error:Kt}}finally{try{Nt&&!Nt.done&&(k=he.return)&&k.call(he)}finally{if(x)throw x.error}}return Je}this.plural=b;var Bi={cardinal:b.cardinals,ordinal:b.ordinals,strict:Ie,strictPluralKeys:Ve};this.arguments=[];var ar=x0(f,Bi).map(function(Kt){return I.token(Kt,null)}),In=this.arguments.length>0,Tn=this.concatenate(ar,!0);if(K&&In){this.setRuntimeFn("reqArgs");var On=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(On,", d); return ").concat(Tn,"; }")}return"(".concat(In?"d":"",") => ").concat(Tn)},m.prototype.cases=function(f,b){var y=this,x=!0,k=f.cases.map(function(Ie){var Ve=Ie.key,Je=Ie.tokens;Ve==="other"&&(x=!1);var he=Je.map(function(Nt){return y.token(Nt,b)});return"".concat(hh(null,Ve.replace(/^=/,"")),": ").concat(y.concatenate(he,!1))});if(x){var I=f.type,R=this.plural,z=R.cardinals,K=R.ordinals;if(I==="select"||I==="plural"&&z.includes("other")||I==="selectordinal"&&K.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(k.join(", ")," }")},m.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},m.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,x=y.id,k=y.lc,I,R;switch("arg"in f?(this.arguments.push(f.arg),I=[hh("d",f.arg)]):I=[],f.type){case"argument":return this.options.biDiSupport?nde(String(I[0]),k):String(I[0]);case"select":R="select",b&&this.options.strict&&(b=null),I.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":R="plural",I.push(f.pluralOffset||0,x,this.cases(f,f),1),this.setLocale(x,!0),this.setRuntimeFn("plural");break;case"plural":R="plural",I.push(f.pluralOffset||0,x,this.cases(f,f)),this.setLocale(x,!1),this.setRuntimeFn("plural");break;case"function":{var z=this.options.customFormatters[f.key],K=z&&"module"in z&&typeof z.module=="function";if(!z){if(f.key==="date"){R=this.setDateFormatter(f,I,b);break}else if(f.key==="number"){R=this.setNumberFormatter(f,I,b);break}}if(I.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var Ie=this.getFormatterArg(f,b);Ie&&I.push(Ie)}R=K?tr("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(R,f.key);break}case"octothorpe":if(!b)return'"#"';I=[JSON.stringify(this.plural.locale),hh("d",b.arg),b.pluralOffset||0],this.options.strict?(R="strictNumber",I.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(R="number",this.setRuntimeFn("number"));break}if(!R)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(R,"(").concat(I.join(", "),")")},m.prototype.runtimeIncludes=function(f,b){if(tr(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},m.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),x=this.plural,k=x.getCardinal,I=x.getPlural,R=x.isDefault,z,K,Ie;if(!b&&R&&k){if(y)return;z=function(Ve){return k(Ve)},K=ode,Ie=function(){return String(k)}}else{if(y&&(!R||y.module===k0))return;z=function(Ve,Je){return I(Ve,Je)},K=R?k0:I.module||null,Ie=function(){return String(I)}}this.runtime[f]=Object.assign(z,{id:f,module:K,toString:Ie,type:"locale"})},m.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(Gce[f],{id:f,module:rde,type:"runtime"}))},m.prototype.getFormatterArg=function(f,b){var y,x,k,I,R=this,z=f.key,K=f.param,Ie=this.options.customFormatters[z]||C0(z)&&dh[z];if(!Ie||!K)return null;var Ve="arg"in Ie&&Ie.arg||"string";if(Ve==="options"){var Je="";try{for(var he=a(K),Nt=he.next();!Nt.done;Nt=he.next()){var oa=Nt.value;if(oa.type==="content")Je+=oa.value;else throw new SyntaxError("Expected literal options for ".concat(z," formatter"))}}catch(An){y={error:An}}finally{try{Nt&&!Nt.done&&(x=he.return)&&x.call(he)}finally{if(y)throw y.error}}var Ea={};try{for(var Qa=a(Je.split(",")),Bi=Qa.next();!Bi.done;Bi=Qa.next()){var ar=Bi.value,In=ar.indexOf(":");if(In===-1)Ea[ar.trim()]=null;else{var Tn=ar.substring(0,In).trim(),On=ar.substring(In+1).trim();if(On==="true")Ea[Tn]=!0;else if(On==="false")Ea[Tn]=!1;else if(On==="null")Ea[Tn]=null;else{var Kt=Number(On);Ea[Tn]=Number.isFinite(Kt)?Kt:On}}}}catch(An){k={error:An}}finally{try{Bi&&!Bi.done&&(I=Qa.return)&&I.call(Qa)}finally{if(k)throw k.error}}return JSON.stringify(Ea)}else{var yc=K.map(function(An){return R.token(An,b)});if(Ve==="raw")return"[".concat(yc.join(", "),"]");var _c=yc.join(" + ");return _c?"(".concat(_c,").trim()"):'""'}},m.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||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:tr(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(C0(f))this.runtime[f]=Object.assign(dh[f],{type:"formatter"},{id:f,module:sde});else throw new Error("Formatting function not found: ".concat(f))}},m.prototype.setDateFormatter=function(f,b,y){var x=this,k=f.param,I=this.plural.locale,R=k&&k.length===1&&k[0];if(R&&R.type==="content"&&/^\s*::/.test(R.value)){var z=R.value.trim().substr(2),K=tr("date_".concat(I,"_").concat(z),!0);if(!this.runtimeIncludes(K,"formatter")){var Ie=xa(I,z,this.options.timeZone);this.runtime[K]=Object.assign(Ie,{id:K,module:null,toString:function(){return ra(I,z,x.options.timeZone)},type:"formatter"})}return K}if(b.push(JSON.stringify(I)),k&&k.length>0){y&&this.options.strict&&(y=null);var Ve=k.map(function(Je){return x.token(Je,y)});b.push("("+(Ve.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},m.prototype.setNumberFormatter=function(f,b,y){var x=this,k=f.param,I=this.plural.locale;if(!k||k.length===0)return b.unshift(JSON.stringify(I)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(I)),k.length===1&&k[0].type==="content"){var R=k[0].value.trim();switch(R){case"currency":return b.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 z=R.match(/^currency:([A-Z]+)$/);if(z)return b.push(JSON.stringify(z[1])),this.setFormatter("numberCurrency"),"numberCurrency";var K=tr("number_".concat(I,"_").concat(R),!0);if(!this.runtimeIncludes(K,"formatter")){var Ie=this.options.currency,Ve=Mce(I,R,Ie);this.runtime[K]=Object.assign(Ve,{id:null,module:null,toString:function(){return Pce(I,R,Ie)},type:"formatter"})}return K}y&&this.options.strict&&(y=null);var Je=k.map(function(he){return x.token(he,y)});return b.push("("+(Je.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},m}();function C0(m){return m in dh}let J=m=>m==1?"one":"other",En=m=>m==0||m==1?"one":"other",Ji=m=>m>=0&&m<=1?"one":"other",Pa=m=>{let f=String(m).split("."),b=!f[1];return m==1&&b?"one":"other"},ot=m=>"other",kn=m=>m==1?"one":m==2?"two":"other";var cde=Object.freeze({__proto__:null,af:J,ak:En,am:Ji,an:J,ar:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&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("."),b=Number(f[0])==m,y=b&&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:Ji,asa:J,ast:Pa,az:J,bal:J,be:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-1),x=b&&f[0].slice(-2);return y==1&&x!=11?"one":y>=2&&y<=4&&(x<12||x>14)?"few":b&&y==0||y>=5&&y<=9||x>=11&&x<=14?"many":"other"},bem:J,bez:J,bg:J,bho:En,bm:ot,bn:Ji,bo:ot,br:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-1),x=b&&f[0].slice(-2),k=b&&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&&b&&k==0?"many":"other"},brx:J,bs:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=b.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&k==1&&I!=11||R==1&&z!=11?"one":x&&k>=2&&k<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},ca:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return m==1&&y?"one":b!=0&&x==0&&y?"many":"other"},ce:J,ceb:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=y.slice(-1);return x&&(b==1||b==2||b==3)||x&&k!=4&&k!=6&&k!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:J,chr:J,ckb:J,cs:m=>{let f=String(m).split("."),b=f[0],y=!f[1];return m==1&&y?"one":b>=2&&b<=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("."),b=f[0],y=Number(f[0])==m;return m==1||!y&&(b==0||b==1)?"one":"other"},de:Pa,doi:Ji,dsb:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-2),I=y.slice(-2);return x&&k==1||I==1?"one":x&&k==2||I==2?"two":x&&(k==3||k==4)||I==3||I==4?"few":"other"},dv:J,dz:ot,ee:J,el:J,en:Pa,eo:J,es:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return m==1?"one":b!=0&&x==0&&y?"many":"other"},et:Pa,eu:J,fa:Ji,ff:m=>m>=0&&m<2?"one":"other",fi:Pa,fil:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=y.slice(-1);return x&&(b==1||b==2||b==3)||x&&k!=4&&k!=6&&k!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},fo:J,fr:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return m>=0&&m<2?"one":b!=0&&x==0&&y?"many":"other"},fur:J,fy:Pa,ga:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m==1?"one":m==2?"two":b&&m>=3&&m<=6?"few":b&&m>=7&&m<=10?"many":"other"},gd:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m==1||m==11?"one":m==2||m==12?"two":b&&m>=3&&m<=10||b&&m>=13&&m<=19?"few":"other"},gl:Pa,gsw:J,gu:Ji,guw:En,gv:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-1),k=b.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(k==0||k==20||k==40||k==60||k==80)?"few":y?"other":"many"},ha:J,haw:J,he:m=>{let f=String(m).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:Ji,hnj:ot,hr:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=b.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&k==1&&I!=11||R==1&&z!=11?"one":x&&k>=2&&k<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},hsb:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-2),I=y.slice(-2);return x&&k==1||I==1?"one":x&&k==2||I==2?"two":x&&(k==3||k==4)||I==3||I==4?"few":"other"},hu:J,hy:m=>m>=0&&m<2?"one":"other",ia:Pa,id:ot,ig:ot,ii:ot,io:Pa,is:m=>{let f=String(m).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),x=Number(f[0])==m,k=b.slice(-1),I=b.slice(-2);return x&&k==1&&I!=11||y%10==1&&y%100!=11?"one":"other"},it:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return m==1&&y?"one":b!=0&&x==0&&y?"many":"other"},iu:kn,ja:ot,jbo:ot,jgo:J,jmc:J,jv:ot,jw:ot,ka:J,kab:m=>m>=0&&m<2?"one":"other",kaj:J,kcg:J,kde:ot,kea:ot,kk:J,kkj:J,kl:J,km:ot,kn:Ji,ko:ot,ks:J,ksb:J,ksh:m=>m==0?"zero":m==1?"one":"other",ku:J,kw:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-2),x=b&&f[0].slice(-3),k=b&&f[0].slice(-5),I=b&&f[0].slice(-6);return m==0?"zero":m==1?"one":y==2||y==22||y==42||y==62||y==82||b&&x==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||m!=0&&I==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:J,lag:m=>{let f=String(m).split("."),b=f[0];return m==0?"zero":(b==0||b==1)&&m!=0?"one":"other"},lb:J,lg:J,lij:Pa,lkt:ot,ln:En,lo:ot,lt:m=>{let f=String(m).split("."),b=f[1]||"",y=Number(f[0])==m,x=y&&f[0].slice(-1),k=y&&f[0].slice(-2);return x==1&&(k<11||k>19)?"one":x>=2&&x<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:m=>{let f=String(m).split("."),b=f[1]||"",y=b.length,x=Number(f[0])==m,k=x&&f[0].slice(-1),I=x&&f[0].slice(-2),R=b.slice(-2),z=b.slice(-1);return x&&k==0||I>=11&&I<=19||y==2&&R>=11&&R<=19?"zero":k==1&&I!=11||y==2&&z==1&&R!=11||y!=2&&z==1?"one":"other"},mas:J,mg:En,mgo:J,mk:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=b.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&k==1&&I!=11||R==1&&z!=11?"one":"other"},ml:J,mn:J,mo:m=>{let f=String(m).split("."),b=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&b?"one":!b||m==0||m!=1&&x>=1&&x<=19?"few":"other"},mr:J,ms:ot,mt:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&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:ot,nah:J,naq:kn,nb:J,nd:J,ne:J,nl:Pa,nn:J,nnh:J,no:J,nqo:ot,nr:J,nso:En,ny:J,nyn:J,om:J,or:J,os:J,osa:ot,pa:En,pap:J,pcm:Ji,pl:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-1),k=b.slice(-2);return m==1&&y?"one":y&&x>=2&&x<=4&&(k<12||k>14)?"few":y&&b!=1&&(x==0||x==1)||y&&x>=5&&x<=9||y&&k>=12&&k<=14?"many":"other"},prg:m=>{let f=String(m).split("."),b=f[1]||"",y=b.length,x=Number(f[0])==m,k=x&&f[0].slice(-1),I=x&&f[0].slice(-2),R=b.slice(-2),z=b.slice(-1);return x&&k==0||I>=11&&I<=19||y==2&&R>=11&&R<=19?"zero":k==1&&I!=11||y==2&&z==1&&R!=11||y!=2&&z==1?"one":"other"},ps:J,pt:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return b==0||b==1?"one":b!=0&&x==0&&y?"many":"other"},pt_PT:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return m==1&&y?"one":b!=0&&x==0&&y?"many":"other"},rm:J,ro:m=>{let f=String(m).split("."),b=!f[1],y=Number(f[0])==m,x=y&&f[0].slice(-2);return m==1&&b?"one":!b||m==0||m!=1&&x>=1&&x<=19?"few":"other"},rof:J,ru:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-1),k=b.slice(-2);return y&&x==1&&k!=11?"one":y&&x>=2&&x<=4&&(k<12||k>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&k>=11&&k<=14?"many":"other"},rwk:J,sah:ot,saq:J,sat:kn,sc:Pa,scn:Pa,sd:J,sdh:J,se:kn,seh:J,ses:ot,sg:ot,sh:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=b.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&k==1&&I!=11||R==1&&z!=11?"one":x&&k>=2&&k<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},shi:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m>=0&&m<=1?"one":b&&m>=2&&m<=10?"few":"other"},si:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"";return m==0||m==1||b==0&&y==1?"one":"other"},sk:m=>{let f=String(m).split("."),b=f[0],y=!f[1];return m==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-2);return y&&x==1?"one":y&&x==2?"two":y&&(x==3||x==4)||!y?"few":"other"},sma:kn,smi:kn,smj:kn,smn:kn,sms:kn,sn:J,so:J,sq:J,sr:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=b.slice(-2),R=y.slice(-1),z=y.slice(-2);return x&&k==1&&I!=11||R==1&&z!=11?"one":x&&k>=2&&k<=4&&(I<12||I>14)||R>=2&&R<=4&&(z<12||z>14)?"few":"other"},ss:J,ssy:J,st:J,su:ot,sv:Pa,sw:Pa,syr:J,ta:J,te:J,teo:J,th:ot,ti:En,tig:J,tk:J,tl:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",x=!f[1],k=b.slice(-1),I=y.slice(-1);return x&&(b==1||b==2||b==3)||x&&k!=4&&k!=6&&k!=9||!x&&I!=4&&I!=6&&I!=9?"one":"other"},tn:J,to:ot,tpi:ot,tr:J,ts:J,tzm:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m==0||m==1||b&&m>=11&&m<=99?"one":"other"},ug:J,uk:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-1),k=b.slice(-2);return y&&x==1&&k!=11?"one":y&&x>=2&&x<=4&&(k<12||k>14)?"few":y&&x==0||y&&x>=5&&x<=9||y&&k>=11&&k<=14?"many":"other"},und:ot,ur:Pa,uz:J,ve:J,vec:m=>{let f=String(m).split("."),b=f[0],y=!f[1],x=b.slice(-6);return m==1&&y?"one":b!=0&&x==0&&y?"many":"other"},vi:ot,vo:J,vun:J,wa:En,wae:J,wo:ot,xh:J,xog:J,yi:Pa,yo:ot,yue:ot,zh:ot,zu:Ji});let Cn="zero",le="one",Bt="two",Ge="few",Ze="many",q="other",G={cardinal:[le,q],ordinal:[q]},Dr={cardinal:[le,q],ordinal:[le,q]},ht={cardinal:[q],ordinal:[q]},en={cardinal:[le,Bt,q],ordinal:[q]};var S0=Object.freeze({__proto__:null,af:G,ak:G,am:G,an:G,ar:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[q]},ars:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[q]},as:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},asa:G,ast:G,az:{cardinal:[le,q],ordinal:[le,Ge,Ze,q]},bal:Dr,be:{cardinal:[le,Ge,Ze,q],ordinal:[Ge,q]},bem:G,bez:G,bg:G,bho:G,bm:ht,bn:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},bo:ht,br:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},brx:G,bs:{cardinal:[le,Ge,q],ordinal:[q]},ca:{cardinal:[le,Ze,q],ordinal:[le,Bt,Ge,q]},ce:G,ceb:G,cgg:G,chr:G,ckb:G,cs:{cardinal:[le,Ge,Ze,q],ordinal:[q]},cy:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[Cn,le,Bt,Ge,Ze,q]},da:G,de:G,doi:G,dsb:{cardinal:[le,Bt,Ge,q],ordinal:[q]},dv:G,dz:ht,ee:G,el:G,en:{cardinal:[le,q],ordinal:[le,Bt,Ge,q]},eo:G,es:{cardinal:[le,Ze,q],ordinal:[q]},et:G,eu:G,fa:G,ff:G,fi:G,fil:Dr,fo:G,fr:{cardinal:[le,Ze,q],ordinal:[le,q]},fur:G,fy:G,ga:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[le,q]},gd:{cardinal:[le,Bt,Ge,q],ordinal:[le,Bt,Ge,q]},gl:G,gsw:G,gu:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},guw:G,gv:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},ha:G,haw:G,he:en,hi:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},hnj:ht,hr:{cardinal:[le,Ge,q],ordinal:[q]},hsb:{cardinal:[le,Bt,Ge,q],ordinal:[q]},hu:Dr,hy:Dr,ia:G,id:ht,ig:ht,ii:ht,io:G,is:G,it:{cardinal:[le,Ze,q],ordinal:[Ze,q]},iu:en,ja:ht,jbo:ht,jgo:G,jmc:G,jv:ht,jw:ht,ka:{cardinal:[le,q],ordinal:[le,Ze,q]},kab:G,kaj:G,kcg:G,kde:ht,kea:ht,kk:{cardinal:[le,q],ordinal:[Ze,q]},kkj:G,kl:G,km:ht,kn:G,ko:ht,ks:G,ksb:G,ksh:{cardinal:[Cn,le,q],ordinal:[q]},ku:G,kw:{cardinal:[Cn,le,Bt,Ge,Ze,q],ordinal:[le,Ze,q]},ky:G,lag:{cardinal:[Cn,le,q],ordinal:[q]},lb:G,lg:G,lij:{cardinal:[le,q],ordinal:[Ze,q]},lkt:ht,ln:G,lo:{cardinal:[q],ordinal:[le,q]},lt:{cardinal:[le,Ge,Ze,q],ordinal:[q]},lv:{cardinal:[Cn,le,q],ordinal:[q]},mas:G,mg:G,mgo:G,mk:{cardinal:[le,q],ordinal:[le,Bt,Ze,q]},ml:G,mn:G,mo:{cardinal:[le,Ge,q],ordinal:[le,q]},mr:{cardinal:[le,q],ordinal:[le,Bt,Ge,q]},ms:{cardinal:[q],ordinal:[le,q]},mt:{cardinal:[le,Bt,Ge,Ze,q],ordinal:[q]},my:ht,nah:G,naq:en,nb:G,nd:G,ne:Dr,nl:G,nn:G,nnh:G,no:G,nqo:ht,nr:G,nso:G,ny:G,nyn:G,om:G,or:{cardinal:[le,q],ordinal:[le,Bt,Ge,Ze,q]},os:G,osa:ht,pa:G,pap:G,pcm:G,pl:{cardinal:[le,Ge,Ze,q],ordinal:[q]},prg:{cardinal:[Cn,le,q],ordinal:[q]},ps:G,pt:{cardinal:[le,Ze,q],ordinal:[q]},pt_PT:{cardinal:[le,Ze,q],ordinal:[q]},rm:G,ro:{cardinal:[le,Ge,q],ordinal:[le,q]},rof:G,ru:{cardinal:[le,Ge,Ze,q],ordinal:[q]},rwk:G,sah:ht,saq:G,sat:en,sc:{cardinal:[le,q],ordinal:[Ze,q]},scn:{cardinal:[le,q],ordinal:[Ze,q]},sd:G,sdh:G,se:en,seh:G,ses:ht,sg:ht,sh:{cardinal:[le,Ge,q],ordinal:[q]},shi:{cardinal:[le,Ge,q],ordinal:[q]},si:G,sk:{cardinal:[le,Ge,Ze,q],ordinal:[q]},sl:{cardinal:[le,Bt,Ge,q],ordinal:[q]},sma:en,smi:en,smj:en,smn:en,sms:en,sn:G,so:G,sq:{cardinal:[le,q],ordinal:[le,Ze,q]},sr:{cardinal:[le,Ge,q],ordinal:[q]},ss:G,ssy:G,st:G,su:ht,sv:Dr,sw:G,syr:G,ta:G,te:G,teo:G,th:ht,ti:G,tig:G,tk:{cardinal:[le,q],ordinal:[Ge,q]},tl:Dr,tn:G,to:ht,tpi:ht,tr:G,ts:G,tzm:G,ug:G,uk:{cardinal:[le,Ge,Ze,q],ordinal:[Ge,q]},und:ht,ur:G,uz:G,ve:G,vec:{cardinal:[le,Ze,q],ordinal:[Ze,q]},vi:{cardinal:[q],ordinal:[le,q]},vo:G,vun:G,wa:G,wae:G,wo:ht,xh:G,xog:G,yi:G,yo:ht,yue:ht,zh:ht,zu:G});let ce=(m,f)=>f?"other":m==1?"one":"other",Sn=(m,f)=>f?"other":m==0||m==1?"one":"other",xo=(m,f)=>f?"other":m>=0&&m<=1?"one":"other",ki=(m,f)=>{let b=String(m).split("."),y=!b[1];return f?"other":m==1&&y?"one":"other"},pt=(m,f)=>"other",Dn=(m,f)=>f?"other":m==1?"one":m==2?"two":"other";var vc=Object.freeze({__proto__:null,af:ce,ak:Sn,am:xo,an:ce,ar:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[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 b=String(m).split("."),y=Number(b[0])==m,x=y&&b[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:ce,ast:ki,az:(m,f)=>{let b=String(m).split("."),y=b[0],x=y.slice(-1),k=y.slice(-2),I=y.slice(-3);return f?x==1||x==2||x==5||x==7||x==8||k==20||k==50||k==70||k==80?"one":x==3||x==4||I==100||I==200||I==300||I==400||I==500||I==600||I==700||I==800||I==900?"few":y==0||x==6||k==40||k==60||k==90?"many":"other":m==1?"one":"other"},bal:(m,f)=>m==1?"one":"other",be:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?(x==2||x==3)&&k!=12&&k!=13?"few":"other":x==1&&k!=11?"one":x>=2&&x<=4&&(k<12||k>14)?"few":y&&x==0||x>=5&&x<=9||k>=11&&k<=14?"many":"other"},bem:ce,bez:ce,bg:ce,bho:Sn,bm:pt,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:pt,br:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[0].slice(-1),k=y&&b[0].slice(-2),I=y&&b[0].slice(-6);return f?"other":x==1&&k!=11&&k!=71&&k!=91?"one":x==2&&k!=12&&k!=72&&k!=92?"two":(x==3||x==4||x==9)&&(k<10||k>19)&&(k<70||k>79)&&(k<90||k>99)?"few":m!=0&&y&&I==0?"many":"other"},brx:ce,bs:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":k&&I==1&&R!=11||z==1&&K!=11?"one":k&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},ca:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?m==1||m==3?"one":m==2?"two":m==4?"few":"other":m==1&&x?"one":y!=0&&k==0&&x?"many":"other"},ce,ceb:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=x.slice(-1);return f?"other":k&&(y==1||y==2||y==3)||k&&I!=4&&I!=6&&I!=9||!k&&R!=4&&R!=6&&R!=9?"one":"other"},cgg:ce,chr:ce,ckb:ce,cs:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[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 b=String(m).split("."),y=b[0],x=Number(b[0])==m;return f?"other":m==1||!x&&(y==0||y==1)?"one":"other"},de:ki,doi:xo,dsb:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-2),R=x.slice(-2);return f?"other":k&&I==1||R==1?"one":k&&I==2||R==2?"two":k&&(I==3||I==4)||R==3||R==4?"few":"other"},dv:ce,dz:pt,ee:ce,el:ce,en:(m,f)=>{let b=String(m).split("."),y=!b[1],x=Number(b[0])==m,k=x&&b[0].slice(-1),I=x&&b[0].slice(-2);return f?k==1&&I!=11?"one":k==2&&I!=12?"two":k==3&&I!=13?"few":"other":m==1&&y?"one":"other"},eo:ce,es:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?"other":m==1?"one":y!=0&&k==0&&x?"many":"other"},et:ki,eu:ce,fa:xo,ff:(m,f)=>f?"other":m>=0&&m<2?"one":"other",fi:ki,fil:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=x.slice(-1);return f?m==1?"one":"other":k&&(y==1||y==2||y==3)||k&&I!=4&&I!=6&&I!=9||!k&&R!=4&&R!=6&&R!=9?"one":"other"},fo:ce,fr:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?m==1?"one":"other":m>=0&&m<2?"one":y!=0&&k==0&&x?"many":"other"},fur:ce,fy:ki,ga:(m,f)=>{let b=String(m).split("."),y=Number(b[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 b=String(m).split("."),y=Number(b[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:ki,gsw:ce,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:Sn,gv:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-1),I=y.slice(-2);return f?"other":x&&k==1?"one":x&&k==2?"two":x&&(I==0||I==20||I==40||I==60||I==80)?"few":x?"other":"many"},ha:ce,haw:ce,he:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[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:pt,hr:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":k&&I==1&&R!=11||z==1&&K!=11?"one":k&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},hsb:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-2),R=x.slice(-2);return f?"other":k&&I==1||R==1?"one":k&&I==2||R==2?"two":k&&(I==3||I==4)||R==3||R==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:ki,id:pt,ig:pt,ii:pt,io:ki,is:(m,f)=>{let b=String(m).split("."),y=b[0],x=(b[1]||"").replace(/0+$/,""),k=Number(b[0])==m,I=y.slice(-1),R=y.slice(-2);return f?"other":k&&I==1&&R!=11||x%10==1&&x%100!=11?"one":"other"},it:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&k==0&&x?"many":"other"},iu:Dn,ja:pt,jbo:pt,jgo:ce,jmc:ce,jv:pt,jw:pt,ka:(m,f)=>{let b=String(m).split("."),y=b[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:ce,kcg:ce,kde:pt,kea:pt,kk:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[0].slice(-1);return f?x==6||x==9||y&&x==0&&m!=0?"many":"other":m==1?"one":"other"},kkj:ce,kl:ce,km:pt,kn:xo,ko:pt,ks:ce,ksb:ce,ksh:(m,f)=>f?"other":m==0?"zero":m==1?"one":"other",ku:ce,kw:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[0].slice(-2),k=y&&b[0].slice(-3),I=y&&b[0].slice(-5),R=y&&b[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&&k==0&&(I>=1e3&&I<=2e4||I==4e4||I==6e4||I==8e4)||m!=0&&R==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:ce,lag:(m,f)=>{let b=String(m).split("."),y=b[0];return f?"other":m==0?"zero":(y==0||y==1)&&m!=0?"one":"other"},lb:ce,lg:ce,lij:(m,f)=>{let b=String(m).split("."),y=!b[1],x=Number(b[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:pt,ln:Sn,lo:(m,f)=>f&&m==1?"one":"other",lt:(m,f)=>{let b=String(m).split("."),y=b[1]||"",x=Number(b[0])==m,k=x&&b[0].slice(-1),I=x&&b[0].slice(-2);return f?"other":k==1&&(I<11||I>19)?"one":k>=2&&k<=9&&(I<11||I>19)?"few":y!=0?"many":"other"},lv:(m,f)=>{let b=String(m).split("."),y=b[1]||"",x=y.length,k=Number(b[0])==m,I=k&&b[0].slice(-1),R=k&&b[0].slice(-2),z=y.slice(-2),K=y.slice(-1);return f?"other":k&&I==0||R>=11&&R<=19||x==2&&z>=11&&z<=19?"zero":I==1&&R!=11||x==2&&K==1&&z!=11||x!=2&&K==1?"one":"other"},mas:ce,mg:Sn,mgo:ce,mk:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?I==1&&R!=11?"one":I==2&&R!=12?"two":(I==7||I==8)&&R!=17&&R!=18?"many":"other":k&&I==1&&R!=11||z==1&&K!=11?"one":"other"},ml:ce,mn:ce,mo:(m,f)=>{let b=String(m).split("."),y=!b[1],x=Number(b[0])==m,k=x&&b[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&k>=1&&k<=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 b=String(m).split("."),y=Number(b[0])==m,x=y&&b[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:pt,nah:ce,naq:Dn,nb:ce,nd:ce,ne:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?y&&m>=1&&m<=4?"one":"other":m==1?"one":"other"},nl:ki,nn:ce,nnh:ce,no:ce,nqo:pt,nr:ce,nso:Sn,ny:ce,nyn:ce,om:ce,or:(m,f)=>{let b=String(m).split("."),y=Number(b[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:ce,osa:pt,pa:Sn,pap:ce,pcm:xo,pl:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-1),I=y.slice(-2);return f?"other":m==1&&x?"one":x&&k>=2&&k<=4&&(I<12||I>14)?"few":x&&y!=1&&(k==0||k==1)||x&&k>=5&&k<=9||x&&I>=12&&I<=14?"many":"other"},prg:(m,f)=>{let b=String(m).split("."),y=b[1]||"",x=y.length,k=Number(b[0])==m,I=k&&b[0].slice(-1),R=k&&b[0].slice(-2),z=y.slice(-2),K=y.slice(-1);return f?"other":k&&I==0||R>=11&&R<=19||x==2&&z>=11&&z<=19?"zero":I==1&&R!=11||x==2&&K==1&&z!=11||x!=2&&K==1?"one":"other"},ps:ce,pt:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&k==0&&x?"many":"other"},pt_PT:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?"other":m==1&&x?"one":y!=0&&k==0&&x?"many":"other"},rm:ce,ro:(m,f)=>{let b=String(m).split("."),y=!b[1],x=Number(b[0])==m,k=x&&b[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&k>=1&&k<=19?"few":"other"},rof:ce,ru:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-1),I=y.slice(-2);return f?"other":x&&k==1&&I!=11?"one":x&&k>=2&&k<=4&&(I<12||I>14)?"few":x&&k==0||x&&k>=5&&k<=9||x&&I>=11&&I<=14?"many":"other"},rwk:ce,sah:pt,saq:ce,sat:Dn,sc:(m,f)=>{let b=String(m).split("."),y=!b[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},scn:(m,f)=>{let b=String(m).split("."),y=!b[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},sd:ce,sdh:ce,se:Dn,seh:ce,ses:pt,sg:pt,sh:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":k&&I==1&&R!=11||z==1&&K!=11?"one":k&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},shi:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?"other":m>=0&&m<=1?"one":y&&m>=2&&m<=10?"few":"other"},si:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"";return f?"other":m==0||m==1||y==0&&x==1?"one":"other"},sk:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1];return f?"other":m==1&&x?"one":y>=2&&y<=4&&x?"few":x?"other":"many"},sl:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-2);return f?"other":x&&k==1?"one":x&&k==2?"two":x&&(k==3||k==4)||!x?"few":"other"},sma:Dn,smi:Dn,smj:Dn,smn:Dn,sms:Dn,sn:ce,so:ce,sq:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?m==1?"one":x==4&&k!=14?"many":"other":m==1?"one":"other"},sr:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=y.slice(-2),z=x.slice(-1),K=x.slice(-2);return f?"other":k&&I==1&&R!=11||z==1&&K!=11?"one":k&&I>=2&&I<=4&&(R<12||R>14)||z>=2&&z<=4&&(K<12||K>14)?"few":"other"},ss:ce,ssy:ce,st:ce,su:pt,sv:(m,f)=>{let b=String(m).split("."),y=!b[1],x=Number(b[0])==m,k=x&&b[0].slice(-1),I=x&&b[0].slice(-2);return f?(k==1||k==2)&&I!=11&&I!=12?"one":"other":m==1&&y?"one":"other"},sw:ki,syr:ce,ta:ce,te:ce,teo:ce,th:pt,ti:Sn,tig:ce,tk:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,x=y&&b[0].slice(-1);return f?x==6||x==9||m==10?"few":"other":m==1?"one":"other"},tl:(m,f)=>{let b=String(m).split("."),y=b[0],x=b[1]||"",k=!b[1],I=y.slice(-1),R=x.slice(-1);return f?m==1?"one":"other":k&&(y==1||y==2||y==3)||k&&I!=4&&I!=6&&I!=9||!k&&R!=4&&R!=6&&R!=9?"one":"other"},tn:ce,to:pt,tpi:pt,tr:ce,ts:ce,tzm:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?"other":m==0||m==1||y&&m>=11&&m<=99?"one":"other"},ug:ce,uk:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=Number(b[0])==m,I=k&&b[0].slice(-1),R=k&&b[0].slice(-2),z=y.slice(-1),K=y.slice(-2);return f?I==3&&R!=13?"few":"other":x&&z==1&&K!=11?"one":x&&z>=2&&z<=4&&(K<12||K>14)?"few":x&&z==0||x&&z>=5&&z<=9||x&&K>=11&&K<=14?"many":"other"},und:pt,ur:ki,uz:ce,ve:ce,vec:(m,f)=>{let b=String(m).split("."),y=b[0],x=!b[1],k=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&x?"one":y!=0&&k==0&&x?"many":"other"},vi:(m,f)=>f&&m==1?"one":"other",vo:ce,vun:ce,wa:Sn,wae:ce,wo:pt,xh:ce,xog:ce,yi:ki,yo:pt,yue:pt,zh:pt,zu:xo});function ph(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 bc(m){if(typeof m=="function"){var f=ph(m.name);return{isDefault:!1,id:tr(f),lc:f,locale:m.name,getPlural:m,cardinals:m.cardinals||[],ordinals:m.ordinals||[]}}var b=ph(m),y=tr(b);return hde(y)?{isDefault:!0,id:y,lc:b,locale:m,getCardinal:cde[y],getPlural:vc[y],cardinals:S0[y].cardinal,ordinals:S0[y].ordinal}:null}function dde(m){var f=Object.keys(vc).filter(function(b){return b!==m});return f.unshift(m),f.map(bc)}function ude(m){var f=ph(m);return tr(f)in vc}function hde(m){return m in vc}var pde=function(){function m(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=dde(m.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(bc).filter(Boolean);else if(f){var y=bc(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=bc(m.defaultLocale);this.plurals=[y]}}return m.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},m.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(ude)},m.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},m.prototype.compile=function(f){var b,y,x=new lde(this.options),k="return "+x.compile(f,this.plurals[0]),I=[],R=[];try{for(var z=a(Object.entries(x.runtime)),K=z.next();!K.done;K=z.next()){var Ie=i(K.value,2),Ve=Ie[0],Je=Ie[1];I.push(Ve),R.push(Je)}}catch(Nt){b={error:Nt}}finally{try{K&&!K.done&&(y=z.return)&&y.call(z)}finally{if(b)throw b.error}}var he=new(Function.bind.apply(Function,r(r([void 0],i(I),!1),[k],!1)));return he.apply(void 0,r([],i(R),!1))},m.defaultLocale="en",m}();return pde})}),wi=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}),Sde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(A,B){for(var j=0;j<B.length;j++){var ve=B[j];ve.enumerable=ve.enumerable||!1,ve.configurable=!0,"value"in ve&&(ve.writable=!0),Object.defineProperty(A,ve.key,ve)}}return function(A,B,j){return B&&S(A.prototype,B),j&&S(A,j),A}}(),n=wi(),a=i(n);function i(S){return S&&S.__esModule?S:{default:S}}function r(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}function s(S,A){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:S}function l(S,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);S.prototype=Object.create(A&&A.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(S,A):S.__proto__=A)}var c=function(S){l(A,S);function A(B,j){return r(this,A),B=B.toUpperCase(),j.mod43&&(B+=g(E(B))),s(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,B,j))}return t(A,[{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}}]),A}(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(S){return v(w(S))}function v(S){return u[S].toString(2)}function g(S){return d[S]}function w(S){return d.indexOf(S)}function E(S){for(var A=0,B=0;B<S.length;B++)A+=w(S[B]);return A=A%43,A}e.CODE39=c}),Rl=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]}),ou=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=wi(),a=r(n),i=Rl();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(v,g){s(this,p);var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v.substring(1),g));return w.bytes=v.split("").map(function(E){return E.charCodeAt(0)}),w}return t(p,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.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&&v.unshift(i.FNC1);var E=p.next(v,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:p.getBar(g)+E.result+p.getBar((E.checksum+g)%i.MODULO)+p.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return i.BARS[v]?i.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===i.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===i.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,w){if(!v.length)return{result:"",checksum:0};var E=void 0,S=void 0;if(v[0]>=200){S=v.shift()-105;var A=i.SWAP[S];A!==void 0?E=p.next(v,g+1,A):((w===i.SET_A||w===i.SET_B)&&S===i.SHIFT&&(v[0]=w===i.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),E=p.next(v,g+1,w))}else S=p.correctIndex(v,w),E=p.next(v,g+1,w);var B=p.getBar(S),j=S*g;return{result:B+E.result,checksum:j+E.checksum}}}]),p}(a.default);e.default=d}),Dde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rl(),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,v){return"Ë"+v})}}),Ide=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=ou(),n=r(t),a=Dde(),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(v,g){if(s(this,p),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,(0,i.default)(v),g));else var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g));return l(w)}return p}(n.default);e.default=d}),Tde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=ou(),a=r(n),i=Rl();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(v,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.A_START_CHAR+v,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),Ode=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=ou(),a=r(n),i=Rl();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(v,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.B_START_CHAR+v,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),Ade=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=ou(),a=r(n),i=Rl();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(v,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.C_START_CHAR+v,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),p}(a.default);e.default=d}),Rde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Ide(),n=d(t),a=Tde(),i=d(a),r=Ode(),s=d(r),l=Ade(),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}),Ml=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"]}),Pl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ml(),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}),o_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var E=0;E<w.length;E++){var S=w[E];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,E){return w&&v(g.prototype,w),E&&v(g,E),g}}(),n=Ml(),a=Pl(),i=l(a),r=wi(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function u(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var p=function(v){u(g,v);function g(w,E){c(this,g);var S=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,E));return S.fontSize=!E.flat&&E.fontSize>E.width*10?E.width*10:E.fontSize,S.guardHeight=E.height+S.fontSize/2+E.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,E){return this.text.substr(w,E)}},{key:"leftEncode",value:function(w,E){return(0,i.default)(w,E)}},{key:"rightText",value:function(w,E){return this.text.substr(w,E)}},{key:"rightEncode",value:function(w,E){return(0,i.default)(w,E)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},E={height:this.guardHeight};return[{data:n.SIDE_BIN,options:E},{data:this.leftEncode(),text:this.leftText(),options:w},{data:n.MIDDLE_BIN,options:E},{data:this.rightEncode(),text:this.rightText(),options:w},{data:n.SIDE_BIN,options:E}]}},{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}),Mde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var E=0;E<w.length;E++){var S=w[E];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,E){return w&&v(g.prototype,w),E&&v(g,E),g}}(),n=function v(g,w,E){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var A=Object.getPrototypeOf(g);return A===null?void 0:v(A,w,E)}else{if("value"in S)return S.value;var B=S.get;return B===void 0?void 0:B.call(E)}},a=Ml(),i=o_(),r=s(i);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var u=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,E,S){return S%2?w+E*3:w+E},0);return(10-g%10)%10},p=function(v){d(g,v);function g(w,E){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=u(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,E));return S.lastChar=E.lastChar,S}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),E=a.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,E)}},{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}),Pde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function p(v,g){for(var w=0;w<g.length;w++){var E=g[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,g,w){return g&&p(v.prototype,g),w&&p(v,w),v}}(),n=function p(v,g,w){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,g);if(E===void 0){var S=Object.getPrototypeOf(v);return S===null?void 0:p(S,g,w)}else{if("value"in E)return E.value;var A=E.get;return A===void 0?void 0:A.call(w)}},a=o_(),i=r(a);function r(p){return p&&p.__esModule?p:{default:p}}function s(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function l(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function c(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var d=function(p){var v=p.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,E){return E%2?g+w:g+w*3},0);return(10-v%10)%10},u=function(p){c(v,p);function v(g,w){return s(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,w))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(i.default);e.default=u}),Nde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,E){for(var S=0;S<E.length;S++){var A=E[S];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}return function(w,E,S){return E&&g(w.prototype,E),S&&g(w,S),w}}(),n=Ml(),a=Pl(),i=l(a),r=wi(),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(E){return+E}).reduce(function(E,S,A){return A%2?E+S*9:E+S*3},0);return w%10},v=function(g){u(w,g);function w(E,S){return c(this,w),d(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,E,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var E=n.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,i.default)(this.data,E,"01"),text:this.text}}}]),w}(s.default);e.default=v}),Lde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var E=0;E<w.length;E++){var S=w[E];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,E){return w&&v(g.prototype,w),E&&v(g,E),g}}(),n=Ml(),a=Pl(),i=l(a),r=wi(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function u(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var p=function(v){u(g,v);function g(w,E){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,E))}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}),s_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var E=0;E<w.length;E++){var S=w[E];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,E){return w&&v(g.prototype,w),E&&v(g,E),g}}();e.checksum=p;var n=Pl(),a=s(n),i=wi(),r=s(i);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var u=function(v){d(g,v);function g(w,E){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=p(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,E));return S.displayValue=E.displayValue,E.fontSize>E.width*10?S.fontSize=E.width*10:S.fontSize=E.fontSize,S.guardHeight=E.height+S.fontSize/2+E.textMargin,S}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(v){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(v[w]);for(w=0;w<11;w+=2)g+=parseInt(v[w])*3;return(10-g%10)%10}e.default=u}),Fde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function E(S,A){for(var B=0;B<A.length;B++){var j=A[B];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(S,j.key,j)}}return function(S,A,B){return A&&E(S.prototype,A),B&&E(S,B),S}}(),n=Pl(),a=l(n),i=wi(),r=l(i),s=s_();function l(E){return E&&E.__esModule?E:{default:E}}function c(E,S){if(!(E instanceof S))throw new TypeError("Cannot call a class as a function")}function d(E,S){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:E}function u(E,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);E.prototype=Object.create(S&&S.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(E,S):E.__proto__=S)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(E){u(S,E);function S(A,B){c(this,S);var j=d(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,A,B));if(j.isValid=!1,A.search(/^[0-9]{6}$/)!==-1)j.middleDigits=A,j.upcA=w(A,"0"),j.text=B.text||""+j.upcA[0]+A+j.upcA[j.upcA.length-1],j.isValid=!0;else if(A.search(/^[01][0-9]{7}$/)!==-1)if(j.middleDigits=A.substring(1,A.length-1),j.upcA=w(j.middleDigits,A[0]),j.upcA[j.upcA.length-1]===A[A.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(S,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var A="";return A+="101",A+=this.encodeMiddleDigits(),A+="010101",{data:A,text:this.text}}},{key:"guardedEncoding",value:function(){var A=[];return this.displayValue&&A.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),A.push({data:"101",options:{height:this.guardHeight}}),A.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),A.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&A.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),A}},{key:"encodeMiddleDigits",value:function(){var A=this.upcA[0],B=this.upcA[this.upcA.length-1],j=v[parseInt(B)][parseInt(A)];return(0,a.default)(this.middleDigits,j)}}]),S}(r.default);function w(E,S){for(var A=parseInt(E[E.length-1]),B=p[A],j="",ve=0,Pe=0;Pe<B.length;Pe++){var He=B[Pe];He==="X"?j+=E[ve++]:j+=He}return j=""+S+j,""+j+(0,s.checksum)(j)}e.default=g}),Vde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Mde(),n=g(t),a=Pde(),i=g(a),r=Nde(),s=g(r),l=Lde(),c=g(l),d=s_(),u=g(d),p=Fde(),v=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=v.default}),zde=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"]}),l_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=zde(),a=wi(),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 v=this,g=this.data.match(/.{2}/g).map(function(w){return v.encodePair(w)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=n.BINARIES[v[1]];return n.BINARIES[v[0]].split("").map(function(w,E){return(w==="1"?"111":"1")+(g[E]==="1"?"000":"0")}).join("")}}]),p}(i.default);e.default=d}),Bde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=l_(),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(v){return parseInt(v,10)}).reduce(function(v,g,w){return v+g*(3-w%2*2)},0);return Math.ceil(p/10)*10-p},d=function(u){l(p,u);function p(v,g){return r(this,p),v.search(/^[0-9]{13}$/)!==-1&&(v+=c(v)),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,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}),jde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=l_(),n=r(t),a=Bde(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=i.default}),Nl=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=wi(),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(v,g){return r(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g))}return t(p,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),E=w.toString(2);E=d(E,4-E.length);for(var S=0;S<E.length;S++)v+=E[S]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),p}(a.default);function d(u,p){for(var v=0;v<p;v++)u="0"+u;return u}e.default=c}),su=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}}),Hde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=su();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,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod10)(p),v))}return u}(n.default);e.default=c}),Ude=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=su();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,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,a.mod11)(p),v))}return u}(n.default);e.default=c}),Wde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=su();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,v){return r(this,u),p+=(0,a.mod10)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,v))}return u}(n.default);e.default=c}),qde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nl(),n=i(t),a=su();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,v){return r(this,u),p+=(0,a.mod11)(p),p+=(0,a.mod10)(p),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,v))}return u}(n.default);e.default=c}),Gde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Nl(),n=p(t),a=Hde(),i=p(a),r=Ude(),s=p(r),l=Wde(),c=p(l),d=qde(),u=p(d);function p(v){return v&&v.__esModule?v:{default:v}}e.MSI=n.default,e.MSI10=i.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),$de=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,v){return p&&d(u.prototype,p),v&&d(u,v),u}}(),n=wi(),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,v){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,v));return g.number=parseInt(p,10),g}return t(u,[{key:"encode",value:function(){for(var p=this.number,v="";!isNaN(p)&&p!=0;)p%2===0?(v="11100"+v,p=(p-2)/2):(v="100"+v,p=(p-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(a.default);e.pharmacode=c}),Yde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,v){return p&&d(u.prototype,p),v&&d(u,v),u}}(),n=wi(),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,v){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(),v));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=[],v=this.getEncodings(),g=0;g<this.data.length;g++)p.push(v[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}),Zde=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"]}}),c_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&u(p.prototype,v),g&&u(p,g),p}}(),n=Zde(),a=wi(),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(v,g){return s(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g))}return t(p,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(S){return n.MULTI_SYMBOLS[S]||S}),g=v.map(function(S){return p.getEncoding(S)}).join(""),w=p.checksum(v,20),E=p.checksum(v.concat(w),15);return{text:this.text,data:p.getEncoding("ÿ")+g+p.getEncoding(w)+p.getEncoding(E)+p.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return n.BINARIES[p.symbolValue(v)]}},{key:"getSymbol",value:function(v){return n.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return n.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(E,S,A){var B=A%g+1;return E+p.symbolValue(S)*B},0);return p.getSymbol(w%47)}}]),p}(i.default);e.default=d}),Kde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,v){return p&&d(u.prototype,p),v&&d(u,v),u}}(),n=c_(),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,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,v))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(a.default);e.default=c}),Qde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=c_(),n=r(t),a=Kde(),i=r(a);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=i.default}),Xde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,v){return p&&d(u.prototype,p),v&&d(u,v),u}}(),n=wi(),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,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,v))}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}),Jde=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Sde(),n=Rde(),a=Vde(),i=jde(),r=Gde(),s=$de(),l=Yde(),c=Qde(),d=Xde();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}}),lu=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)}}),eue=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}}),tue=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}}),d_=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}}),u_=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}),aue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=d_(),n=r(t),a=u_(),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}),h_=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=lu(),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,v){if(v.displayValue&&p<u){if(v.textAlign=="center")return Math.floor((u-p)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(u-p)}return 0}function s(u,p,v){for(var g=0;g<u.length;g++){var w=u[g],E=(0,n.default)(p,w.options),S;E.displayValue?S=d(w.text,E,v):S=0;var A=w.data.length*E.width;w.width=Math.ceil(Math.max(S,A)),w.height=i(w,E),w.barcodePadding=r(S,A,E)}}function l(u){for(var p=0,v=0;v<u.length;v++)p+=u[v].width;return p}function c(u){for(var p=0,v=0;v<u.length;v++)u[v].height>p&&(p=u[v].height);return p}function d(u,p,v){var g;if(v)g=v;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 E=w.width;return E}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=i,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),iue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var p=0;p<u.length;p++){var v=u[p];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}return function(d,u,p){return u&&c(d.prototype,u),p&&c(d,p),d}}(),n=lu(),a=r(n),i=h_();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"),v=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<v.length;w++){var E=w*d.width+u.barcodePadding;v[w]==="1"?p.fillRect(E,g,d.width,d.height):v[w]&&p.fillRect(E,g,d.width,d.height*v[w])}}},{key:"drawCanvasText",value:function(d,u){var p=this.canvas.getContext("2d"),v=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=v,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}),nue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,p,v){return p&&d(u.prototype,p),v&&d(u,v),u}}(),n=lu(),a=r(n),i=h_();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,v){s(this,d),this.svg=u,this.encodings=p,this.options=v,this.document=v.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 v=this.encodings[p],g=(0,a.default)(this.options,v.options),w=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),u+=v.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),v=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,p),this.options.background&&this.drawRect(0,0,v,p,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(u,p,v){var g=v.data,w;p.textPosition=="top"?w=p.fontSize+p.textMargin:w=0;for(var E=0,S=0,A=0;A<g.length;A++)S=A*p.width+v.barcodePadding,g[A]==="1"?E++:E>0&&(this.drawRect(S-p.width*E,w,p.width*E,p.height,u),E=0);E>0&&this.drawRect(S-p.width*(E-1),w,p.width*E,p.height,u)}},{key:"drawSVGText",value:function(u,p,v){var g=this.document.createElementNS(l,"text");if(p.displayValue){var w,E;g.setAttribute("font-family",p.font),g.setAttribute("font-size",p.fontSize),p.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),p.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),p.textPosition=="top"?E=p.fontSize-p.textMargin:E=p.height+p.textMargin+p.fontSize,p.textAlign=="left"||v.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):p.textAlign=="right"?(w=v.width-1,g.setAttribute("text-anchor","end")):(w=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",E),g.appendChild(this.document.createTextNode(v.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,p){var v=this.svg;v.setAttribute("width",u+"px"),v.setAttribute("height",p+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+u+" "+p),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(u,p,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+p+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(u,p){u.setAttribute("fill",p.lineColor)}},{key:"drawRect",value:function(u,p,v,g,w){var E=this.document.createElementNS(l,"rect");return E.setAttribute("x",u),E.setAttribute("y",p),E.setAttribute("width",v),E.setAttribute("height",g),w.appendChild(E),E}}]),d}();e.default=c}),rue=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}),oue=Ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=iue(),n=l(t),a=nue(),i=l(a),r=rue(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:i.default,ObjectRenderer:s.default}}),p_=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}),sue=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=aue(),a=l(n),i=oue(),r=l(i),s=p_();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 v=[],g=0;g<p.length;g++)v.push(c(p[g]));return v}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 v=document.querySelectorAll(p);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(c(v[w]));return g}}function u(p){var v=document.createElement("canvas");return{element:v,options:(0,a.default)(p),renderer:r.default.CanvasRenderer,afterRender:function(){p.setAttribute("src",v.toDataURL())}}}e.default=c}),lue=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}),cue=Ae((e,t)=>{var n=Jde(),a=j(n),i=lu(),r=j(i),s=eue(),l=j(s),c=tue(),d=j(c),u=sue(),p=j(u),v=d_(),g=j(v),w=lue(),E=j(w),S=p_(),A=u_(),B=j(A);function j(ge){return ge&&ge.__esModule?ge:{default:ge}}var ve=function(){},Pe=function(ge,se,qe){var $=new ve;if(typeof ge>"u")throw Error("No element to render on was provided.");return $._renderProperties=(0,p.default)(ge),$._encodings=[],$._options=B.default,$._errorHandler=new E.default($),typeof se<"u"&&(qe=qe||{},qe.format||(qe.format=Mt()),$.options(qe)[qe.format](se,qe).render()),$};Pe.getModule=function(ge){return a.default[ge]};for(He in a.default)a.default.hasOwnProperty(He)&&xa(a.default,He);var He;function xa(ge,se){ve.prototype[se]=ve.prototype[se.toUpperCase()]=ve.prototype[se.toLowerCase()]=function(qe,$){var Q=this;return Q._errorHandler.wrapBarcodeCall(function(){$.text=typeof $.text>"u"?void 0:""+$.text;var ue=(0,r.default)(Q._options,$);ue=(0,g.default)(ue);var Qe=ge[se],Ot=ra(qe,Qe,ue);return Q._encodings.push(Ot),Q})}}function ra(ge,se,qe){ge=""+ge;var $=new se(ge,qe);if(!$.valid())throw new S.InvalidInputException($.constructor.name,ge);var Q=$.encode();Q=(0,l.default)(Q);for(var ue=0;ue<Q.length;ue++)Q[ue].options=(0,r.default)(qe,Q[ue].options);return Q}function Mt(){return a.default.CODE128?"CODE128":Object.keys(a.default)[0]}ve.prototype.options=function(ge){return this._options=(0,r.default)(this._options,ge),this},ve.prototype.blank=function(ge){var se=new Array(ge+1).join("0");return this._encodings.push({data:se}),this},ve.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ge;for(var se in this._renderProperties){ge=this._renderProperties[se];var qe=(0,r.default)(this._options,ge.options);qe.format=="auto"&&(qe.format=Mt()),this._errorHandler.wrapBarcodeCall(function(){var $=qe.value,Q=a.default[qe.format.toUpperCase()],ue=ra($,Q,qe);pa(ge,ue,qe)})}}},ve.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ge=0;ge<this._renderProperties.length;ge++)pa(this._renderProperties[ge],this._encodings,this._options);else pa(this._renderProperties,this._encodings,this._options);return this},ve.prototype._defaults=B.default;function pa(ge,se,qe){se=(0,l.default)(se);for(var $=0;$<se.length;$++)se[$].options=(0,r.default)(qe,se[$].options),(0,d.default)(se[$].options);(0,d.default)(qe);var Q=ge.renderer,ue=new Q(ge.element,se,qe);ue.render(),ge.afterRender&&ge.afterRender()}typeof window<"u"&&(window.JsBarcode=Pe),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ge,se){var qe=[];return jQuery(this).each(function(){qe.push(this)}),Pe(qe,ge,se)}),t.exports=Pe});function Km(e,t){return Object.is(e,t)}var sa=null,ed=!1,Qm=1,Ha=Symbol("SIGNAL");function Ke(e){let t=sa;return sa=e,t}function due(){return sa}var cs={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 Ll(e){if(ed)throw new Error("");if(sa===null)return;sa.consumerOnSignalRead(e);let t=sa.nextProducerIndex++;if(hu(sa),t<sa.producerNode.length&&sa.producerNode[t]!==e&&cl(sa)){let n=sa.producerNode[t];uu(n,sa.producerIndexOfThis[t])}sa.producerNode[t]!==e&&(sa.producerNode[t]=e,sa.producerIndexOfThis[t]=cl(sa)?g_(e,sa,t):0),sa.producerLastReadVersion[t]=e.version}function uue(){Qm++}function Fl(e){if(!(cl(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Qm)){if(!e.producerMustRecompute(e)&&!Xm(e)){yd(e);return}e.producerRecomputeValue(e),yd(e)}}function m_(e){if(e.liveConsumerNode===void 0)return;let t=ed;ed=!0;try{for(let n of e.liveConsumerNode)n.dirty||hue(n)}finally{ed=t}}function f_(){return(sa==null?void 0:sa.consumerAllowSignalWrites)!==!1}function hue(e){var t;e.dirty=!0,m_(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function yd(e){e.dirty=!1,e.lastCleanEpoch=Qm}function ll(e){return e&&(e.nextProducerIndex=0),Ke(e)}function cu(e,t){if(Ke(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(cl(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)uu(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Xm(e){hu(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],a=e.producerLastReadVersion[t];if(a!==n.version||(Fl(n),a!==n.version))return!0}return!1}function du(e){if(hu(e),cl(e))for(let t=0;t<e.producerNode.length;t++)uu(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 g_(e,t,n){if(v_(e),e.liveConsumerNode.length===0&&b_(e))for(let a=0;a<e.producerNode.length;a++)e.producerIndexOfThis[a]=g_(e.producerNode[a],e,a);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function uu(e,t){if(v_(e),e.liveConsumerNode.length===1&&b_(e))for(let a=0;a<e.producerNode.length;a++)uu(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];hu(i),i.producerIndexOfThis[a]=t}}function cl(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function hu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function v_(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function b_(e){return e.producerNode!==void 0}function y_(e,t){let n=Object.create(pue);n.computation=e,t!==void 0&&(n.equal=t);let a=()=>{if(Fl(n),Ll(n),n.value===ur)throw n.error;return n.value};return a[Ha]=n,a}var jr=Symbol("UNSET"),zo=Symbol("COMPUTING"),ur=Symbol("ERRORED"),pue=dt(pe({},cs),{value:jr,dirty:!0,error:null,equal:Km,kind:"computed",producerMustRecompute(e){return e.value===jr||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zo;let n=ll(e),a,i=!1;try{a=e.computation(),Ke(null),i=t!==jr&&t!==ur&&a!==ur&&e.equal(t,a)}catch(r){a=ur,e.error=r}finally{cu(e,n)}if(i){e.value=t;return}e.value=a,e.version++}});function mue(){throw new Error}var __=mue;function x_(e){__(e)}function fue(e){__=e}function gue(e,t){let n=Object.create(E_);n.value=e,t!==void 0&&(n.equal=t);let a=()=>(Ll(n),n.value);return a[Ha]=n,a}function Vl(e,t){f_()||x_(e),e.equal(e.value,t)||(e.value=t,vue(e))}function w_(e,t){f_()||x_(e),Vl(e,t(e.value))}var E_=dt(pe({},cs),{equal:Km,value:void 0,kind:"signal"});function vue(e){e.version++,uue(),m_(e)}function R0(e,t,n){let a=Object.create(_ue);a.source=e,a.computation=t,n!=null&&(a.equal=n);let i=()=>{if(Fl(a),Ll(a),a.value===ur)throw a.error;return a.value};return i[Ha]=a,i}function bue(e,t){Fl(e),Vl(e,t),yd(e)}function yue(e,t){Fl(e),w_(e,t),yd(e)}var _ue=dt(pe({},cs),{value:jr,dirty:!0,error:null,equal:Km,kind:"linkedSignal",producerMustRecompute(e){return e.value===jr||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=zo;let n=ll(e),a;try{let i=e.source(),r=t===jr||t===ur?void 0:{source:e.sourceValue,value:t};a=e.computation(i,r),e.sourceValue=i}catch(i){a=ur,e.error=i}finally{cu(e,n)}if(t!==jr&&a!==ur&&e.equal(t,a)){e.value=t;return}e.value=a,e.version++}});function xue(e){let t=Ke(null);try{return e()}finally{Ke(t)}}var kp;function td(){return kp}function nr(e){let t=kp;return kp=e,t}var k_=Symbol("NotFound");function Lt(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 mh=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 _d(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ye=class Cp{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(Lt(a))try{a()}catch(r){t=r instanceof mh?r.errors:[r]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let r of i)try{M0(r)}catch(s){t=t??[],s instanceof mh?t=[...t,...s.errors]:t.push(s)}}if(t)throw new mh(t)}}add(t){var n;if(t&&t!==this)if(this.closed)M0(t);else{if(t instanceof Cp){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)&&_d(n,t)}remove(t){let{_finalizers:n}=this;n&&_d(n,t),t instanceof Cp&&t._removeParent(this)}};Ye.EMPTY=(()=>{let e=new Ye;return e.closed=!0,e})();var C_=Ye.EMPTY;function S_(e){return e instanceof Ye||e&&"closed"in e&&Lt(e.remove)&&Lt(e.add)&&Lt(e.unsubscribe)}function M0(e){Lt(e)?e():e.unsubscribe()}var wue={Promise:void 0},Eue={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function D_(e){Eue.setTimeout(()=>{throw e})}function Sp(){}function ad(e){e()}var ef=class extends Ye{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,S_(e)&&e.add(this)):this.destination=Sue}static create(e,t,n){return new dl(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()}}},kue=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){wc(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){wc(n)}else wc(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){wc(t)}}},dl=class extends ef{constructor(e,t,n){super();let a;Lt(e)||!e?a={next:e??void 0,error:t??void 0,complete:n??void 0}:a=e,this.destination=new kue(a)}};function wc(e){D_(e)}function Cue(e){throw e}var Sue={closed:!0,next:Sp,error:Cue,complete:Sp},tf=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ds(e){return e}function Due(e){return e.length===0?ds:e.length===1?e[0]:function(t){return e.reduce((n,a)=>a(n),t)}}var Tt=(()=>{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=Tue(n)?n:new dl(n,a,i);return ad(()=>{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=P0(a),new a((i,r)=>{let s=new dl({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)}[tf](){return this}pipe(...n){return Due(n)(this)}toPromise(n){return n=P0(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 P0(e){var t;return(t=e??wue.Promise)!==null&&t!==void 0?t:Promise}function Iue(e){return e&&Lt(e.next)&&Lt(e.error)&&Lt(e.complete)}function Tue(e){return e&&e instanceof ef||Iue(e)&&S_(e)}function I_(e){return Lt(e==null?void 0:e.lift)}function Da(e){return t=>{if(I_(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 ua(e,t,n,a,i){return new Oue(e,t,n,a,i)}var Oue=class extends ef{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 Aue(){return Da((e,t)=>{let n=null;e._refCount++;let a=ua(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 Rue=class extends Tt{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,I_(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 Ye;let t=this.getSubject();e.add(this.source.subscribe(ua(t,void 0,()=>{this._teardown(),t.complete()},n=>{this._teardown(),t.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Ye.EMPTY)}return e}refCount(){return Aue()(this)}},Mue=Jm(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),me=(()=>{class e extends Tt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let a=new N0(this,this);return a.operator=n,a}_throwIfClosed(){if(this.closed)throw new Mue}next(n){ad(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let a of this.currentObservers)a.next(n)}})}error(n){ad(()=>{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(){ad(()=>{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?C_:(this.currentObservers=null,r.push(n),new Ye(()=>{this.currentObservers=null,_d(r,n)}))}_checkFinalizedStatuses(n){let{hasError:a,thrownError:i,isStopped:r}=this;a?n.error(i):r&&n.complete()}asObservable(){let n=new Tt;return n.source=this,n}}return e.create=(t,n)=>new N0(t,n),e})(),N0=class extends me{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:C_}},Gr=class extends me{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)}},af={now(){return(af.delegate||Date).now()},delegate:void 0},nf=class extends me{constructor(e=1/0,t=1/0,n=af){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)}}},Pue=class extends Ye{constructor(e,t){super()}schedule(e,t=0){return this}},Dp={setInterval(e,t,...n){let{delegate:a}=Dp;return a!=null&&a.setInterval?a.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},Nue=class extends Pue{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 Dp.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&&Dp.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,_d(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},Ip=class T_{constructor(t,n=T_.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,a){return new this.schedulerActionCtor(this,t).schedule(a,n)}};Ip.now=af.now;var Lue=class extends Ip{constructor(e,t=Ip.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}}},rf=new Lue(Nue),Fue=rf,zl=new Tt(e=>e.complete());function O_(e){return e&&Lt(e.schedule)}function of(e){return e[e.length-1]}function A_(e){return Lt(of(e))?e.pop():void 0}function Bl(e){return O_(of(e))?e.pop():void 0}function Vue(e,t){return typeof of(e)=="number"?e.pop():t}function zue(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 L0(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 Bo(e){return this instanceof Bo?(this.v=e,this):new Bo(e)}function Bue(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(E){return new Promise(function(S,A){r.push([g,E,S,A])>1||c(g,E)})},w&&(i[g]=w(i[g])))}function c(g,w){try{d(a[g](w))}catch(E){v(r[0][3],E)}}function d(g){g.value instanceof Bo?Promise.resolve(g.value.v).then(u,p):v(r[0][2],g)}function u(g){c("next",g)}function p(g){c("throw",g)}function v(g,w){g(w),r.shift(),r.length&&c(r[0][0],r[0][1])}}function jue(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 L0=="function"?L0(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 R_=e=>e&&typeof e.length=="number"&&typeof e!="function";function M_(e){return Lt(e==null?void 0:e.then)}function P_(e){return Lt(e[tf])}function N_(e){return Symbol.asyncIterator&&Lt(e==null?void 0:e[Symbol.asyncIterator])}function L_(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 Hue(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var F_=Hue();function V_(e){return Lt(e==null?void 0:e[F_])}function z_(e){return Bue(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:a}=yield Bo(t.read());if(a)return yield Bo(void 0);yield yield Bo(n)}}finally{t.releaseLock()}})}function B_(e){return Lt(e==null?void 0:e.getReader)}function hi(e){if(e instanceof Tt)return e;if(e!=null){if(P_(e))return Uue(e);if(R_(e))return Wue(e);if(M_(e))return que(e);if(N_(e))return j_(e);if(V_(e))return Gue(e);if(B_(e))return $ue(e)}throw L_(e)}function Uue(e){return new Tt(t=>{let n=e[tf]();if(Lt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Wue(e){return new Tt(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function que(e){return new Tt(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,D_)})}function Gue(e){return new Tt(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function j_(e){return new Tt(t=>{Yue(e,t).catch(n=>t.error(n))})}function $ue(e){return j_(z_(e))}function Yue(e,t){var n,a,i,r;return zue(this,void 0,void 0,function*(){try{for(n=jue(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 jn(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 H_(e,t=0){return Da((n,a)=>{n.subscribe(ua(a,i=>jn(a,e,()=>a.next(i),t),()=>jn(a,e,()=>a.complete(),t),i=>jn(a,e,()=>a.error(i),t)))})}function U_(e,t=0){return Da((n,a)=>{a.add(e.schedule(()=>n.subscribe(a),t))})}function Zue(e,t){return hi(e).pipe(U_(t),H_(t))}function Kue(e,t){return hi(e).pipe(U_(t),H_(t))}function Que(e,t){return new Tt(n=>{let a=0;return t.schedule(function(){a===e.length?n.complete():(n.next(e[a++]),n.closed||this.schedule())})})}function Xue(e,t){return new Tt(n=>{let a;return jn(n,t,()=>{a=e[F_](),jn(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)}),()=>Lt(a==null?void 0:a.return)&&a.return()})}function W_(e,t){if(!e)throw new Error("Iterable cannot be null");return new Tt(n=>{jn(n,t,()=>{let a=e[Symbol.asyncIterator]();jn(n,t,()=>{a.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Jue(e,t){return W_(z_(e),t)}function ehe(e,t){if(e!=null){if(P_(e))return Zue(e,t);if(R_(e))return Que(e,t);if(M_(e))return Kue(e,t);if(N_(e))return W_(e,t);if(V_(e))return Xue(e,t);if(B_(e))return Jue(e,t)}throw L_(e)}function wr(e,t){return t?ehe(e,t):hi(e)}function vt(...e){let t=Bl(e);return wr(e,t)}function the(e,t){let n=Lt(e)?e:()=>e,a=i=>i.error(n());return new Tt(a)}function jo(e){return!!e&&(e instanceof Tt||Lt(e.lift)&&Lt(e.subscribe))}var ahe=Jm(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ihe(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 ahe)}})})}function nhe(e){return e instanceof Date&&!isNaN(e)}function Dt(e,t){return Da((n,a)=>{let i=0;n.subscribe(ua(a,r=>{a.next(e.call(t,r,i++))}))})}var{isArray:rhe}=Array;function ohe(e,t){return rhe(t)?e(...t):e(t)}function q_(e){return Dt(t=>ohe(e,t))}var{isArray:she}=Array,{getPrototypeOf:lhe,prototype:che,keys:dhe}=Object;function G_(e){if(e.length===1){let t=e[0];if(she(t))return{args:t,keys:null};if(uhe(t)){let n=dhe(t);return{args:n.map(a=>t[a]),keys:n}}}return{args:e,keys:null}}function uhe(e){return e&&typeof e=="object"&&lhe(e)===che}function $_(e,t){return e.reduce((n,a,i)=>(n[a]=t[i],n),{})}function id(...e){let t=Bl(e),n=A_(e),{args:a,keys:i}=G_(e);if(a.length===0)return wr([],t);let r=new Tt(hhe(a,t,i?s=>$_(i,s):ds));return n?r.pipe(q_(n)):r}function hhe(e,t,n=ds){return a=>{F0(t,()=>{let{length:i}=e,r=new Array(i),s=i,l=i;for(let c=0;c<i;c++)F0(t,()=>{let d=wr(e[c],t),u=!1;d.subscribe(ua(a,p=>{r[c]=p,u||(u=!0,l--),l||a.next(n(r.slice()))},()=>{--s||a.complete()}))},a)},a)}}function F0(e,t,n){e?jn(n,e,t):t()}function phe(e,t,n,a,i,r,s,l){let c=[],d=0,u=0,p=!1,v=()=>{p&&!c.length&&!d&&t.complete()},g=E=>d<a?w(E):c.push(E),w=E=>{d++;let S=!1;hi(n(E,u++)).subscribe(ua(t,A=>{t.next(A)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&d<a;){let A=c.shift();s?jn(t,s,()=>w(A)):w(A)}v()}catch(A){t.error(A)}}))};return e.subscribe(ua(t,g,()=>{p=!0,v()})),()=>{}}function ul(e,t,n=1/0){return Lt(t)?ul((a,i)=>Dt((r,s)=>t(a,r,i,s))(hi(e(a,i))),n):(typeof t=="number"&&(n=t),Da((a,i)=>phe(a,i,e,n)))}function Y_(e=1/0){return ul(ds,e)}function mhe(){return Y_(1)}function hl(...e){return mhe()(wr(e,Bl(e)))}function pl(e){return new Tt(t=>{hi(e()).subscribe(t)})}function sf(...e){let t=A_(e),{args:n,keys:a}=G_(e),i=new Tt(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;hi(n[u]).subscribe(ua(r,v=>{p||(p=!0,d--),l[u]=v},()=>c--,void 0,()=>{(!c||!p)&&(d||r.next(a?$_(a,l):l),r.complete())}))}});return t?i.pipe(q_(t)):i}function Z_(e=0,t,n=Fue){let a=-1;return t!=null&&(O_(t)?n=t:a=t),new Tt(i=>{let r=nhe(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 ba(...e){let t=Bl(e),n=Vue(e,1/0),a=e;return a.length?a.length===1?hi(a[0]):Y_(n)(wr(a,t)):zl}function la(e,t){return Da((n,a)=>{let i=0;n.subscribe(ua(a,r=>e.call(t,r,i++)&&a.next(r)))})}function fhe(e){return Da((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(ua(n,d=>{a=!0,i=d,r||hi(e(d)).subscribe(r=ua(n,l,c))},()=>{s=!0,(!a||!r||r.closed)&&n.complete()}))})}function K_(e,t=rf){return fhe(()=>Z_(e,t))}function Q_(e){return Da((t,n)=>{let a=null,i=!1,r;a=t.subscribe(ua(n,void 0,void 0,s=>{r=hi(e(s,Q_(e)(t))),a?(a.unsubscribe(),a=null,r.subscribe(n)):i=!0})),i&&(a.unsubscribe(),a=null,r.subscribe(n))})}function X_(e,t){return Lt(t)?ul(e,t,1):ul(e,1)}function pu(e,t=rf){return Da((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(ua(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 ei(e){return e<=0?()=>zl:Da((t,n)=>{let a=0;t.subscribe(ua(n,i=>{++a<=e&&(n.next(i),e<=a&&n.complete())}))})}function ghe(e,t=ds){return e=e??vhe,Da((n,a)=>{let i,r=!0;n.subscribe(ua(a,s=>{let l=t(s);(r||!e(i,l))&&(r=!1,i=l,a.next(s))}))})}function vhe(e,t){return e===t}function J_(e){return Da((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function bhe(){return Da((e,t)=>{let n,a=!1;e.subscribe(ua(t,i=>{let r=n;n=i,a&&t.next([r,i]),a=!0}))})}function e1(e={}){let{connector:t=()=>new me,resetOnError:n=!0,resetOnComplete:a=!0,resetOnRefCountZero:i=!0}=e;return r=>{let s,l,c,d=0,u=!1,p=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),s=c=void 0,u=p=!1},w=()=>{let E=s;g(),E==null||E.unsubscribe()};return Da((E,S)=>{d++,!p&&!u&&v();let A=c=c??t();S.add(()=>{d--,d===0&&!p&&!u&&(l=fh(w,i))}),A.subscribe(S),!s&&d>0&&(s=new dl({next:B=>A.next(B),error:B=>{p=!0,v(),l=fh(g,n,B),A.error(B)},complete:()=>{u=!0,v(),l=fh(g,a),A.complete()}}),hi(E).subscribe(s))})(r)}}function fh(e,t,...n){if(t===!0){e();return}if(t===!1)return;let a=new dl({next:()=>{a.unsubscribe(),e()}});return hi(t(...n)).subscribe(a)}function Tp(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,e1({connector:()=>new nf(a,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function lf(e){return la((t,n)=>e<=n)}function Aa(...e){let t=Bl(e);return Da((n,a)=>{(t?hl(e,n,t):hl(e,n)).subscribe(a)})}function gr(e,t){return Da((n,a)=>{let i=null,r=0,s=!1,l=()=>s&&!i&&a.complete();n.subscribe(ua(a,c=>{i==null||i.unsubscribe();let d=0,u=r++;hi(e(c,u)).subscribe(i=ua(a,p=>a.next(t?t(c,p,u,d++):p),()=>{i=null,l()}))},()=>{s=!0,l()}))})}function Ht(e){return Da((t,n)=>{hi(e).subscribe(ua(n,()=>n.complete(),Sp)),!n.closed&&t.subscribe(n)})}function yhe(e,t=!1){return Da((n,a)=>{let i=0;n.subscribe(ua(a,r=>{let s=e(r,i++);(s||t)&&a.next(r),!s&&a.complete()}))})}function nd(e,t,n){let a=Lt(e)||t||n?{next:e,error:t,complete:n}:e;return a?Da((i,r)=>{var s;(s=a.subscribe)===null||s===void 0||s.call(a);let l=!0;i.subscribe(ua(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)}))}):ds}var t1="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",ae=class extends Error{constructor(t,n){super(a1(t,n));o(this,"code");this.code=t}};function _he(e){return`NG0${Math.abs(e)}`}function a1(e,t){return`${_he(e)}${t?": "+t:""}`}var mu=Symbol("InputSignalNode#UNSET"),i1=dt(pe({},E_),{transformFn:void 0,applyValueToInputSignal(e,t){Vl(e,t)}});function n1(e,t){let n=Object.create(i1);n.value=e,n.transformFn=t==null?void 0:t.transform;function a(){if(Ll(n),n.value===mu){let i=null;throw new ae(-950,i)}return n.value}return a[Ha]=n,a}function jl(e){return{toString:e}.toString()}var Ec="__parameters__";function xhe(e){return function(...t){}}function r1(e,t,n){return jl(()=>{let a=xhe();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(Ec)?c[Ec]:Object.defineProperty(c,Ec,{value:[]})[Ec];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 sr=globalThis;function Ft(e){for(let t in e)if(e[t]===Ft)return t;throw Error("Could not find renamed property on target object.")}function whe(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ri(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ri).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 Op(e,t){return e?t?`${e} ${t}`:e:t||""}var Ehe=Ft({__forward_ref__:Ft});function co(e){return e.__forward_ref__=co,e.toString=function(){return Ri(this())},e}function Na(e){return o1(e)?e():e}function o1(e){return typeof e=="function"&&e.hasOwnProperty(Ehe)&&e.__forward_ref__===co}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function cf(e){return V0(e,s1)||V0(e,l1)}function V0(e,t){return e.hasOwnProperty(t)?e[t]:null}function khe(e){return e&&(e[s1]||e[l1])||null}function z0(e){return e&&(e.hasOwnProperty(B0)||e.hasOwnProperty(Che))?e[B0]:null}var s1=Ft({ɵprov:Ft}),B0=Ft({ɵinj:Ft}),l1=Ft({ngInjectableDef:Ft}),Che=Ft({ngInjectorDef:Ft}),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=Z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function c1(e){return e&&!!e.ɵproviders}var She=Ft({ɵcmp:Ft}),Dhe=Ft({ɵdir:Ft}),Ihe=Ft({ɵpipe:Ft}),xd=Ft({ɵfac:Ft}),tl=Ft({__NG_ELEMENT_ID__:Ft}),j0=Ft({__NG_ENV_ID__:Ft});function Zr(e){return typeof e=="string"?e:e==null?"":String(e)}function The(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Zr(e)}function d1(e,t){throw new ae(-200,e)}function df(e,t){throw new ae(-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||{}),Ap;function u1(){return Ap}function ci(e){let t=Ap;return Ap=e,t}function h1(e,t,n){let a=cf(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;df()}var Ohe={},$r=Ohe,Rp="__NG_DI_FLAG__",p1=class{constructor(e){o(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?k_:$r,n)}},wd="ngTempTokenPath",Ahe="ngTokenPath",Rhe=/\n/gm,Mhe="ɵ",H0="__source";function Phe(e,t=Xe.Default){if(td()===void 0)throw new ae(-203,!1);if(td()===null)return h1(e,void 0,t);{let n=td(),a;return n instanceof p1?a=n.injector:a=n,a.get(e,t&Xe.Optional?null:void 0,t)}}function Ce(e,t=Xe.Default){return(u1()||Phe)(Na(e),t)}function _(e,t=Xe.Default){return Ce(e,fu(t))}function fu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Mp(e){let t=[];for(let n=0;n<e.length;n++){let a=Na(e[n]);if(Array.isArray(a)){if(a.length===0)throw new ae(900,!1);let i,r=Xe.Default;for(let s=0;s<a.length;s++){let l=a[s],c=Nhe(l);typeof c=="number"?c===-1?i=l.token:r|=c:i=l}t.push(Ce(i,r))}else t.push(Ce(a))}return t}function m1(e,t){return e[Rp]=t,e.prototype[Rp]=t,e}function Nhe(e){return e[Rp]}function Lhe(e,t,n,a){let i=e[wd];throw t[H0]&&i.unshift(t[H0]),e.message=Fhe(`
|
|
16
|
+
`+e.message,i,n,a),e[Ahe]=i,e[wd]=null,e}function Fhe(e,t,n,a=null){e=e&&e.charAt(0)===`
|
|
17
|
+
`&&e.charAt(1)==Mhe?e.slice(2):e;let i=Ri(t);if(Array.isArray(t))i=t.map(Ri).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):Ri(l)))}i=`{${r.join(", ")}}`}return`${n}${a?"("+a+")":""}[${i}]: ${e.replace(Rhe,`
|
|
18
|
+
`)}`}var us=m1(r1("Optional"),8),hs=m1(r1("SkipSelf"),4);function Kr(e,t){return e.hasOwnProperty(xd)?e[xd]:null}function Vhe(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 zhe(e){return e.flat(Number.POSITIVE_INFINITY)}function uf(e,t){e.forEach(n=>Array.isArray(n)?uf(n,t):t(n))}function f1(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ed(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bhe(e,t){let n=[];for(let a=0;a<e;a++)n.push(t);return n}function jhe(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 gu(e,t,n){let a=Hl(e,t);return a>=0?e[a|1]=n:(a=~a,jhe(e,a,t,n)),a}function gh(e,t){let n=Hl(e,t);if(n>=0)return e[n|1]}function Hl(e,t){return Hhe(e,t,1)}function Hhe(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 un={},ti=[],kd=new Y(""),g1=new Y("",-1),v1=new Y(""),b1=class{get(e,t=$r){if(t===$r){let n=new Error(`NullInjectorError: No provider for ${Ri(e)}!`);throw n.name="NullInjectorError",n}return t}};function Zo(e){return e[She]||null}function y1(e){return e[Dhe]||null}function Uhe(e){return e[Ihe]||null}function hf(e){return{ɵproviders:e}}function Whe(...e){return{ɵproviders:_1(!0,e),ɵfromNgModule:!0}}function _1(e,...t){let n=[],a=new Set,i,r=s=>{n.push(s)};return uf(t,s=>{let l=s;Pp(l,r,[],a)&&(i||(i=[]),i.push(l))}),i!==void 0&&x1(i,r),n}function x1(e,t){for(let n=0;n<e.length;n++){let{ngModule:a,providers:i}=e[n];pf(i,r=>{t(r,a)})}}function Pp(e,t,n,a){if(e=Na(e),!e)return!1;let i=null,r=z0(e),s=!r&&Zo(e);if(!r&&!s){let c=e.ngModule;if(r=z0(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)Pp(d,t,n,a)}}else if(r){if(r.imports!=null&&!l){a.add(i);let d;try{uf(r.imports,u=>{Pp(u,t,n,a)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&x1(d,t)}if(!l){let d=Kr(i)||(()=>new i);t({provide:i,useFactory:d,deps:ti},i),t({provide:v1,useValue:i,multi:!0},i),t({provide:kd,useValue:()=>Ce(i),multi:!0},i)}let c=r.providers;if(c!=null&&!l){let d=e;pf(c,u=>{t(u,d)})}}else return!1;return i!==e&&e.providers!==void 0}function pf(e,t){for(let n of e)c1(n)&&(n=n.ɵproviders),Array.isArray(n)?pf(n,t):t(n)}var qhe=Ft({provide:String,useValue:Ft});function w1(e){return e!==null&&typeof e=="object"&&qhe in e}function Ghe(e){return!!(e&&e.useExisting)}function $he(e){return!!(e&&e.useFactory)}function Ko(e){return typeof e=="function"}function Yhe(e){return!!e.useClass}var mf=new Y(""),rd={},U0={},vh;function vu(){return vh===void 0&&(vh=new b1),vh}var hn=class{},ff=class extends hn{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,Lp(t,s=>this.processProvider(s)),this.records.set(g1,Mo(void 0,this)),i.has("environment")&&this.records.set(hn,Mo(void 0,this));let r=this.records.get(mf);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(v1,ti,Xe.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let a=n;return this.get(t,a.optional?k_:$r,a)}destroy(){Zs(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 Zs(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Zs(this);let n=nr(this),a=ci(void 0);try{return t()}finally{nr(n),ci(a)}}get(t,n=$r,a=Xe.Default){if(Zs(this),t.hasOwnProperty(j0))return t[j0](this);a=fu(a);let i=nr(this),r=ci(void 0);try{if(!(a&Xe.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Jhe(t)&&cf(t);c&&this.injectableDefInScope(c)?l=Mo(Np(t),rd):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,a)}let s=a&Xe.Self?vu():this.parent;return n=a&Xe.Optional&&n===$r?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[wd]=s[wd]||[]).unshift(Ri(t)),i)throw s;return Lhe(s,t,"R3InjectorError",this.source)}else throw s}finally{ci(r),nr(i)}}resolveInjectorInitializers(){let t=Ke(null),n=nr(this),a=ci(void 0);try{let i=this.get(kd,ti,Xe.Self);for(let r of i)r()}finally{nr(n),ci(a),Ke(t)}}toString(){let t=[],n=this.records;for(let a of n.keys())t.push(Ri(a));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Na(t);let n=Ko(t)?t:Na(t&&t.provide),a=Khe(t);if(!Ko(t)&&t.multi===!0){let i=this.records.get(n);i||(i=Mo(void 0,rd,!0),i.factory=()=>Mp(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===U0?d1(Ri(t)):n.value===rd&&(n.value=U0,n.value=n.factory(void 0,a)),typeof n.value=="object"&&n.value&&Xhe(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Ke(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Na(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 Np(e){let t=cf(e),n=t!==null?t.factory:Kr(e);if(n!==null)return n;if(e instanceof Y)throw new ae(204,!1);if(e instanceof Function)return Zhe(e);throw new ae(204,!1)}function Zhe(e){if(e.length>0)throw new ae(204,!1);let t=khe(e);return t!==null?()=>t.factory(e):()=>new e}function Khe(e){if(w1(e))return Mo(void 0,e.useValue);{let t=E1(e);return Mo(t,rd)}}function E1(e,t,n){let a;if(Ko(e)){let i=Na(e);return Kr(i)||Np(i)}else if(w1(e))a=()=>Na(e.useValue);else if($he(e))a=()=>e.useFactory(...Mp(e.deps||[]));else if(Ghe(e))a=(i,r)=>Ce(Na(e.useExisting),r!==void 0&&r&Xe.Optional?Xe.Optional:void 0);else{let i=Na(e&&(e.useClass||e.provide));if(Qhe(e))a=()=>new i(...Mp(e.deps));else return Kr(i)||Np(i)}return a}function Zs(e){if(e.destroyed)throw new ae(205,!1)}function Mo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qhe(e){return!!e.deps}function Xhe(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Jhe(e){return typeof e=="function"||typeof e=="object"&&e instanceof Y}function Lp(e,t){for(let n of e)Array.isArray(n)?Lp(n,t):n&&c1(n)?Lp(n.ɵproviders,t):t(n)}function bu(e,t){let n;e instanceof ff?(Zs(e),n=e):n=new p1(e);let a=nr(n),i=ci(void 0);try{return t()}finally{nr(a),ci(i)}}function k1(){return u1()!==void 0||td()!=null}function Ul(e){if(!k1())throw new ae(-203,!1)}function epe(e){return typeof e=="function"}var $n=0,je=1,Le=2,qa=3,Gi=4,pi=5,Qo=6,Ho=7,ka=8,Xo=9,Wn=10,Gt=11,ml=12,W0=13,ps=14,_i=15,Qr=16,Po=17,$i=18,yu=19,C1=20,hr=21,bh=22,Fn=23,Mi=24,pr=25,$t=26,S1=1,Xr=7,Cd=8,Jo=9,Ua=10;function mr(e){return Array.isArray(e)&&typeof e[S1]=="object"}function Yn(e){return Array.isArray(e)&&e[S1]===!0}function gf(e){return(e.flags&4)!==0}function ms(e){return e.componentOffset>-1}function _u(e){return(e.flags&1)===1}function pn(e){return!!e.template}function Sd(e){return(e[Le]&512)!==0}function fs(e){return(e[Le]&256)===256}var tpe=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 D1(e,t,n,a){t!==null?t.applyValueToInputSignal(t,a):e[n]=a}var Yt=(()=>{let e=()=>I1;return e.ngInherit=!0,e})();function I1(e){return e.type.prototype.ngOnChanges&&(e.setInput=ipe),ape}function ape(){let e=O1(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===un)e.previous=t;else for(let a in t)n[a]=t[a];e.current=null,this.ngOnChanges(t)}}function ipe(e,t,n,a,i){let r=this.declaredInputs[a],s=O1(e)||npe(e,{previous:un,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new tpe(d&&d.currentValue,n,c===un),D1(e,t,i,n)}var T1="__ngSimpleChanges__";function O1(e){return e[T1]||null}function npe(e,t){return e[T1]=t}var Jr=function(e,t=null,n){},A1="svg",rpe="math";function mn(e){for(;Array.isArray(e);)e=e[$n];return e}function R1(e,t){return mn(t[e])}function yn(e,t){return mn(t[e.index])}function vf(e,t){return e.data[t]}function gs(e,t){return e[t]}function bf(e,t,n,a){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=a}function fn(e,t){let n=t[e];return mr(n)?n:n[$n]}function ope(e){return(e[Le]&4)===4}function yf(e){return(e[Le]&128)===128}function spe(e){return Yn(e[qa])}function eo(e,t){return t==null?null:e[t]}function M1(e){e[Po]=0}function _f(e){e[Le]&1024||(e[Le]|=1024,yf(e)&&vs(e))}function lpe(e,t){for(;e>0;)t=t[ps],e--;return t}function Wl(e){var t;return!!(e[Le]&9216||(t=e[Mi])!=null&&t.dirty)}function Fp(e){var t;(t=e[Wn].changeDetectionScheduler)==null||t.notify(8),e[Le]&64&&(e[Le]|=1024),Wl(e)&&vs(e)}function vs(e){var n;(n=e[Wn].changeDetectionScheduler)==null||n.notify(0);let t=to(e);for(;t!==null&&!(t[Le]&8192||(t[Le]|=8192,!yf(t)));)t=to(t)}function P1(e,t){if(fs(e))throw new ae(911,!1);e[hr]===null&&(e[hr]=[]),e[hr].push(t)}function cpe(e,t){if(e[hr]===null)return;let n=e[hr].indexOf(t);n!==-1&&e[hr].splice(n,1)}function to(e){let t=e[qa];return Yn(t)?t[qa]:t}function xf(e){return e[Ho]??(e[Ho]=[])}function wf(e){return e.cleanup??(e.cleanup=[])}function dpe(e,t,n,a){let i=xf(t);i.push(n),e.firstCreatePass&&wf(e).push(a,i.length-1)}var We={lFrame:j1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Vp=!1;function upe(){return We.lFrame.elementDepthCount}function hpe(){We.lFrame.elementDepthCount++}function ppe(){We.lFrame.elementDepthCount--}function mpe(){return We.bindingsEnabled}function N1(){return We.skipHydrationRootTNode!==null}function fpe(e){return We.skipHydrationRootTNode===e}function gpe(){We.skipHydrationRootTNode=null}function Me(){return We.lFrame.lView}function zt(){return We.lFrame.tView}function Se(e){return We.lFrame.contextLView=e,e[ka]}function De(e){return We.lFrame.contextLView=null,e}function Za(){let e=L1();for(;e!==null&&e.type===64;)e=e.parent;return e}function L1(){return We.lFrame.currentTNode}function vpe(){let e=We.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Er(e,t){let n=We.lFrame;n.currentTNode=e,n.isParent=t}function Ef(){return We.lFrame.isParent}function kf(){We.lFrame.isParent=!1}function F1(){return We.lFrame.contextLView}function V1(){return Vp}function Dd(e){let t=Vp;return Vp=e,t}function Zn(){let e=We.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bpe(){return We.lFrame.bindingIndex}function ype(e){return We.lFrame.bindingIndex=e}function uo(){return We.lFrame.bindingIndex++}function Cf(e){let t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _pe(){return We.lFrame.inI18n}function xpe(e,t){let n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,zp(t)}function wpe(){return We.lFrame.currentDirectiveIndex}function zp(e){We.lFrame.currentDirectiveIndex=e}function Epe(e){let t=We.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Sf(){return We.lFrame.currentQueryIndex}function xu(e){We.lFrame.currentQueryIndex=e}function kpe(e){let t=e[je];return t.type===2?t.declTNode:t.type===1?e[pi]:null}function z1(e,t,n){if(n&Xe.SkipSelf){let i=t,r=e;for(;(i=i.parent,i===null&&!(n&Xe.Host))&&(i=kpe(r),!(i===null||(r=r[ps],i.type&10))););if(i===null)return!1;t=i,e=r}let a=We.lFrame=B1();return a.currentTNode=t,a.lView=e,!0}function Df(e){let t=B1(),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 B1(){let e=We.lFrame,t=e===null?null:e.child;return t===null?j1(e):t}function j1(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 H1(){let e=We.lFrame;return We.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var U1=H1;function If(){let e=H1();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 Cpe(e){return(We.lFrame.contextLView=lpe(e,We.lFrame.contextLView))[ka]}function _n(){return We.lFrame.selectedIndex}function ao(e){We.lFrame.selectedIndex=e}function wu(){let e=We.lFrame;return vf(e.tView,e.selectedIndex)}function fr(){We.lFrame.currentNamespace=A1}function q0(){Spe()}function Spe(){We.lFrame.currentNamespace=null}function Dpe(){return We.lFrame.currentNamespace}var W1=!0;function Eu(){return W1}function ku(e){W1=e}function Ipe(e,t,n){let{ngOnChanges:a,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(a){let s=I1(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 Tf(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 od(e,t,n){q1(e,t,3,n)}function sd(e,t,n,a){(e[Le]&3)===n&&q1(e,t,n,a)}function yh(e,t){let n=e[Le];(n&3)===t&&(n&=16383,n+=1,e[Le]=n)}function q1(e,t,n,a){let i=a!==void 0?e[Po]&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[Po]+=65536),(l<r||r==-1)&&(Tpe(e,n,t,c),e[Po]=(e[Po]&4294901760)+c+2),c++}function G0(e,t){let n=Ke(null);try{t.call(e)}finally{Ke(n)}}function Tpe(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[Po]>>16&&(e[Le]&3)===t&&(e[Le]+=16384,G0(l,r)):G0(l,r)}var Uo=-1,ql=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 Ope(e){return(e.flags&8)!==0}function Ape(e){return(e.flags&16)!==0}function Rpe(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];Mpe(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),a++}}return a}function G1(e){return e===3||e===4||e===6}function Mpe(e){return e.charCodeAt(0)===64}function es(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?$0(e,n,i,null,t[++a]):$0(e,n,i,null,null))}}return e}function $0(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 $1(e){return e!==Uo}function Id(e){return e&32767}function Ppe(e){return e>>16}function Td(e,t){let n=Ppe(e),a=t;for(;n>0;)a=a[ps],n--;return a}var Bp=!0;function Od(e){let t=Bp;return Bp=e,t}var Npe=256,Y1=Npe-1,Z1=5,Lpe=0,ln={};function Fpe(e,t,n){let a;typeof n=="string"?a=n.charCodeAt(0)||0:n.hasOwnProperty(tl)&&(a=n[tl]),a==null&&(a=n[tl]=Lpe++);let i=a&Y1,r=1<<i;t.data[e+(i>>Z1)]|=r}function Ad(e,t){let n=K1(e,t);if(n!==-1)return n;let a=t[je];a.firstCreatePass&&(e.injectorIndex=t.length,_h(a.data,e),_h(t,null),_h(a.blueprint,null));let i=Of(e,t),r=e.injectorIndex;if($1(i)){let s=Id(i),l=Td(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 _h(e,t){e.push(0,0,0,0,0,0,0,0,t)}function K1(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Of(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=tx(i),a===null)return Uo;if(n++,i=i[ps],a.injectorIndex!==-1)return a.injectorIndex|n<<16}return Uo}function jp(e,t,n){Fpe(e,t,n)}function Vpe(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(G1(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 Q1(e,t,n){if(n&Xe.Optional||e!==void 0)return e;df()}function X1(e,t,n,a){if(n&Xe.Optional&&a===void 0&&(a=null),(n&(Xe.Self|Xe.Host))===0){let i=e[Xo],r=ci(void 0);try{return i?i.get(t,a,n&Xe.Optional):h1(t,a,n&Xe.Optional)}finally{ci(r)}}return Q1(a,t,n)}function J1(e,t,n,a=Xe.Default,i){if(e!==null){if(t[Le]&2048&&!(a&Xe.Self)){let s=Hpe(e,t,n,a,ln);if(s!==ln)return s}let r=ex(e,t,n,a,ln);if(r!==ln)return r}return X1(t,n,a,i)}function ex(e,t,n,a,i){let r=Bpe(n);if(typeof r=="function"){if(!z1(t,e,a))return a&Xe.Host?Q1(i,n,a):X1(t,n,a,i);try{let s;if(s=r(a),s==null&&!(a&Xe.Optional))df(n);else return s}finally{U1()}}else if(typeof r=="number"){let s=null,l=K1(e,t),c=Uo,d=a&Xe.Host?t[_i][pi]:null;for((l===-1||a&Xe.SkipSelf)&&(c=l===-1?Of(e,t):t[l+8],c===Uo||!Z0(a,!1)?l=-1:(s=t[je],l=Id(c),t=Td(c,t)));l!==-1;){let u=t[je];if(Y0(r,l,u.data)){let p=zpe(l,t,n,s,a,d);if(p!==ln)return p}c=t[l+8],c!==Uo&&Z0(a,t[je].data[l+8]===d)&&Y0(r,l,t)?(s=u,l=Id(c),t=Td(c,t)):l=-1}}return i}function zpe(e,t,n,a,i,r){let s=t[je],l=s.data[e+8],c=a==null?ms(l)&&Bp:a!=s&&(l.type&3)!==0,d=i&Xe.Host&&r===l,u=ld(l,s,n,c,d);return u!==null?fl(t,s,u,l,i):ln}function ld(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,v=i?l+u:d;for(let g=p;g<v;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&&pn(g)&&g.type===n)return c}return null}function fl(e,t,n,a,i){let r=e[n],s=t.data;if(r instanceof ql){let l=r;l.resolving&&d1(The(s[n]));let c=Od(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?ci(l.injectImpl):null;z1(e,a,Xe.Default);try{r=e[n]=l.factory(void 0,i,s,e,a),t.firstCreatePass&&n>=a.directiveStart&&Ipe(n,s[n],t)}finally{d!==null&&ci(d),Od(c),l.resolving=!1,U1()}}return r}function Bpe(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(tl)?e[tl]:void 0;return typeof t=="number"?t>=0?t&Y1:jpe:t}function Y0(e,t,n){let a=1<<e;return!!(n[t+(e>>Z1)]&a)}function Z0(e,t){return!(e&Xe.Self)&&!(e&Xe.Host&&t)}var al=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return J1(this._tNode,this._lView,e,fu(n),t)}};function jpe(){return new al(Za(),Me())}function tt(e){return jl(()=>{let t=e.prototype.constructor,n=t[xd]||Hp(t),a=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==a;){let r=i[xd]||Hp(i);if(r&&r!==n)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function Hp(e){return o1(e)?()=>{let t=Hp(Na(e));return t&&t()}:Kr(e)}function Hpe(e,t,n,a,i){let r=e,s=t;for(;r!==null&&s!==null&&s[Le]&2048&&!Sd(s);){let l=ex(r,s,n,a|Xe.Self,ln);if(l!==ln)return l;let c=r.parent;if(!c){let d=s[C1];if(d){let u=d.get(n,ln,a);if(u!==ln)return u}c=tx(s),s=s[ps]}r=c}return i}function tx(e){let t=e[je],n=t.type;return n===2?t.declTNode:n===1?e[pi]:null}function Upe(e){return Vpe(Za(),e)}function K0(e,t=null,n=null,a){let i=Wpe(e,t,n,a);return i.resolveInjectorInitializers(),i}function Wpe(e,t=null,n=null,a,i=new Set){let r=[n||ti,Whe(e)];return a=a||(typeof e=="object"?void 0:Ri(e)),new ff(r,t||vu(),a||null,i)}var an,ut=(an=class{static create(t,n){if(Array.isArray(t))return K0({name:""},n,t,"");{let a=t.name??"";return K0({name:a},t.parent,t.providers,a)}}},o(an,"THROW_IF_NOT_FOUND",$r),o(an,"NULL",new b1),o(an,"ɵprov",Z({token:an,providedIn:"any",factory:()=>Ce(g1)})),o(an,"__NG_ELEMENT_ID__",-1),an),bs=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>Upe(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},qpe=new Y("");qpe.__NG_ELEMENT_ID__=e=>{let t=Za();if(t===null)throw new ae(204,!1);if(t.type&2)return t.value;if(e&Xe.Optional)return null;throw new ae(204,!1)};var ax=!1,xi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Gpe),o(e,"__NG_ENV_ID__",n=>n),e})(),ix=class extends xi{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return fs(n)?(t(),()=>{}):(P1(n,t),()=>cpe(n,t))}};function Gpe(){return new ix(Me())}var ys=class{},nx=new Y("",{providedIn:"root",factory:()=>!1}),rx=new Y(""),ox=new Y(""),Gl=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new Gr(!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",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),$pe=class extends me{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,k1()&&(this.destroyRef=_(xi,{optional:!0})??void 0,this.pendingTasks=_(Gl,{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 Ye&&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))}})}}},ie=$pe;function gl(...e){}function sx(e){let t,n;function a(){e=gl;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 Q0(e){return queueMicrotask(()=>e()),()=>{e=gl}}var Af="isAngularZone",Rd=Af+"_ID",Ype=0,Ne=class Up{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ie(!1));o(this,"onMicrotaskEmpty",new ie(!1));o(this,"onStable",new ie(!1));o(this,"onError",new ie(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=ax}=t;if(typeof Zone>"u")throw new ae(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,Qpe(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Af)===!0}static assertInAngularZone(){if(!Up.isInAngularZone())throw new ae(909,!1)}static assertNotInAngularZone(){if(Up.isInAngularZone())throw new ae(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,Zpe,gl,gl);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)}},Zpe={};function Rf(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 Kpe(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){sx(()=>{e.callbackScheduled=!1,Wp(e),e.isCheckStableRunning=!0,Rf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Wp(e)}function Qpe(e){let t=()=>{Kpe(e)},n=Ype++;e._inner=e._inner.fork({name:"angular",properties:{[Af]:!0,[Rd]:n,[Rd+n]:!0},onInvokeTask:(a,i,r,s,l,c)=>{if(Jpe(c))return a.invokeTask(r,s,l,c);try{return X0(e),a.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),J0(e)}},onInvoke:(a,i,r,s,l,c,d)=>{try{return X0(e),a.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eme(c)&&t(),J0(e)}},onHasTask:(a,i,r,s)=>{a.hasTask(r,s),i===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Wp(e),Rf(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 Wp(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function X0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function J0(e){e._nesting--,Rf(e)}var Xpe=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new ie);o(this,"onMicrotaskEmpty",new ie);o(this,"onStable",new ie);o(this,"onError",new ie)}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 Jpe(e){return lx(e,"__ignore_ng_zone__")}function eme(e){return lx(e,"__scheduler_tick__")}function lx(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 Yi=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},tme=new Y("",{providedIn:"root",factory:()=>{let e=_(Ne),t=_(Yi);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),cx=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",_(Yi,{optional:!0}));o(this,"destroyRef",_(xi));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ae(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(a1(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 io(e){return new cx}function ev(e,t){return n1(e,t)}function ame(e){return n1(mu,e)}var ne=(ev.required=ame,ev);function ime(){return _s(Za(),Me())}function _s(e,t){return new Oe(yn(e,t))}var Oe=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",ime),e})();function dx(e){return e instanceof Oe?e.nativeElement:e}function vl(e){return typeof e=="function"&&e[Ha]!==void 0}function ai(e,t){let n=gue(e,t==null?void 0:t.equal),a=n[Ha];return n.set=i=>Vl(a,i),n.update=i=>w_(a,i),n.asReadonly=Mf.bind(n),n}function Mf(){let e=this[Ha];if(e.readonlyFn===void 0){let t=()=>this();t[Ha]=e,e.readonlyFn=t}return e.readonlyFn}function ux(e){return vl(e)&&typeof e.set=="function"}function nme(){return this._results[Symbol.iterator]()}var a_,ts=(a_=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,a_,nme);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new me)}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=zhe(e);(this._changesDetected=!Vhe(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 hx(e){return(e.flags&128)===128}var px=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(px||{}),mx=new Map,rme=0;function ome(){return rme++}function sme(e){mx.set(e[yu],e)}function qp(e){mx.delete(e[yu])}var tv="__ngContext__";function xs(e,t){mr(t)?(e[tv]=t[yu],sme(t)):e[tv]=t}function fx(e){return vx(e[ml])}function gx(e){return vx(e[Gi])}function vx(e){for(;e!==null&&!Yn(e);)e=e[Gi];return e}var Gp;function lme(e){Gp=e}function bx(){if(Gp!==void 0)return Gp;if(typeof document<"u")return document;throw new ae(210,!1)}var Cu=new Y("",{providedIn:"root",factory:()=>cme}),cme="ng",yx=new Y(""),Su=new Y("",{providedIn:"platform",factory:()=>"unknown"}),Ra=new Y(""),Pf=new Y("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=bx().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),_x=!1,dme=new Y("",{providedIn:"root",factory:()=>_x}),Nf=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Nf||{}),$l=new Y(""),av=new Set;function ho(e){var t;av.has(e)||(av.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Lf=(()=>{class e{constructor(n,a){o(this,"view");o(this,"node");this.view=n,this.node=a}}return o(e,"__NG_ELEMENT_ID__",ume),e})();function ume(){return new Lf(Me(),Za())}var No=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(No||{}),xx=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var a;(a=this.impl)==null||a.execute()}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),hme=[No.EarlyRead,No.Write,No.MixedReadWrite,No.Read],pme=(()=>{const t=class t{constructor(){o(this,"ngZone",_(Ne));o(this,"scheduler",_(ys));o(this,"errorHandler",_(Yi,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);_($l,{optional:!0})}execute(){var a;this.sequences.size>0,this.executing=!0;for(let i of hme)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[pr]??(i[pr]=[])).push(a),vs(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(Nf.AFTER_NEXT_RENDER,a):a()}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),mme=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[pr];e&&(this.view[pr]=e.filter(a=>a!==this))}};function Ff(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut);return ho("NgAfterRender"),wx(e,n,t,!1)}function qn(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut);return ho("NgAfterNextRender"),wx(e,n,t,!0)}function fme(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 wx(e,t,n,a){let i=t.get(xx);i.impl??(i.impl=t.get(pme));let r=t.get($l,null,{optional:!0}),s=(n==null?void 0:n.phase)??No.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get(xi):null,c=t.get(Lf,null,{optional:!0}),d=new mme(i.impl,fme(e,s),c==null?void 0:c.view,a,l,r==null?void 0:r.snapshot(null));return i.impl.register(d),d}var gme=()=>null;function Ex(e,t,n=!1){return gme()}function kx(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];xu(r),l.contentQueries(2,t[s],s)}}}finally{Ke(a)}}}function $p(e,t,n){xu(0);let a=Ke(null);try{t(e,n)}finally{Ke(a)}}function Vf(e,t,n){if(gf(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 Vn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Vn||{}),kc;function vme(){if(kc===void 0&&(kc=null,sr.trustedTypes))try{kc=sr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kc}function Du(e){var t;return((t=vme())==null?void 0:t.createHTML(e))||e}var Cc;function bme(){if(Cc===void 0&&(Cc=null,sr.trustedTypes))try{Cc=sr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cc}function iv(e){var t;return((t=bme())==null?void 0:t.createHTML(e))||e}var po=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${t1})`}},yme=class extends po{getTypeName(){return"HTML"}},_me=class extends po{getTypeName(){return"Style"}},xme=class extends po{getTypeName(){return"Script"}},wme=class extends po{getTypeName(){return"URL"}},Eme=class extends po{getTypeName(){return"ResourceURL"}};function Ln(e){return e instanceof po?e.changingThisBreaksApplicationSecurity:e}function Br(e,t){let n=kme(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${t1})`)}return n===t}function kme(e){return e instanceof po&&e.getTypeName()||null}function Cme(e){return new yme(e)}function Sme(e){return new _me(e)}function Dme(e){return new xme(e)}function Ime(e){return new wme(e)}function Tme(e){return new Eme(e)}function Ome(e){let t=new Rme(e);return Mme()?new Ame(t):t}var Ame=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(Du(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},Rme=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=Du(e),t}};function Mme(){try{return!!new window.DOMParser().parseFromString(Du(""),"text/html")}catch{return!1}}var Pme=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zf(e){return e=String(e),e.match(Pme)?e:"unsafe:"+e}function Kn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yl(...e){let t={};for(let n of e)for(let a in n)n.hasOwnProperty(a)&&(t[a]=!0);return t}var Cx=Kn("area,br,col,hr,img,wbr"),Sx=Kn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dx=Kn("rp,rt"),Nme=Yl(Dx,Sx),Lme=Yl(Sx,Kn("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")),Fme=Yl(Dx,Kn("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")),nv=Yl(Cx,Lme,Fme,Nme),Ix=Kn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vme=Kn("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"),zme=Kn("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"),Bme=Yl(Ix,Vme,zme),jme=Kn("script,style,template"),Hme=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=qme(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=Wme(t);if(i){t=i;break}t=a.pop()}}return this.buf.join("")}startElement(e){let t=rv(e).toLowerCase();if(!nv.hasOwnProperty(t))return this.sanitizedSomething=!0,!jme.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(!Bme.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=i.value;Ix[s]&&(l=zf(l)),this.buf.push(" ",r,'="',ov(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=rv(e).toLowerCase();nv.hasOwnProperty(t)&&!Cx.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(ov(e))}};function Ume(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Wme(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Tx(t);return t}function qme(e){let t=e.firstChild;if(t&&Ume(e,t))throw Tx(t);return t}function rv(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Tx(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gme=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$me=/([^\#-~ |!])/g;function ov(e){return e.replace(/&/g,"&").replace(Gme,function(t){let n=t.charCodeAt(0),a=t.charCodeAt(1);return"&#"+((n-55296)*1024+(a-56320)+65536)+";"}).replace($me,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Sc;function Ox(e,t){let n=null;try{Sc=Sc||Ome(e);let a=t?String(t):"";n=Sc.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=Sc.getInertBodyElement(a)}while(a!==r);let s=new Hme().sanitizeChildren(sv(n)||n);return Du(s)}finally{if(n){let a=sv(n)||n;for(;a.firstChild;)a.firstChild.remove()}}}function sv(e){return"content"in e&&Yme(e)?e.content:null}function Yme(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Zme=/^>|^->|<!--|-->|--!>|<!-$/g,Kme=/(<|>)/g,Qme="$1";function Xme(e){return e.replace(Zme,t=>t.replace(Kme,Qme))}function Jme(e,t){return e.createText(t)}function efe(e,t,n){e.setValue(t,n)}function tfe(e,t){return e.createComment(Xme(t))}function Ax(e,t,n){return e.createElement(t,n)}function Md(e,t,n,a,i){e.insertBefore(t,n,a,i)}function Rx(e,t,n){e.appendChild(t,n)}function lv(e,t,n,a,i){a!==null?Md(e,t,n,a,i):Rx(e,t,n)}function afe(e,t,n){e.removeChild(null,t,n)}function ife(e,t,n){e.setAttribute(t,"style",n)}function nfe(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Mx(e,t,n){let{mergedAttrs:a,classes:i,styles:r}=n;a!==null&&Rpe(e,t,a),i!==null&&nfe(e,t,i),r!==null&&ife(e,t,r)}var di=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}(di||{});function Px(e){let t=Nx();return t?iv(t.sanitize(di.HTML,e)||""):Br(e,"HTML")?iv(Ln(e)):Ox(bx(),Zr(e))}function Bf(e){let t=Nx();return t?t.sanitize(di.URL,e)||"":Br(e,"URL")?Ln(e):zf(Zr(e))}function Nx(){let e=Me();return e&&e[Wn].sanitizer}function rfe(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 Lx="ng-template";function ofe(e,t,n,a){let i=0;if(a){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&rfe(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(jf(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 jf(e){return e.type===4&&e.value!==Lx}function sfe(e,t,n){let a=e.type===4&&!n?Lx:e.value;return t===a}function lfe(e,t,n){let a=4,i=e.attrs,r=i!==null?ufe(i):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!Hi(a)&&!Hi(c))return!1;if(s&&Hi(c))continue;s=!1,a=c|a&1;continue}if(!s)if(a&4){if(a=2|a&1,c!==""&&!sfe(e,c,n)||c===""&&t.length===1){if(Hi(a))return!1;s=!0}}else if(a&8){if(i===null||!ofe(e,i,c,n)){if(Hi(a))return!1;s=!0}}else{let d=t[++l],u=cfe(c,i,jf(e),n);if(u===-1){if(Hi(a))return!1;s=!0;continue}if(d!==""){let p;if(u>r?p="":p=i[u+1].toLowerCase(),a&2&&d!==p){if(Hi(a))return!1;s=!0}}}}return Hi(a)||s}function Hi(e){return(e&1)===0}function cfe(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 hfe(t,e)}function Fx(e,t,n=!1){for(let a=0;a<t.length;a++)if(lfe(e,t[a],n))return!0;return!1}function dfe(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function ufe(e){for(let t=0;t<e.length;t++){let n=e[t];if(G1(n))return t}return e.length}function hfe(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 pfe(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 cv(e,t){return e?":not("+t.trim()+")":t}function mfe(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!==""&&!Hi(s)&&(t+=cv(r,i),i=""),a=s,r=r||!Hi(a);n++}return i!==""&&(t+=cv(r,i)),t}function ffe(e){return e.map(mfe).join(",")}function gfe(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(!Hi(i))break;i=r}a++}return n.length&&t.push(1,...n),t}var Ei={};function Hf(e,t,n,a,i,r,s,l,c,d,u){let p=$t+a,v=p+i,g=vfe(p,v),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:v,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 vfe(e,t){let n=[];for(let a=0;a<t;a++)n.push(a<e?null:Ei);return n}function bfe(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Hf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Uf(e,t,n,a,i,r,s,l,c,d,u){let p=t.blueprint.slice();return p[$n]=i,p[Le]=a|4|128|8|64|1024,(d!==null||e&&e[Le]&2048)&&(p[Le]|=2048),M1(p),p[qa]=p[ps]=e,p[ka]=n,p[Wn]=s||e&&e[Wn],p[Gt]=l||e&&e[Gt],p[Xo]=c||e&&e[Xo]||null,p[pi]=r,p[yu]=ome(),p[Qo]=u,p[C1]=d,p[_i]=t.type==2?e[_i]:p,p}function yfe(e,t,n){let a=yn(t,e),i=bfe(n),r=e[Wn].rendererFactory,s=Wf(e,Uf(e,i,null,Vx(n),a,t,null,r.createRenderer(a,n),null,null,null));return e[t.index]=s}function Vx(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function zx(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 Wf(e,t){return e[ml]?e[W0][Gi]=t:e[ml]=t,e[W0]=t,t}function C(e=1){Bx(zt(),Me(),_n()+e)}function Bx(e,t,n,a){if((t[Le]&3)===3){let i=e.preOrderCheckHooks;i!==null&&od(t,i,n)}else{let i=e.preOrderHooks;i!==null&&sd(t,i,0,n)}ao(n)}var Iu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Iu||{});function Yp(e,t,n,a){let i=Ke(null);try{let[r,s,l]=e.inputs[n],c=null;s&Iu.SignalBased&&(c=t[r][Ha]),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):D1(t,c,r,a)}finally{Ke(i)}}function jx(e,t,n,a,i){let r=_n(),s=a&2;try{ao(-1),s&&t.length>$t&&Bx(e,t,$t,!1),Jr(s?2:0,i),n(a,i)}finally{ao(r)}}function Tu(e,t,n){Efe(e,t,n),(n.flags&64)===64&&kfe(e,t,n)}function qf(e,t,n=yn){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 _fe(e,t,n,a){let i=a.get(dme,_x)||n===Vn.ShadowDom;return e.selectRootElement(t,i)}function xfe(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Gf(e,t,n,a,i,r,s,l){if(!l&&Yf(t,e,n,a,i)){ms(t)&&wfe(n,t.index);return}if(t.type&3){let c=yn(t,n);a=xfe(a),i=s!=null?s(i,t.value||"",a):i,r.setProperty(c,a,i)}else t.type&12}function wfe(e,t){let n=fn(t,e);n[Le]&16||(n[Le]|=64)}function Efe(e,t,n){let a=n.directiveStart,i=n.directiveEnd;ms(n)&&yfe(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||Ad(n,t);let r=n.initialInputs;for(let s=a;s<i;s++){let l=e.data[s],c=fl(t,e,s,n);if(xs(c,t),r!==null&&Ife(t,s-a,c,l,n,r),pn(l)){let d=fn(n.index,t);d[ka]=fl(t,e,s,n)}}}function kfe(e,t,n){let a=n.directiveStart,i=n.directiveEnd,r=n.index,s=wpe();try{ao(r);for(let l=a;l<i;l++){let c=e.data[l],d=t[l];zp(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Cfe(c,d)}}finally{ao(-1),zp(s)}}function Cfe(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function $f(e,t){let n=e.directiveRegistry,a=null;if(n)for(let i=0;i<n.length;i++){let r=n[i];Fx(t,r.selectors,!1)&&(a??(a=[]),pn(r)?a.unshift(r):a.push(r))}return a}function Sfe(e,t,n,a,i,r){let s=yn(e,t);Dfe(t[Gt],s,r,e.value,n,a,i)}function Dfe(e,t,n,a,i,r,s){if(r==null)e.removeAttribute(t,i,n);else{let l=s==null?Zr(r):s(r,a||"",i);e.setAttribute(t,i,l,n)}}function Ife(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];Yp(a,n,c,d)}}function Tfe(e,t){let n=e[Xo],a=n?n.get(Yi,null):null;a&&a.handleError(t)}function Yf(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],v=s[u+1],g=t.data[p];Yp(g,n[p],v,i),l=!0}if(r)for(let u of r){let p=n[u],v=t.data[u];Yp(v,p,a,i),l=!0}return l}function Ofe(e,t){let n=fn(t,e),a=n[je];Afe(a,n);let i=n[$n];i!==null&&n[Qo]===null&&(n[Qo]=Ex(i,n[Xo])),Zf(a,n,n[ka]),Jr(19,n[ka])}function Afe(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Zf(e,t,n){var a;Df(t);try{let i=e.viewQuery;i!==null&&$p(1,i,n);let r=e.template;r!==null&&jx(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(a=t[$i])==null||a.finishViewCreation(e),e.staticContentQueries&&kx(e,t),e.staticViewQueries&&$p(2,e.viewQuery,n);let s=e.components;s!==null&&Rfe(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[Le]&=-5,If()}}function Rfe(e,t){for(let n=0;n<t.length;n++)Ofe(e,t[n])}function Zl(e,t,n,a){let i=Ke(null);try{let r=t.tView,s=e[Le]&4096?4096:16,l=Uf(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[Qr]=c;let d=e[$i];return d!==null&&(l[$i]=d.createEmbeddedView(r)),Zf(r,l,n),l}finally{Ke(i)}}function as(e,t){return!t||t.firstChild===null||hx(e)}var Mfe;function Kf(e,t){return Mfe(e,t)}var lr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(lr||{});function Qf(e){return(e.flags&32)===32}function Lo(e,t,n,a,i){if(a!=null){let r,s=!1;Yn(a)?r=a:mr(a)&&(s=!0,a=a[$n]);let l=mn(a);e===0&&n!==null?i==null?Rx(t,n,l):Md(t,n,l,i||null,!0):e===1&&n!==null?Md(t,n,l,i||null,!0):e===2?afe(t,l,s):e===3&&t.destroyNode(l),r!=null&&Ufe(t,e,r,n,i)}}function Pfe(e,t){Hx(e,t),t[$n]=null,t[pi]=null}function Nfe(e,t,n,a,i,r){a[$n]=i,a[pi]=t,Ru(e,a,n,1,i,r)}function Hx(e,t){var n;(n=t[Wn].changeDetectionScheduler)==null||n.notify(9),Ru(e,t,t[Gt],2,null,null)}function Lfe(e){let t=e[ml];if(!t)return xh(e[je],e);for(;t;){let n=null;if(mr(t))n=t[ml];else{let a=t[Ua];a&&(n=a)}if(!n){for(;t&&!t[Gi]&&t!==e;)mr(t)&&xh(t[je],t),t=t[qa];t===null&&(t=e),mr(t)&&xh(t[je],t),n=t&&t[Gi]}t=n}}function Xf(e,t){let n=e[Jo],a=n.indexOf(t);n.splice(a,1)}function Ou(e,t){if(fs(t))return;let n=t[Gt];n.destroyNode&&Ru(e,t,n,3,null,null),Lfe(t)}function xh(e,t){if(fs(t))return;let n=Ke(null);try{t[Le]&=-129,t[Le]|=256,t[Mi]&&du(t[Mi]),Vfe(e,t),Ffe(e,t),t[je].type===1&&t[Gt].destroy();let a=t[Qr];if(a!==null&&Yn(t[qa])){a!==t[qa]&&Xf(a,t);let i=t[$i];i!==null&&i.detachView(e)}qp(t)}finally{Ke(n)}}function Ffe(e,t){let n=e.cleanup,a=t[Ho];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[Ho]=null);let i=t[hr];if(i!==null){t[hr]=null;for(let s=0;s<i.length;s++){let l=i[s];l()}}let r=t[Fn];if(r!==null){t[Fn]=null;for(let s of r)s.destroy()}}function Vfe(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 ql)){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 Ux(e,t,n){return zfe(e,t.parent,n)}function zfe(e,t,n){let a=t;for(;a!==null&&a.type&168;)t=a,a=t.parent;if(a===null)return n[$n];if(ms(a)){let{encapsulation:i}=e.data[a.directiveStart+a.componentOffset];if(i===Vn.None||i===Vn.Emulated)return null}return yn(a,n)}function Wx(e,t,n){return jfe(e,t,n)}function Bfe(e,t,n){return e.type&40?yn(e,n):null}var jfe=Bfe;function Au(e,t,n,a){let i=Ux(e,a,t),r=t[Gt],s=a.parent||t[pi],l=Wx(s,a,t);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)lv(r,i,n[c],l,!1);else lv(r,i,n,l,!1)}function Ks(e,t){if(t!==null){let n=t.type;if(n&3)return yn(t,e);if(n&4)return Zp(-1,e[t.index]);if(n&8){let a=t.child;if(a!==null)return Ks(e,a);{let i=e[t.index];return Yn(i)?Zp(-1,i):mn(i)}}else{if(n&128)return Ks(e,t.next);if(n&32)return Kf(t,e)()||mn(e[t.index]);{let a=qx(e,t);if(a!==null){if(Array.isArray(a))return a[0];let i=to(e[_i]);return Ks(i,a)}else return Ks(e,t.next)}}}return null}function qx(e,t){if(t!==null){let n=e[_i][pi],a=t.projection;return n.projection[a]}return null}function Zp(e,t){let n=Ua+e+1;if(n<t.length){let a=t[n],i=a[je].firstChild;if(i!==null)return Ks(a,i)}return t[Xr]}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&&xs(mn(l),a),n.flags|=2),!Qf(n))if(c&8)Jf(e,t,n.child,a,i,r,!1),Lo(t,e,i,l,r);else if(c&32){let d=Kf(n,a),u;for(;u=d();)Lo(t,e,i,u,r);Lo(t,e,i,l,r)}else c&16?Gx(e,t,a,n,i,r):Lo(t,e,i,l,r);n=s?n.projectionNext:n.next}}function Ru(e,t,n,a,i,r){Jf(n,a,e.firstChild,t,i,r,!1)}function Hfe(e,t,n){let a=t[Gt],i=Ux(e,n,t),r=n.parent||t[pi],s=Wx(r,n,t);Gx(a,0,t,n,i,s)}function Gx(e,t,n,a,i,r){let s=n[_i],l=s[pi].projection[a.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Lo(t,e,i,d,r)}else{let c=l,d=s[qa];hx(a)&&(c.flags|=128),Jf(e,t,c,d,i,r,!0)}}function Ufe(e,t,n,a,i){let r=n[Xr],s=mn(n);r!==s&&Lo(t,e,a,r,i);for(let l=Ua;l<n.length;l++){let c=n[l];Ru(c[je],c,e,t,a,r)}}function Wfe(e,t,n,a,i){if(t)i?e.addClass(n,a):e.removeClass(n,a);else{let r=a.indexOf("-")===-1?void 0:lr.DashCase;i==null?e.removeStyle(n,a,r):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),r|=lr.Important),e.setStyle(n,a,i,r))}}function Pd(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(mn(r)),Yn(r)&&qfe(r,a);let s=n.type;if(s&8)Pd(e,t,n.child,a);else if(s&32){let l=Kf(n,t),c;for(;c=l();)a.push(c)}else if(s&16){let l=qx(t,n);if(Array.isArray(l))a.push(...l);else{let c=to(t[_i]);Pd(c[je],c,l,a,!0)}}n=i?n.projectionNext:n.next}return a}function qfe(e,t){for(let n=Ua;n<e.length;n++){let a=e[n],i=a[je].firstChild;i!==null&&Pd(a[je],a,i,t)}e[Xr]!==e[$n]&&t.push(e[Xr])}function $x(e){if(e[pr]!==null){for(let t of e[pr])t.impl.addSequence(t);e[pr].length=0}}var Yx=[];function Gfe(e){return e[Mi]??$fe(e)}function $fe(e){let t=Yx.pop()??Object.create(Zfe);return t.lView=e,t}function Yfe(e){e.lView[Mi]!==e&&(e.lView=null,Yx.push(e))}var Zfe=dt(pe({},cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{vs(e.lView)},consumerOnSignalRead(){this.lView[Mi]=this}});function Kfe(e){let t=e[Mi]??Object.create(Qfe);return t.lView=e,t}var Qfe=dt(pe({},cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=to(e.lView);for(;t&&!Zx(t[je]);)t=to(t);t&&_f(t)},consumerOnSignalRead(){this.lView[Mi]=this}});function Zx(e){return e.type!==2}function Kx(e){if(e[Fn]===null)return;let t=!0;for(;t;){let n=!1;for(let a of e[Fn])a.dirty&&(n=!0,a.zone===null||Zone.current===a.zone?a.run():a.zone.run(()=>a.run()));t=n&&!!(e[Le]&8192)}}var Xfe=100;function Qx(e,t=!0,n=0){var i,r;let a=e[Wn].rendererFactory;(i=a.begin)==null||i.call(a);try{Jfe(e,n)}catch(s){throw t&&Tfe(e,s),s}finally{(r=a.end)==null||r.call(a)}}function Jfe(e,t){let n=V1();try{Dd(!0),Kp(e,t);let a=0;for(;Wl(e);){if(a===Xfe)throw new ae(103,!1);a++,Kp(e,1)}}finally{Dd(n)}}function ege(e,t,n,a){if(fs(t))return;let i=t[Le],r=!1,s=!1;Df(t);let l=!0,c=null,d=null;Zx(e)?(d=Gfe(t),c=ll(d)):due()===null?(l=!1,d=Kfe(t),c=ll(d)):t[Mi]&&(du(t[Mi]),t[Mi]=null);try{M1(t),ype(e.bindingStartIndex),n!==null&&jx(e,t,n,2,a);let u=(i&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&od(t,g,null)}else{let g=e.preOrderHooks;g!==null&&sd(t,g,0,null),yh(t,0)}if(s||tge(t),Kx(t),Xx(t,0),e.contentQueries!==null&&kx(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&od(t,g)}else{let g=e.contentHooks;g!==null&&sd(t,g,1),yh(t,1)}ige(e,t);let p=e.components;p!==null&&ew(t,p,0);let v=e.viewQuery;if(v!==null&&$p(2,v,a),!r)if(u){let g=e.viewCheckHooks;g!==null&&od(t,g)}else{let g=e.viewHooks;g!==null&&sd(t,g,2),yh(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bh]){for(let g of t[bh])g();t[bh]=null}r||($x(t),t[Le]&=-73)}catch(u){throw vs(t),u}finally{d!==null&&(cu(d,c),l&&Yfe(d)),If()}}function Xx(e,t){for(let n=fx(e);n!==null;n=gx(n))for(let a=Ua;a<n.length;a++){let i=n[a];Jx(i,t)}}function tge(e){for(let t=fx(e);t!==null;t=gx(t)){if(!(t[Le]&2))continue;let n=t[Jo];for(let a=0;a<n.length;a++){let i=n[a];_f(i)}}}function age(e,t,n){let a=fn(t,e);Jx(a,n),Jr(19,a[ka])}function Jx(e,t){yf(e)&&Kp(e,t)}function Kp(e,t){let n=e[je],a=e[Le],i=e[Mi],r=!!(t===0&&a&16);if(r||(r=!!(a&64&&t===0)),r||(r=!!(a&1024)),r||(r=!!(i!=null&&i.dirty&&Xm(i))),r||(r=!1),i&&(i.dirty=!1),e[Le]&=-9217,r)ege(n,e,n.template,e[ka]);else if(a&8192){Kx(e),Xx(e,1);let s=n.components;s!==null&&ew(e,s,1),$x(e)}}function ew(e,t,n){for(let a=0;a<t.length;a++)age(e,t[a],n)}function ige(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)ao(~i);else{let r=i,s=n[++a],l=n[++a];xpe(s,r);let c=t[r];Jr(24,c),l(2,c),Jr(25,c)}}}finally{ao(-1)}}function eg(e,t){var a;let n=V1()?64:1088;for((a=e[Wn].changeDetectionScheduler)==null?void 0:a.notify(t);e;){e[Le]|=n;let i=to(e);if(Sd(e)&&!i)return e;e=i}return null}function tw(e,t,n,a){return[e,!0,0,t,null,a,null,n,null,null]}function aw(e,t){let n=Ua+t;if(n<e.length)return e[n]}function Kl(e,t,n,a=!0){let i=t[je];if(nge(i,t,e,n),a){let s=Zp(n,e),l=t[Gt],c=l.parentNode(e[Xr]);c!==null&&Nfe(i,e[pi],l,t,c,s)}let r=t[Qo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function iw(e,t){let n=bl(e,t);return n!==void 0&&Ou(n[je],n),n}function bl(e,t){if(e.length<=Ua)return;let n=Ua+t,a=e[n];if(a){let i=a[Qr];i!==null&&i!==e&&Xf(i,a),t>0&&(e[n-1][Gi]=a[Gi]);let r=Ed(e,Ua+t);Pfe(a[je],a);let s=r[$i];s!==null&&s.detachView(r[je]),a[qa]=null,a[Gi]=null,a[Le]&=-129}return a}function nge(e,t,n,a){let i=Ua+a,r=n.length;a>0&&(n[i-1][Gi]=t),a<r-Ua?(t[Gi]=n[i],f1(n,Ua+a,t)):(n.push(t),t[Gi]=null),t[qa]=n;let s=t[Qr];s!==null&&n!==s&&nw(s,t);let l=t[$i];l!==null&&l.insertView(e),Fp(t),t[Le]|=128}function nw(e,t){let n=e[Jo],a=t[qa];if(mr(a))e[Le]|=2;else{let i=a[qa][_i];t[_i]!==i&&(e[Le]|=2)}n===null?e[Jo]=[t]:n.push(t)}var yl=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 Pd(t,e,t.firstChild,[])}get context(){return this._lView[ka]}set context(e){this._lView[ka]=e}get destroyed(){return fs(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[qa];if(Yn(e)){let t=e[Cd],n=t?t.indexOf(this):-1;n>-1&&(bl(e,n),Ed(t,n))}this._attachedToViewContainer=!1}Ou(this._lView[je],this._lView)}onDestroy(e){P1(this._lView,e)}markForCheck(){eg(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Le]&=-129}reattach(){Fp(this._lView),this._lView[Le]|=128}detectChanges(){this._lView[Le]|=1024,Qx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Sd(this._lView),t=this._lView[Qr];t!==null&&!e&&Xf(t,this._lView),Hx(this._lView[je],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ae(902,!1);this._appRef=e;let t=Sd(this._lView),n=this._lView[Qr];n!==null&&!t&&nw(n,this._lView),Fp(this._lView)}};function rge(e){return Wl(e._lView)||!!(e._lView[Le]&64)}function oge(e){_f(e._cdRefInjectingView||e._lView)}var ya=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",cge),e})(),sge=ya,lge=class extends sge{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=Zl(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:a});return new yl(i)}};function cge(){return Mu(Za(),Me())}function Mu(e,t){return e.type&4?new lge(t,e,_s(e,t)):null}function ws(e,t,n,a,i){let r=e.data[t];if(r===null)r=dge(e,t,n,a,i),_pe()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=a,r.attrs=i;let s=vpe();r.injectorIndex=s===null?-1:s.injectorIndex}return Er(r,!0),r}function dge(e,t,n,a,i){let r=L1(),s=Ef(),l=s?r:r&&r.parent,c=e.data[t]=hge(e,l,n,t,a,i);return uge(e,c,r,s),c}function uge(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 hge(e,t,n,a,i,r){let s=t?t.injectorIndex:-1,l=0;return N1()&&(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 pge=()=>null;function is(e,t){return pge()}var mge=class{},rw=class{},fge=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Ri(e)}.`)}},wp,Ql=(wp=class{},o(wp,"NULL",new fge),wp),Fi=class{},ri=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>gge()),e})();function gge(){let e=Me(),t=Za(),n=fn(t.index,e);return(mr(n)?n:e)[Gt]}var vge=(()=>{const t=class t{};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wh={},bge=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=fu(n);let a=this.injector.get(e,wh,n);return a!==wh||t===wh?a:this.parentInjector.get(e,t,n)}};function Qp(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=Op(i,l);else if(r==2){let c=l,d=t[++s];a=Op(a,c+": "+d+";")}}n?e.styles=a:e.stylesWithoutHost=a,n?e.classes=i:e.classesWithoutHost=i}function aa(e,t=Xe.Default){let n=Me();if(n===null)return Ce(e,t);let a=Za();return J1(a,n,Na(e),t)}function yge(){let e="invalid";throw new Error(e)}function tg(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=xge(s);u===null?l=s:[l,c,d]=u,kge(e,t,n,l,r,c,d)}r!==null&&a!==null&&_ge(n,a,r)}function _ge(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 ae(-301,!1);a.push(t[i],r)}}function xge(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&pn(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),wge(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 wge(e,t,n,a){let i=t.length;e.findHostDirectiveDefs(e,t,a),n.set(e,[i,t.length-1])}function Ege(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function kge(e,t,n,a,i,r,s){let l=a.length,c=!1;for(let v=0;v<l;v++){let g=a[v];!c&&pn(g)&&(c=!0,Ege(e,n,v)),jp(Ad(n,t),e,g.type)}Oge(n,e.data.length,l);for(let v=0;v<l;v++){let g=a[v];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,p=zx(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=a[v];if(n.mergedAttrs=es(n.mergedAttrs,g.hostAttrs),Sge(e,n,t,p,g),Tge(p,g,i),s!==null&&s.has(g)){let[E,S]=s.get(g);n.directiveToIndex.set(g.type,[p,E+n.directiveStart,S+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++}Cge(e,n,r)}function Cge(e,t,n){for(let a=t.directiveStart;a<t.directiveEnd;a++){let i=e.data[a];if(n===null||!n.has(i))dv(0,t,i,a),dv(1,t,i,a),hv(t,a,!1);else{let r=n.get(i);uv(0,t,r,a),uv(1,t,r,a),hv(t,a,!0)}}}function dv(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),ow(t,r)}}function uv(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),ow(t,s)}}function ow(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function hv(e,t,n){let{attrs:a,inputs:i,hostDirectiveInputs:r}=e;if(a===null||!n&&i===null||n&&r===null||jf(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 Sge(e,t,n,a,i){e.data[a]=i;let r=i.factory||(i.factory=Kr(i.type)),s=new ql(r,pn(i),aa);e.blueprint[a]=s,n[a]=s,Dge(e,t,a,zx(e,n,i.hostVars,Ei),i)}function Dge(e,t,n,a,i){let r=i.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;Ige(s)!=l&&s.push(l),s.push(n,a,r)}}function Ige(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Tge(e,t,n){if(n){if(t.exportAs)for(let a=0;a<t.exportAs.length;a++)n[t.exportAs[a]]=e;pn(t)&&(n[""]=e)}}function Oge(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function sw(e,t,n,a,i,r,s,l){let c=t.consts,d=eo(c,s),u=ws(t,e,2,a,d);return tg(t,n,u,eo(c,l),i),u.mergedAttrs=es(u.mergedAttrs,u.attrs),u.attrs!==null&&Qp(u,u.attrs,!1),u.mergedAttrs!==null&&Qp(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function lw(e,t){Tf(e,t),gf(t)&&e.queries.elementEnd(t)}var Age=class extends Ql{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=Zo(t);return new ag(n,this.ngModule)}};function Rge(e){return Object.keys(e).map(t=>{let[n,a,i]=e[t],r={propName:n,templateName:t,isSignal:(a&Iu.SignalBased)!==0};return i&&(r.transform=i),r})}function Mge(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Pge(e,t,n){let a=t instanceof hn?t:t==null?void 0:t.injector;return a&&e.getStandaloneInjector!==null&&(a=e.getStandaloneInjector(a)||a),a?new bge(n,a):n}function Nge(e){let t=e.get(Fi,null);if(t===null)throw new ae(407,!1);let n=e.get(vge,null),a=e.get(ys,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:a}}function Lge(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ax(t,n,n==="svg"?A1:n==="math"?rpe:null)}var ag=class extends rw{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=ffe(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=Rge(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Mge(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.18"]:gfe(this.componentDef.selectors[0]),c=Hf(0,null,null,1,0,null,null,null,null,[l],null),d=Pge(s,i||this.ngModule,t),u=Nge(d),p=u.rendererFactory.createRenderer(null,s),v=a?_fe(p,a,s.encapsulation,d):Lge(s,p),g=Uf(null,c,null,512|Vx(s),null,null,u,p,d,null,Ex(v,d,!0));g[$t]=v,Df(g);let w=null;try{let E=sw($t,c,g,"#host",()=>[this.componentDef],!0,0);v&&(Mx(p,v,E),xs(v,g)),Tu(c,g,E),Vf(c,E,g),lw(c,E),n!==void 0&&Vge(E,this.ngContentSelectors,n),w=fn(E.index,g),g[ka]=w[ka],Zf(c,g,null)}catch(E){throw w!==null&&qp(w),qp(g),E}finally{Jr(23),If()}return new Fge(this.componentType,g)}finally{Ke(r)}}},Fge=class extends mge{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=vf(n[je],$t),this.location=_s(this._tNode,n),this.instance=fn(this._tNode.index,n)[ka],this.hostView=this.changeDetectorRef=new yl(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;Yf(a,i[je],i,t,n),this.previousInputValues.set(t,n);let r=fn(a.index,i);eg(r,1)}get injector(){return new al(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Vge(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 oi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",zge),e})();function zge(){let e=Za();return dw(e,Me())}var Bge=oi,cw=class extends Bge{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 _s(this._hostTNode,this._hostLView)}get injector(){return new al(this._hostTNode,this._hostLView)}get parentInjector(){let t=Of(this._hostTNode,this._hostLView);if($1(t)){let n=Td(t,this._hostLView),a=Id(t),i=n[je].data[a+8];return new al(i,n)}else return new al(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pv(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Ua}createEmbeddedView(t,n,a){let i,r;typeof a=="number"?i=a:a!=null&&(i=a.index,r=a.injector);let s=is(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,i,as(this._hostTNode,s)),l}createComponent(t,n,a,i,r){let s=t&&!epe(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 ag(Zo(t)),d=a||this.parentInjector;if(!r&&c.ngModule==null){let w=(s?d:this.parentInjector).get(hn,null);w&&(r=w)}let u=Zo(c.componentType??{}),p=is(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,i,v,r);return this.insertImpl(g.hostView,l,as(this._hostTNode,p)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,a){let i=t._lView;if(spe(i)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=i[qa],d=new cw(c,c[pi],c[qa]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Kl(s,i,r,a),t.attachToViewContainerRef(),f1(Eh(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pv(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),a=bl(this._lContainer,n);a&&(Ed(Eh(this._lContainer),n),Ou(a[je],a))}detach(t){let n=this._adjustIndex(t,-1),a=bl(this._lContainer,n);return a&&Ed(Eh(this._lContainer),n)!=null?new yl(a):null}_adjustIndex(t,n=0){return t??this.length+n}};function pv(e){return e[Cd]}function Eh(e){return e[Cd]||(e[Cd]=[])}function dw(e,t){let n,a=t[e.index];return Yn(a)?n=a:(n=tw(a,t,null,e),t[e.index]=n,Wf(t,n)),Hge(n,t,e,a),new cw(n,e,t)}function jge(e,t){let n=e[Gt],a=n.createComment(""),i=yn(t,e),r=n.parentNode(i);return Md(n,r,a,n.nextSibling(i),!1),a}var Hge=Uge;function Uge(e,t,n,a){if(e[Xr])return;let i;n.type&8?i=mn(a):i=jge(t,n),e[Xr]=i}var Wge=class uw{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new uw(this.queryList)}setDirty(){this.queryList.setDirty()}},qge=class hw{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 hw(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++)ng(t,n).matches!==null&&this.queries[n].setDirty()}},pw=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=Jge(e):this.predicate=e}},Gge=class mw{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 mw(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)}},$ge=class fw{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 fw(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,Yge(n,r)),this.matchTNodeWithReadOption(t,n,ld(n,t,r,!1,!1))}else a===ya?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ld(n,t,a,!1,!1))}matchTNodeWithReadOption(t,n,a){if(a!==null){let i=this.metadata.read;if(i!==null)if(i===Oe||i===oi||i===ya&&n.type&4)this.addMatch(n.index,-2);else{let r=ld(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 Yge(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 Zge(e,t){return e.type&11?_s(e,t):e.type&4?Mu(e,t):null}function Kge(e,t,n,a){return n===-1?Zge(t,e):n===-2?Qge(e,t,a):fl(e,e[je],n,t)}function Qge(e,t,n){if(n===Oe)return _s(t,e);if(n===ya)return Mu(t,e);if(n===oi)return dw(t,e)}function gw(e,t,n,a){let i=t[$i].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(Kge(t,u,s[c+1],n.metadata.read))}}i.matches=l}return i.matches}function Xp(e,t,n,a){let i=e.queries.getByIndex(n),r=i.matches;if(r!==null){let s=gw(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=Ua;p<u.length;p++){let v=u[p];v[Qr]===v[qa]&&Xp(v[je],v,d,a)}if(u[Jo]!==null){let p=u[Jo];for(let v=0;v<p.length;v++){let g=p[v];Xp(g[je],g,d,a)}}}}}return a}function ig(e,t){return e[$i].queries[t].queryList}function vw(e,t,n){let a=new ts((n&4)===4);return dpe(e,t,a,a.destroy),(t[$i]??(t[$i]=new qge)).queries.push(new Wge(a))-1}function Xge(e,t,n){let a=zt();return a.firstCreatePass&&(yw(a,new pw(e,t,n),-1),(t&2)===2&&(a.staticViewQueries=!0)),vw(a,Me(),t)}function bw(e,t,n,a){let i=zt();if(i.firstCreatePass){let r=Za();yw(i,new pw(t,n,a),r.index),e0e(i,e),(n&2)===2&&(i.staticContentQueries=!0)}return vw(i,Me(),n)}function Jge(e){return e.split(",").map(t=>t.trim())}function yw(e,t,n){e.queries===null&&(e.queries=new Gge),e.queries.track(new $ge(t,n))}function e0e(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 ng(e,t){return e.queries.getByIndex(t)}function _w(e,t){let n=e[je],a=ng(n,t);return a.crossesNgTemplate?Xp(n,e,t,[]):gw(n,e,a,t)}function xw(e,t,n){let a,i=y_(()=>{a._dirtyCounter();let r=n0e(a,e);if(t&&r===void 0)throw new ae(-951,!1);return r});return a=i[Ha],a._dirtyCounter=ai(0),a._flatValue=void 0,i}function t0e(e){return xw(!0,!1)}function a0e(e){return xw(!0,!0)}function i0e(e,t){let n=e[Ha];n._lView=Me(),n._queryIndex=t,n._queryList=ig(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(a=>a+1))}function n0e(e,t){let n=e._lView,a=e._queryIndex;if(n===void 0||a===void 0||n[Le]&4)return t?void 0:ti;let i=ig(n,a),r=_w(n,a);return i.reset(r,dx),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function mv(e,t){return t0e()}function r0e(e,t){return a0e()}var o0e=(mv.required=r0e,mv);function ww(e,t){let n=Object.create(i1),a=new cx;n.value=e;function i(){return Ll(n),fv(n.value),n.value}return i[Ha]=n,i.asReadonly=Mf.bind(i),i.set=r=>{n.equal(n.value,r)||(Vl(n,r),a.emit(r))},i.update=r=>{fv(n.value),i.set(r(n.value))},i.subscribe=a.subscribe.bind(a),i.destroyRef=a.destroyRef,i}function fv(e){if(e===mu)throw new ae(952,!1)}function gv(e,t){return ww(e)}function s0e(e){return ww(mu)}var Es=(gv.required=s0e,gv),_l=class{},Ew=class extends _l{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new Age(this));o(this,"instance",null);let n=new ff([...t.providers,{provide:_l,useValue:this},{provide:Ql,useValue:this.componentFactoryResolver}],t.parent||vu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function l0e(e,t,n=null){return new Ew({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var c0e=(()=>{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=_1(!1,a.type),r=i.length>0?l0e([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",Z({token:t,providedIn:"environment",factory:()=>new t(Ce(hn))}));let e=t;return e})();function X(e){return jl(()=>{let t=kw(e),n=dt(pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===px.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(c0e).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vn.Emulated,styles:e.styles||ti,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ho("NgStandalone"),Cw(n);let a=e.dependencies;return n.directiveDefs=vv(a,!1),n.pipeDefs=vv(a,!0),n.id=m0e(n),n})}function d0e(e){return Zo(e)||y1(e)}function u0e(e){return e!==null}function yt(e){return jl(()=>({type:e.type,bootstrap:e.bootstrap||ti,declarations:e.declarations||ti,imports:e.imports||ti,exports:e.exports||ti,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function h0e(e,t){if(e==null)return un;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=Iu.None,c=null),n[r]=[a,l,c],t[r]=s}return n}function p0e(e){if(e==null)return un;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function de(e){return jl(()=>{let t=kw(e);return Cw(t),t})}function na(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 kw(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||un,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ti,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:h0e(e.inputs,t),outputs:p0e(e.outputs),debugInfo:null}}function Cw(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function vv(e,t){if(!e)return null;let n=t?Uhe:d0e;return()=>(typeof e=="function"?e():e).map(a=>n(a)).filter(u0e)}function m0e(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 f0e(e){return Object.getPrototypeOf(e.prototype).constructor}function ze(e){let t=f0e(e.type),n=!0,a=[e];for(;t;){let i;if(pn(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ae(903,!1);i=t.ɵdir}if(i){if(n){a.push(i);let s=e;s.inputs=kh(e.inputs),s.declaredInputs=kh(e.declaredInputs),s.outputs=kh(e.outputs);let l=i.hostBindings;l&&_0e(e,l);let c=i.viewQuery,d=i.contentQueries;if(c&&b0e(e,c),d&&y0e(e,d),g0e(e,i),whe(e.outputs,i.outputs),pn(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)}v0e(a)}function g0e(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 v0e(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=es(i.hostAttrs,n=es(n,i.hostAttrs))}}function kh(e){return e===un?{}:e===ti?[]:e}function b0e(e,t){let n=e.viewQuery;n?e.viewQuery=(a,i)=>{t(a,i),n(a,i)}:e.viewQuery=t}function y0e(e,t){let n=e.contentQueries;n?e.contentQueries=(a,i,r)=>{t(a,i,r),n(a,i,r)}:e.contentQueries=t}function _0e(e,t){let n=e.hostBindings;n?e.hostBindings=(a,i)=>{t(a,i),n(a,i)}:e.hostBindings=t}function x0e(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)bv(Jp(r),t,n)}else bv(a,t,n)}function bv(e,t,n){let a=y1(e.directive);w0e(a.declaredInputs,e.inputs),Sw(a,t,n),n.set(a,e),t.push(a)}function Jp(e){return typeof e=="function"?{directive:Na(e),inputs:un,outputs:un}:{directive:Na(e.directive),inputs:yv(e.inputs),outputs:yv(e.outputs)}}function yv(e){if(e===void 0||e.length===0)return un;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function w0e(e,t){for(let n in t)if(t.hasOwnProperty(n)){let a=t[n],i=e[n];e[a]=i}}function Dw(e){return rg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function E0e(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 rg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ks(e,t,n){return e[t]=n}function Iw(e,t){return e[t]}function ui(e,t,n){let a=e[t];return Object.is(a,n)?!1:(e[t]=n,!0)}function xl(e,t,n,a){let i=ui(e,t,n);return ui(e,t+1,a)||i}function k0e(e,t,n,a,i){let r=xl(e,t,n,a);return ui(e,t+2,i)||r}function Tw(e,t,n,a,i,r){let s=xl(e,t,n,a);return xl(e,t+2,i,r)||s}function C0e(e,t,n,a,i,r,s,l,c){let d=t.consts,u=ws(t,e,4,s||null,l||null);tg(t,n,u,eo(d,c),$f),u.mergedAttrs=es(u.mergedAttrs,u.attrs),Tf(t,u);let p=u.tView=Hf(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 Ow(e,t,n,a,i,r,s,l,c,d){let u=n+$t,p=t.firstCreatePass?C0e(u,t,e,a,i,r,s,l,c):t.data[u];Er(p,!1);let v=S0e(t,e);Eu()&&Au(t,e,v,p),xs(v,e);let g=tw(v,e,v,p);return e[u]=g,Wf(e,g),_u(p)&&Tu(t,e,p),c!=null&&qf(e,p,d),p}function V(e,t,n,a,i,r,s,l){let c=Me(),d=zt(),u=eo(d.consts,r);return Ow(c,d,e,t,n,a,i,u,s,l),V}var S0e=D0e;function D0e(e,t,n,a){return ku(!0),t[Gt].createComment("")}var I0e=new Y(""),Aw=(()=>{const t=class t{};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:()=>new T0e}));let e=t;return e})(),T0e=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 og(e){return!!e&&typeof e.then=="function"}function O0e(e){return!!e&&typeof e.subscribe=="function"}var A0e=new Y(""),Rw=(()=>{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",_(A0e,{optional:!0})??[]);o(this,"injector",_(ut))}runInitializers(){if(this.initialized)return;let a=[];for(let r of this.appInits){let s=bu(this.injector,r);if(og(s))a.push(s);else if(O0e(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),R0e=new Y("");function M0e(){fue(()=>{throw new ae(600,!1)})}function P0e(e){return e.isBoundToModule}var N0e=10,vr=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",_(tme));o(this,"afterRenderManager",_(xx));o(this,"zonelessEnabled",_(nx));o(this,"rootEffectScheduler",_(Aw));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new me);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",_(Gl).hasPendingTasks.pipe(Dt(a=>!a)));o(this,"_injector",_(hn));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var i;if(this._runningTick)throw new ae(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()}});_($l,{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=ut.NULL){let s=a instanceof rw;if(!this._injector.get(Rw).done){let g="";throw new ae(405,g)}let l;s?l=a:l=this._injector.get(Ql).resolveComponentFactory(a),this.componentTypes.push(l.componentType);let c=P0e(l)?void 0:this._injector.get(_l),d=i||l.selector,u=l.create(r,[],d,c),p=u.location.nativeElement,v=u.injector.get(I0e,null);return v==null||v.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),cd(this.components,u),v==null||v.unregisterApplication(p)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Nf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Fi,null,{optional:!0}));let a=0;for(;this.dirtyFlags!==0&&a++<N0e;)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)L0e(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})=>Wl(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;cd(this._views,i),i.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a),this._injector.get(R0e,[]).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),()=>cd(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new ae(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cd(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function L0e(e,t,n,a){!n&&!Wl(e)||Qx(e,t,n&&!a?0:1)}function be(e,t,n,a){let i=Me(),r=uo();if(ui(i,r,t)){zt();let s=wu();Sfe(s,i,e,t,n,a)}return be}function Mw(e,t,n,a){return ui(e,uo(),n)?t+Zr(n)+a:Ei}function F0e(e,t,n,a,i,r){let s=bpe(),l=xl(e,s,n,i);return Cf(2),l?t+Zr(n)+a+Zr(i)+r:Ei}function Dc(e,t){return e<<17|t<<2}function no(e){return e>>17&32767}function V0e(e){return(e&2)==2}function z0e(e,t){return e&131071|t<<17}function em(e){return e|2}function ns(e){return(e&131068)>>2}function Ch(e,t){return e&-131069|t<<2}function B0e(e){return(e&1)===1}function tm(e){return e|1}function j0e(e,t,n,a,i,r){let s=r?t.classBindings:t.styleBindings,l=no(s),c=ns(s);e[a]=n;let d=!1,u;if(Array.isArray(n)){let p=n;u=p[1],(u===null||Hl(p,u)>0)&&(d=!0)}else u=n;if(i)if(c!==0){let p=no(e[l+1]);e[a+1]=Dc(p,l),p!==0&&(e[p+1]=Ch(e[p+1],a)),e[l+1]=z0e(e[l+1],a)}else e[a+1]=Dc(l,0),l!==0&&(e[l+1]=Ch(e[l+1],a)),l=a;else e[a+1]=Dc(c,0),l===0?l=a:e[c+1]=Ch(e[c+1],a),c=a;d&&(e[a+1]=em(e[a+1])),_v(e,u,a,!0),_v(e,u,a,!1),H0e(t,u,e,a,r),s=Dc(l,c),r?t.classBindings=s:t.styleBindings=s}function H0e(e,t,n,a,i){let r=i?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Hl(r,t)>=0&&(n[a+1]=tm(n[a+1]))}function _v(e,t,n,a){let i=e[n+1],r=t===null,s=a?no(i):ns(i),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];U0e(c,t)&&(l=!0,e[s+1]=a?tm(d):em(d)),s=a?no(d):ns(d)}l&&(e[n+1]=a?em(i):tm(i))}function U0e(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Hl(e,t)>=0:!1}var qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function W0e(e){return e.substring(qi.key,qi.keyEnd)}function q0e(e){return G0e(e),Pw(e,Nw(e,0,qi.textEnd))}function Pw(e,t){let n=qi.textEnd;return n===t?-1:(t=qi.keyEnd=$0e(e,qi.key=t,n),Nw(e,t,n))}function G0e(e){qi.key=0,qi.keyEnd=0,qi.value=0,qi.valueEnd=0,qi.textEnd=e.length}function Nw(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function $0e(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function N(e,t,n){let a=Me(),i=uo();if(ui(a,i,t)){let r=zt(),s=wu();Gf(r,s,a,e,t,a[Gt],n,!1)}return N}function am(e,t,n,a,i){Yf(t,e,n,i?"class":"style",a)}function Qn(e,t,n){return Fw(e,t,n,!1),Qn}function we(e,t){return Fw(e,t,null,!0),we}function Pi(e){Vw(J0e,Lw,e,!0)}function Lw(e,t){for(let n=q0e(t);n>=0;n=Pw(t,n))gu(e,W0e(t),!0)}function Fw(e,t,n,a){let i=Me(),r=zt(),s=Cf(2);if(r.firstUpdatePass&&Bw(r,e,s,a),t!==Ei&&ui(i,s,t)){let l=r.data[_n()];jw(r,l,i,i[Gt],e,i[s+1]=tve(t,n),a,s)}}function Vw(e,t,n,a){let i=zt(),r=Cf(2);i.firstUpdatePass&&Bw(i,null,r,a);let s=Me();if(n!==Ei&&ui(s,r,n)){let l=i.data[_n()];if(Hw(l,a)&&!zw(i,r)){let c=l.classesWithoutHost;c!==null&&(n=Op(c,n||"")),am(i,l,s,n,a)}else eve(i,l,s,s[Gt],s[r+1],s[r+1]=X0e(e,t,n),a,r)}}function zw(e,t){return t>=e.expandoStartIndex}function Bw(e,t,n,a){let i=e.data;if(i[n+1]===null){let r=i[_n()],s=zw(e,n);Hw(r,a)&&t===null&&!s&&(t=!1),t=Y0e(i,r,t,a),j0e(i,r,t,n,s,a)}}function Y0e(e,t,n,a){let i=Epe(e),r=a?t.residualClasses:t.residualStyles;if(i===null)(a?t.classBindings:t.styleBindings)===0&&(n=Sh(null,e,t,n,a),n=wl(n,t.attrs,a),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Sh(i,e,t,n,a),r===null){let l=Z0e(e,t,a);l!==void 0&&Array.isArray(l)&&(l=Sh(null,e,t,l[1],a),l=wl(l,t.attrs,a),K0e(e,t,a,l))}else r=Q0e(e,t,a)}return r!==void 0&&(a?t.residualClasses=r:t.residualStyles=r),n}function Z0e(e,t,n){let a=n?t.classBindings:t.styleBindings;if(ns(a)!==0)return e[no(a)]}function K0e(e,t,n,a){let i=n?t.classBindings:t.styleBindings;e[no(i)]=a}function Q0e(e,t,n){let a,i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<i;r++){let s=e[r].hostAttrs;a=wl(a,s,n)}return wl(a,t.attrs,n)}function Sh(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=wl(a,r.hostAttrs,i),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),a}function wl(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]),gu(e,s,n?!0:t[++r]))}return e===void 0?null:e}function X0e(e,t,n){if(n==null||n==="")return ti;let a=[],i=Ln(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 J0e(e,t,n){let a=String(t);a!==""&&!a.includes(" ")&&gu(e,a,n)}function eve(e,t,n,a,i,r,s,l){i===Ei&&(i=ti);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 v=c<i.length?i[c+1]:void 0,g=d<r.length?r[d+1]:void 0,w=null,E;u===p?(c+=2,d+=2,v!==g&&(w=p,E=g)):p===null||u!==null&&u<p?(c+=2,w=u):(d+=2,w=p,E=g),w!==null&&jw(e,t,n,a,w,E,s,l),u=c<i.length?i[c]:null,p=d<r.length?r[d]:null}}function jw(e,t,n,a,i,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=B0e(d)?xv(c,t,n,i,ns(d),s):void 0;if(!Nd(u)){Nd(r)||V0e(d)&&(r=xv(c,null,n,i,l,s));let p=R1(_n(),n);Wfe(a,s,p,i,r)}}function xv(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,v=n[i+1];v===Ei&&(v=p?ti:void 0);let g=p?gh(v,a):u===a?v:void 0;if(d&&!Nd(g)&&(g=gh(c,a)),Nd(g)&&(l=g,s))return l;let w=e[i+1];i=s?no(w):ns(w)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=gh(c,a))}return l}function Nd(e){return e!==void 0}function tve(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ri(Ln(e)))),e}function Hw(e,t){return(e.flags&(t?8:16))!==0}function ave(e,t,n){let a=Me(),i=Mw(a,e,t,n);Vw(gu,Lw,i,!0)}var ive=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 Dh(e,t,n,a,i){return e===n&&Object.is(t,a)?1:Object.is(i(e,t),i(n,a))?-1:0}function nve(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=Dh(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let p=e.at(s),v=t[l],g=Dh(s,p,l,v,n);if(g!==0){g<0&&e.updateValue(s,v),s--,l--;continue}let w=n(r,c),E=n(s,p),S=n(r,d);if(Object.is(S,E)){let A=n(l,v);Object.is(A,w)?(e.swap(r,s),e.updateValue(s,v),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(a??(a=new kv),i??(i=Ev(e,r,s,n)),im(e,a,r,S))e.updateValue(r,d),r++,s++;else if(i.has(S))a.set(w,e.detach(r)),s--;else{let A=e.create(r,t[r]);e.attach(r,A),r++,s++}}for(;r<=l;)wv(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=Dh(r,d,r,u,n);if(p!==0)p<0&&e.updateValue(r,u),r++,c=l.next();else{a??(a=new kv),i??(i=Ev(e,r,s,n));let v=n(r,u);if(im(e,a,r,v))e.updateValue(r,u),r++,s++,c=l.next();else if(!i.has(v))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;)wv(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 im(e,t,n,a){return t!==void 0&&t.has(a)?(e.attach(n,t.get(a)),t.delete(a),!0):!1}function wv(e,t,n,a,i){if(im(e,t,a,n(a,i)))e.updateValue(a,i);else{let r=e.create(a,i);e.attach(a,r)}}function Ev(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 kv=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){ho("NgControlFlow");let n=Me(),a=uo(),i=n[a]!==Ei?n[a]:-1,r=i!==-1?Ld(n,$t+i):void 0,s=0;if(ui(n,a,e)){let l=Ke(null);try{if(r!==void 0&&iw(r,s),e!==-1){let c=$t+e,d=Ld(n,c),u=nm(n[je],c),p=is(d,u.tView.ssrId),v=Zl(n,u,t,{dehydratedView:p});Kl(d,v,s,as(u,p))}}finally{Ke(l)}}else if(r!==void 0){let l=aw(r,s);l!==void 0&&(l[ka]=t)}}var rve=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-Ua}};function Ni(e,t){return t}var ove=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ga(e,t,n,a,i,r,s,l,c,d,u,p,v){ho("NgControlFlow");let g=Me(),w=zt(),E=c!==void 0,S=Me(),A=l?s.bind(S[_i][ka]):s,B=new ove(E,A);S[$t+e]=B,Ow(g,w,e+1,t,n,a,i,eo(w.consts,r))}var sve=class extends ive{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-Ua}at(t){return this.getLView(t)[ka].$implicit}attach(t,n){let a=n[Qo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Kl(this.lContainer,n,t,as(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),lve(this.lContainer,t)}create(t,n){var r;let a=is(this.lContainer,this.templateTNode.tView.ssrId),i=Zl(this.hostLView,this.templateTNode,new rve(this.lContainer,n,t),{dehydratedView:a});return(r=this.operationsCounter)==null||r.recordCreate(),i}destroy(t){var n;Ou(t[je],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[ka].$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)[ka].$index=t}getLView(t){return cve(this.lContainer,t)}};function $a(e){let t=Ke(null),n=_n();try{let a=Me(),i=a[je],r=a[n],s=n+1,l=Ld(a,s);if(r.liveCollection===void 0){let d=nm(i,s);r.liveCollection=new sve(l,a,d)}else r.liveCollection.reset();let c=r.liveCollection;if(nve(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=uo(),u=c.length===0;if(ui(a,d,u)){let p=n+2,v=Ld(a,p);if(u){let g=nm(i,p),w=is(v,g.tView.ssrId),E=Zl(a,g,void 0,{dehydratedView:w});Kl(v,E,0,as(g,w))}else iw(v,0)}}}finally{Ke(t)}}function Ld(e,t){return e[t]}function lve(e,t){return bl(e,t)}function cve(e,t){return aw(e,t)}function nm(e,t){return vf(e,t)}function D(e,t,n,a){let i=Me(),r=zt(),s=$t+e,l=i[Gt],c=r.firstCreatePass?sw(s,r,i,t,$f,mpe(),n,a):r.data[s],d=dve(r,i,c,l,t);i[s]=d;let u=_u(c);return Er(c,!0),Mx(l,d,c),!Qf(c)&&Eu()&&Au(r,i,d,c),(upe()===0||u)&&xs(d,i),hpe(),u&&(Tu(r,i,c),Vf(r,c,i)),a!==null&&qf(i,c),D}function T(){let e=Za();Ef()?kf():(e=e.parent,Er(e,!1));let t=e;fpe(t)&&gpe(),ppe();let n=zt();return n.firstCreatePass&&lw(n,t),t.classesWithoutHost!=null&&Ope(t)&&am(n,t,Me(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ape(t)&&am(n,t,Me(),t.stylesWithoutHost,!1),T}function H(e,t,n,a){return D(e,t,n,a),T(),H}var dve=(e,t,n,a,i,r)=>(ku(!0),Ax(a,i,Dpe()));function uve(e,t,n,a,i){let r=t.consts,s=eo(r,a),l=ws(t,e,8,"ng-container",s);s!==null&&Qp(l,s,!0);let c=eo(r,i);return tg(t,n,l,c,$f),l.mergedAttrs=es(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Jt(e,t,n){let a=Me(),i=zt(),r=e+$t,s=i.firstCreatePass?uve(r,i,a,t,n):i.data[r];Er(s,!0);let l=hve(i,a);return a[r]=l,Eu()&&Au(i,a,l,s),xs(l,a),_u(s)&&(Tu(i,a,s),Vf(i,s,a)),n!=null&&qf(a,s),Jt}function ea(){let e=Za(),t=zt();return Ef()?kf():(e=e.parent,Er(e,!1)),t.firstCreatePass&&(Tf(t,e),gf(e)&&t.queries.elementEnd(e)),ea}function Ca(e,t,n){return Jt(e,t,n),ea(),Ca}var hve=(e,t,n,a)=>(ku(!0),tfe(t[Gt],""));function Et(){return Me()}function xn(e,t,n){let a=Me(),i=uo();if(ui(a,i,t)){let r=zt(),s=wu();Gf(r,s,a,e,t,a[Gt],n,!0)}return xn}var Tr=void 0;function pve(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var mve=["en",[["a","p"],["AM","PM"],Tr],[["AM","PM"],Tr,Tr],[["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"]],Tr,[["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"]],Tr,[["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}",Tr,"{1} 'at' {0}",Tr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",pve],il={};function fve(e,t,n){typeof t!="string"&&(n=t,t=e[_a.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),il[t]=e,n&&(il[t][_a.ExtraData]=n)}function Zi(e){let t=gve(e),n=Cv(t);if(n)return n;let a=t.split("-")[0];if(n=Cv(a),n)return n;if(a==="en")return mve;throw new ae(701,!1)}function Cv(e){return e in il||(il[e]=sr.ng&&sr.ng.common&&sr.ng.common.locales&&sr.ng.common.locales[e]),il[e]}var _a=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}(_a||{});function gve(e){return e.toLowerCase().replace(/_/g,"-")}var rm="en-US";function vve(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Sv(e,t,n){return function a(i){if(i===Function)return n;let r=ms(e)?fn(e.index,t):t;eg(r,5);let s=t[ka],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 bve(e,r),!1}finally{Ke(i)}}function bve(e,t){let n=e[Xo],a=n?n.get(Yi,null):null;a&&a.handleError(t)}function Iv(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?wf(l):null,p=xf(t),v=d.subscribe(r),g=p.length;p.push(r,v),u&&u.push(i,e.index,g,-(g+1))}function xe(e,t,n,a){let i=Me(),r=zt(),s=Za();return Uw(r,i,i[Gt],s,e,t,a),xe}function yve(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[Ho],c=i[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function Uw(e,t,n,a,i,r,s){var p,v;let l=_u(a),c=e.firstCreatePass?wf(e):null,d=xf(t),u=!0;if(a.type&3||s){let g=yn(a,t),w=s?s(g):g,E=d.length,S=s?B=>s(mn(B[a.index])):a.index,A=null;if(!s&&l&&(A=yve(e,t,i,a.index)),A!==null){let B=A.__ngLastListenerFn__||A;B.__ngNextListenerFn__=r,A.__ngLastListenerFn__=r,u=!1}else{r=Sv(a,t,r);let B=n.listen(w,i,r);d.push(r,B),c&&c.push(i,S,E,E+1)}}else r=Sv(a,t,r);if(u){let g=(p=a.outputs)==null?void 0:p[i],w=(v=a.hostDirectiveOutputs)==null?void 0:v[i];if(w&&w.length)for(let E=0;E<w.length;E+=2){let S=w[E],A=w[E+1];Iv(a,t,S,A,i,r)}if(g&&g.length)for(let E of g)Iv(a,t,E,i,i,r)}}function L(e=1){return Cpe(e)}function _ve(e,t){let n=null,a=dfe(e);for(let i=0;i<t.length;i++){let r=t[i];if(r==="*"){n=i;continue}if(a===null?Fx(e,r,!0):pfe(a,r))return i}return n}function st(e){let t=Me()[_i][pi];if(!t.projection){let n=e?e.length:1,a=t.projection=Bhe(n,null),i=a.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?_ve(r,e):0;s!==null&&(i[s]?i[s].projectionNext=r:a[s]=r,i[s]=r)}r=r.next}}}function ke(e,t=0,n,a,i,r){let s=Me(),l=zt(),c=null,d=ws(l,$t+e,16,null,null);d.projection===null&&(d.projection=t),kf();let u=!s[Qo]||N1();s[_i][pi].projection[d.projection]===null&&c!==null?xve(s,l,c):u&&!Qf(d)&&Hfe(l,s,d)}function xve(e,t,n){let a=$t+n,i=t.data[a],r=e[a],s=is(r,i.tView.ssrId),l=Zl(e,i,void 0,{dehydratedView:s});Kl(r,l,0,as(i,s))}function mt(e,t,n,a){bw(e,t,n,a)}function $e(e,t,n){Xge(e,t,n)}function ye(e){let t=Me(),n=zt(),a=Sf();xu(a+1);let i=ng(n,a);if(e.dirty&&ope(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let r=_w(t,a);e.reset(r,dx),e.notifyOnChanges()}return!0}return!1}function _e(){return ig(Me(),Sf())}function wve(e,t,n,a,i){i0e(t,bw(e,n,a,i))}function Eve(e=1){xu(Sf()+e)}function Ya(e){let t=F1();return gs(t,$t+e)}function F(e,t=""){let n=Me(),a=zt(),i=e+$t,r=a.firstCreatePass?ws(a,i,1,t,null):a.data[i],s=kve(a,n,r,t);n[i]=s,Eu()&&Au(a,n,s,r),Er(r,!1)}var kve=(e,t,n,a,i)=>(ku(!0),Jme(t[Gt],a));function Re(e){return te("",e,""),Re}function te(e,t,n){let a=Me(),i=Mw(a,e,t,n);return i!==Ei&&Ww(a,_n(),i),te}function Gn(e,t,n,a,i){let r=Me(),s=F0e(r,e,t,n,a,i);return s!==Ei&&Ww(r,_n(),s),Gn}function Ww(e,t,n){let a=R1(t,e);efe(e[Gt],a,n)}function kr(e,t,n){ux(t)&&(t=t());let a=Me(),i=uo();if(ui(a,i,t)){let r=zt(),s=wu();Gf(r,s,a,e,t,a[Gt],n,!1)}return kr}function mo(e,t){let n=ux(e);return n&&e.set(t),n}function Cr(e,t){let n=Me(),a=zt(),i=Za();return Uw(a,n,n[Gt],i,e,t),Cr}var qw={};function sg(e){let t=zt(),n=Me(),a=e+$t,i=ws(t,a,128,null,null);return Er(i,!1),bf(t,n,a,qw),sg}function Tv(e){ho("NgLet");let t=zt(),n=Me(),a=_n();return bf(t,n,a,e),e}function Ov(e){let t=F1(),n=gs(t,$t+e);if(n===qw)throw new ae(314,!1);return n}function Cve(e,t,n){let a=zt();if(a.firstCreatePass){let i=pn(e);om(n,a.data,a.blueprint,i,!0),om(t,a.data,a.blueprint,i,!1)}}function om(e,t,n,a,i){if(e=Na(e),Array.isArray(e))for(let r=0;r<e.length;r++)om(e[r],t,n,a,i);else{let r=zt(),s=Me(),l=Za(),c=Ko(e)?e:Na(e.provide),d=E1(e),u=l.providerIndexes&1048575,p=l.directiveStart,v=l.providerIndexes>>20;if(Ko(e)||!e.multi){let g=new ql(d,i,aa),w=Th(c,t,i?u:u+v,p);w===-1?(jp(Ad(l,s),r,c),Ih(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=Th(c,t,u+v,p),w=Th(c,t,u,u+v),E=g>=0&&n[g],S=w>=0&&n[w];if(i&&!S||!i&&!E){jp(Ad(l,s),r,c);let A=Ive(i?Dve:Sve,n.length,i,a,d);!i&&S&&(n[w].providerFactory=A),Ih(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(A),s.push(A)}else{let A=Gw(n[i?w:g],d,!i&&a);Ih(r,e,g>-1?g:w,A)}!i&&a&&S&&n[w].componentProviders++}}}function Ih(e,t,n,a){let i=Ko(t),r=Yhe(t);if(i||r){let s=(r?Na(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 Gw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Th(e,t,n,a){for(let i=n;i<a;i++)if(t[i]===e)return i;return-1}function Sve(e,t,n,a,i){return sm(this.multi,[])}function Dve(e,t,n,a,i){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fl(a,a[je],this.providerFactory.index,i);s=c.slice(0,l),sm(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],sm(r,s);return s}function sm(e,t){for(let n=0;n<e.length;n++){let a=e[n];t.push(a())}return t}function Ive(e,t,n,a,i){let r=new ql(e,n,aa);return r.multi=[],r.index=t,r.componentProviders=0,Gw(r,i,a&&!n),r}function lt(e,t=[]){return n=>{n.providersResolver=(a,i)=>Cve(a,i?i(e):e,t)}}function gn(e,t,n){let a=Zn()+e,i=Me();return i[a]===Ei?ks(i,a,t()):Iw(i,a)}function ii(e,t,n,a){return $w(Me(),Zn(),e,t,n,a)}function Tve(e,t,n,a,i){return Yw(Me(),Zn(),e,t,n,a,i)}function Av(e,t,n,a,i,r){return Zw(Me(),Zn(),e,t,n,a,i,r)}function Ove(e,t,n,a,i,r,s,l){let c=Zn()+e,d=Me(),u=Tw(d,c,n,a,i,r);return ui(d,c+4,s)||u?ks(d,c+5,t(n,a,i,r,s)):Iw(d,c+5)}function Pu(e,t){let n=e[t];return n===Ei?void 0:n}function $w(e,t,n,a,i,r){let s=t+n;return ui(e,s,i)?ks(e,s+1,r?a.call(r,i):a(i)):Pu(e,s+1)}function Yw(e,t,n,a,i,r,s){let l=t+n;return xl(e,l,i,r)?ks(e,l+2,s?a.call(s,i,r):a(i,r)):Pu(e,l+2)}function Zw(e,t,n,a,i,r,s,l){let c=t+n;return k0e(e,c,i,r,s)?ks(e,c+3,l?a.call(l,i,r,s):a(i,r,s)):Pu(e,c+3)}function Ave(e,t,n,a,i,r,s,l,c){let d=t+n;return Tw(e,d,i,r,s,l)?ks(e,d+4,c?a.call(c,i,r,s,l):a(i,r,s,l)):Pu(e,d+4)}function O(e,t){let n=zt(),a,i=e+$t;n.firstCreatePass?(a=Rve(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=Kr(a.type)),s=ci(aa);try{let l=Od(!1),c=r();return Od(l),bf(n,Me(),i,c),c}finally{ci(s)}}function Rve(e,t){if(t)for(let n=t.length-1;n>=0;n--){let a=t[n];if(e===a.name)return a}}function P(e,t,n){let a=e+$t,i=Me(),r=gs(i,a);return Nu(i,a)?$w(i,Zn(),t,r.transform,n,r):r.transform(n)}function wt(e,t,n,a){let i=e+$t,r=Me(),s=gs(r,i);return Nu(r,i)?Yw(r,Zn(),t,s.transform,n,a,s):s.transform(n,a)}function br(e,t,n,a,i){let r=e+$t,s=Me(),l=gs(s,r);return Nu(s,r)?Zw(s,Zn(),t,l.transform,n,a,i,l):l.transform(n,a,i)}function Yr(e,t,n,a,i,r){let s=e+$t,l=Me(),c=gs(l,s);return Nu(l,s)?Ave(l,Zn(),t,c.transform,n,a,i,r,c):c.transform(n,a,i,r)}function Nu(e,t){return e[je].data[t].pure}function Fd(e,t){return Mu(e,t)}var Mve=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(".")}},Rv=new Mve("19.2.18"),Pve=(()=>{const t=class t{constructor(){o(this,"zone",_(Ne));o(this,"changeDetectionScheduler",_(ys));o(this,"applicationRef",_(vr));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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Nve({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(dt(pe({},Lve()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:kd,multi:!0,useFactory:()=>{let a=_(Pve,{optional:!0});return()=>a.initialize()}},{provide:kd,multi:!0,useFactory:()=>{let a=_(Fve);return()=>{a.initialize()}}},t===!0?{provide:rx,useValue:!0}:[],{provide:ox,useValue:n??ax}]}function Lve(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Fve=(()=>{const t=class t{constructor(){o(this,"subscription",new Ye);o(this,"initialized",!1);o(this,"zone",_(Ne));o(this,"pendingTasks",_(Gl))}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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Vve=(()=>{var t;const n=class n{constructor(){o(this,"appRef",_(vr));o(this,"taskService",_(Gl));o(this,"ngZone",_(Ne));o(this,"zonelessEnabled",_(nx));o(this,"tracing",_($l,{optional:!0}));o(this,"disableScheduling",_(rx,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new Ye);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Rd):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(_(ox,{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 Xpe||!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?Q0:sx;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(Rd+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,Q0(()=>{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",Z({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function zve(){return typeof $localize<"u"&&$localize.locale||rm}var Lu=new Y("",{providedIn:"root",factory:()=>_(Lu,Xe.Optional|Xe.SkipSelf)||zve()}),lm=new Y(""),Bve=new Y("");function Vs(e){return!e.moduleRef}function jve(e){let t=Vs(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{Vs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let a=t.get(Yi,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r=>{a.handleError(r)}})}),Vs(e)){let r=()=>t.destroy(),s=e.platformInjector.get(lm);s.add(r),t.onDestroy(()=>{i.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(lm);s.add(r),e.moduleRef.onDestroy(()=>{cd(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(r)})}return Uve(a,n,()=>{let r=t.get(Rw);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Lu,rm);if(vve(s||rm),!t.get(Bve,!0))return Vs(e)?t.get(vr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vs(e)){let l=t.get(vr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Hve(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Hve(e,t){let n=e.injector.get(vr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(a=>n.bootstrap(a));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new ae(-403,!1);t.push(e)}function Uve(e,t,n){try{let a=n();return og(a)?a.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}var dd=null;function Wve(e=[],t){return ut.create({name:t,providers:[{provide:mf,useValue:"platform"},{provide:lm,useValue:new Set([()=>dd=null])},...e]})}function qve(e=[]){if(dd)return dd;let t=Wve(e);return dd=t,M0e(),Gve(t),t}function Gve(e){let t=e.get(yx,null);bu(e,()=>{t==null||t.forEach(n=>n())})}function $ve(){return!1}var kt=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Yve),e})();function Yve(e){return Zve(Za(),Me(),(e&16)===16)}function Zve(e,t,n){if(ms(e)&&!n){let a=fn(e.index,t);return new yl(a,a)}else if(e.type&175){let a=t[_i];return new yl(a,t)}return null}var Kve=class{constructor(){}supports(e){return Dw(e)}create(e){return new Xve(e)}},Qve=(e,t)=>t,Xve=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||Qve}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<Pv(n,a,i)?t:n,s=Pv(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 v=p<i.length?i[p]:i[p]=0,g=v+p;d<=g&&g<c&&(i[p]=v+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=[]),!Dw(e))throw new ae(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,E0e(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 Jve(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 Mv),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 Mv),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}},Jve=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}},ebe=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}},Mv=class{constructor(){o(this,"map",new Map)}put(e){let t=e.trackById,n=this.map.get(t);n||(n=new ebe,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 Pv(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 tbe=class{constructor(){}supports(e){return e instanceof Map||rg(e)}create(){return new abe}},abe=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||rg(e)))throw new ae(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 ibe(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))}},ibe=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 Nv(){return new Cs([new Kve])}var Cs=(()=>{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||Nv()),deps:[[t,new hs,new us]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i!=null)return i;throw new ae(901,!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:Nv}));let e=t;return e})();function Lv(){return new Kw([new tbe])}var Kw=(()=>{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||Lv()),deps:[[t,new hs,new us]]}}find(a){let i=this.factories.find(r=>r.supports(a));if(i)return i;throw new ae(901,!1)}};o(t,"ɵprov",Z({token:t,providedIn:"root",factory:Lv}));let e=t;return e})();function nbe(e){let{rootComponent:t,appProviders:n,platformProviders:a,platformRef:i}=e;try{let r=(i==null?void 0:i.injector)??qve(a),s=[Nve({}),{provide:ys,useExisting:Vve},...n||[]],l=new Ew({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return jve({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function fe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function vn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Nn(e){return xue(e)}function qt(e,t){return y_(e,t==null?void 0:t.equal)}var i_,rbe=(i_=Ha,class{constructor(e){o(this,i_);this[Ha]=e}destroy(){this[Ha].destroy()}});function Fu(e,t){!(t!=null&&t.injector)&&Ul();let n=(t==null?void 0:t.injector)??_(ut),a=(t==null?void 0:t.manualCleanup)!==!0?n.get(xi):null,i,r=n.get(Lf,null,{optional:!0}),s=n.get(ys);return r!==null&&!(t!=null&&t.forceRoot)?(i=lbe(r.view,s,e),a instanceof ix&&a._lView===r.view&&(a=null)):i=cbe(e,n.get(Aw),s),i.injector=n,a!==null&&(i.onDestroyFn=a.onDestroy(()=>i.destroy())),new rbe(i)}var Qw=dt(pe({},cs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gl,run(){if(this.dirty=!1,this.hasRun&&!Xm(this))return;this.hasRun=!0;let e=a=>(this.cleanupFns??(this.cleanupFns=[])).push(a),t=ll(this),n=Dd(!1);try{this.maybeCleanup(),this.fn(e)}finally{Dd(n),cu(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),obe=dt(pe({},Qw),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){du(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),sbe=dt(pe({},Qw),{consumerMarkedDirty(){this.view[Le]|=8192,vs(this.view),this.notifier.notify(13)},destroy(){var e;du(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Fn])==null||e.delete(this)}});function lbe(e,t,n){let a=Object.create(sbe);return a.view=e,a.zone=typeof Zone<"u"?Zone.current:null,a.notifier=t,a.fn=n,e[Fn]??(e[Fn]=new Set),e[Fn].add(a),a.consumerMarkedDirty(a),a}function cbe(e,t,n){let a=Object.create(obe);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 dbe=e=>e;function ube(e,t){if(typeof e=="function"){let n=R0(e,dbe,t==null?void 0:t.equal);return Fv(n)}else{let n=R0(e.source,e.computation,e.equal);return Fv(n)}}function Fv(e){let t=e[Ha],n=e;return n.set=a=>bue(t,a),n.update=a=>yue(t,a),n.asReadonly=Mf.bind(e),n}function Xw(e,t){let n=Zo(e),a=t.elementInjector||vu();return new ag(n).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}var hbe={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function pbe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function mbe(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Oh;function fbe(e,t){if(!Oh){let n=Element.prototype;Oh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Oh.call(e,t):!1}function gbe(e){let t={};return e.forEach(({propName:n,templateName:a,transform:i})=>{t[pbe(a)]=[n,i]}),t}function vbe(e,t){return t.get(Ql).resolveComponentFactory(e).inputs}function bbe(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=ybe(l,t,i);c!==-1&&a[c].push(l)}return a}function ybe(e,t,n){let a=n;return mbe(e)&&t.some((i,r)=>i!=="*"&&fbe(e,i)?(a=r,!0):!1),a}var _be=10,xbe=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Ql).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new wbe(this.componentFactory,e,this.inputMap)}},wbe=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new nf(1));o(this,"events",this.eventEmitters.pipe(gr(e=>ba(...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(vr),this.cdScheduler=t.get(ys),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=hbe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},_be))})}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),rge(this.componentRef.hostView)&&(oge(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ut.create({providers:[],parent:this.injector}),n=bbe(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 Tt(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()}},Ebe=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function kbe(e,t){let n=vbe(e,t.injector),a=t.strategyFactory||new xbe(e,t.injector),i=gbe(n);class r extends Ebe{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[v,g]=i[c];this.ngElementStrategy.setInputValue(v,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 cm=new Y("MAT_DATE_LOCALE",{providedIn:"root",factory:Cbe});function Cbe(){return _(Lu)}var Co="Method not implemented",Ia=class{constructor(){o(this,"locale");o(this,"_localeChanges",new me);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,a){throw new Error(Co)}getHours(e){throw new Error(Co)}getMinutes(e){throw new Error(Co)}getSeconds(e){throw new Error(Co)}parseTime(e,t){throw new Error(Co)}addSeconds(e,t){throw new Error(Co)}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}},fo=new Y("mat-date-formats"),it=new Y(""),Jw=null;function nl(){return Jw}function Sbe(e){Jw??(Jw=e)}var Dbe=class{},eE=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:()=>_(Ibe),providedIn:"platform"}));let e=t;return e})(),Ibe=(()=>{const t=class t extends eE{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",_(it));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nl().getBaseHref(this._doc)}onPopState(i){let r=nl().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=nl().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",Z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function tE(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Vv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Hr(e){return e&&e[0]!=="?"?`?${e}`:e}var lg=(()=>{const t=class t{historyGo(a){throw new Error("")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:()=>_(Obe),providedIn:"root"}));let e=t;return e})(),Tbe=new Y(""),Obe=(()=>{const t=class t extends lg{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=_(it).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 tE(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Hr(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${r}${s}`:r}pushState(i,r,s,l){let c=this.prepareExternalUrl(s+Hr(l));this._platformLocation.pushState(i,r,c)}replaceState(i,r,s,l){let c=this.prepareExternalUrl(s+Hr(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)(Ce(eE),Ce(Tbe,8))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),aE=(()=>{const t=class t{constructor(a){o(this,"_subject",new me);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=a;let i=this._locationStrategy.getBaseHref();this._basePath=Mbe(Vv(zv(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+Hr(i))}normalize(a){return t.stripTrailingSlash(Rbe(this._basePath,zv(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+Hr(i)),r)}replaceState(a,i="",r=null){this._locationStrategy.replaceState(r,"",a,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Hr(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",Hr),o(t,"joinWithSlash",tE),o(t,"stripTrailingSlash",Vv),o(t,"ɵfac",function(a){return new(a||t)(Ce(lg))}),o(t,"ɵprov",Z({token:t,factory:()=>Abe(),providedIn:"root"}));let e=t;return e})();function Abe(){return new aE(Ce(lg))}function Rbe(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function zv(e){return e.replace(/\/index.html$/,"")}function Mbe(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Xa=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Xa||{}),St=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(St||{}),fi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(fi||{}),Vu={MinusSign:5};function Pbe(e){return Zi(e)[_a.LocaleId]}function Nbe(e,t,n){let a=Zi(e),i=[a[_a.DayPeriodsFormat],a[_a.DayPeriodsStandalone]],r=Li(i,t);return Li(r,n)}function Lbe(e,t,n){let a=Zi(e),i=[a[_a.DaysFormat],a[_a.DaysStandalone]],r=Li(i,t);return Li(r,n)}function Fbe(e,t,n){let a=Zi(e),i=[a[_a.MonthsFormat],a[_a.MonthsStandalone]],r=Li(i,t);return Li(r,n)}function Vbe(e,t){let n=Zi(e)[_a.Eras];return Li(n,t)}function Ic(e,t){let n=Zi(e);return Li(n[_a.DateFormat],t)}function Tc(e,t){let n=Zi(e);return Li(n[_a.TimeFormat],t)}function Oc(e,t){let n=Zi(e)[_a.DateTimeFormat];return Li(n,t)}function zu(e,t){return Zi(e)[_a.NumberSymbols][t]}function iE(e){if(!e[_a.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[_a.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function zbe(e){let t=Zi(e);return iE(t),(t[_a.ExtraData][2]||[]).map(n=>typeof n=="string"?Ah(n):[Ah(n[0]),Ah(n[1])])}function Bbe(e,t,n){let a=Zi(e);iE(a);let i=[a[_a.ExtraData][0],a[_a.ExtraData][1]],r=Li(i,t)||[];return Li(r,n)||[]}function Li(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 Ah(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var jbe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,So={},Hbe=/((?:[^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 Ube(e,t,n,a){let i=Xbe(e);t=Mn(n,t)||t;let r=[],s;for(;t;)if(s=Hbe.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=rE(a,l),i=Qbe(i,a));let c="";return r.forEach(d=>{let u=Zbe(d);c+=u?u(i,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Vd(e,t,n){let a=new Date(0);return a.setFullYear(e,t,n),a.setHours(0,0,0),a}function Mn(e,t){let n=Pbe(e);if(So[n]??(So[n]={}),So[n][t])return So[n][t];let a="";switch(t){case"shortDate":a=Ic(e,fi.Short);break;case"mediumDate":a=Ic(e,fi.Medium);break;case"longDate":a=Ic(e,fi.Long);break;case"fullDate":a=Ic(e,fi.Full);break;case"shortTime":a=Tc(e,fi.Short);break;case"mediumTime":a=Tc(e,fi.Medium);break;case"longTime":a=Tc(e,fi.Long);break;case"fullTime":a=Tc(e,fi.Full);break;case"short":let i=Mn(e,"shortTime"),r=Mn(e,"shortDate");a=Ac(Oc(e,fi.Short),[i,r]);break;case"medium":let s=Mn(e,"mediumTime"),l=Mn(e,"mediumDate");a=Ac(Oc(e,fi.Medium),[s,l]);break;case"long":let c=Mn(e,"longTime"),d=Mn(e,"longDate");a=Ac(Oc(e,fi.Long),[c,d]);break;case"full":let u=Mn(e,"fullTime"),p=Mn(e,"fullDate");a=Ac(Oc(e,fi.Full),[u,p]);break}return a&&(So[n][t]=a),a}function Ac(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,a){return t!=null&&a in t?t[a]:n})),e}function Wi(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 Wbe(e,t){return Wi(e,3).substring(0,t)}function fa(e,t,n=0,a=!1,i=!1){return function(r,s){let l=qbe(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return Wbe(l,t);let c=zu(s,Vu.MinusSign);return Wi(l,t,c,a,i)}}function qbe(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 At(e,t,n=Xa.Format,a=!1){return function(i,r){return Gbe(i,r,e,t,n,a)}}function Gbe(e,t,n,a,i,r){switch(n){case 2:return Fbe(t,i,a)[e.getMonth()];case 1:return Lbe(t,i,a)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=zbe(t),u=Bbe(t,i,a),p=d.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,E=s>=g.hours&&l>=g.minutes,S=s<w.hours||s===w.hours&&l<w.minutes;if(g.hours<w.hours){if(E&&S)return!0}else if(E||S)return!0}else if(v.hours===s&&v.minutes===l)return!0;return!1});if(p!==-1)return u[p]}return Nbe(t,i,a)[s<12?0:1];case 3:return Vbe(t,a)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Rc(e){return function(t,n,a){let i=-1*a,r=zu(n,Vu.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+Wi(s,2,r)+Wi(Math.abs(i%60),2,r);case 1:return"GMT"+(i>=0?"+":"")+Wi(s,1,r);case 2:return"GMT"+(i>=0?"+":"")+Wi(s,2,r)+":"+Wi(Math.abs(i%60),2,r);case 3:return a===0?"Z":(i>=0?"+":"")+Wi(s,2,r)+":"+Wi(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var $be=0,ud=4;function Ybe(e){let t=Vd(e,$be,1).getDay();return Vd(e,0,1+(t<=ud?ud:ud+7)-t)}function nE(e){let t=e.getDay(),n=t===0?-3:ud-t;return Vd(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Rh(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=nE(n),s=Ybe(r.getFullYear()),l=r.getTime()-s.getTime();i=1+Math.round(l/6048e5)}return Wi(i,e,zu(a,Vu.MinusSign))}}function Mc(e,t=!1){return function(n,a){let i=nE(n).getFullYear();return Wi(i,e,zu(a,Vu.MinusSign),t)}}var Mh={};function Zbe(e){if(Mh[e])return Mh[e];let t;switch(e){case"G":case"GG":case"GGG":t=At(3,St.Abbreviated);break;case"GGGG":t=At(3,St.Wide);break;case"GGGGG":t=At(3,St.Narrow);break;case"y":t=fa(0,1,0,!1,!0);break;case"yy":t=fa(0,2,0,!0,!0);break;case"yyy":t=fa(0,3,0,!1,!0);break;case"yyyy":t=fa(0,4,0,!1,!0);break;case"Y":t=Mc(1);break;case"YY":t=Mc(2,!0);break;case"YYY":t=Mc(3);break;case"YYYY":t=Mc(4);break;case"M":case"L":t=fa(1,1,1);break;case"MM":case"LL":t=fa(1,2,1);break;case"MMM":t=At(2,St.Abbreviated);break;case"MMMM":t=At(2,St.Wide);break;case"MMMMM":t=At(2,St.Narrow);break;case"LLL":t=At(2,St.Abbreviated,Xa.Standalone);break;case"LLLL":t=At(2,St.Wide,Xa.Standalone);break;case"LLLLL":t=At(2,St.Narrow,Xa.Standalone);break;case"w":t=Rh(1);break;case"ww":t=Rh(2);break;case"W":t=Rh(1,!0);break;case"d":t=fa(2,1);break;case"dd":t=fa(2,2);break;case"c":case"cc":t=fa(7,1);break;case"ccc":t=At(1,St.Abbreviated,Xa.Standalone);break;case"cccc":t=At(1,St.Wide,Xa.Standalone);break;case"ccccc":t=At(1,St.Narrow,Xa.Standalone);break;case"cccccc":t=At(1,St.Short,Xa.Standalone);break;case"E":case"EE":case"EEE":t=At(1,St.Abbreviated);break;case"EEEE":t=At(1,St.Wide);break;case"EEEEE":t=At(1,St.Narrow);break;case"EEEEEE":t=At(1,St.Short);break;case"a":case"aa":case"aaa":t=At(0,St.Abbreviated);break;case"aaaa":t=At(0,St.Wide);break;case"aaaaa":t=At(0,St.Narrow);break;case"b":case"bb":case"bbb":t=At(0,St.Abbreviated,Xa.Standalone,!0);break;case"bbbb":t=At(0,St.Wide,Xa.Standalone,!0);break;case"bbbbb":t=At(0,St.Narrow,Xa.Standalone,!0);break;case"B":case"BB":case"BBB":t=At(0,St.Abbreviated,Xa.Format,!0);break;case"BBBB":t=At(0,St.Wide,Xa.Format,!0);break;case"BBBBB":t=At(0,St.Narrow,Xa.Format,!0);break;case"h":t=fa(3,1,-12);break;case"hh":t=fa(3,2,-12);break;case"H":t=fa(3,1);break;case"HH":t=fa(3,2);break;case"m":t=fa(4,1);break;case"mm":t=fa(4,2);break;case"s":t=fa(5,1);break;case"ss":t=fa(5,2);break;case"S":t=fa(6,1);break;case"SS":t=fa(6,2);break;case"SSS":t=fa(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Rc(0);break;case"ZZZZZ":t=Rc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Rc(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Rc(2);break;default:return null}return Mh[e]=t,t}function rE(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Kbe(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Qbe(e,t,n){let a=e.getTimezoneOffset(),i=rE(t,a);return Kbe(e,-1*(i-a))}function Xbe(e){if(Bv(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 Vd(i,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let a;if(a=e.match(jbe))return Jbe(a)}let t=new Date(e);if(!Bv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Jbe(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 Bv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ph=/\s+/,jv=[],Ss=(()=>{const t=class t{constructor(a,i){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",jv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=a,this._renderer=i}set klass(a){this.initialClasses=a!=null?a.trim().split(Ph):jv}set ngClass(a){this.rawClass=typeof a=="string"?a.trim().split(Ph):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(Ph).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)(aa(Oe),aa(ri))}),o(t,"ɵdir",de({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),oE=(()=>{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:lr.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)(aa(Oe),aa(Kw),aa(ri))}),o(t,"ɵdir",de({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),cg=(()=>{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)(aa(oi))}),o(t,"ɵdir",de({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Yt]}));let e=t;return e})();function eye(e,t){return new ae(2100,!1)}var tye="mediumDate",aye=new Y(""),iye=new Y(""),Ds=(()=>{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)??tye,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return Ube(a,d,s||this.locale,u)}catch(d){throw eye(t,d.message)}}};o(t,"ɵfac",function(a){return new(a||t)(aa(Lu,16),aa(aye,24),aa(iye,24))}),o(t,"ɵpipe",na({name:"date",type:t,pure:!0}));let e=t;return e})(),dg=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})();function sE(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 lE="browser",nye="server";function rye(e){return e===lE}function cE(e){return e===nye}var dE=class{};function Bu(e,t,n){return fve(e,t,n)}function uE(e){return e.buttons===0||e.detail===0}function hE(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 Nh;function oye(){if(Nh==null){let e=typeof document<"u"?document.head:null;Nh=!!(e&&(e.createShadowRoot||e.attachShadow))}return Nh}function sye(e){if(oye()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Wo(){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 dn(e){return e.composedPath?e.composedPath()[0]:e.target}function Oa(e,t,n,a,i){let r=parseInt(Rv.major),s=parseInt(Rv.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 dm;try{dm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{dm=!1}var Zt=(()=>{const t=class t{constructor(){o(this,"_platformId",_(Su));o(this,"isBrowser",this._platformId?rye(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||dm)&&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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),zs;function lye(){if(zs==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>zs=!0}))}finally{zs=zs||!1}return zs}function ug(e){return lye()?e:!!e.capture}function um(e,t=0){return pE(e)?Number(e):arguments.length===2?t:0}function pE(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Hn(e){return e instanceof Oe?e.nativeElement:e}var cye=new Y("cdk-input-modality-detector-options"),dye={ignoreKeys:[18,17,224,91,16]},mE=650,Lh={passive:!0,capture:!0},uye=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new Gr(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=dn(a))});o(this,"_onMousedown",a=>{Date.now()-this._lastTouchMs<mE||(this._modality.next(uE(a)?"keyboard":"mouse"),this._mostRecentTarget=dn(a))});o(this,"_onTouchstart",a=>{if(hE(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=dn(a)});let a=_(Ne),i=_(it),r=_(cye,{optional:!0});if(this._options=pe(pe({},dye),r),this.modalityDetected=this._modality.pipe(lf(1)),this.modalityChanged=this.modalityDetected.pipe(ghe()),this._platform.isBrowser){let s=_(Fi).createRenderer(null,null);this._listenerCleanups=a.runOutsideAngular(()=>[Oa(s,i,"keydown",this._onKeydown,Lh),Oa(s,i,"mousedown",this._onMousedown,Lh),Oa(s,i,"touchstart",this._onTouchstart,Lh)])}}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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hd=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(hd||{}),hye=new Y("cdk-focus-monitor-default-options"),Pc=ug({passive:!0,capture:!0}),go=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Zt));o(this,"_inputModalityDetector",_(uye));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",_(it,{optional:!0}));o(this,"_stopInputModalityDetector",new me);o(this,"_rootNodeFocusAndBlurListener",a=>{let i=dn(a);for(let r=i;r;r=r.parentElement)a.type==="focus"?this._onFocus(a,r):this._onBlur(a,r)});let a=_(hye,{optional:!0});this._detectionMode=(a==null?void 0:a.detectionMode)||hd.IMMEDIATE}monitor(a,i=!1){let r=Hn(a);if(!this._platform.isBrowser||r.nodeType!==1)return vt();let s=sye(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return i&&(l.checkChildren=!0),l.subject;let c={checkChildren:i,subject:new me,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(a){let i=Hn(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=Hn(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===hd.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===hd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?mE:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(a,i){let r=this._elementInfo.get(i),s=dn(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,Pc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pc)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ht(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,Pc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pc),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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hg=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_focusMonitor",_(go));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new ie)}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",de({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),Nc=new WeakMap,Ma=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",_(ut));o(this,"_environmentInjector",_(hn))}load(a){let i=this._appRef=this._appRef||this._injector.get(vr),r=Nc.get(i);r||(r={loaders:new Set,refs:[]},Nc.set(i,r),i.onDestroy(()=>{var s;(s=Nc.get(i))==null||s.refs.forEach(l=>l.destroy()),Nc.delete(i)})),r.loaders.has(a)||(r.loaders.add(a),r.refs.push(Xw(a,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vo=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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 zd(e){return Array.isArray(e)?e:[e]}var Hv=new Set,Or,pye=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_nonce",_(Pf,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fye}matchMedia(a){return(this._platform.WEBKIT||this._platform.BLINK)&&mye(a,this._nonce),this._matchMedia(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function mye(e,t){if(!Hv.has(e))try{Or||(Or=document.createElement("style"),t&&Or.setAttribute("nonce",t),Or.setAttribute("type","text/css"),document.head.appendChild(Or)),Or.sheet&&(Or.sheet.insertRule(`@media ${e} {body{ }}`,0),Hv.add(e))}catch(n){console.error(n)}}function fye(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var fE=(()=>{const t=class t{constructor(){o(this,"_mediaMatcher",_(pye));o(this,"_zone",_(Ne));o(this,"_queries",new Map);o(this,"_destroySubject",new me)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(a){return Uv(zd(a)).some(i=>this._registerQuery(i).mql.matches)}observe(a){let i=Uv(zd(a)).map(s=>this._registerQuery(s).observable),r=id(i);return r=hl(r.pipe(ei(1)),r.pipe(lf(1),pu(0))),r.pipe(Dt(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 Tt(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Aa(i),Dt(({matches:s})=>({query:a,matches:s})),Ht(this._destroySubject)),mql:i};return this._queries.set(a,r),r}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Uv(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function gye(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 gE=(()=>{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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vye=(()=>{const t=class t{constructor(){o(this,"_mutationObserverFactory",_(gE));o(this,"_observedElements",new Map);o(this,"_ngZone",_(Ne))}ngOnDestroy(){this._observedElements.forEach((a,i)=>this._cleanupObserver(i))}observe(a){let i=Hn(a);return new Tt(r=>{let s=this._observeElement(i).pipe(Dt(l=>l.filter(c=>!gye(c))),la(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 me,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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bye=(()=>{const t=class t{constructor(){o(this,"_contentObserver",_(vye));o(this,"_elementRef",_(Oe));o(this,"event",new ie);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=um(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(pu(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",de({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",fe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}));let e=t;return e})(),vE=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[gE]}));let e=t;return e})(),bE=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt))}isDisabled(a){return a.hasAttribute("disabled")}isVisible(a){return _ye(a)&&getComputedStyle(a).visibility==="visible"}isTabbable(a){if(!this._platform.isBrowser)return!1;let i=yye(Iye(a));if(i&&(Wv(i)===-1||!this.isVisible(i)))return!1;let r=a.nodeName.toLowerCase(),s=Wv(a);return a.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Sye(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 Dye(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function yye(e){try{return e.frameElement}catch{return null}}function _ye(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function xye(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function wye(e){return kye(e)&&e.type=="hidden"}function Eye(e){return Cye(e)&&e.hasAttribute("href")}function kye(e){return e.nodeName.toLowerCase()=="input"}function Cye(e){return e.nodeName.toLowerCase()=="a"}function yE(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Wv(e){if(!yE(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Sye(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function Dye(e){return wye(e)?!1:xye(e)||Eye(e)||e.hasAttribute("contenteditable")||yE(e)}function Iye(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Tye=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?qn(e,{injector:this._injector}):setTimeout(e)}},_E=(()=>{const t=class t{constructor(){o(this,"_checker",_(bE));o(this,"_ngZone",_(Ne));o(this,"_document",_(it));o(this,"_injector",_(ut));_(Ma).load(vo)}create(a,i=!1){return new Tye(a,this._checker,this._ngZone,this._document,i,this._injector)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Oye=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_focusTrapFactory",_(_E));o(this,"focusTrap");o(this,"_previouslyFocusedElement",null);o(this,"autoCapture");_(Zt).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=Wo(),(a=this.focusTrap)==null||a.focusInitialElementWhenReady()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",fe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",fe]},exportAs:["cdkTrapFocus"],features:[Yt]}));let e=t;return e})(),Aye=new Y("liveAnnouncerElement",{providedIn:"root",factory:Rye});function Rye(){return null}var Mye=new Y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Pye=0,xE=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_defaultOptions",_(Mye,{optional:!0}));o(this,"_liveElement");o(this,"_document",_(it));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let a=_(Aye,{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-${Pye++}`,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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lr=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}(Lr||{}),qv="cdk-high-contrast-black-on-white",Gv="cdk-high-contrast-white-on-black",Fh="cdk-high-contrast-active",wE=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_hasCheckedHighContrastMode");o(this,"_document",_(it));o(this,"_breakpointSubscription");this._breakpointSubscription=_(fE).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Lr.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 Lr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Lr.BLACK_ON_WHITE}return Lr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let a=this._document.body.classList;a.remove(Fh,qv,Gv),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Lr.BLACK_ON_WHITE?a.add(Fh,qv):i===Lr.WHITE_ON_BLACK&&a.add(Fh,Gv)}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),EE=(()=>{const t=class t{constructor(){_(wE)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[vE]}));let e=t;return e})(),Vh={},ha=(()=>{const t=class t{constructor(){o(this,"_appId",_(Cu))}getId(a){return this._appId!=="ng"&&(a+=this._appId),Vh.hasOwnProperty(a)||(Vh[a]=0),`${a}${Vh[a]++}`}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Nye=200,Lye=class{constructor(e,t){o(this,"_letterKeyStream",new me);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new me);o(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:Nye;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(nd(t=>this._pressedLetters.push(t)),pu(e),la(()=>this._pressedLetters.length>0),Dt(()=>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 Wa(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var kE=class{constructor(e,t){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",ai(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",Ye.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 me);o(this,"change",new me);this._items=e,e instanceof ts?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):vl(e)&&(this._effectRef=Fu(()=>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 Lye(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||Wa(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 vl(this._items)?this._items():this._items instanceof ts?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))}}},Fye=class extends kE{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},pg=class extends kE{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)}},CE=" ";function SE(e,t,n){let a=Bd(e,t);n=n.trim(),!a.some(i=>i.trim()===n)&&(a.push(n),e.setAttribute(t,a.join(CE)))}function hm(e,t,n){let a=Bd(e,t);n=n.trim();let i=a.filter(r=>r!==n);i.length?e.setAttribute(t,i.join(CE)):e.removeAttribute(t)}function Bd(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var DE="cdk-describedby-message",Lc="cdk-describedby-host",pm=0,Vye=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_document",_(it));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${pm++}`);_(Ma).load(vo),this._id=_(Cu)+"-"+pm++}describe(a,i,r){if(!this._canBeDescribed(a,i))return;let s=zh(i,r);typeof i!="string"?($v(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=zh(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(`[${Lc}="${this._id}"]`);for(let r=0;r<a.length;r++)this._removeCdkDescribedByReferenceIds(a[r]),a[r].removeAttribute(Lc);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(a,i){let r=this._document.createElement("div");$v(r,this._id),r.textContent=a,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(zh(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=Bd(a,"aria-describedby").filter(r=>r.indexOf(DE)!=0);a.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(a,i){let r=this._messageRegistry.get(i);SE(a,"aria-describedby",r.messageElement.id),a.setAttribute(Lc,this._id),r.referenceCount++}_removeMessageReference(a,i){let r=this._messageRegistry.get(i);r.referenceCount--,hm(a,"aria-describedby",r.messageElement.id),a.removeAttribute(Lc)}_isElementDescribedByMessage(a,i){let r=Bd(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function zh(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function $v(e,t){e.id||(e.id=`${DE}-${t}-${pm++}`)}var zye=new Y("cdk-dir-doc",{providedIn:"root",factory:Bye});function Bye(){return _(it)}var jye=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Hye(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?jye.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var La=(()=>{const t=class t{constructor(){o(this,"value","ltr");o(this,"change",new ie);let a=_(zye,{optional:!0});if(a){let i=a.body?a.body.dir:null,r=a.documentElement?a.documentElement.dir:null;this.value=Hye(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),El=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})();function qo(e){return e!=null&&`${e}`!="false"}function ga(e){return e==null?"":typeof e=="string"?e:`${e}px`}function Uye(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 Yv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var nn=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(nn||{}),Fc,Ar;function IE(){if(Ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ar=!1,Ar;if("scrollBehavior"in document.documentElement.style)Ar=!0;else{let e=Element.prototype.scrollTo;e?Ar=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ar=!1}}return Ar}function Bs(){if(typeof document!="object"||!document)return nn.NORMAL;if(Fc==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),Fc=nn.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Fc=e.scrollLeft===0?nn.NEGATED:nn.INVERTED),e.remove()}return Fc}var Wye=class{};function Bh(e){return e&&typeof e.connect=="function"&&!(e instanceof Rue)}var rl=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(rl||{}),mm=new Y("_ViewRepeater"),qye=20,TE=(()=>{const t=class t{constructor(){o(this,"_ngZone",_(Ne));o(this,"_platform",_(Zt));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_cleanupGlobalListener");o(this,"_scrolled",new me);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=qye){return this._platform.isBrowser?new Tt(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=a>0?this._scrolled.pipe(K_(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)}}):vt()}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(la(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=Hn(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),OE=(()=>{const t=class t{constructor(){o(this,"elementRef",_(Oe));o(this,"scrollDispatcher",_(TE));o(this,"ngZone",_(Ne));o(this,"dir",_(La,{optional:!0}));o(this,"_scrollElement",this.elementRef.nativeElement);o(this,"_destroyed",new me);o(this,"_renderer",_(ri));o(this,"_cleanupScroll");o(this,"_elementScrolled",new me)}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&&Bs()!=nn.NORMAL?(a.left!=null&&(a.right=i.scrollWidth-i.clientWidth-a.left),Bs()==nn.INVERTED?a.left=a.right:Bs()==nn.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;IE()?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&&Bs()==nn.INVERTED?a==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:l&&Bs()==nn.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",de({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),Gye=20,Xl=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_listeners");o(this,"_viewportSize");o(this,"_change",new me);o(this,"_document",_(it,{optional:!0}));let a=_(Ne),i=_(Fi).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=Gye){return a>0?this._change.pipe(K_(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),jd=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})(),fm=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[El,jd,El,jd]}));let e=t;return e})(),mg=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}},ro=class extends mg{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}},bo=class extends mg{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()}},$ye=class extends mg{constructor(t){super();o(this,"element");this.element=t instanceof Oe?t.nativeElement:t}},ju=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 ro)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof bo)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof $ye)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)}},Yye=class extends ju{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(_l,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||ut.NULL,r=i.get(hn,a.injector);n=Xw(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]}},Zye=(()=>{const t=class t extends bo{constructor(){let a=_(ya),i=_(oi);super(a,i)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ze]}));let e=t;return e})(),bn=(()=>{const t=class t extends ju{constructor(){super();o(this,"_moduleRef",_(_l,{optional:!0}));o(this,"_document",_(it));o(this,"_viewContainerRef",_(oi));o(this,"_isInitialized",!1);o(this,"_attachedRef");o(this,"attached",new ie);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",de({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ze]}));let e=t;return e})(),rs=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})(),Zv=IE(),Kye=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=ga(-this._previousScrollPosition.left),e.style.top=ga(-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"),Zv&&(n.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Zv&&(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}},Qye=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(la(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}},AE=class{enable(){}disable(){}attach(){}};function gm(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 Kv(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 Xye=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();gm(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}},Jye=(()=>{const t=class t{constructor(){o(this,"_scrollDispatcher",_(TE));o(this,"_viewportRuler",_(Xl));o(this,"_ngZone",_(Ne));o(this,"_document",_(it));o(this,"noop",()=>new AE);o(this,"close",a=>new Qye(this._scrollDispatcher,this._ngZone,this._viewportRuler,a));o(this,"block",()=>new Kye(this._viewportRuler,this._document));o(this,"reposition",a=>new Xye(this._scrollDispatcher,this._viewportRuler,this._ngZone,a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Jl=class{constructor(e){o(this,"positionStrategy");o(this,"scrollStrategy",new AE);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])}}},e_e=class{constructor(e,t){o(this,"connectionPair");o(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},RE=(()=>{const t=class t{constructor(){o(this,"_attachedOverlays",[]);o(this,"_document",_(it));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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),t_e=(()=>{const t=class t extends RE{constructor(){super(...arguments);o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Fi).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=tt(t)))(r||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),a_e=(()=>{const t=class t extends RE{constructor(){super(...arguments);o(this,"_platform",_(Zt));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_cursorOriginalValue");o(this,"_cursorStyleIsSet",!1);o(this,"_pointerDownEventTarget");o(this,"_cleanups");o(this,"_pointerDownListener",i=>{this._pointerDownEventTarget=dn(i)});o(this,"_clickListener",i=>{let r=dn(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(Qv(d.overlayElement,r)||Qv(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(()=>[Oa(this._renderer,r,"pointerdown",this._pointerDownListener,s),Oa(this._renderer,r,"click",this._clickListener,s),Oa(this._renderer,r,"auxclick",this._clickListener,s),Oa(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=tt(t)))(r||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Qv(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 ME=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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})(),fg=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_containerElement");o(this,"_document",_(it));o(this,"_styleLoader",_(Ma))}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||Yv()){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),Yv()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(ME)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),i_e=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")})}},gg=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 me);o(this,"_attachments",new me);o(this,"_detachments",new me);o(this,"_positionStrategy");o(this,"_scrollStrategy");o(this,"_locationChanges",Ye.EMPTY);o(this,"_backdropRef",null);o(this,"_previousHostParent");o(this,"_keydownEvents",new me);o(this,"_outsidePointerEvents",new me);o(this,"_renders",new me);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=Nn(()=>Ff(()=>{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=qn(()=>{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=pe(pe({},this._config),e),this._updateElementSize()}setDirection(e){this._config=dt(pe({},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=ga(this._config.width),e.height=ga(this._config.height),e.minWidth=ga(this._config.minWidth),e.minHeight=ga(this._config.minHeight),e.maxWidth=ga(this._config.maxWidth),e.maxHeight=ga(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 i_e(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=zd(t||[]).filter(i=>!!i);a.length&&(n?e.classList.add(...a):e.classList.remove(...a))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Ht(ba(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)}},Xv="cdk-overlay-connected-position-bounding-box",n_e=/([A-Za-z%]+)$/,PE=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 me);o(this,"_resizeSubscription",Ye.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(Xv),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&&Rr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xv),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=eb(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,v=s+i.height-n.height,g=this._subtractOverflows(i.width,d,u),w=this._subtractOverflows(i.height,p,v),E=g*w;return{visibleArea:E,isCompletelyWithinViewport:i.width*i.height===E,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=Jv(this._overlayRef.getConfig().minHeight),s=Jv(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=eb(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||!r_e(this._lastScrollVisibility,n)){let a=new e_e(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 v=Math.min(n.bottom-e.y+n.top,e.y),g=this._lastBoundingBoxSize.height;i=v*2,r=e.y-v,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 v=Math.min(n.right-e.x+n.left,e.x),g=this._lastBoundingBoxSize.width;d=v*2,u=e.x-v,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=ga(n.height),a.top=ga(n.top),a.bottom=ga(n.bottom),a.width=ga(n.width),a.left=ga(n.left),a.right=ga(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=ga(i)),r&&(a.maxWidth=ga(r))}this._lastBoundingBoxSize=n,Rr(this._boundingBox.style,a)}_resetBoundingBoxStyles(){Rr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rr(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();Rr(n,this._getExactOverlayY(t,e,d)),Rr(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=ga(r.maxHeight):i&&(n.maxHeight="")),r.maxWidth&&(a?n.maxWidth=ga(r.maxWidth):i&&(n.maxWidth="")),Rr(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=ga(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=ga(i.x);return a}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Kv(e,n),isOriginOutsideView:gm(e,n),isOverlayClipped:Kv(t,n),isOverlayOutsideView:gm(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&&zd(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 Oe)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 Rr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Jv(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(n_e);return!n||n==="px"?parseFloat(t):null}return e||null}function eb(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 r_e(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var tb="cdk-global-overlay-wrapper",o_e=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(tb),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",v="",g="",w="";l?w="flex-start":d==="center"?(w="center",p?g=u:v=u):p?d==="left"||d==="end"?(w="flex-end",v=u):(d==="right"||d==="start")&&(w="flex-start",g=u):d==="left"||d==="start"?(w="flex-start",v=u):(d==="right"||d==="end")&&(w="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":v,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(tb),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},s_e=(()=>{const t=class t{constructor(){o(this,"_viewportRuler",_(Xl));o(this,"_document",_(it));o(this,"_platform",_(Zt));o(this,"_overlayContainer",_(fg))}global(){return new o_e}flexibleConnectedTo(a){return new PE(a,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),mi=(()=>{const t=class t{constructor(){o(this,"scrollStrategies",_(Jye));o(this,"_overlayContainer",_(fg));o(this,"_positionBuilder",_(s_e));o(this,"_keyboardDispatcher",_(t_e));o(this,"_injector",_(ut));o(this,"_ngZone",_(Ne));o(this,"_document",_(it));o(this,"_directionality",_(La));o(this,"_location",_(aE));o(this,"_outsideClickDispatcher",_(a_e));o(this,"_animationsModuleType",_(Ra,{optional:!0}));o(this,"_idGenerator",_(ha));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_appRef");o(this,"_styleLoader",_(Ma))}create(a){this._styleLoader.load(ME);let i=this._createHostElement(),r=this._createPaneElement(i),s=this._createPortalOutlet(r),l=new Jl(a);return l.direction=l.direction||this._directionality.value,new gg(s,i,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(hn),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(vr)),new Yye(a,null,this._appRef,this._injector,this._document)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),l_e=[{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"}],NE=new Y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(mi);return()=>e.scrollStrategies.reposition()}}),Hd=(()=>{const t=class t{constructor(){o(this,"elementRef",_(Oe))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}));let e=t;return e})(),ab=(()=>{const t=class t{constructor(){o(this,"_overlay",_(mi));o(this,"_dir",_(La,{optional:!0}));o(this,"_overlayRef");o(this,"_templatePortal");o(this,"_backdropSubscription",Ye.EMPTY);o(this,"_attachSubscription",Ye.EMPTY);o(this,"_detachSubscription",Ye.EMPTY);o(this,"_positionSubscription",Ye.EMPTY);o(this,"_offsetX");o(this,"_offsetY");o(this,"_position");o(this,"_scrollStrategyFactory",_(NE));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 ie);o(this,"positionChange",new ie);o(this,"attach",new ie);o(this,"detach",new ie);o(this,"overlayKeydown",new ie);o(this,"overlayOutsideClick",new ie);let a=_(ya),i=_(oi);this._templatePortal=new bo(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=l_e);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&&!Wa(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),s=dn(i);(!r||r!==s&&!r.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let a=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Jl({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 Hd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Hd?this.origin.elementRef.nativeElement:this.origin instanceof Oe?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(yhe(()=>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",de({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",fe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",fe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",fe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",fe],push:[2,"cdkConnectedOverlayPush","push",fe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",fe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Yt]}));let e=t;return e})();function c_e(e){return()=>e.scrollStrategies.reposition()}var d_e={provide:NE,deps:[mi],useFactory:c_e},Hu=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[mi,d_e],imports:[El,rs,fm,fm]}));let e=t;return e})(),Do,ib=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function nb(){if(Do)return Do;if(typeof document!="object"||!document)return Do=new Set(ib),Do;let e=document.createElement("input");return Do=new Set(ib.filter(t=>(e.setAttribute("type",t),e.type===t))),Do}var Xn=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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})(),Ti=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}(Ti||{}),u_e=class{constructor(e,t,n,a=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",Ti.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=a}fadeOut(){this._renderer.fadeOutRipple(this)}},rb=ug({passive:!0,capture:!0}),h_e=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",e=>{var n;let t=dn(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,rb)})}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,rb)))}},Ud={enterDuration:225,exitDuration:150},p_e=800,ob=ug({passive:!0,capture:!0}),sb=["mousedown","touchstart"],lb=["mouseup","mouseleave","touchend","touchcancel"],m_e=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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})(),dr,LE=(dr=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=Hn(a)),r&&r.get(Ma).load(m_e)}fadeInRipple(t,n,a={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=pe(pe({},Ud),a.animation);a.centered&&(t=i.left+i.width/2,n=i.top+i.height/2);let s=a.radius||f_e(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),v=p.transitionProperty,g=p.transitionDuration,w=v==="none"||g==="0s"||g==="0s, 0s"||i.width===0&&i.height===0,E=new u_e(this,u,a,w);u.style.transform="scale3d(1, 1, 1)",E.state=Ti.FADING_IN,a.persistent||(this._mostRecentTransientRipple=E);let S=null;return!w&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let A=()=>{S&&(S.fallbackTimer=null),clearTimeout(j),this._finishRippleTransition(E)},B=()=>this._destroyRipple(E),j=setTimeout(B,d+100);u.addEventListener("transitionend",A),u.addEventListener("transitioncancel",B),S={onTransitionEnd:A,onTransitionCancel:B,fallbackTimer:j}}),this._activeRipples.set(E,S),(w||!d)&&this._finishRippleTransition(E),E}fadeOutRipple(t){if(t.state===Ti.FADING_OUT||t.state===Ti.HIDDEN)return;let n=t.element,a=pe(pe({},Ud),t.config.animation);n.style.transitionDuration=`${a.exitDuration}ms`,n.style.opacity="0",t.state=Ti.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=Hn(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,sb.forEach(a=>{dr._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(()=>{lb.forEach(n=>{this._triggerElement.addEventListener(n,this,ob)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Ti.FADING_IN?this._startFadeOutTransition(t):t.state===Ti.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:a}=t.config;t.state=Ti.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=Ti.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=uE(t),a=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+p_e;!this._target.rippleDisabled&&!n&&!a&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!hE(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===Ti.VISIBLE||t.config.terminateOnPointerUp&&t.state===Ti.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(sb.forEach(n=>dr._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(lb.forEach(n=>t.removeEventListener(n,this,ob)),this._pointerUpEventsRegistered=!1))}},o(dr,"_eventManager",new h_e),dr);function f_e(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 vg=new Y("mat-ripple-global-options"),Uu=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_animationMode",_(Ra,{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=_(Zt),r=_(vg,{optional:!0}),s=_(ut);this._globalOptions=r||{},this._rippleRenderer=new LE(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:pe(pe(pe({},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,pe(pe({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,pe(pe({},this.rippleConfig),a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,i){a&2&&we("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})(),g_e={capture:!0},v_e=["focus","mousedown","mouseenter","touchstart"],jh="mat-ripple-loader-uninitialized",Hh="mat-ripple-loader-class-name",cb="mat-ripple-loader-centered",Vc="mat-ripple-loader-disabled",FE=(()=>{const t=class t{constructor(){o(this,"_document",_(it));o(this,"_animationMode",_(Ra,{optional:!0}));o(this,"_globalRippleOptions",_(vg,{optional:!0}));o(this,"_platform",_(Zt));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ut));o(this,"_eventCleanups");o(this,"_hosts",new Map);o(this,"_onInteraction",a=>{var r;let i=dn(a);if(i instanceof HTMLElement){let s=i.closest(`[${jh}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);s&&this._createRipple(s)}});let a=_(Fi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>v_e.map(i=>Oa(a,this._document,i,this._onInteraction,g_e)))}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(jh,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(i.className||!a.hasAttribute(Hh))&&a.setAttribute(Hh,i.className||""),i.centered&&a.setAttribute(cb,""),i.disabled&&a.setAttribute(Vc,"")}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(Vc,""):a.removeAttribute(Vc)}_createRipple(a){var v,g,w;if(!this._document||this._hosts.has(a))return;(v=a.querySelector(".mat-ripple"))==null||v.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",a.getAttribute(Hh)),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)??Ud.enterDuration,c=r?0:((w=s==null?void 0:s.animation)==null?void 0:w.exitDuration)??Ud.exitDuration,d={rippleDisabled:r||(s==null?void 0:s.disabled)||a.hasAttribute(Vc),rippleConfig:{centered:a.hasAttribute(cb),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},u=new LE(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(jh)}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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),VE=["*"],b_e=`.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
|
+
`,y_e=`@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
|
+
`,__e=new Y("MAT_BUTTON_CONFIG"),x_e=[{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"]}],bg=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_ngZone",_(Ne));o(this,"_animationMode",_(Ra,{optional:!0}));o(this,"_focusMonitor",_(go));o(this,"_rippleLoader",_(FE));o(this,"_isFab",!1);o(this,"color");o(this,"_disableRipple",!1);o(this,"_disabled",!1);o(this,"ariaDisabled");o(this,"disabledInteractive");var s;_(Ma).load(Xn);let a=_(__e,{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 x_e)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",de({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",fe],disabled:[2,"disabled","disabled",fe],ariaDisabled:[2,"aria-disabled","ariaDisabled",fe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",fe]}}));let e=t;return e})(),zE=(()=>{const t=class t extends bg{constructor(){super(...arguments);o(this,"_renderer",_(ri));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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:vn(i)]},features:[ze]}));let e=t;return e})(),ec=(()=>{const t=class t extends bg{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,i){a&2&&(be("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Pi(i.color?"mat-"+i.color:""),we("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:VE,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&&(st(),H(0,"span",0),ke(1),H(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})(),w_e=(()=>{const t=class t extends zE{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({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()),Pi(i.color?"mat-"+i.color:""),we("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:VE,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&&(st(),H(0,"span",0),ke(1),H(2,"span",1)(3,"span",2))},styles:[b_e,y_e],encapsulation:2,changeDetection:0}));let e=t;return e})(),Vt=(()=>{const t=class t{constructor(){_(wE)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[El,El]}));let e=t;return e})(),yg=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Vt]}));let e=t;return e})(),BE=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],jE=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],E_e=`.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
|
+
`,k_e=`@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 bg{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({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()),Pi(i.color?"mat-"+i.color:""),we("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:jE,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&&(st(BE),H(0,"span",0),ke(1),D(2,"span",1),ke(3,1),T(),ke(4,2),H(5,"span",2)(6,"span",3)),a&2&&we("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})(),C_e=(()=>{const t=class t extends zE{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({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()),Pi(i.color?"mat-"+i.color:""),we("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:jE,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&&(st(BE),H(0,"span",0),ke(1),D(2,"span",1),ke(3,1),T(),ke(4,2),H(5,"span",2)(6,"span",3)),a&2&&we("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[E_e,k_e],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ka=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,yg,Vt]}));let e=t;return e})(),Wu=new Y("");function _g(e){return e==null||xg(e)===0}function xg(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var tc=new Y(""),HE=new Y(""),S_e=/^(?=.{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])?)*$/,Is=class{static min(e){return D_e(e)}static max(e){return I_e(e)}static required(e){return T_e(e)}static requiredTrue(e){return O_e(e)}static email(e){return A_e(e)}static minLength(e){return R_e(e)}static maxLength(e){return M_e(e)}static pattern(e){return P_e(e)}static nullValidator(e){return UE()}static compose(e){return ZE(e)}static composeAsync(e){return KE(e)}};function D_e(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 I_e(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 T_e(e){return _g(e.value)?{required:!0}:null}function O_e(e){return e.value===!0?null:{required:!0}}function A_e(e){return _g(e.value)||S_e.test(e.value)?null:{email:!0}}function R_e(e){return t=>{var a;let n=((a=t.value)==null?void 0:a.length)??xg(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function M_e(e){return t=>{var a;let n=((a=t.value)==null?void 0:a.length)??xg(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function P_e(e){if(!e)return UE;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(_g(a.value))return null;let i=a.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function UE(e){return null}function WE(e){return e!=null}function qE(e){return og(e)?wr(e):e}function GE(e){let t={};return e.forEach(n=>{t=n!=null?pe(pe({},t),n):t}),Object.keys(t).length===0?null:t}function $E(e,t){return t.map(n=>n(e))}function N_e(e){return!e.validate}function YE(e){return e.map(t=>N_e(t)?t:n=>t.validate(n))}function ZE(e){if(!e)return null;let t=e.filter(WE);return t.length==0?null:function(n){return GE($E(n,t))}}function wg(e){return e!=null?ZE(YE(e)):null}function KE(e){if(!e)return null;let t=e.filter(WE);return t.length==0?null:function(n){let a=$E(n,t).map(qE);return sf(a).pipe(Dt(GE))}}function Eg(e){return e!=null?KE(YE(e)):null}function db(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function QE(e){return e._rawValidators}function XE(e){return e._rawAsyncValidators}function vm(e){return e?Array.isArray(e)?e:[e]:[]}function Wd(e,t){return Array.isArray(e)?e.includes(t):e===t}function ub(e,t){let n=vm(t);return vm(e).forEach(a=>{Wd(n,a)||n.push(a)}),n}function hb(e,t){return vm(t).filter(n=>!Wd(e,n))}var JE=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=wg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Eg(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}},ac=class extends JE{constructor(){super(...arguments);o(this,"name")}get formDirective(){return null}get path(){return null}},kg=class extends JE{constructor(){super(...arguments);o(this,"_parent",null);o(this,"name",null);o(this,"valueAccessor",null)}},L_e={"[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"};dt(pe({},L_e),{"[class.ng-submitted]":"isSubmitted"});var js="VALID",zc="INVALID",Io="PENDING",Hs="DISABLED",Ts=class{},pb=class extends Ts{constructor(t,n){super();o(this,"value");o(this,"source");this.value=t,this.source=n}},Uh=class extends Ts{constructor(t,n){super();o(this,"pristine");o(this,"source");this.pristine=t,this.source=n}},Wh=class extends Ts{constructor(t,n){super();o(this,"touched");o(this,"source");this.touched=t,this.source=n}},Bc=class extends Ts{constructor(t,n){super();o(this,"status");o(this,"source");this.status=t,this.source=n}},ek=class extends Ts{constructor(t){super();o(this,"source");this.source=t}},tk=class extends Ts{constructor(t){super();o(this,"source");this.source=t}};function ak(e){return(qu(e)?e.validators:e)||null}function F_e(e){return Array.isArray(e)?wg(e):e||null}function ik(e,t){return(qu(t)?t.asyncValidators:e)||null}function V_e(e){return Array.isArray(e)?Eg(e):e||null}function qu(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function z_e(e,t,n){let a=e.controls;if(!Object.keys(a).length)throw new ae(1e3,"");if(!a[n])throw new ae(1001,"")}function B_e(e,t,n){e._forEachChild((a,i)=>{if(n[i]===void 0)throw new ae(1002,"")})}var nk=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",qt(()=>this.statusReactive()));o(this,"statusReactive",ai(void 0));o(this,"errors");o(this,"_pristine",qt(()=>this.pristineReactive()));o(this,"pristineReactive",ai(!0));o(this,"_touched",qt(()=>this.touchedReactive()));o(this,"touchedReactive",ai(!1));o(this,"_events",new me);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 Nn(this.statusReactive)}set status(e){Nn(()=>this.statusReactive.set(e))}get valid(){return this.status===js}get invalid(){return this.status===zc}get pending(){return this.status==Io}get disabled(){return this.status===Hs}get enabled(){return this.status!==Hs}get pristine(){return Nn(this.pristineReactive)}set pristine(e){Nn(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Nn(this.touchedReactive)}set touched(e){Nn(()=>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(ub(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ub(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(hb(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(hb(e,this._rawAsyncValidators))}hasValidator(e){return Wd(this._rawValidators,e)}hasAsyncValidator(e){return Wd(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(dt(pe({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Wh(!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 Wh(!1,n))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(dt(pe({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Uh(!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 Uh(!0,n))}markAsPending(e={}){this.status=Io;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Bc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(dt(pe({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Hs,this.errors=null,this._forEachChild(a=>{a.disable(dt(pe({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new pb(this.value,n)),this._events.next(new Bc(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(dt(pe({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(a=>a(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=js,this._forEachChild(n=>{n.enable(dt(pe({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(dt(pe({},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===js||this.status===Io)&&this._runAsyncValidator(n,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new pb(this.value,t)),this._events.next(new Bc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(dt(pe({},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()?Hs:js}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Io,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let n=qE(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 Bc(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new ie,this.statusChanges=new ie}_calculateStatus(){return this._allControlsDisabled()?Hs:this.errors?zc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Io)?Io:this._anyControlsHaveStatus(zc)?zc:js}_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 Uh(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new Wh(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){qu(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=F_e(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=V_e(this._rawAsyncValidators)}},mb=class extends nk{constructor(t,n,a){super(ak(n),ik(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={}){B_e(this,!0,t),Object.keys(t).forEach(a=>{z_e(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}},rk=new Y("",{providedIn:"root",factory:()=>ok}),ok="always";function bm(e,t,n=ok){var a,i;Cg(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&((i=(a=t.valueAccessor).setDisabledState)==null||i.call(a,e.disabled)),H_e(e,t),W_e(e,t),U_e(e,t),j_e(e,t)}function fb(e,t,n=!0){let a=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(a),t.valueAccessor.registerOnTouched(a)),Gd(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function qd(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function j_e(e,t){if(t.valueAccessor.setDisabledState){let n=a=>{t.valueAccessor.setDisabledState(a)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Cg(e,t){let n=QE(e);t.validator!==null?e.setValidators(db(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let a=XE(e);t.asyncValidator!==null?e.setAsyncValidators(db(a,t.asyncValidator)):typeof a=="function"&&e.setAsyncValidators([a]);let i=()=>e.updateValueAndValidity();qd(t._rawValidators,i),qd(t._rawAsyncValidators,i)}function Gd(e,t){let n=!1;if(e!==null){if(t.validator!==null){let i=QE(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=XE(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 qd(t._rawValidators,a),qd(t._rawAsyncValidators,a),n}function H_e(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&sk(e,t)})}function U_e(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&sk(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function sk(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function W_e(e,t){let n=(a,i)=>{t.valueAccessor.writeValue(a),i&&t.viewToModelUpdate(a)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function lk(e,t){Cg(e,t)}function q_e(e,t){return Gd(e,t)}function ck(e,t){e._syncPendingControls(),t.forEach(n=>{let a=n.control;a.updateOn==="submit"&&a._pendingChange&&(n.viewToModelUpdate(a._pendingValue),a._pendingChange=!1)})}function G_e(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var $_e={provide:ac,useExisting:co(()=>Gu)},Us=Promise.resolve(),Gu=(()=>{const t=class t extends ac{constructor(i,r,s){super();o(this,"callSetDisabledState");o(this,"_submitted",qt(()=>this.submittedReactive()));o(this,"submittedReactive",ai(!1));o(this,"_directives",new Set);o(this,"form");o(this,"ngSubmit",new ie);o(this,"options");this.callSetDisabledState=s,this.form=new mb({},wg(i),Eg(r))}get submitted(){return Nn(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){Us.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),bm(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){Us.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){Us.then(()=>{let r=this._findContainer(i.path),s=new mb({});lk(s,i),r.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){Us.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){Us.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){var r;return this.submittedReactive.set(!0),ck(this.form,this._directives),this.ngSubmit.emit(i),this.form._events.next(new ek(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 tk(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)(aa(tc,10),aa(HE,10),aa(rk,8))}),o(t,"ɵdir",de({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:[lt([$_e]),ze]}));let e=t;return e})();function gb(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function vb(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Y_e=class extends nk{constructor(t=null,n,a){super(ak(n),ik(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}),qu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(vb(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){gb(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){gb(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){vb(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}},Z_e=e=>e instanceof Y_e,K_e={provide:ac,useExisting:co(()=>$u)},$u=(()=>{const t=class t extends ac{constructor(i,r,s){super();o(this,"callSetDisabledState");o(this,"_submitted",qt(()=>this._submittedReactive()));o(this,"_submittedReactive",ai(!1));o(this,"_oldForm");o(this,"_onCollectionChange",()=>this._updateDomValue());o(this,"directives",[]);o(this,"form",null);o(this,"ngSubmit",new ie);this.callSetDisabledState=s,this._setValidators(i),this._setAsyncValidators(r)}get submitted(){return Nn(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&&(Gd(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 bm(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){fb(i.control||null,i,!1),G_e(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),ck(this.form,this.directives),this.ngSubmit.emit(i),this.form._events.next(new ek(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 tk(this.form))}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,s=this.form.get(i.path);r!==s&&(fb(r||null,i),Z_e(s)&&(bm(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);lk(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&q_e(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cg(this.form,this),this._oldForm&&Gd(this._oldForm,this)}};o(t,"ɵfac",function(i){return new(i||t)(aa(tc,10),aa(HE,10),aa(rk,8))}),o(t,"ɵdir",de({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:[lt([K_e]),ze,Yt]}));let e=t;return e})(),dk=new Y("MAT_INPUT_VALUE_ACCESSOR"),Q_e=class{constructor(e){o(this,"_box");o(this,"_destroyed",new me);o(this,"_resizeSubject",new me);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 Tt(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(la(t=>t.some(n=>n.target===e)),Tp({bufferSize:1,refCount:!0}),Ht(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},uk=(()=>{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 Q_e(r)),this._observers.get(r).observe(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),X_e=["notch"],J_e=["*"],e1e=["textField"],t1e=["iconPrefixContainer"],a1e=["textPrefixContainer"],i1e=["iconSuffixContainer"],n1e=["textSuffixContainer"],r1e=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],o1e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function s1e(e,t){e&1&&H(0,"span",20)}function l1e(e,t){if(e&1&&(D(0,"label",19),ke(1,1),V(2,s1e,1,0,"span",20),T()),e&2){let n=L(2);N("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),be("for",n._control.disableAutomaticLabeling?null:n._control.id),C(2),W(!n.hideRequiredMarker&&n._control.required?2:-1)}}function c1e(e,t){if(e&1&&V(0,l1e,3,5,"label",19),e&2){let n=L();W(n._hasFloatingLabel()?0:-1)}}function d1e(e,t){e&1&&H(0,"div",7)}function u1e(e,t){}function h1e(e,t){if(e&1&&V(0,u1e,0,0,"ng-template",13),e&2){L(2);let n=Ya(1);N("ngTemplateOutlet",n)}}function p1e(e,t){if(e&1&&(D(0,"div",9),V(1,h1e,1,1,null,13),T()),e&2){let n=L();N("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),C(),W(n._forceDisplayInfixLabel()?-1:1)}}function m1e(e,t){e&1&&(D(0,"div",10,2),ke(2,2),T())}function f1e(e,t){e&1&&(D(0,"div",11,3),ke(2,3),T())}function g1e(e,t){}function v1e(e,t){if(e&1&&V(0,g1e,0,0,"ng-template",13),e&2){L();let n=Ya(1);N("ngTemplateOutlet",n)}}function b1e(e,t){e&1&&(D(0,"div",14,4),ke(2,4),T())}function y1e(e,t){e&1&&(D(0,"div",15,5),ke(2,5),T())}function _1e(e,t){e&1&&H(0,"div",16)}function x1e(e,t){e&1&&ke(0,6)}function w1e(e,t){if(e&1&&(D(0,"mat-hint",21),F(1),T()),e&2){let n=L(2);N("id",n._hintLabelId),C(),Re(n.hintLabel)}}function E1e(e,t){if(e&1&&(V(0,w1e,2,2,"mat-hint",21),ke(1,7),H(2,"div",22),ke(3,8)),e&2){let n=L();W(n.hintLabel?0:-1)}}var bb=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["mat-label"]]}));let e=t;return e})(),k1e=new Y("MatError"),yb=(()=>{const t=class t{constructor(){o(this,"align","start");o(this,"id",_(ha).getId("mat-mdc-hint-"))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({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&&(xn("id",i.id),be("align",null),we("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"}}));let e=t;return e})(),C1e=new Y("MatPrefix"),S1e=new Y("MatSuffix"),hk=new Y("FloatingLabelParent"),_b=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_floating",!1);o(this,"_monitorResize",!1);o(this,"_resizeObserver",_(uk));o(this,"_ngZone",_(Ne));o(this,"_parent",_(hk));o(this,"_resizeSubscription",new Ye)}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 D1e(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",de({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,i){a&2&&we("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}));let e=t;return e})();function D1e(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 xb="mdc-line-ripple--active",jc="mdc-line-ripple--deactivating",wb=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_cleanupTransitionEnd");o(this,"_handleTransitionEnd",a=>{let i=this._elementRef.nativeElement.classList,r=i.contains(jc);a.propertyName==="opacity"&&r&&i.remove(xb,jc)});let a=_(Ne),i=_(ri);a.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let a=this._elementRef.nativeElement.classList;a.remove(jc),a.add(xb)}deactivate(){this._elementRef.nativeElement.classList.add(jc)}ngOnDestroy(){this._cleanupTransitionEnd()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}));let e=t;return e})(),Eb=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));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",X({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,i){if(a&1&&$e(X_e,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&&we("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:J_e,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&&(st(),H(0,"div",1),D(1,"div",2,0),ke(3),T(),H(4,"div",3))},encapsulation:2,changeDetection:0}));let e=t;return e})(),Yu=(()=>{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",de({type:t}));let e=t;return e})(),ic=new Y("MatFormField"),I1e=new Y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),kb="fill",T1e="auto",Cb="fixed",O1e="translateY(-50%)",pk=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_changeDetectorRef",_(kt));o(this,"_dir",_(La));o(this,"_platform",_(Zt));o(this,"_idGenerator",_(ha));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ut));o(this,"_defaults",_(I1e,{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",o0e(bb));o(this,"_hideRequiredMarker",!1);o(this,"color","primary");o(this,"_floatLabel");o(this,"_appearance",kb);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 me);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",qt(()=>this._hasFloatingLabel()?this._labelId:null));o(this,"_hasFloatingLabel",qt(()=>!!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=_(Ra,{optional:!0})==="NoopAnimations"}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(a){this._hideRequiredMarker=qo(a)}get floatLabel(){var a;return this._floatLabel||((a=this._defaults)==null?void 0:a.floatLabel)||T1e}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)||kb;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)||Cb}set subscriptSizing(a){var i;this._subscriptSizing=a||((i=this._defaults)==null?void 0:i.subscriptSizing)||Cb}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(Aa([void 0,void 0]),Dt(()=>[i.errorState,i.userAriaDescribedBy]),bhe(),la(([[d,u],[p,v]])=>d!==p||u!==v)).subscribe(()=>this._syncDescribedByIds()),(c=this._valueChanges)==null||c.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ht(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(),ba(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),Ff(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Ht(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 S,A,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=(S=this._iconPrefixContainer)==null?void 0:S.nativeElement,r=(A=this._textPrefixContainer)==null?void 0:A.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,v=this._dir.value==="rtl"?"-1":"1",g=`${c+d}px`,w=`calc(${v} * (${g} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;a.style.transform=`var(
|
|
31
|
+
--mat-mdc-form-field-label-transform,
|
|
32
|
+
${O1e} translateX(${w})
|
|
33
|
+
)`;let E=c+d+u+p;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${E}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",X({type:t,selectors:[["mat-form-field"]],contentQueries:function(a,i,r){if(a&1&&(wve(r,i._labelChild,bb,5),mt(r,Yu,5),mt(r,C1e,5),mt(r,S1e,5),mt(r,k1e,5),mt(r,yb,5)),a&2){Eve();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&&($e(e1e,5),$e(t1e,5),$e(a1e,5),$e(i1e,5),$e(n1e,5),$e(_b,5),$e(Eb,5),$e(wb,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&&we("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:[lt([{provide:ic,useExisting:t},{provide:hk,useExisting:t}])],ngContentSelectors:o1e,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=Et();st(r1e),V(0,c1e,1,1,"ng-template",null,0,Fd),D(2,"div",6,1),xe("click",function(s){return Se(r),De(i._control.onContainerClick(s))}),V(4,d1e,1,0,"div",7),D(5,"div",8),V(6,p1e,2,2,"div",9)(7,m1e,3,0,"div",10)(8,f1e,3,0,"div",11),D(9,"div",12),V(10,v1e,1,1,null,13),ke(11),T(),V(12,b1e,3,0,"div",14)(13,y1e,3,0,"div",15),T(),V(14,_1e,1,0,"div",16),T(),D(15,"div",17),sg(16),D(17,"div",18),V(18,x1e,1,0)(19,E1e,4,1),T()()}if(a&2){let r;C(2),we("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),C(2),W(!i._hasOutline()&&!i._control.disabled?4:-1),C(2),W(i._hasOutline()?6:-1),C(),W(i._hasIconPrefix?7:-1),C(),W(i._hasTextPrefix?8:-1),C(2),W(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),C(2),W(i._hasTextSuffix?12:-1),C(),W(i._hasIconSuffix?13:-1),C(),W(i._hasOutline()?-1:14),C(),we("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic");let s=i._getSubscriptMessageType();C(2),we("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),C(),W((r=s)==="error"?18:r==="hint"?19:-1)}},dependencies:[_b,Eb,cg,wb,yb],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})(),Sg=(()=>{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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Dg=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 A1e(e,t){return this._trackRow(t)}var mk=(e,t)=>t.id;function R1e(e,t){if(e&1&&(D(0,"tr",0)(1,"td",3),F(2),T()()),e&2){let n=L();C(),Qn("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),be("colspan",n.numCols),C(),te(" ",n.label," ")}}function M1e(e,t){if(e&1&&(D(0,"td",3),F(1),T()),e&2){let n=L(2);Qn("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),be("colspan",n._firstRowOffset),C(),te(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function P1e(e,t){if(e&1){let n=Et();D(0,"td",6)(1,"button",7),xe("click",function(a){let i=Se(n).$implicit,r=L(2);return De(r._cellClicked(i,a))})("focus",function(a){let i=Se(n).$implicit,r=L(2);return De(r._emitActiveDateChange(i,a))}),D(2,"span",8),F(3),T(),H(4,"span",9),T()()}if(e&2){let n=t.$implicit,a=t.$index,i=L().$index,r=L();Qn("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),be("data-mat-row",i)("data-mat-col",a),C(),we("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)),N("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)),C(),we("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),C(),te(" ",n.displayValue," ")}}function N1e(e,t){if(e&1&&(D(0,"tr",1),V(1,M1e,2,6,"td",4),Ga(2,P1e,5,48,"td",5,mk),T()),e&2){let n=t.$implicit,a=t.$index,i=L();C(),W(a===0&&i._firstRowOffset?1:-1),C(),$a(n)}}function L1e(e,t){if(e&1&&(D(0,"th",2)(1,"span",6),F(2),T(),D(3,"span",3),F(4),T()()),e&2){let n=t.$implicit;C(2),Re(n.long),C(2),Re(n.narrow)}}var F1e=["*"];function V1e(e,t){}function z1e(e,t){if(e&1){let n=Et();D(0,"mat-month-view",4),Cr("activeDateChange",function(a){Se(n);let i=L();return mo(i.activeDate,a)||(i.activeDate=a),De(a)}),xe("_userSelection",function(a){Se(n);let i=L();return De(i._dateSelected(a))})("dragStarted",function(a){Se(n);let i=L();return De(i._dragStarted(a))})("dragEnded",function(a){Se(n);let i=L();return De(i._dragEnded(a))}),T()}if(e&2){let n=L();kr("activeDate",n.activeDate),N("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 B1e(e,t){if(e&1){let n=Et();D(0,"mat-year-view",5),Cr("activeDateChange",function(a){Se(n);let i=L();return mo(i.activeDate,a)||(i.activeDate=a),De(a)}),xe("monthSelected",function(a){Se(n);let i=L();return De(i._monthSelectedInYearView(a))})("selectedChange",function(a){Se(n);let i=L();return De(i._goToDateInView(a,"month"))}),T()}if(e&2){let n=L();kr("activeDate",n.activeDate),N("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function j1e(e,t){if(e&1){let n=Et();D(0,"mat-multi-year-view",6),Cr("activeDateChange",function(a){Se(n);let i=L();return mo(i.activeDate,a)||(i.activeDate=a),De(a)}),xe("yearSelected",function(a){Se(n);let i=L();return De(i._yearSelectedInMultiYearView(a))})("selectedChange",function(a){Se(n);let i=L();return De(i._goToDateInView(a,"year"))}),T()}if(e&2){let n=L();kr("activeDate",n.activeDate),N("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function H1e(e,t){}var U1e=["button"],W1e=[[["","matDatepickerToggleIcon",""]]],q1e=["[matDatepickerToggleIcon]"];function G1e(e,t){e&1&&(fr(),D(0,"svg",2),H(1,"path",3),T())}var $1e=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Y1e=["input[matStartDate]","input[matEndDate]"],Os=(()=>{const t=class t{constructor(){o(this,"changes",new me);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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Z1e=0,Ig=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",Z1e++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=a,this.cssClasses=i,this.compareValue=r,this.rawValue=s}},K1e={passive:!1,capture:!0},Hc={passive:!0,capture:!0},Sb={passive:!0},os=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_ngZone",_(Ne));o(this,"_platform",_(Zt));o(this,"_intl",_(Os));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 ie);o(this,"previewChange",new ie);o(this,"activeDateChange",new ie);o(this,"dragStarted",new ie);o(this,"dragEnded",new ie);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",_(ut));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=Db(a),r=i?this._getCellFromElement(i):null;i!==a.target&&(this._didDragSinceMouseDown=!0),Gh(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=Gh(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=Db(a);i&&this._mouseupHandler({target:i})});let a=_(ri),i=_(ha);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-"),_(Ma).load(Xn),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[Oa(a,r,"touchmove",this._touchmoveHandler,K1e),Oa(a,r,"mouseenter",this._enterHandler,Hc),Oa(a,r,"focus",this._enterHandler,Hc),Oa(a,r,"mouseleave",this._leaveHandler,Hc),Oa(a,r,"blur",this._leaveHandler,Hc),Oa(a,r,"mousedown",this._mousedownHandler,Sb),Oa(a,r,"touchstart",this._mousedownHandler,Sb)];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){qn(()=>{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 $h(a,this.startValue,this.endValue)}_isRangeEnd(a){return Yh(a,this.startValue,this.endValue)}_isInRange(a){return Zh(a,this.startValue,this.endValue,this.isRange)}_isComparisonStart(a){return $h(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 Yh(a,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(a){return Zh(a,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart}_isPreviewStart(a){return $h(a,this.previewStart,this.previewEnd)}_isPreviewEnd(a){return Yh(a,this.previewStart,this.previewEnd)}_isInPreview(a){return Zh(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=Gh(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",X({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:[Yt],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,R1e,3,6,"tr",0),Ga(1,N1e,4,1,"tr",1,A1e,!0),D(3,"span",2),F(4),T(),D(5,"span",2),F(6),T(),D(7,"span",2),F(8),T(),D(9,"span",2),F(10),T()),a&2&&(W(i._firstRowOffset<i.labelMinRequiredCells?0:-1),C(),$a(i.rows),C(2),N("id",i._startDateLabelId),C(),te(" ",i.startDateAccessibleName,`
|
|
35
|
+
`),C(),N("id",i._endDateLabelId),C(),te(" ",i.endDateAccessibleName,`
|
|
36
|
+
`),C(),N("id",i._comparisonStartDateLabelId),C(),Gn(" ",i.comparisonDateAccessibleName," ",i.startDateAccessibleName,`
|
|
37
|
+
`),C(),N("id",i._comparisonEndDateLabelId),C(),Gn(" ",i.comparisonDateAccessibleName," ",i.endDateAccessibleName,`
|
|
38
|
+
`))},dependencies:[Ss],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 qh(e){return(e==null?void 0:e.nodeName)==="TD"}function Gh(e){var n;let t;return qh(e)?t=e:qh(e.parentNode)?t=e.parentNode:qh((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 $h(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function Yh(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function Zh(e,t,n,a){return a&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function Db(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var Sa=class{constructor(e,t){o(this,"start");o(this,"end");o(this,"_disableStructuralEquivalency");this.start=e,this.end=t}},yr=(()=>{const t=class t{constructor(a,i){o(this,"selection");o(this,"_adapter");o(this,"_selectionChanged",new me);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){yge()}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Q1e=(()=>{const t=class t extends yr{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)(Ce(Ia))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),X1e=(()=>{const t=class t extends yr{constructor(a){super(new Sa(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 Sa(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)(Ce(Ia))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function J1e(e,t){return e||new Q1e(t)}var fk={provide:yr,deps:[[new us,new hs,yr],Ia],useFactory:J1e};function exe(e,t){return e||new X1e(t)}var txe={provide:yr,deps:[[new us,new hs,yr],Ia],useFactory:exe},kl=new Y("MAT_DATE_RANGE_SELECTION_STRATEGY"),axe=(()=>{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 Sa(r,s)}createPreview(a,i){let r=null,s=null;return i.start&&!i.end&&a&&(r=i.start,s=a),new Sa(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),v=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,v))):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,v))):(s=c.addCalendarYears(s,u),s=c.addCalendarMonths(s,p),s=c.addCalendarDays(s,v),l=c.addCalendarYears(l,u),l=c.addCalendarMonths(l,p),l=c.addCalendarDays(l,v)),new Sa(s,l)}};o(t,"ɵfac",function(a){return new(a||t)(Ce(Ia))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function ixe(e,t){return e||new axe(t)}var nxe={provide:kl,deps:[[new us,new hs,kl],Ia],useFactory:ixe},Kh=7,rxe=0,Ib=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_dateFormats",_(fo,{optional:!0}));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dir",_(La,{optional:!0}));o(this,"_rangeStrategy",_(kl,{optional:!0}));o(this,"_rerenderSubscription",Ye.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 ie);o(this,"_userSelection",new ie);o(this,"dragStarted",new ie);o(this,"dragEnded",new ie);o(this,"activeDateChange",new ie);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");_(Ma).load(vo),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 Sa?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(Aa(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 Sa?(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&&!Wa(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=(Kh+this._dateAdapter.getDayOfWeek(a)-this._dateAdapter.getFirstDayOfWeek())%Kh,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:rxe++}));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==Kh&&(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 Ig(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 Sa?(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",X({type:t,selectors:[["mat-month-view"]],viewQuery:function(a,i){if(a&1&&$e(os,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:[Yt],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"),Ga(3,L1e,5,2,"th",2,mk),T(),D(5,"tr",3),H(6,"th",4),T()(),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)}),T()()),a&2&&(C(3),$a(i._weekdays),C(4),N("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:[os],encapsulation:2,changeDetection:0}));let e=t;return e})(),cn=24,Tb=4,Ob=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dir",_(La,{optional:!0}));o(this,"_rerenderSubscription",Ye.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 ie);o(this,"yearSelected",new ie);o(this,"activeDateChange",new ie);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),gk(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(a){a instanceof Sa?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(Aa(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let a=this._dateAdapter.getYear(this._activeDate)-Qs(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let i=0,r=[];i<cn;i++)r.push(a+i),r.length==Tb&&(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,Tb);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Qs(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,cn-Qs(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?cn*10:cn);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 Qs(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 Ig(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 Sa){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",X({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(a,i){if(a&1&&$e(os,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"),H(3,"th",2),T()(),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)}),T()()),a&2&&(C(4),N("rows",i._years)("todayValue",i._todayYear)("startValue",i._selectedYear)("endValue",i._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",i._getActiveCell()))},dependencies:[os],encapsulation:2,changeDetection:0}));let e=t;return e})();function gk(e,t,n,a,i){let r=e.getYear(t),s=e.getYear(n),l=vk(e,a,i);return Math.floor((r-l)/cn)===Math.floor((s-l)/cn)}function Qs(e,t,n,a){let i=e.getYear(t);return oxe(i-vk(e,n,a),cn)}function vk(e,t,n){let a=0;return n?a=e.getYear(n)-cn+1:t&&(a=e.getYear(t)),a}function oxe(e,t){return(e%t+t)%t}var Ab=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_dateFormats",_(fo,{optional:!0}));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dir",_(La,{optional:!0}));o(this,"_rerenderSubscription",Ye.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 ie);o(this,"monthSelected",new ie);o(this,"activeDateChange",new ie);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 Sa?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(Aa(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 Ig(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 Sa?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",X({type:t,selectors:[["mat-year-view"]],viewQuery:function(a,i){if(a&1&&$e(os,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"),H(3,"th",2),T()(),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)}),T()()),a&2&&(C(4),N("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:[os],encapsulation:2,changeDetection:0}));let e=t;return e})(),bk=(()=>{const t=class t{constructor(){o(this,"_intl",_(Os));o(this,"calendar",_(ym));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dateFormats",_(fo,{optional:!0}));o(this,"_periodButtonLabelId",_(ha).getId("mat-calendar-period-label-"));_(Ma).load(vo);let a=_(kt);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:cn)}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):gk(this._dateAdapter,a,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let a=this._dateAdapter.getYear(this.calendar.activeDate)-Qs(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),i=a+cn-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",X({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:F1e,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&&(st(),D(0,"div",0)(1,"div",1)(2,"span",2),F(3),T(),D(4,"button",3),xe("click",function(){return i.currentPeriodClicked()}),D(5,"span",4),F(6),T(),fr(),D(7,"svg",5),H(8,"polygon",6),T()(),q0(),H(9,"div",7),ke(10),D(11,"button",8),xe("click",function(){return i.previousClicked()}),fr(),D(12,"svg",9),H(13,"path",10),T()(),q0(),D(14,"button",11),xe("click",function(){return i.nextClicked()}),fr(),D(15,"svg",9),H(16,"path",12),T()()()()),a&2&&(C(2),N("id",i._periodButtonLabelId),C(),Re(i.periodButtonDescription),C(),be("aria-label",i.periodButtonLabel)("aria-describedby",i._periodButtonLabelId),C(2),Re(i.periodButtonText),C(),we("mat-calendar-invert",i.calendar.currentView!=="month"),C(4),N("disabled",!i.previousEnabled()),be("aria-label",i.prevButtonLabel),C(3),N("disabled",!i.nextEnabled()),be("aria-label",i.nextButtonLabel))},dependencies:[Jn,ec],encapsulation:2,changeDetection:0}));let e=t;return e})(),ym=(()=>{const t=class t{constructor(){o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dateFormats",_(fo,{optional:!0}));o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));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 ie);o(this,"yearSelected",new ie);o(this,"monthSelected",new ie);o(this,"viewChanged",new ie(!0));o(this,"_userSelection",new ie);o(this,"_userDragDrop",new ie);o(this,"monthView");o(this,"yearView");o(this,"multiYearView");o(this,"_clampedActiveDate");o(this,"_currentView");o(this,"_activeDrag",null);o(this,"stateChanges",new me);this._intlChanges=_(Os).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 Sa?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 ro(this.headerComponent||bk),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(Wo())&&(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 Sa||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",X({type:t,selectors:[["mat-calendar"]],viewQuery:function(a,i){if(a&1&&($e(Ib,5),$e(Ab,5),$e(Ob,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:[lt([fk]),Yt],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,V1e,0,0,"ng-template",0),D(1,"div",1),V(2,z1e,1,11,"mat-month-view",2)(3,B1e,1,6,"mat-year-view",3)(4,j1e,1,6,"mat-multi-year-view",3),T()),a&2){let r;N("cdkPortalOutlet",i._calendarHeaderPortal),C(2),W((r=i.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[bn,hg,Ib,Ab,Ob],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})(),yk=new Y("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(mi);return()=>e.scrollStrategies.reposition()}});function sxe(e){return()=>e.scrollStrategies.reposition()}var lxe={provide:yk,deps:[mi],useFactory:sxe},_k=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_animationsDisabled",_(Ra,{optional:!0})==="NoopAnimations");o(this,"_changeDetectorRef",_(kt));o(this,"_globalModel",_(yr));o(this,"_dateAdapter",_(Ia));o(this,"_ngZone",_(Ne));o(this,"_rangeSelectionStrategy",_(kl,{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 me);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(_(Ma).load(vo),this._closeButtonText=_(Os).closeCalendarLabel,!this._animationsDisabled){let a=this._elementRef.nativeElement,i=_(ri);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 Sa;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",X({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(a,i){if(a&1&&$e(ym,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&&(Pi(i.color?"mat-"+i.color:""),we("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)}),T(),V(2,H1e,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()}),F(4),T()()),a&2){let r;we("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),C(),Pi(i.datepicker.panelClass),N("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),C(),N("cdkPortalOutlet",i._actionsPortal),C(),we("cdk-visually-hidden",!i._closeButtonFocused),N("color",i.color||"primary"),C(),Re(i._closeButtonText)}},dependencies:[Oye,ym,bn,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})(),$d=(()=>{const t=class t{constructor(){o(this,"_overlay",_(mi));o(this,"_viewContainerRef",_(oi));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dir",_(La,{optional:!0}));o(this,"_model",_(yr));o(this,"_scrollStrategy",_(yk));o(this,"_inputStateChanges",Ye.EMPTY);o(this,"_document",_(it));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 ie);o(this,"monthSelected",new ie);o(this,"viewChanged",new ie(!0));o(this,"dateClass");o(this,"openedStream",new ie);o(this,"closedStream",new ie);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",_(ha).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 me);o(this,"_injector",_(ut));o(this,"_changeDetectorRef",_(kt));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=Uye(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 PE&&(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=Wo(),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(ei(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 ro(_k,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new Jl({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||qn(()=>{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 ba(a.backdropClick(),a.detachments(),a.keydownEvents().pipe(la(r=>r.keyCode===27&&!Wa(r)||this.datepickerInput&&Wa(r,"altKey")&&r.keyCode===38&&i.every(s=>!Wa(r,s)))))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",fe],disabled:[2,"disabled","disabled",fe],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",fe],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",fe]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Yt]}));let e=t;return e})(),cxe=(()=>{const t=class t extends $d{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[lt([fk,{provide:$d,useExisting:t}]),ze],decls:0,vars:0,template:function(a,i){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Uc=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},xk=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_dateFormats",_(fo,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new ie);o(this,"dateInput",new ie);o(this,"stateChanges",new me);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",Ye.EMPTY);o(this,"_localeSubscription",Ye.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 Uc(this,this._elementRef.nativeElement)),this.dateChange.emit(new Uc(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(a){wk(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"];Wa(a,"altKey")&&a.keyCode===40&&i.every(r=>!Wa(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 Uc(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Uc(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",de({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",fe]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Yt]}));let e=t;return e})();function wk(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 dxe={provide:Wu,useExisting:co(()=>Tg),multi:!0},uxe={provide:tc,useExisting:co(()=>Tg),multi:!0},Tg=(()=>{const t=class t extends xk{constructor(){super();o(this,"_formField",_(ic,{optional:!0}));o(this,"_closedSubscription",Ye.EMPTY);o(this,"_openedSubscription",Ye.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",ai(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=Is.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",de({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&&(xn("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:[lt([dxe,uxe,{provide:dk,useExisting:t}]),ze]}));let e=t;return e})(),hxe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),pxe=(()=>{const t=class t{constructor(){o(this,"_intl",_(Os));o(this,"_changeDetectorRef",_(kt));o(this,"_stateChanges",Ye.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 bs("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:vt(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:vt(),r=this.datepicker?ba(this.datepicker.openedStream,this.datepicker.closedStream):vt();this._stateChanges.unsubscribe(),this._stateChanges=ba(this._intl.changes,a,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,i,r){if(a&1&&mt(r,hxe,5),a&2){let s;ye(s=_e())&&(i._customIcon=s.first)}},viewQuery:function(a,i){if(a&1&&$e(U1e,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),we("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",fe],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Yt],ngContentSelectors:q1e,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&&(st(W1e),D(0,"button",1,0),V(2,G1e,2,0,":svg:svg",2),ke(3),T()),a&2&&(N("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),C(2),W(i._customIcon?-1:2))},dependencies:[ec],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})(),Ek=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_dateAdapter",_(Ia,{optional:!0}));o(this,"_formField",_(ic,{optional:!0}));o(this,"_closedSubscription",Ye.EMPTY);o(this,"_openedSubscription",Ye.EMPTY);o(this,"_startInput");o(this,"_endInput");o(this,"id",_(ha).getId("mat-date-range-input-"));o(this,"focused",!1);o(this,"controlType","mat-date-range-input");o(this,"_rangePicker");o(this,"_ariaOwns",ai(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 me);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=_(ac,{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),ba(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(a){wk(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(Is.required)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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),we("mat-date-range-input-hide-placeholders",i._shouldHidePlaceholders())("mat-date-range-input-required",i.required))},inputs:{rangePicker:"rangePicker",required:[2,"required","required",fe],dateFilter:"dateFilter",min:"min",max:"max",disabled:[2,"disabled","disabled",fe],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[lt([{provide:Yu,useExisting:t}]),Yt],ngContentSelectors:Y1e,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&&(st($1e),D(0,"div",0),xe("cdkFocusChange",function(r){return i._updateFocus(r)}),D(1,"div",1),ke(2),D(3,"span",2),F(4),T()(),D(5,"span",3),F(6),T(),D(7,"div",4),ke(8,1),D(9,"span",2),F(10),T()()()),a&2&&(C(4),Re(i._getInputMirrorValue("start")),C(),we("mat-date-range-input-separator-hidden",i._shouldHideSeparator()),C(),Re(i.separator),C(4),Re(i._getInputMirrorValue("end")))},dependencies:[hg],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 mxe(e){return _m(e,!0)}function Rb(e){return e.nodeType===Node.ELEMENT_NODE}function fxe(e){return e.nodeName==="INPUT"}function gxe(e){return e.nodeName==="TEXTAREA"}function _m(e,t){var n,a,i,r,s,l;if(Rb(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=>_m(d,!1)).join(" ")}if(Rb(e)){let c=(i=e.getAttribute("aria-label"))==null?void 0:i.trim();if(c)return c}if(fxe(e)||gxe(e)){if((r=e.labels)!=null&&r.length)return Array.from(e.labels).map(u=>_m(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 kk=(()=>{const t=class t extends xk{constructor(){super();o(this,"_rangeInput",_(Ek));o(this,"_elementRef",_(Oe));o(this,"_defaultErrorStateMatcher",_(Sg));o(this,"_injector",_(ut));o(this,"_parentForm",_(Gu,{optional:!0}));o(this,"_parentFormGroup",_($u,{optional:!0}));o(this,"ngControl");o(this,"_dir",_(La,{optional:!0}));o(this,"_errorStateTracker");this._errorStateTracker=new Dg(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(kg,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 mxe(this._elementRef.nativeElement)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",de({type:t,inputs:{errorStateMatcher:"errorStateMatcher"},features:[ze]}));let e=t;return e})(),vxe=(()=>{const t=class t extends kk{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",Is.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 Sa(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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({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&&(xn("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:[lt([{provide:Wu,useExisting:t,multi:!0},{provide:tc,useExisting:t,multi:!0}]),ze]}));let e=t;return e})(),bxe=(()=>{const t=class t extends kk{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",Is.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 Sa(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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({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&&(xn("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:[lt([{provide:Wu,useExisting:t,multi:!0},{provide:tc,useExisting:t,multi:!0}]),ze]}));let e=t;return e})(),yxe=(()=>{const t=class t extends $d{_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=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[lt([txe,nxe,{provide:$d,useExisting:t}]),ze],decls:0,vars:0,template:function(a,i){},encapsulation:2,changeDetection:0}));let e=t;return e})(),_xe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[Os,lxe],imports:[Ka,Hu,EE,rs,Vt,_k,pxe,bk,jd]}));let e=t;return e})(),xm=new Y(""),Ck=(()=>{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 ae(5101,!1);return this._eventNameToPlugin.set(a,i),i}};o(t,"ɵfac",function(a){return new(a||t)(Ce(xm),Ce(Ne))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Sk=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},pd="ng-app-id";function Mb(e){for(let t of e)t.remove()}function Pb(e,t){let n=t.createElement("style");return n.textContent=e,n}function xxe(e,t,n,a){var r;let i=(r=e.head)==null?void 0:r.querySelectorAll(`style[${pd}="${t}"],link[${pd}="${t}"]`);if(i)for(let s of i)s.removeAttribute(pd),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 wm(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Dk=(()=>{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=cE(s),xxe(a,i,this.inline,this.external),this.hosts.add(a.head)}addStyles(a,i){for(let r of a)this.addUsage(r,this.inline,Pb);i==null||i.forEach(r=>this.addUsage(r,this.external,wm))}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&&(Mb(r.elements),i.delete(a)))}ngOnDestroy(){for(let[,{elements:a}]of[...this.inline,...this.external])Mb(a);this.hosts.clear()}addHost(a){this.hosts.add(a);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(a,Pb(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(a,wm(i,this.doc)))}removeHost(a){this.hosts.delete(a)}addElement(a,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(pd,this.appId),a.appendChild(i)}};o(t,"ɵfac",function(a){return new(a||t)(Ce(it),Ce(Cu),Ce(Pf,8),Ce(Su))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Qh={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"},Og=/%COMP%/g,Ik="%COMP%",wxe=`_nghost-${Ik}`,Exe=`_ngcontent-${Ik}`,kxe=!0,Cxe=new Y("",{providedIn:"root",factory:()=>kxe});function Sxe(e){return Exe.replace(Og,e)}function Dxe(e){return wxe.replace(Og,e)}function Tk(e,t){return t.map(n=>n.replace(Og,e))}var Em=(()=>{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=cE(c),this.defaultRenderer=new Ag(a,l,d,this.platformIsServer,this.tracingService)}createRenderer(a,i){if(!a||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Vn.ShadowDom&&(i=dt(pe({},i),{encapsulation:Vn.Emulated}));let r=this.getOrCreateRenderer(a,i);return r instanceof Lb?r.applyToHost(a):r instanceof km&&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,v=this.platformIsServer,g=this.tracingService;switch(i.encapsulation){case Vn.Emulated:s=new Lb(d,u,i,this.appId,p,l,c,v,g);break;case Vn.ShadowDom:return new Ixe(d,u,a,i,l,c,this.nonce,v,g);default:s=new km(d,u,i,p,l,c,v,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)(Ce(Ck),Ce(Dk),Ce(Cu),Ce(Cxe),Ce(it),Ce(Su),Ce(Ne),Ce(Pf),Ce($l,8))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Ag=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(Qh[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Nb(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(Nb(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 ae(-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=Qh[a];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let a=Qh[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&(lr.DashCase|lr.Important)?e.style.setProperty(t,n,a&lr.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&lr.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=nl().getGlobalEventTarget(this.doc,e),!e))throw new ae(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 Nb(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ixe=class extends Ag{constructor(t,n,a,i,r,s,l,c,d){var v;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=Tk(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=(v=i.getExternalStyles)==null?void 0:v.call(i);if(p)for(let g of p){let w=wm(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)}},km=class extends Ag{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?Tk(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)}},Lb=class extends km{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=Sxe(u),this.hostAttr=Dxe(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}},Txe=class Ok extends Dbe{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){Sbe(new Ok)}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=Oxe();return a==null?null:Axe(a)}resetBaseElement(){Xs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return sE(document.cookie,n)}},Xs=null;function Oxe(){return Xs=Xs||document.head.querySelector("base"),Xs?Xs.getAttribute("href"):null}function Axe(e){return new URL(e,document.baseURI).pathname}var Rxe=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Mxe=(()=>{const t=class t extends Sk{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)(Ce(it))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Fb=["alt","control","meta","shift"],Pxe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Nxe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Lxe=(()=>{const t=class t extends Sk{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(()=>nl().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."),Fb.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=Pxe[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"),Fb.forEach(l=>{if(l!==r){let c=Nxe[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)(Ce(it))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function Fxe(e){return nbe(Vxe(e))}function Vxe(e){return{appProviders:[...Uxe,...(e==null?void 0:e.providers)??[]],platformProviders:Hxe}}function zxe(){Txe.makeCurrent()}function Bxe(){return new Yi}function jxe(){return lme(document),document}var Hxe=[{provide:Su,useValue:lE},{provide:yx,useValue:zxe,multi:!0},{provide:it,useFactory:jxe}],Uxe=[{provide:mf,useValue:"root"},{provide:Yi,useFactory:Bxe},{provide:xm,useClass:Mxe,multi:!0,deps:[it]},{provide:xm,useClass:Lxe,multi:!0,deps:[it]},Em,Dk,Ck,{provide:Fi,useExisting:Em},{provide:dE,useClass:Rxe},[]],Rg=class{},Ak=class{},oo=class md{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 md?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 md;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof md?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)))}},Wxe=class{encodeKey(e){return Vb(e)}encodeValue(e){return Vb(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function qxe(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 Gxe=/%(\d[a-f0-9])/gi,$xe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Vb(e){return encodeURIComponent(e).replace(Gxe,(t,n)=>$xe[n]??t)}function Wc(e){return`${e}`}var Go=class Rk{constructor(t={}){o(this,"map");o(this,"encoder");o(this,"updates",null);o(this,"cloneFrom",null);if(this.encoder=t.encoder||new Wxe,t.fromString){if(t.fromObject)throw new ae(2805,!1);this.map=qxe(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(Wc):[Wc(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 Rk({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(Wc(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(Wc(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)}},Yxe=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 Zxe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function zb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Bb(e){return typeof Blob<"u"&&e instanceof Blob}function jb(e){return typeof FormData<"u"&&e instanceof FormData}function Kxe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Hb="Content-Type",Ub="Accept",Mk="X-Request-URL",Pk="text/plain",Nk="application/json",Qxe=`${Nk}, ${Pk}, */*`,Xh=class Lk{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(Zxe(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 oo),this.context??(this.context=new Yxe),!this.params)this.params=new Go,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"||zb(this.body)||Bb(this.body)||jb(this.body)||Kxe(this.body)?this.body:this.body instanceof Go?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||jb(this.body)?null:Bb(this.body)?this.body.type||null:zb(this.body)?null:typeof this.body=="string"?Pk:this.body instanceof Go?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Nk: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((v,g)=>v.set(g,t.setHeaders[g]),d)),t.setParams&&(u=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),u)),new Lk(n,a,s,{params:u,headers:d,context:p,reportProgress:c,responseType:i,withCredentials:l,transferCache:r})}},$o=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}($o||{}),Mg=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 oo,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}},Xxe=class Fk extends Mg{constructor(n={}){super(n);o(this,"type",$o.ResponseHeader)}clone(n={}){return new Fk({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})}},Vk=class zk extends Mg{constructor(n={}){super(n);o(this,"body");o(this,"type",$o.Response);this.body=n.body!==void 0?n.body:null}clone(n={}){return new zk({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})}},Wb=class extends Mg{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}},Jxe=200,ewe=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 nc=(()=>{const t=class t{constructor(a){o(this,"handler");this.handler=a}request(a,i,r={}){let s;if(a instanceof Xh)s=a;else{let d;r.headers instanceof oo?d=r.headers:d=new oo(r.headers);let u;r.params&&(r.params instanceof Go?u=r.params:u=new Go({fromObject:r.params})),s=new Xh(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=vt(s).pipe(X_(d=>this.handler.handle(d)));if(a instanceof Xh||r.observe==="events")return l;let c=l.pipe(la(d=>d instanceof Vk));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(Dt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new ae(2806,!1);return d.body}));case"blob":return c.pipe(Dt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new ae(2807,!1);return d.body}));case"text":return c.pipe(Dt(d=>{if(d.body!==null&&typeof d.body!="string")throw new ae(2808,!1);return d.body}));case"json":default:return c.pipe(Dt(d=>d.body))}case"response":return c;default:throw new ae(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 Go().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)(Ce(Rg))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),twe=new Y("");function awe(e,t){return t(e)}function iwe(e,t,n){return(a,i)=>bu(n,()=>t(a,r=>e(r,i)))}var Pg=new Y(""),nwe=new Y(""),rwe=new Y("",{providedIn:"root",factory:()=>!0}),qb=(()=>{const t=class t extends Rg{constructor(i,r){super();o(this,"backend");o(this,"injector");o(this,"chain",null);o(this,"pendingTasks",_(Gl));o(this,"contributeToStability",_(rwe));this.backend=i,this.injector=r}handle(i){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Pg),...this.injector.get(nwe,[])]));this.chain=r.reduceRight((s,l)=>iwe(s,l,this.injector),awe)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(i,s=>this.backend.handle(s)).pipe(J_(()=>this.pendingTasks.remove(r)))}else return this.chain(i,r=>this.backend.handle(r))}};o(t,"ɵfac",function(i){return new(i||t)(Ce(Ak),Ce(hn))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),owe=/^\)\]\}',?\n/,swe=RegExp(`^${Mk}:`,"m");function lwe(e){return"responseURL"in e&&e.responseURL?e.responseURL:swe.test(e.getAllResponseHeaders())?e.getResponseHeader(Mk):null}var Gb=(()=>{const t=class t{constructor(a){o(this,"xhrFactory");this.xhrFactory=a}handle(a){if(a.method==="JSONP")throw new ae(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?wr(i.ɵloadImpl()):vt(null)).pipe(gr(()=>new Tt(r=>{let s=i.build();if(s.open(a.method,a.urlWithParams),a.withCredentials&&(s.withCredentials=!0),a.headers.forEach((E,S)=>s.setRequestHeader(E,S.join(","))),a.headers.has(Ub)||s.setRequestHeader(Ub,Qxe),!a.headers.has(Hb)){let E=a.detectContentTypeHeader();E!==null&&s.setRequestHeader(Hb,E)}if(a.responseType){let E=a.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let l=a.serializeBody(),c=null,d=()=>{if(c!==null)return c;let E=s.statusText||"OK",S=new oo(s.getAllResponseHeaders()),A=lwe(s)||a.url;return c=new Xxe({headers:S,status:s.status,statusText:E,url:A}),c},u=()=>{let{headers:E,status:S,statusText:A,url:B}=d(),j=null;S!==ewe&&(j=typeof s.response>"u"?s.responseText:s.response),S===0&&(S=j?Jxe:0);let ve=S>=200&&S<300;if(a.responseType==="json"&&typeof j=="string"){let Pe=j;j=j.replace(owe,"");try{j=j!==""?JSON.parse(j):null}catch(He){j=Pe,ve&&(ve=!1,j={error:He,text:j})}}ve?(r.next(new Vk({body:j,headers:E,status:S,statusText:A,url:B||void 0})),r.complete()):r.error(new Wb({error:j,headers:E,status:S,statusText:A,url:B||void 0}))},p=E=>{let{url:S}=d(),A=new Wb({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});r.error(A)},v=!1,g=E=>{v||(r.next(d()),v=!0);let S={type:$o.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(S.total=E.total),a.responseType==="text"&&s.responseText&&(S.partialText=s.responseText),r.next(S)},w=E=>{let S={type:$o.UploadProgress,loaded:E.loaded};E.lengthComputable&&(S.total=E.total),r.next(S)};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:$o.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)(Ce(dE))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Bk=new Y(""),cwe="XSRF-TOKEN",dwe=new Y("",{providedIn:"root",factory:()=>cwe}),uwe="X-XSRF-TOKEN",hwe=new Y("",{providedIn:"root",factory:()=>uwe}),jk=class{},pwe=(()=>{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=sE(a,this.cookieName),this.lastCookieString=a),this.lastToken}};o(t,"ɵfac",function(a){return new(a||t)(Ce(it),Ce(dwe))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),mwe=/^(?:https?:)?\/\//i;function fwe(e,t){if(!_(Bk)||e.method==="GET"||e.method==="HEAD"||mwe.test(e.url))return t(e);let n=_(jk).getToken(),a=_(hwe);return n!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,n)})),t(e)}var Hk=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}(Hk||{});function gwe(e,t){return{ɵkind:e,ɵproviders:t}}function vwe(...e){let t=[nc,Gb,qb,{provide:Rg,useExisting:qb},{provide:Ak,useFactory:()=>_(twe,{optional:!0})??_(Gb)},{provide:Pg,useValue:fwe,multi:!0},{provide:Bk,useValue:!0},{provide:jk,useClass:pwe}];for(let n of e)t.push(...n.ɵproviders);return hf(t)}function bwe(e){return gwe(Hk.Interceptors,e.map(t=>({provide:Pg,useValue:t,multi:!0})))}var Uk=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:function(a){let i=null;return a?i=new(a||t):i=Ce(ywe),i},providedIn:"root"}));let e=t;return e})(),ywe=(()=>{const t=class t extends Uk{constructor(i){super();o(this,"_doc");this._doc=i}sanitize(i,r){if(r==null)return null;switch(i){case di.NONE:return r;case di.HTML:return Br(r,"HTML")?Ln(r):Ox(this._doc,String(r)).toString();case di.STYLE:return Br(r,"Style")?Ln(r):r;case di.SCRIPT:if(Br(r,"Script"))return Ln(r);throw new ae(5200,!1);case di.URL:return Br(r,"URL")?Ln(r):zf(String(r));case di.RESOURCE_URL:if(Br(r,"ResourceURL"))return Ln(r);throw new ae(5201,!1);default:throw new ae(5202,!1)}}bypassSecurityTrustHtml(i){return Cme(i)}bypassSecurityTrustStyle(i){return Sme(i)}bypassSecurityTrustScript(i){return Dme(i)}bypassSecurityTrustUrl(i){return Ime(i)}bypassSecurityTrustResourceUrl(i){return Tme(i)}};o(t,"ɵfac",function(i){return new(i||t)(Ce(it))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rc=class{},_we=(()=>{const t=class t extends rc{getTranslation(a){return vt({})}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Wk=class{},xwe=(()=>{const t=class t{handle(a){return a.key}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function Yd(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(!Yd(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(r in e){if(!Yd(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 cr(e){return typeof e<"u"&&e!==null}function oc(e){return fd(e)&&!Ng(e)&&e!==null}function fd(e){return typeof e=="object"}function Ng(e){return Array.isArray(e)}function Lg(e){return typeof e=="string"}function wwe(e){return typeof e=="function"}function Cm(e,t){let n=Object.assign({},e);return fd(e)?(fd(e)&&fd(t)&&Object.keys(t).forEach(a=>{oc(t[a])?a in e?n[a]=Cm(e[a],t[a]):Object.assign(n,{[a]:t[a]}):Object.assign(n,{[a]:t[a]})}),n):Cm({},t)}function Sm(e,t){let n=t.split(".");t="";do t+=n.shift(),cr(e)&&cr(e[t])&&(oc(e[t])||Ng(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function Ewe(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]||!oc(i[s]))&&(i[s]={}),i=i[s])}}var Fg=class{},kwe=(()=>{const t=class t extends Fg{constructor(){super(...arguments);o(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,r){if(Lg(i))return this.interpolateString(i,r);if(wwe(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=Sm(r,l);return cr(c)?c:s}):i}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=tt(t)))(r||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),sc=class{},Cwe=(()=>{const t=class t extends sc{compile(a,i){return a}compileTranslations(a,i){return a}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Dm=class{constructor(){o(this,"defaultLang");o(this,"currentLang",this.defaultLang);o(this,"translations",{});o(this,"langs",[]);o(this,"onTranslationChange",new ie);o(this,"onLangChange",new ie);o(this,"onDefaultLangChange",new ie)}},qk=new Y("ISOLATE_TRANSLATE_SERVICE"),Gk=new Y("USE_DEFAULT_LANG"),$k=new Y("DEFAULT_LANGUAGE"),Yk=new Y("USE_EXTEND"),Ws=e=>jo(e)?e:vt(e),Fa=(()=>{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 Dm),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(ei(1)).subscribe(()=>{this.changeDefaultLang(a)})):this.changeDefaultLang(a)}getDefaultLang(){return this.defaultLang}use(a){if(this.lastUseLanguage=a,a===this.currentLang)return vt(this.translations[a]);this.currentLang||(this.currentLang=a);let i=this.retrieveTranslations(a);return jo(i)?(i.pipe(ei(1)).subscribe(()=>{this.changeLang(a)}),i):(this.changeLang(a),vt(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(Tp(1),ei(1));return this.loadingTranslations=i.pipe(Dt(r=>this.compiler.compileTranslations(r,a)),Tp(1),ei(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[a]=this.extend&&this.translations[a]?pe(pe({},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]=Cm(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(Sm(a,i),r)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(Sm(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(Ng(a))return a.map(r=>this.runInterpolation(r,i));if(oc(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||jo(s[d]);if(!l)return s;let c=i.map(d=>Ws(s[d]));return sf(c).pipe(Dt(d=>{let u={};return d.forEach((p,v)=>{u[i[v]]=p}),u}))}return this.getParsedResultForKey(a,i,r)}get(a,i){if(!cr(a)||!a.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(X_(r=>Ws(this.getParsedResult(r,a,i)))):Ws(this.getParsedResult(this.translations[this.currentLang],a,i))}getStreamOnTranslationChange(a,i){if(!cr(a)||!a.length)throw new Error('Parameter "key" is required and cannot be empty');return hl(pl(()=>this.get(a,i)),this.onTranslationChange.pipe(gr(r=>{let s=this.getParsedResult(r.translations,a,i);return Ws(s)})))}stream(a,i){if(!cr(a)||!a.length)throw new Error('Parameter "key" required');return hl(pl(()=>this.get(a,i)),this.onLangChange.pipe(gr(r=>{let s=this.getParsedResult(r.translations,a,i);return Ws(s)})))}instant(a,i){if(!cr(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 jo(r)?Array.isArray(a)?a.reduce((s,l)=>(s[l]=l,s),{}):a:r}set(a,i,r=this.currentLang){Ewe(this.translations[r],a,Lg(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)(Ce(Dm),Ce(rc),Ce(sc),Ce(Fg),Ce(Wk),Ce(Gk),Ce(qk),Ce(Yk),Ce($k))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ct=(()=>{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);jo(l)?l.subscribe(s):s(l)}this.translate.get(a,i).subscribe(s)}transform(a,...i){if(!a||!a.length)return a;if(Yd(a,this.lastKey)&&Yd(i,this.lastParams))return this.value;let r;if(cr(i[0])&&i.length)if(Lg(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 oc(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)(aa(Fa,16),aa(kt,16))}),o(t,"ɵpipe",na({name:"translate",type:t,pure:!1})),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Swe=(e={})=>hf([e.loader||{provide:rc,useClass:_we},e.compiler||{provide:sc,useClass:Cwe},e.parser||{provide:Fg,useClass:kwe},e.missingTranslationHandler||{provide:Wk,useClass:xwe},Dm,{provide:qk,useValue:e.isolate},{provide:Gk,useValue:e.useDefaultLang},{provide:Yk,useValue:e.extend},{provide:$k,useValue:e.defaultLanguage},Fa]),Zk=(()=>{const t=class t{constructor(){o(this,"_animationMode",_(Ra,{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",X({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,i){a&2&&we("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})(),Dwe=["text"],Iwe=[[["mat-icon"]],"*"],Twe=["mat-icon","*"];function Owe(e,t){if(e&1&&H(0,"mat-pseudo-checkbox",1),e&2){let n=L();N("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function Awe(e,t){if(e&1&&H(0,"mat-pseudo-checkbox",3),e&2){let n=L();N("disabled",n.disabled)}}function Rwe(e,t){if(e&1&&(D(0,"span",4),F(1),T()),e&2){let n=L();C(),te("(",n.group.label,")")}}var Kk=new Y("MAT_OPTION_PARENT_COMPONENT"),Qk=new Y("MatOptgroup"),Mwe=class{constructor(e,t=!1){o(this,"source");o(this,"isUserInput");this.source=e,this.isUserInput=t}},Xk=(()=>{const t=class t{constructor(){o(this,"_element",_(Oe));o(this,"_changeDetectorRef",_(kt));o(this,"_parent",_(Kk,{optional:!0}));o(this,"group",_(Qk,{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",_(ha).getId("mat-option-"));o(this,"onSelectionChange",new ie);o(this,"_text");o(this,"_stateChanges",new me);let a=_(Ma);a.load(Xn),a.load(vo),this._signalDisableRipple=!!this._parent&&vl(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)&&!Wa(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 Mwe(this,a))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-option"]],viewQuery:function(a,i){if(a&1&&$e(Dwe,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&&(xn("id",i.id),be("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),we("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",fe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Twe,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&&(st(Iwe),V(0,Owe,1,2,"mat-pseudo-checkbox",1),ke(1),D(2,"span",2,0),ke(4,1),T(),V(5,Awe,1,1,"mat-pseudo-checkbox",3)(6,Rwe,2,1,"span",4),H(7,"div",5)),a&2&&(W(i.multiple?0:-1),C(5),W(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),C(),W(i.group&&i.group._inert?6:-1),C(),N("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Zk,Uu],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 Pwe(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 Nwe(e,t,n,a){return e<n?e:e+t>n+a?Math.max(0,e-a+t):n}var Lwe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt]}));let e=t;return e})(),$b=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[yg,Vt,Lwe]}));let e=t;return e})(),Fwe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Vwe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function ep(e,t){let n=Array(e);for(let a=0;a<e;a++)n[a]=t(a);return n}var Jk=(()=>{const t=class t extends Ia{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",_(cm,{optional:!0}));let i=_(cm,{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 ep(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ep(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 ep(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,dt(pe({},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(Fwe.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(Vwe);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),tp(s,0,23)&&tp(l,0,59)&&(c==null||tp(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",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function tp(e,t,n){return!isNaN(e)&&e>=t&&e<=n}var zwe={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"}}},Bwe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[jwe()]}));let e=t;return e})();function jwe(e=zwe){return[{provide:Ia,useClass:Jk},{provide:fo,useValue:e}]}function Hwe(e,t){}var Cl=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")}},eC=(()=>{const t=class t extends ju{constructor(){super();o(this,"_elementRef",_(Oe));o(this,"_focusTrapFactory",_(_E));o(this,"_config");o(this,"_interactivityChecker",_(bE));o(this,"_ngZone",_(Ne));o(this,"_overlayRef",_(gg));o(this,"_focusMonitor",_(go));o(this,"_renderer",_(ri));o(this,"_changeDetectorRef",_(kt));o(this,"_injector",_(ut));o(this,"_platform",_(Zt));o(this,"_document",_(it,{optional:!0}));o(this,"_portalOutlet");o(this,"_focusTrapped",new me);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=_(Cl,{optional:!0})||new Cl,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||qn(()=>{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=Wo(),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=Wo();return i===r||i.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Wo()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",X({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&$e(bn,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,Hwe,0,0,"ng-template",0)},dependencies:[bn],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
47
|
+
`],encapsulation:2}));let e=t;return e})(),ap=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 me);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&&!Wa(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}},Uwe=new Y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=_(mi);return()=>e.scrollStrategies.block()}}),Wwe=new Y("DialogData"),qwe=new Y("DefaultDialogConfig"),tC=(()=>{const t=class t{constructor(){o(this,"_overlay",_(mi));o(this,"_injector",_(ut));o(this,"_defaultOptions",_(qwe,{optional:!0}));o(this,"_parentDialog",_(t,{optional:!0,skipSelf:!0}));o(this,"_overlayContainer",_(fg));o(this,"_idGenerator",_(ha));o(this,"_openDialogsAtThisLevel",[]);o(this,"_afterAllClosedAtThisLevel",new me);o(this,"_afterOpenedAtThisLevel",new me);o(this,"_ariaHiddenElements",new Map);o(this,"_scrollStrategy",_(Uwe));o(this,"afterAllClosed",pl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Aa(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 Cl;i=pe(pe({},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 ap(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(ei(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(){ip(this.openDialogs,a=>a.close())}getDialogById(a){return this.openDialogs.find(i=>i.id===a)}ngOnDestroy(){ip(this._openDialogsAtThisLevel,a=>{a.config.closeOnDestroy===!1&&this._removeOpenDialog(a,!1)}),ip(this._openDialogsAtThisLevel,a=>a.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(a){let i=new Jl({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:Cl,useValue:r},{provide:ap,useValue:i},{provide:gg,useValue:a}],c;r.container?typeof r.container=="function"?c=r.container:(c=r.container.type,l.push(...r.container.providers(r))):c=eC;let d=new ro(c,r.viewContainerRef,ut.create({parent:s||this._injector,providers:l}));return a.attach(d).instance}_attachDialogContent(a,i,r,s){if(a instanceof ya){let l=this._createInjector(s,i,r,void 0),c={$implicit:s.data,dialogRef:i};s.templateContext&&(c=pe(pe({},c),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),r.attachTemplatePortal(new bo(a,null,c,l))}else{let l=this._createInjector(s,i,r,this._injector),c=r.attachComponentPortal(new ro(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:Wwe,useValue:a.data},{provide:ap,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(La,null,{optional:!0}))&&c.push({provide:La,useValue:{value:a.direction,change:vt()}}),ut.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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ip(e,t){let n=e.length;for(;n--;)t(e[n])}var Gwe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[tC],imports:[Hu,rs,EE,rs]}));let e=t;return e})();function $we(e,t){}var Yb=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")}},np="mdc-dialog--open",Zb="mdc-dialog--opening",Kb="mdc-dialog--closing",Ywe=150,Zwe=75,Kwe=(()=>{const t=class t extends eC{constructor(){super(...arguments);o(this,"_animationMode",_(Ra,{optional:!0}));o(this,"_animationStateChanged",new ie);o(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");o(this,"_actionSectionCount",0);o(this,"_hostElement",this._elementRef.nativeElement);o(this,"_enterAnimationDuration",this._animationsEnabled?Xb(this._config.enterAnimationDuration)??Ywe:0);o(this,"_exitAnimationDuration",this._animationsEnabled?Xb(this._config.exitAnimationDuration)??Zwe: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(Qb,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Zb,np)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(np),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(np),this._animationsEnabled?(this._hostElement.style.setProperty(Qb,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Kb)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(i){this._actionSectionCount+=i,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Zb,Kb)}_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=tt(t)))(r||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(xn("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),we("_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,$we,0,0,"ng-template",2),T()())},dependencies:[bn],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})(),Qb="--mat-dialog-transition-duration";function Xb(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?um(e.substring(0,e.length-2)):e.endsWith("s")?um(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var gd=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(gd||{}),Vg=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 me);o(this,"_beforeClosed",new me);o(this,"_result");o(this,"_closeFallbackTimeout");o(this,"_state",gd.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(la(a=>a.state==="opened"),ei(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(la(a=>a.state==="closed"),ei(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),ba(this.backdropClick(),this.keydownEvents().pipe(la(a=>a.keyCode===27&&!this.disableClose&&!Wa(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),aC(this,a.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(la(t=>t.state==="closing"),ei(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=gd.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=gd.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function aC(e,t,n){return e._closeInteractionType=t,e.close(n)}var zg=new Y("MatMdcDialogData"),iC=new Y("mat-mdc-dialog-default-options"),Qwe=new Y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(mi);return()=>e.scrollStrategies.block()}}),As=(()=>{const t=class t{constructor(){o(this,"_overlay",_(mi));o(this,"_defaultOptions",_(iC,{optional:!0}));o(this,"_scrollStrategy",_(Qwe));o(this,"_parentDialog",_(t,{optional:!0,skipSelf:!0}));o(this,"_idGenerator",_(ha));o(this,"_dialog",_(tC));o(this,"_openDialogsAtThisLevel",[]);o(this,"_afterAllClosedAtThisLevel",new me);o(this,"_afterOpenedAtThisLevel",new me);o(this,"dialogConfigClass",Yb);o(this,"_dialogRefConstructor");o(this,"_dialogContainerType");o(this,"_dialogDataToken");o(this,"afterAllClosed",pl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Aa(void 0))));this._dialogRefConstructor=Vg,this._dialogContainerType=Kwe,this._dialogDataToken=zg}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=pe(pe({},this._defaultOptions||new Yb),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(a,dt(pe({},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:Cl,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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Zu=(()=>{const t=class t{constructor(){o(this,"dialogRef",_(Vg,{optional:!0}));o(this,"_elementRef",_(Oe));o(this,"_dialog",_(As));o(this,"ariaLabel");o(this,"type","button");o(this,"dialogResult");o(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=rC(this._elementRef,this._dialog.openDialogs))}ngOnChanges(a){let i=a._matDialogClose||a._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(a){aC(this.dialogRef,a.screenX===0&&a.screenY===0?"keyboard":"mouse",this.dialogResult)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({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:[Yt]}));let e=t;return e})(),nC=(()=>{const t=class t{constructor(){o(this,"_dialogRef",_(Vg,{optional:!0}));o(this,"_elementRef",_(Oe));o(this,"_dialog",_(As))}ngOnInit(){this._dialogRef||(this._dialogRef=rC(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",de({type:t}));let e=t;return e})(),Ku=(()=>{const t=class t extends nC{constructor(){super(...arguments);o(this,"id",_(ha).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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&xn("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ze]}));let e=t;return e})(),Qu=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[x0e([OE])]}));let e=t;return e})(),Xu=(()=>{const t=class t extends nC{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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({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&&we("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 rC(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 oC=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[As],imports:[Gwe,Hu,rs,Vt,Vt]}));let e=t;return e})(),sC=(()=>{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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),lC=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=rl.INSERTED}else l==null?(t.remove(s),d=rl.REMOVED):(c=t.get(s),t.move(c,l),d=rl.MOVED);i&&i({context:c==null?void 0:c.context,operation:d,record:r})})}detach(){}},cC=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 me);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}},Sl=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,vE,Vt]}));let e=t;return e})(),Xwe=["trigger"],Jwe=["panel"],eEe=[[["mat-select-trigger"]],"*"],tEe=["mat-select-trigger","*"];function aEe(e,t){if(e&1&&(D(0,"span",4),F(1),T()),e&2){let n=L();C(),Re(n.placeholder)}}function iEe(e,t){e&1&&ke(0)}function nEe(e,t){if(e&1&&(D(0,"span",11),F(1),T()),e&2){let n=L(2);C(),Re(n.triggerValue)}}function rEe(e,t){if(e&1&&(D(0,"span",5),V(1,iEe,1,0)(2,nEe,2,1,"span",11),T()),e&2){let n=L();C(),W(n.customTrigger?1:2)}}function oEe(e,t){if(e&1){let n=Et();D(0,"div",12,1),xe("keydown",function(a){Se(n);let i=L();return De(i._handleKeydown(a))}),ke(2,1),T()}if(e&2){let n=L();ave("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),we("mat-select-panel-animations-enabled",!n._animationsDisabled),N("ngClass",n.panelClass),be("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var dC=new Y("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=_(mi);return()=>e.scrollStrategies.reposition()}});function sEe(e){return()=>e.scrollStrategies.reposition()}var lEe=new Y("MAT_SELECT_CONFIG"),cEe={provide:dC,deps:[mi],useFactory:sEe},dEe=new Y("MatSelectTrigger"),uEe=class{constructor(e,t){o(this,"source");o(this,"value");this.source=e,this.value=t}},hEe=(()=>{var t,n,a,i;const r=class r{constructor(){o(this,"_viewportRuler",_(Xl));o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_dir",_(La,{optional:!0}));o(this,"_idGenerator",_(ha));o(this,"_renderer",_(ri));o(this,"_parentFormField",_(ic,{optional:!0}));o(this,"ngControl",_(kg,{self:!0,optional:!0}));o(this,"_liveAnnouncer",_(xE));o(this,"_defaultOptions",_(lEe,{optional:!0}));o(this,"_animationsDisabled",_(Ra,{optional:!0})==="NoopAnimations");o(this,"_initialized",new me);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",_(dC));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 me);o(this,"_errorStateTracker");o(this,"stateChanges",new me);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",pl(()=>{let l=this.options;return l?l.changes.pipe(Aa(l),gr(()=>ba(...l.map(c=>c.onSelectionChange)))):this._initialized.pipe(gr(()=>this.optionSelectionChanges))}));o(this,"openedChange",new ie);o(this,"_openedStream",this.openedChange.pipe(la(l=>l),Dt(()=>{})));o(this,"_closedStream",this.openedChange.pipe(la(l=>!l),Dt(()=>{})));o(this,"selectionChange",new ie);o(this,"valueChange",new ie);o(this,"_trackedModal",null);o(this,"_skipPredicate",l=>this.panelOpen?!1:l.disabled);var p;let l=_(Sg),c=_(Gu,{optional:!0}),d=_($u,{optional:!0}),u=_(new bs("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 Dg(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=Pwe(l,this.options,this.optionGroups),p=c._getHostElement();l===0&&u===1?d.scrollTop=0:d.scrollTop=Nwe(p.offsetTop,p.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(l){return new uEe(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(Is.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 cC(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ht(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(Ht(this._destroy)).subscribe(l=>{l.added.forEach(c=>c.select()),l.removed.forEach(c=>c.deselect())}),this.options.changes.pipe(Aa(null),Ht(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(ei(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&&hm(this._trackedModal,"aria-owns",c),SE(l,"aria-owns",c),this._trackedModal=l}_clearFromModal(){if(!this._trackedModal)return;let l=`${this.id}-panel`;hm(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 v;p.animationName==="_mat-select-exit"&&((v=this._cleanupDetach)==null||v.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&&!Wa(l)||(this.multiple||l.altKey)&&d)l.preventDefault(),this.open();else if(!this.multiple){let v=this.selected;p.onKeydown(l);let g=this.selected;g&&v!==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&&!Wa(l))l.preventDefault(),c.activeItem._selectViaInteraction();else if(!p&&this._multiple&&d===65&&l.ctrlKey){l.preventDefault();let v=this.options.some(g=>!g.disabled&&!g.selected);this.options.forEach(g=>{g.disabled||(v?g.select():g.deselect())})}else{let v=c.activeItemIndex;c.onKeydown(l),this._multiple&&u&&l.shiftKey&&c.activeItem&&c.activeItemIndex!==v&&c.activeItem._selectViaInteraction()}}_handleOverlayKeydown(l){l.keyCode===27&&!Wa(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 Hd?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 Fye(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=ba(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ht(l)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),ba(...this.options.map(c=>c._stateChanges)).pipe(Ht(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",X({type:r,selectors:[["mat-select"]],contentQueries:function(l,c,d){if(l&1&&(mt(d,dEe,5),mt(d,Xk,5),mt(d,Qk,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&&($e(Xwe,5),$e(Jwe,5),$e(ab,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()),we("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",fe],disableRipple:[2,"disableRipple","disableRipple",fe],tabIndex:[2,"tabIndex","tabIndex",l=>l==null?0:vn(l)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",fe],placeholder:"placeholder",required:[2,"required","required",fe],multiple:[2,"multiple","multiple",fe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",fe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",vn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",fe]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[lt([{provide:Yu,useExisting:r},{provide:Kk,useExisting:r}]),Yt],ngContentSelectors:tEe,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=Et();st(eEe),D(0,"div",2,0),xe("click",function(){return Se(d),De(c.open())}),D(3,"div",3),V(4,aEe,2,1,"span",4)(5,rEe,3,1,"span",5),T(),D(6,"div",6)(7,"div",7),fr(),D(8,"svg",8),H(9,"path",9),T()()()(),V(10,oEe,3,10,"ng-template",10),xe("detach",function(){return Se(d),De(c.close())})("backdropClick",function(){return Se(d),De(c.close())})("overlayKeydown",function(u){return Se(d),De(c._handleOverlayKeydown(u))})}if(l&2){let d=Ya(1);C(3),be("id",c._valueId),C(),W(c.empty?4:5),C(6),N("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",c._preferredOverlayOrigin||d)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayWidth",c._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Hd,ab,Ss],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})(),pEe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[cEe],imports:[Hu,$b,Vt,jd,Sl,$b,Vt]}));let e=t;return e})(),uC=(()=>{const t=class t{constructor(){o(this,"changes",new me);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",Z({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||{}),zn="*";function mEe(e,t=null){return{type:et.Sequence,steps:e,options:t}}function Jb(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}},hC=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}},Bg="!";function ey(e){return new ae(3e3,!1)}function fEe(){return new ae(3100,!1)}function gEe(){return new ae(3101,!1)}function vEe(e){return new ae(3001,!1)}function bEe(e){return new ae(3003,!1)}function yEe(e){return new ae(3004,!1)}function _Ee(e,t){return new ae(3005,!1)}function xEe(){return new ae(3006,!1)}function wEe(){return new ae(3007,!1)}function EEe(e,t){return new ae(3008,!1)}function kEe(e){return new ae(3002,!1)}function CEe(e,t,n,a,i){return new ae(3010,!1)}function SEe(){return new ae(3011,!1)}function DEe(){return new ae(3012,!1)}function IEe(){return new ae(3200,!1)}function TEe(){return new ae(3202,!1)}function OEe(){return new ae(3013,!1)}function AEe(e){return new ae(3014,!1)}function REe(e){return new ae(3015,!1)}function MEe(e){return new ae(3016,!1)}function PEe(e,t){return new ae(3404,!1)}function NEe(e){return new ae(3502,!1)}function LEe(e){return new ae(3503,!1)}function FEe(){return new ae(3300,!1)}function VEe(e){return new ae(3504,!1)}function zEe(e){return new ae(3301,!1)}function BEe(e,t){return new ae(3302,!1)}function jEe(e){return new ae(3303,!1)}function HEe(e,t){return new ae(3400,!1)}function UEe(e){return new ae(3401,!1)}function WEe(e){return new ae(3402,!1)}function qEe(e,t){return new ae(3505,!1)}function rr(e){switch(e.length){case 0:return new Dl;case 1:return e[0];default:return new hC(e)}}function pC(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((v,g)=>{let w=g,E=v;if(g!=="offset")switch(w=e.normalizePropertyName(w,i),E){case Bg:E=n.get(g);break;case zn:E=a.get(g);break;default:E=e.normalizeStyleValue(g,w,E,i);break}p.set(w,E)}),u||r.push(p),l=p,s=d}),i.length)throw NEe();return r}function jg(e,t,n,a){switch(t){case"start":e.onStart(()=>a(n&&rp(n,"start",e)));break;case"done":e.onDone(()=>a(n&&rp(n,"done",e)));break;case"destroy":e.onDestroy(()=>a(n&&rp(n,"destroy",e)));break}}function rp(e,t,n){let a=n.totalTime,i=!!n.disabled,r=Hg(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 Hg(e,t,n,a,i="",r=0,s){return{element:e,triggerName:t,fromState:n,toState:a,phaseName:i,totalTime:r,disabled:!!s}}function yi(e,t,n){let a=e.get(t);return a||e.set(t,a=n),a}function ty(e){let t=e.indexOf(":"),n=e.substring(1,t),a=e.slice(t+1);return[n,a]}var GEe=typeof document>"u"?null:document.documentElement;function Ug(e){let t=e.parentNode||e.host||null;return t===GEe?null:t}function $Ee(e){return e.substring(1,6)=="ebkit"}var Mr=null,ay=!1;function YEe(e){Mr||(Mr=ZEe()||{},ay=Mr.style?"WebkitAppearance"in Mr.style:!1);let t=!0;return Mr.style&&!$Ee(e)&&(t=e in Mr.style,!t&&ay&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Mr.style)),t}function ZEe(){return typeof document<"u"?document.body:null}function mC(e,t){for(;t;){if(t===e)return!0;t=Ug(t)}return!1}function fC(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let a=e.querySelector(t);return a?[a]:[]}var KEe=1e3,gC="{{",QEe="}}",vC="ng-enter",Im="ng-leave",qc="ng-trigger",Zd=".ng-trigger",iy="ng-animating",Tm=".ng-animating";function Pn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Om(parseFloat(t[1]),t[2])}function Om(e,t){switch(t){case"s":return e*KEe;default:return e}}function Kd(e,t,n){return e.hasOwnProperty("duration")?e:XEe(e,t,n)}function XEe(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(ey()),{duration:0,delay:0,easing:""};i=Om(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(r=Om(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(fEe()),l=!0),r<0&&(t.push(gEe()),l=!0),l&&t.splice(c,0,ey())}return{duration:i,delay:r,easing:s}}function JEe(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function rn(e,t,n){t.forEach((a,i)=>{let r=Wg(i);n&&!n.has(i)&&n.set(i,e.style[r]),e.style[r]=a})}function Ur(e,t){t.forEach((n,a)=>{let i=Wg(a);e.style[i]=""})}function qs(e){return Array.isArray(e)?e.length==1?e[0]:mEe(e):e}function eke(e,t,n){let a=t.params||{},i=bC(e);i.length&&i.forEach(r=>{a.hasOwnProperty(r)||n.push(vEe())})}var Am=new RegExp(`${gC}\\s*(.+?)\\s*${QEe}`,"g");function bC(e){let t=[];if(typeof e=="string"){let n;for(;n=Am.exec(e);)t.push(n[1]);Am.lastIndex=0}return t}function Il(e,t,n){let a=`${e}`,i=a.replace(Am,(r,s)=>{let l=t[s];return l==null&&(n.push(bEe()),l=""),l.toString()});return i==a?e:i}var tke=/-+([a-z0-9])/g;function Wg(e){return e.replace(tke,(...t)=>t[1].toUpperCase())}function ake(e,t){return e===0||t===0}function ike(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,qg(e,l)))}}return t}function bi(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 yEe(t.type)}}function qg(e,t){return window.getComputedStyle(e)[t]}var nke=(()=>{const t=class t{validateStyleProperty(a){return YEe(a)}containsElement(a,i){return mC(a,i)}getParentElement(a){return Ug(a)}query(a,i,r){return fC(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",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),Ep,yC=(Ep=class{},o(Ep,"NOOP",new nke),Ep),Gg=class{},rke=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"]),oke=class extends Gg{normalizePropertyName(e,t){return Wg(e)}normalizeStyleValue(e,t,n,a){let i="",r=n.toString().trim();if(rke.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(_Ee())}return r+i}},Qd="*";function ske(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(a=>lke(a,n,t)):n.push(e),n}function lke(e,t,n){if(e[0]==":"){let c=cke(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(REe()),t;let i=a[1],r=a[2],s=a[3];t.push(ny(i,s));let l=i==Qd&&s==Qd;r[0]=="<"&&!l&&t.push(ny(s,i))}function cke(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(MEe()),"* => *"}}var Gc=new Set(["true","1"]),$c=new Set(["false","0"]);function ny(e,t){let n=Gc.has(e)||$c.has(e),a=Gc.has(t)||$c.has(t);return(i,r)=>{let s=e==Qd||e==i,l=t==Qd||t==r;return!s&&n&&typeof i=="boolean"&&(s=i?Gc.has(e):$c.has(e)),!l&&a&&typeof r=="boolean"&&(l=r?Gc.has(t):$c.has(t)),s&&l}}var _C=":self",dke=new RegExp(`s*${_C}s*,?`,"g");function xC(e,t,n,a){return new uke(e).build(t,n,a)}var ry="",uke=class{constructor(e){o(this,"_driver");this._driver=e}build(e,t,n){let a=new mke(t);return this._resetContextStyleTimingState(a),bi(this,qs(e),a)}_resetContextStyleTimingState(e){e.currentQuerySelector=ry,e.collectedStyles=new Map,e.collectedStyles.set(ry,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(xEe()),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(wEe())}),{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=>{bC(l).forEach(c=>{r.hasOwnProperty(c)||i.add(c)})})}),i.size&&t.errors.push(EEe(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=bi(this,qs(e.animation),t),a=ske(e.expr,t.errors);return{type:et.Transition,matchers:a,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Pr(e.options)}}visitSequence(e,t){return{type:et.Sequence,steps:e.steps.map(n=>bi(this,n,t)),options:Pr(e.options)}}visitGroup(e,t){let n=t.currentTime,a=0,i=e.steps.map(r=>{t.currentTime=n;let s=bi(this,r,t);return a=Math.max(a,t.currentTime),s});return t.currentTime=a,{type:et.Group,steps:i,options:Pr(e.options)}}visitAnimate(e,t){let n=gke(e.timings,t.errors);t.currentAnimateTimings=n;let a,i=e.styles?e.styles:Jb({});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=Jb(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===zn?n.push(s):t.errors.push(kEe()):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(gC)>=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(CEe(l,d.startTime,d.endTime)),u=!1),i=d.startTime),u&&c.set(l,{startTime:i,endTime:a}),t.options&&eke(s,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:et.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(SEe()),n;let a=1,i=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(S=>{let A=this._makeStyleAst(S,t),B=A.offset!=null?A.offset:fke(A.styles),j=0;return B!=null&&(i++,j=A.offset=B),l=l||j<0||j>1,s=s||j<c,c=j,r.push(j),A});l&&t.errors.push(DEe()),s&&t.errors.push(IEe());let u=e.steps.length,p=0;i>0&&i<u?t.errors.push(TEe()):i==0&&(p=a/(u-1));let v=u-1,g=t.currentTime,w=t.currentAnimateTimings,E=w.duration;return d.forEach((S,A)=>{let B=p>0?A==v?1:p*A:r[A],j=B*E;t.currentTime=g+w.delay+j,w.duration=j,this._validateStyleAst(S,t),S.offset=B,n.styles.push(S)}),n}visitReference(e,t){return{type:et.Reference,animation:bi(this,qs(e.animation),t),options:Pr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:et.AnimateChild,options:Pr(e.options)}}visitAnimateRef(e,t){return{type:et.AnimateRef,animation:this.visitReference(e.animation,t),options:Pr(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,a=e.options||{};t.queryCount++,t.currentQuery=e;let[i,r]=hke(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,yi(t.collectedStyles,t.currentQuerySelector,new Map);let s=bi(this,qs(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:Pr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(OEe());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Kd(e.timings,t.errors,!0);return{type:et.Stagger,animation:bi(this,qs(e.animation),t),timings:n,options:null}}};function hke(e){let t=!!e.split(/\s*,\s*/).find(n=>n==_C);return t&&(e=e.replace(dke,"")),e=e.replace(/@\*/g,Zd).replace(/@\w+/g,n=>Zd+"-"+n.slice(1)).replace(/:animating/g,Tm),[e,t]}function pke(e){return e?pe({},e):null}var mke=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 fke(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 gke(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let i=Kd(e,t).duration;return op(i,0,"")}let n=e;if(n.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=op(0,0,"");return i.dynamic=!0,i.strValue=n,i}let a=Kd(n,t);return op(a.duration,a.delay,a.easing)}function Pr(e){return e?(e=pe({},e),e.params&&(e.params=pke(e.params))):e={},e}function op(e,t,n){return{duration:e,delay:t,easing:n}}function $g(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 Yg=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()}},vke=1,bke=":enter",yke=new RegExp(bke,"g"),_ke=":leave",xke=new RegExp(_ke,"g");function wC(e,t,n,a,i,r=new Map,s=new Map,l,c,d=[]){return new wke().buildKeyframes(e,t,n,a,i,r,s,l,c,d)}var wke=class{buildKeyframes(e,t,n,a,i,r,s,l,c,d=[]){c=c||new Yg;let u=new Eke(e,t,c,a,i,d,[]);u.options=l;let p=l.delay?Pn(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([r],null,u.errors,l),bi(this,n,u);let v=u.timelines.filter(g=>g.containsAnimation());if(v.length&&s.size){let g;for(let w=v.length-1;w>=0;w--){let E=v[w];if(E.element===t){g=E;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,u.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[$g(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:Pn(Il(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?Pn(n.duration):null,r=n.delay!=null?Pn(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),bi(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=Xd);let r=Pn(i.delay);a.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>bi(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?Pn(e.options.delay):0;e.steps.forEach(r=>{let s=t.createSubContext(e.options);i&&s.delayNextStep(i),bi(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?Il(n,t.params,t.errors):n;return Kd(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?Pn(a.delay):0;i&&(t.previousNode.type===et.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Xd);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),bi(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;bi(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=a.currentTime-d+(a.startTime-n.currentTimeline.startTime)}},Xd={},Eke=class EC{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",Xd);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 kC(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=Pn(a.duration)),a.delay!=null&&(i.delay=Pn(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]=Il(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 EC(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=Xd,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 kke(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(yke,"."+this._enterClassName),t=t.replace(xke,"."+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(AEe()),l}},kC=class CC{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 CC(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+=vke,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||zn),this._currentKeyframe.set(n,zn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,a,i){n&&this._previousKeyframe.set("easing",n);let r=i&&i.params||{},s=Cke(t,this._globalTimelineStyles);for(let[l,c]of s){let d=Il(c,r,a);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??zn),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===Bg?t.add(p):u===zn&&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 $g(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}},kke=class extends kC{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",oy(l)),r.push(d);let u=t.length-1;for(let p=1;p<=u;p++){let v=new Map(t[p]),g=v.get("offset"),w=n+g*a;v.set("offset",oy(w/s)),r.push(v)}a=s,n=0,i="",t=r}return $g(this.element,t,this.preStyleProps,this.postStyleProps,a,n,i,!0)}};function oy(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function Cke(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,zn)}else for(let[r,s]of i)n.set(r,s)}),n}function sy(e,t,n,a,i,r,s,l,c,d,u,p,v){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:v}}var sp={},SC=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 Ske(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 xa;let u=[],p=this.ast.options&&this.ast.options.params||sp,v=s&&s.params||sp,g=this.buildStyles(n,v,u),w=l&&l.params||sp,E=this.buildStyles(a,w,u),S=new Set,A=new Map,B=new Map,j=a==="void",ve={params:DC(w,p),delay:(xa=this.ast.options)==null?void 0:xa.delay},Pe=d?[]:wC(e,t,this.ast.animation,i,r,g,E,ve,c,u),He=0;return Pe.forEach(ra=>{He=Math.max(ra.duration+ra.delay,He)}),u.length?sy(t,this._triggerName,n,a,j,g,E,[],[],A,B,He,u):(Pe.forEach(ra=>{let Mt=ra.element,pa=yi(A,Mt,new Set);ra.preStyleProps.forEach(se=>pa.add(se));let ge=yi(B,Mt,new Set);ra.postStyleProps.forEach(se=>ge.add(se)),Mt!==t&&S.add(Mt)}),sy(t,this._triggerName,n,a,j,g,E,Pe,[...S.values()],A,B,He))}};function Ske(e,t,n,a,i){return e.some(r=>r(t,n,a,i))}function DC(e,t){let n=pe({},t);return Object.entries(e).forEach(([a,i])=>{i!=null&&(n[a]=i)}),n}var Dke=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=DC(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((r,s)=>{r&&(r=Il(r,a,t));let l=this.normalizer.normalizePropertyName(s,t);r=this.normalizer.normalizeStyleValue(s,l,r,t),n.set(s,r)})}),n}};function Ike(e,t,n){return new Tke(e,t,n)}var Tke=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 Dke(a.style,i,n))}),ly(this.states,"true","1"),ly(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new SC(e,a,this.states))}),this.fallbackTransition=Oke(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 Oke(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 SC(e,r,t)}function ly(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 Ake=new Yg,Rke=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=xC(this._driver,t,n,a);if(n.length)throw LEe();this._animations.set(e,i)}_buildPlayer(e,t,n){let a=e.element,i=pC(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=wC(this._driver,t,i,vC,Im,new Map,new Map,n,Ake,a),r.forEach(d=>{let u=yi(s,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(a.push(FEe()),r=[]),a.length)throw VEe();s.forEach((d,u)=>{d.forEach((p,v)=>{d.set(v,this._driver.computeStyle(u,v,zn))})});let l=r.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=rr(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 zEe();return t}listen(e,t,n,a){let i=Hg(t,"","","");return jg(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}}},cy="ng-animate-queued",Mke=".ng-animate-queued",lp="ng-animate-disabled",Pke=".ng-animate-disabled",Nke="ng-star-inserted",Lke=".ng-star-inserted",Fke=[],IC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vke={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ui="__ng_removed",Rm=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=Hke(a),n){let i=e,{value:r}=i,s=Ede(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])})}}},ol="void",cp=new Rm(ol),zke=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,Oi(t,this._hostClassName)}listen(e,t,n,a){if(!this._triggers.has(t))throw BEe();if(n==null||n.length==0)throw jEe();if(!Uke(n))throw HEe();let i=yi(this._elementListeners,e,[]),r={name:t,phase:n,callback:a};i.push(r);let s=yi(this._engine.statesByElement,e,new Map);return s.has(t)||(Oi(e,qc),Oi(e,qc+"-"+t),s.set(t,cp)),()=>{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 UEe();return t}trigger(e,t,n,a=!0){let i=this._getTrigger(t),r=new Mm(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Oi(e,qc),Oi(e,qc+"-"+t),this._engine.statesByElement.set(e,s=new Map));let l=s.get(t),c=new Rm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(t,c),l||(l=cp),c.value!==ol&&l.value===c.value){if(!Gke(l.params,c.params)){let v=[],g=i.matchStyles(l.value,l.params,v),w=i.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Ur(e,g),rn(e,w)})}return}let d=yi(this._engine.playersByElement,e,[]);d.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.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||(Oi(e,cy),r.onStart(()=>{Oo(e,cy)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,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,Zd,!0);n.forEach(a=>{if(a[Ui])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,ol,a);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&rr(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)||cp,c=new Rm(ol),d=new Mm(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[Ui];(!i||i===IC)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Oi(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=Hg(i,n.triggerName,n.fromState.value,n.toState.value);l._data=e,jg(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)}},Bke=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 zke(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(Yc(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,n,a),!0}return!1}insertNode(e,t,n,a){if(!Yc(t))return;let i=t[Ui];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),Oi(e,lp)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Oo(e,lp))}removeNode(e,t,n){if(Yc(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[Ui]={namespaceId:e,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,n,a,i){return Yc(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,Zd,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Tm,!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 rr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[Ui];if(t&&t.setForRemoval){if(e[Ui]=IC,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(lp)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Pke,!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];Oi(a,Nke)}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?rr(t).onDone(()=>{n.forEach(a=>a())}):n.forEach(a=>a())}}reportError(e){throw WEe()}_flushAnimations(e,t){let n=new Yg,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($,Mke,!0);for(let ue=0;ue<Q.length;ue++)d.add(Q[ue])});let u=this.bodyNode,p=Array.from(this.statesByElement.keys()),v=hy(p,this.collectedEnterElements),g=new Map,w=0;v.forEach(($,Q)=>{let ue=vC+w++;g.set(Q,ue),$.forEach(Qe=>Oi(Qe,ue))});let E=[],S=new Set,A=new Set;for(let $=0;$<this.collectedLeaveElements.length;$++){let Q=this.collectedLeaveElements[$],ue=Q[Ui];ue&&ue.setForRemoval&&(E.push(Q),S.add(Q),ue.hasAnimation?this.driver.query(Q,Lke,!0).forEach(Qe=>S.add(Qe)):A.add(Q))}let B=new Map,j=hy(p,Array.from(S));j.forEach(($,Q)=>{let ue=Im+w++;B.set(Q,ue),$.forEach(Qe=>Oi(Qe,ue))}),e.push(()=>{v.forEach(($,Q)=>{let ue=g.get(Q);$.forEach(Qe=>Oo(Qe,ue))}),j.forEach(($,Q)=>{let ue=B.get(Q);$.forEach(Qe=>Oo(Qe,ue))}),E.forEach($=>{this.processLeaveNode($)})});let ve=[],Pe=[];for(let $=this._namespaceList.length-1;$>=0;$--)this._namespaceList[$].drainQueuedTransitions(t).forEach(Q=>{let ue=Q.player,Qe=Q.element;if(ve.push(ue),this.collectedEnterElements.length){let Pt=Qe[Ui];if(Pt&&Pt.setForMove){if(Pt.previousTriggersValues&&Pt.previousTriggersValues.has(Q.triggerName)){let za=Pt.previousTriggersValues.get(Q.triggerName),wa=this.statesByElement.get(Q.element);if(wa&&wa.has(Q.triggerName)){let Xi=wa.get(Q.triggerName);Xi.value=za,wa.set(Q.triggerName,Xi)}}ue.destroy();return}}let Ot=!u||!this.driver.containsElement(u,Qe),Va=B.get(Qe),nt=g.get(Qe),ct=this._buildInstruction(Q,n,nt,Va,Ot);if(ct.errors&&ct.errors.length){Pe.push(ct);return}if(Ot){ue.onStart(()=>Ur(Qe,ct.fromStyles)),ue.onDestroy(()=>rn(Qe,ct.toStyles)),a.push(ue);return}if(Q.isFallbackTransition){ue.onStart(()=>Ur(Qe,ct.fromStyles)),ue.onDestroy(()=>rn(Qe,ct.toStyles)),a.push(ue);return}let Ut=[];ct.timelines.forEach(Pt=>{Pt.stretchStartingKeyframe=!0,this.disabledNodes.has(Pt.element)||Ut.push(Pt)}),ct.timelines=Ut,n.append(Qe,ct.timelines);let zi={instruction:ct,player:ue,element:Qe};r.push(zi),ct.queriedElements.forEach(Pt=>yi(s,Pt,[]).push(ue)),ct.preStyleProps.forEach((Pt,za)=>{if(Pt.size){let wa=l.get(za);wa||l.set(za,wa=new Set),Pt.forEach((Xi,er)=>wa.add(er))}}),ct.postStyleProps.forEach((Pt,za)=>{let wa=c.get(za);wa||c.set(za,wa=new Set),Pt.forEach((Xi,er)=>wa.add(er))})});if(Pe.length){let $=[];Pe.forEach(Q=>{$.push(qEe(Q.triggerName,Q.errors))}),ve.forEach(Q=>Q.destroy()),this.reportError($)}let He=new Map,xa=new Map;r.forEach($=>{let Q=$.element;n.has(Q)&&(xa.set(Q,Q),this._beforeAnimationBuild($.player.namespaceId,$.instruction,He))}),a.forEach($=>{let Q=$.element;this._getPreviousPlayers(Q,!1,$.namespaceId,$.triggerName,null).forEach(ue=>{yi(He,Q,[]).push(ue),ue.destroy()})});let ra=E.filter($=>py($,l,c)),Mt=new Map;uy(Mt,this.driver,A,c,zn).forEach($=>{py($,l,c)&&ra.push($)});let pa=new Map;v.forEach(($,Q)=>{uy(pa,this.driver,new Set($),l,Bg)}),ra.forEach($=>{let Q=Mt.get($),ue=pa.get($);Mt.set($,new Map([...(Q==null?void 0:Q.entries())??[],...(ue==null?void 0:ue.entries())??[]]))});let ge=[],se=[],qe={};r.forEach($=>{let{element:Q,player:ue,instruction:Qe}=$;if(n.has(Q)){if(d.has(Q)){ue.onDestroy(()=>rn(Q,Qe.toStyles)),ue.disabled=!0,ue.overrideTotalTime(Qe.totalTime),a.push(ue);return}let Ot=qe;if(xa.size>1){let nt=Q,ct=[];for(;nt=nt.parentNode;){let Ut=xa.get(nt);if(Ut){Ot=Ut;break}ct.push(nt)}ct.forEach(Ut=>xa.set(Ut,Ot))}let Va=this._buildAnimation(ue.namespaceId,Qe,He,i,pa,Mt);if(ue.setRealPlayer(Va),Ot===qe)ge.push(ue);else{let nt=this.playersByElement.get(Ot);nt&&nt.length&&(ue.parentPlayer=rr(nt)),a.push(ue)}}else Ur(Q,Qe.fromStyles),ue.onDestroy(()=>rn(Q,Qe.toStyles)),se.push(ue),d.has(Q)&&a.push(ue)}),se.forEach($=>{let Q=i.get($.element);if(Q&&Q.length){let ue=rr(Q);$.setRealPlayer(ue)}}),a.forEach($=>{$.parentPlayer?$.syncPlayerEvents($.parentPlayer):$.destroy()});for(let $=0;$<E.length;$++){let Q=E[$],ue=Q[Ui];if(Oo(Q,Im),ue&&ue.hasAnimation)continue;let Qe=[];if(s.size){let Va=s.get(Q);Va&&Va.length&&Qe.push(...Va);let nt=this.driver.query(Q,Tm,!0);for(let ct=0;ct<nt.length;ct++){let Ut=s.get(nt[ct]);Ut&&Ut.length&&Qe.push(...Ut)}}let Ot=Qe.filter(Va=>!Va.destroyed);Ot.length?Wke(this,Q,Ot):this.processLeaveNode(Q)}return E.length=0,ge.forEach($=>{this.players.push($),$.onDone(()=>{$.destroy();let Q=this.players.indexOf($);this.players.splice(Q,1)}),$.play()}),ge}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==ol;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=yi(n,c,[]);this._getPreviousPlayers(c,d,r,s,t.toState).forEach(p=>{let v=p.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),p.destroy(),u.push(p)})}Ur(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 E=w[Ui];if(E&&E.removedBeforeQueried)return new Dl(g.duration,g.delay);let S=w!==l,A=qke((n.get(w)||Fke).map(He=>He.getRealPlayer())).filter(He=>{let xa=He;return xa.element?xa.element===w:!1}),B=i.get(w),j=r.get(w),ve=pC(this._normalizer,g.keyframes,B,j),Pe=this._buildPlayer(g,ve,A);if(g.subTimeline&&a&&u.add(w),S){let He=new Mm(e,s,w);He.setRealPlayer(Pe),c.push(He)}return Pe});c.forEach(g=>{yi(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>jke(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Oi(g,iy));let v=rr(p);return v.onDestroy(()=>{d.forEach(g=>Oo(g,iy)),rn(l,t.toStyles)}),u.forEach(g=>{yi(a,g,[]).push(v)}),v}_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)}},Mm=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=>jg(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){yi(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 jke(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 Hke(e){return e??null}function Yc(e){return e&&e.nodeType===1}function Uke(e){return e=="start"||e=="done"}function dy(e,t){let n=e.style.display;return e.style.display=t??"none",n}function uy(e,t,n,a,i){let r=[];n.forEach(c=>r.push(dy(c)));let s=[];a.forEach((c,d)=>{let u=new Map;c.forEach(p=>{let v=t.computeStyle(d,p,i);u.set(p,v),(!v||v.length==0)&&(d[Ui]=Vke,s.push(d))}),e.set(d,u)});let l=0;return n.forEach(c=>dy(c,r[l++])),s}function hy(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 Oi(e,t){var n;(n=e.classList)==null||n.add(t)}function Oo(e,t){var n;(n=e.classList)==null||n.remove(t)}function Wke(e,t,n){rr(n).onDone(()=>e.processLeaveNode(t))}function qke(e){let t=[];return TC(e,t),t}function TC(e,t){for(let n=0;n<e.length;n++){let a=e[n];a instanceof hC?TC(a.players,t):t.push(a)}}function Gke(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 py(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 Pm=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 Bke(e.body,t,n),this._timelineEngine=new Rke(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=xC(this._driver,i,l,c);if(l.length)throw PEe();s=Ike(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]=ty(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]=ty(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 $ke(e,t){let n=null,a=null;return Array.isArray(t)&&t.length?(n=dp(t[0]),t.length>1&&(a=dp(t[t.length-1]))):t instanceof Map&&(n=dp(t)),n||a?new Yke(e,n,a):null}var Yke=(()=>{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&&rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rn(this._element,this._initialStyles),this._endStyles&&(rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ur(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ur(this._element,this._endStyles),this._endStyles=null),rn(this._element,this._initialStyles),this._state=3)}};o(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function dp(e){let t=null;return e.forEach((n,a)=>{Zke(a)&&(t=t||new Map,t.set(a,n))}),t}function Zke(e){return e==="display"||e==="position"}var my=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:qg(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Kke=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return mC(e,t)}getParentElement(e){return Ug(e)}query(e,t,n){return fC(e,t,n)}computeStyle(e,t,n){return qg(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(v=>v instanceof my);ake(n,a)&&d.forEach(v=>{v.currentSnapshot.forEach((g,w)=>c.set(w,g))});let u=JEe(t).map(v=>new Map(v));u=ike(e,u,c);let p=$ke(e,u);return new my(e,u,l,p)}},vd="@",OC="@.disabled",AC=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)==vd&&t==OC?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)}},Qke=class extends AC{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)==vd?n.charAt(1)=="."&&n==OC?(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)==vd){let r=Xke(t),s=n.slice(1),l="";return s.charAt(0)!=vd&&([s,l]=Jke(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 Xke(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Jke(e){let t=e.indexOf("."),n=e.substring(0,t),a=e.slice(t+1);return[n,a]}var eCe=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 AC(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 Qke(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)}},tCe=(()=>{const t=class t extends Pm{constructor(a,i,r){super(a,i,r)}ngOnDestroy(){this.flush()}};o(t,"ɵfac",function(a){return new(a||t)(Ce(it),Ce(yC),Ce(Gg))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function aCe(){return new oke}function iCe(e,t,n){return new eCe(e,t,n)}var nCe=[{provide:Gg,useFactory:aCe},{provide:Pm,useClass:tCe},{provide:Fi,useFactory:iCe,deps:[Em,Pm,Ne]}],rCe=[{provide:yC,useFactory:()=>new Kke},{provide:Ra,useFactory:()=>"BrowserAnimations"},...nCe];function oCe(){return ho("NgEagerAnimations"),[...rCe]}var sCe=(()=>{const t=class t extends uC{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)(Ce(Fa))},t.ɵprov=Z({token:t,factory:t.ɵfac});let e=t;return e})(),Zg=6048e5,lCe=864e5,cCe=6e4,dCe=36e5,uCe=1e3,fy=Symbol.for("constructDateFrom");function Rt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&fy in e?e[fy](t):e instanceof Date?new e.constructor(t):new Date(t)}function at(e,t){return Rt(t||e,e)}function Ki(e,t,n){let a=at(e,n==null?void 0:n.in);return isNaN(t)?Rt((n==null?void 0:n.in)||e,NaN):(t&&a.setDate(a.getDate()+t),a)}function hCe(e,t,n){let a=at(e,n==null?void 0:n.in);if(isNaN(t))return Rt(e,NaN);let i=a.getDate(),r=Rt(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 pCe={};function yo(){return pCe}function ni(e,t){var l,c,d,u;let n=yo(),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=at(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 so(e,t){return ni(e,dt(pe({},t),{weekStartsOn:1}))}function RC(e,t){let n=at(e,t==null?void 0:t.in),a=n.getFullYear(),i=Rt(n,0);i.setFullYear(a+1,0,4),i.setHours(0,0,0,0);let r=so(i),s=Rt(n,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);let l=so(s);return n.getTime()>=r.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}function ss(e){let t=at(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 Sr(e,...t){let n=Rt.bind(null,e||t.find(a=>typeof a=="object"));return t.map(n)}function It(e,t){let n=at(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Ju(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t),r=It(a),s=It(i),l=+r-ss(r),c=+s-ss(s);return Math.round((l-c)/lCe)}function mCe(e,t){let n=RC(e,t),a=Rt(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),so(a)}function Kg(e,t,n){return Ki(e,t*7,n)}function fCe(e,t,n){return hCe(e,t*12,n)}function gCe(e,t){let n,a=t==null?void 0:t.in;return e.forEach(i=>{!a&&typeof i=="object"&&(a=Rt.bind(null,i));let r=at(i,a);(!n||n>r||isNaN(+r))&&(n=r)}),Rt(a,n||NaN)}function vCe(e,t){let n=+at(e);if(isNaN(n))return NaN;let a,i;return t.forEach((r,s)=>{let l=at(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 bCe(e,t,n){let[a,...i]=Sr(n==null?void 0:n.in,e,...t),r=vCe(a,i);if(typeof r=="number"&&isNaN(r))return Rt(a,NaN);if(r!==void 0)return i[r]}function MC(e){return Rt(e,Date.now())}function PC(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t);return+It(a)==+It(i)}function yCe(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _Ce(e){return!(!yCe(e)&&typeof e!="number"||isNaN(+at(e)))}function xCe(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t),r=a.getFullYear()-i.getFullYear(),s=a.getMonth()-i.getMonth();return r*12+s}function wCe(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t),r=ni(a,n),s=ni(i,n),l=+r-ss(r),c=+s-ss(s);return Math.round((l-c)/Zg)}function ECe(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t);return a.getFullYear()-i.getFullYear()}function gy(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t),r=vy(a,i),s=Math.abs(Ju(a,i));a.setDate(a.getDate()-r*s);let l=+(vy(a,i)===-r),c=r*(s-l);return c===0?0:c}function vy(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 Qg(e,t){let n=at(e,t==null?void 0:t.in);return n.setHours(23,59,59,999),n}function kCe(e,t){let n=at(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Xg(e,t){var l,c,d,u;let n=yo(),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=at(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 CCe={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"}},SCe=(e,t,n)=>{let a,i=CCe[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 up(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var DCe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ICe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},TCe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},OCe={date:up({formats:DCe,defaultWidth:"full"}),time:up({formats:ICe,defaultWidth:"full"}),dateTime:up({formats:TCe,defaultWidth:"full"})},ACe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},RCe=(e,t,n,a)=>ACe[e];function Gs(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 MCe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},PCe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},NCe={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"]},LCe={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"]},FCe={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"}},VCe={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"}},zCe=(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"},BCe={ordinalNumber:zCe,era:Gs({values:MCe,defaultWidth:"wide"}),quarter:Gs({values:PCe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Gs({values:NCe,defaultWidth:"wide"}),day:Gs({values:LCe,defaultWidth:"wide"}),dayPeriod:Gs({values:FCe,defaultWidth:"wide",formattingValues:VCe,defaultFormattingWidth:"wide"})};function $s(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)?HCe(l,p=>p.test(s)):jCe(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 jCe(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function HCe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function UCe(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 WCe=/^(\d+)(th|st|nd|rd)?/i,qCe=/\d+/i,GCe={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},$Ce={any:[/^b/i,/^(a|c)/i]},YCe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ZCe={any:[/1/i,/2/i,/3/i,/4/i]},KCe={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},QCe={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]},XCe={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},JCe={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]},eSe={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},tSe={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}},aSe={ordinalNumber:UCe({matchPattern:WCe,parsePattern:qCe,valueCallback:e=>parseInt(e,10)}),era:$s({matchPatterns:GCe,defaultMatchWidth:"wide",parsePatterns:$Ce,defaultParseWidth:"any"}),quarter:$s({matchPatterns:YCe,defaultMatchWidth:"wide",parsePatterns:ZCe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:$s({matchPatterns:KCe,defaultMatchWidth:"wide",parsePatterns:QCe,defaultParseWidth:"any"}),day:$s({matchPatterns:XCe,defaultMatchWidth:"wide",parsePatterns:JCe,defaultParseWidth:"any"}),dayPeriod:$s({matchPatterns:eSe,defaultMatchWidth:"any",parsePatterns:tSe,defaultParseWidth:"any"})},NC={code:"en-US",formatDistance:SCe,formatLong:OCe,formatRelative:RCe,localize:BCe,match:aSe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function iSe(e,t){let n=at(e,t==null?void 0:t.in);return Ju(n,kCe(n))+1}function eh(e,t){let n=at(e,t==null?void 0:t.in),a=+so(n)-+mCe(n);return Math.round(a/Zg)+1}function Jg(e,t){var u,p,v,g;let n=at(e,t==null?void 0:t.in),a=n.getFullYear(),i=yo(),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=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=Rt((t==null?void 0:t.in)||e,0);s.setFullYear(a+1,0,r),s.setHours(0,0,0,0);let l=ni(s,t),c=Rt((t==null?void 0:t.in)||e,0);c.setFullYear(a,0,r),c.setHours(0,0,0,0);let d=ni(c,t);return+n>=+l?a+1:+n>=+d?a:a-1}function nSe(e,t){var s,l,c,d;let n=yo(),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=Jg(e,t),r=Rt((t==null?void 0:t.in)||e,0);return r.setFullYear(i,0,a),r.setHours(0,0,0,0),ni(r,t)}function LC(e,t){let n=at(e,t==null?void 0:t.in),a=+ni(n,t)-+nSe(n,t);return Math.round(a/Zg)+1}function xt(e,t){let n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}var ir={y(e,t){let n=e.getFullYear(),a=n>0?n:1-n;return xt(t==="yy"?a%100:a,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):xt(n+1,2)},d(e,t){return xt(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 xt(e.getHours()%12||12,t.length)},H(e,t){return xt(e.getHours(),t.length)},m(e,t){return xt(e.getMinutes(),t.length)},s(e,t){return xt(e.getSeconds(),t.length)},S(e,t){let n=t.length,a=e.getMilliseconds(),i=Math.trunc(a*Math.pow(10,n-3));return xt(i,t.length)}},To={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},by={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 ir.y(e,t)},Y:function(e,t,n,a){let i=Jg(e,a),r=i>0?i:1-i;if(t==="YY"){let s=r%100;return xt(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):xt(r,t.length)},R:function(e,t){let n=RC(e);return xt(n,t.length)},u:function(e,t){let n=e.getFullYear();return xt(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 xt(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 xt(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 ir.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 xt(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=LC(e,a);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):xt(i,t.length)},I:function(e,t,n){let a=eh(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):xt(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ir.d(e,t)},D:function(e,t,n){let a=iSe(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):xt(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 xt(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 xt(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 xt(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=To.noon:a===0?i=To.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=To.evening:a>=12?i=To.afternoon:a>=4?i=To.morning:i=To.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 ir.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ir.H(e,t)},K:function(e,t,n){let a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):xt(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):xt(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ir.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ir.s(e,t)},S:function(e,t){return ir.S(e,t)},X:function(e,t,n){let a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return _y(a);case"XXXX":case"XX":return Fr(a);case"XXXXX":case"XXX":default:return Fr(a,":")}},x:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"x":return _y(a);case"xxxx":case"xx":return Fr(a);case"xxxxx":case"xxx":default:return Fr(a,":")}},O:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+yy(a,":");case"OOOO":default:return"GMT"+Fr(a,":")}},z:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+yy(a,":");case"zzzz":default:return"GMT"+Fr(a,":")}},t:function(e,t,n){let a=Math.trunc(+e/1e3);return xt(a,t.length)},T:function(e,t,n){return xt(+e,t.length)}};function yy(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+xt(r,2)}function _y(e,t){return e%60===0?(e>0?"-":"+")+xt(Math.abs(e)/60,2):Fr(e,t)}function Fr(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=xt(Math.trunc(a/60),2),r=xt(a%60,2);return n+i+t+r}var xy=(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"})}},FC=(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"})}},rSe=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return xy(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}}",xy(a,t)).replace("{{time}}",FC(i,t))},Nm={p:FC,P:rSe},oSe=/^D+$/,sSe=/^Y+$/,lSe=["D","DD","YY","YYYY"];function VC(e){return oSe.test(e)}function zC(e){return sSe.test(e)}function Lm(e,t,n){let a=cSe(e,t,n);if(console.warn(a),lSe.includes(e))throw new RangeError(a)}function cSe(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 dSe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,uSe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hSe=/^'([^]*?)'?$/,pSe=/''/g,mSe=/[a-zA-Z]/;function Fo(e,t,n){var u,p,v,g,w,E,S,A;let a=yo(),i=(n==null?void 0:n.locale)??a.locale??NC,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=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((E=(w=n==null?void 0:n.locale)==null?void 0:w.options)==null?void 0:E.weekStartsOn)??a.weekStartsOn??((A=(S=a.locale)==null?void 0:S.options)==null?void 0:A.weekStartsOn)??0,l=at(e,n==null?void 0:n.in);if(!_Ce(l))throw new RangeError("Invalid time value");let c=t.match(uSe).map(B=>{let j=B[0];if(j==="p"||j==="P"){let ve=Nm[j];return ve(B,i.formatLong)}return B}).join("").match(dSe).map(B=>{if(B==="''")return{isToken:!1,value:"'"};let j=B[0];if(j==="'")return{isToken:!1,value:fSe(B)};if(by[j])return{isToken:!0,value:B};if(j.match(mSe))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)&&zC(j)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&VC(j))&&Lm(j,t,String(e));let ve=by[j[0]];return ve(l,j,i.localize,d)}).join("")}function fSe(e){let t=e.match(hSe);return t?t[1].replace(pSe,"'"):e}function Zc(e,t){return at(e,t==null?void 0:t.in).getDate()}function BC(){return Object.assign({},yo())}function _r(e,t){let n=at(e,t==null?void 0:t.in).getDay();return n===0?7:n}function wy(e,t){return at(e,t==null?void 0:t.in).getMonth()}function Tl(e,t){return+at(e)>+at(t)}function lo(e,t){return+at(e)<+at(t)}function Vo(e,t){return+at(e)==+at(t)}function gSe(e,t){let n=vSe(t)?new t(0):Rt(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function vSe(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var bSe=10,jC=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},ySe=class extends jC{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)}},_Se=class extends jC{constructor(t,n){super();o(this,"priority",bSe);o(this,"subPriority",-1);this.context=t||(a=>Rt(n,a))}set(t,n){return n.timestampIsSet?t:Rt(t,gSe(t,this.context))}},ft=class{run(e,t,n,a){let i=this.parse(e,t,n,a);return i?{setter:new ySe(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}},xSe=class extends ft{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}},ca={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}/},on={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 da(e,t){return e&&{value:t(e.value),rest:e.rest}}function Wt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function sn(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*dCe+r*cCe+s*uCe),rest:t.slice(n[0].length)}}function HC(e){return Wt(ca.anyDigitsSigned,e)}function ia(e,t){switch(e){case 1:return Wt(ca.singleDigit,t);case 2:return Wt(ca.twoDigits,t);case 3:return Wt(ca.threeDigits,t);case 4:return Wt(ca.fourDigits,t);default:return Wt(new RegExp("^\\d{1,"+e+"}"),t)}}function Jd(e,t){switch(e){case 1:return Wt(ca.singleDigitSigned,t);case 2:return Wt(ca.twoDigitsSigned,t);case 3:return Wt(ca.threeDigitsSigned,t);case 4:return Wt(ca.fourDigitsSigned,t);default:return Wt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function e0(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 UC(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 WC(e){return e%400===0||e%4===0&&e%100!==0}var wSe=class extends ft{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 da(ia(4,t),i);case"yo":return da(a.ordinalNumber(t,{unit:"year"}),i);default:return da(ia(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=UC(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}},ESe=class extends ft{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 da(ia(4,t),i);case"Yo":return da(a.ordinalNumber(t,{unit:"year"}),i);default:return da(ia(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,i){let r=Jg(t,i);if(a.isTwoDigitYear){let l=UC(a.year,r);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),ni(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),ni(t,i)}},kSe=class extends ft{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 Jd(n==="R"?4:n.length,t)}set(t,n,a){let i=Rt(t,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),so(i)}},CSe=class extends ft{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 Jd(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}},SSe=class extends ft{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 ia(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}},DSe=class extends ft{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 ia(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}},ISe=class extends ft{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 da(Wt(ca.month,t),i);case"MM":return da(ia(2,t),i);case"Mo":return da(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}},TSe=class extends ft{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 da(Wt(ca.month,t),i);case"LL":return da(ia(2,t),i);case"Lo":return da(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 OSe(e,t,n){let a=at(e,n==null?void 0:n.in),i=LC(a,n)-t;return a.setDate(a.getDate()-i*7),at(a,n==null?void 0:n.in)}var ASe=class extends ft{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 Wt(ca.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return ia(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,i){return ni(OSe(t,a,i),i)}};function RSe(e,t,n){let a=at(e,n==null?void 0:n.in),i=eh(a,n)-t;return a.setDate(a.getDate()-i*7),a}var MSe=class extends ft{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 Wt(ca.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return ia(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return so(RSe(t,a))}},PSe=[31,28,31,30,31,30,31,31,30,31,30,31],NSe=[31,29,31,30,31,30,31,31,30,31,30,31],LSe=class extends ft{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 Wt(ca.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return ia(n.length,t)}}validate(t,n){let a=t.getFullYear(),i=WC(a),r=t.getMonth();return i?n>=1&&n<=NSe[r]:n>=1&&n<=PSe[r]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}},FSe=class extends ft{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 Wt(ca.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return ia(n.length,t)}}validate(t,n){let a=t.getFullYear();return WC(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 t0(e,t,n){var u,p,v,g;let a=yo(),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=(v=a.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=at(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 Ki(r,d,n)}var VSe=class extends ft{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=t0(t,a,i),t.setHours(0,0,0,0),t}},zSe=class extends ft{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 da(ia(n.length,t),r);case"eo":return da(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=t0(t,a,i),t.setHours(0,0,0,0),t}},BSe=class extends ft{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 da(ia(n.length,t),r);case"co":return da(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=t0(t,a,i),t.setHours(0,0,0,0),t}};function jSe(e,t,n){let a=at(e,n==null?void 0:n.in),i=_r(a,n),r=t-i;return Ki(a,r,n)}var HSe=class extends ft{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 ia(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return da(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 da(a.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return da(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return da(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=jSe(t,a),t.setHours(0,0,0,0),t}},USe=class extends ft{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(e0(a),0,0,0),t}},WSe=class extends ft{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(e0(a),0,0,0),t}},qSe=class extends ft{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(e0(a),0,0,0),t}},GSe=class extends ft{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return Wt(ca.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return ia(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}},$Se=class extends ft{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 Wt(ca.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return ia(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}},YSe=class extends ft{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return Wt(ca.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return ia(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}},ZSe=class extends ft{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 Wt(ca.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return ia(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}},KSe=class extends ft{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return Wt(ca.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return ia(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}},QSe=class extends ft{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return Wt(ca.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return ia(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}},XSe=class extends ft{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 da(ia(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}},JSe=class extends ft{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return sn(on.basicOptionalMinutes,t);case"XX":return sn(on.basic,t);case"XXXX":return sn(on.basicOptionalSeconds,t);case"XXXXX":return sn(on.extendedOptionalSeconds,t);case"XXX":default:return sn(on.extended,t)}}set(t,n,a){return n.timestampIsSet?t:Rt(t,t.getTime()-ss(t)-a)}},e2e=class extends ft{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return sn(on.basicOptionalMinutes,t);case"xx":return sn(on.basic,t);case"xxxx":return sn(on.basicOptionalSeconds,t);case"xxxxx":return sn(on.extendedOptionalSeconds,t);case"xxx":default:return sn(on.extended,t)}}set(t,n,a){return n.timestampIsSet?t:Rt(t,t.getTime()-ss(t)-a)}},t2e=class extends ft{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return HC(t)}set(t,n,a){return[Rt(t,a*1e3),{timestampIsSet:!0}]}},a2e=class extends ft{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return HC(t)}set(t,n,a){return[Rt(t,a),{timestampIsSet:!0}]}},i2e={G:new xSe,y:new wSe,Y:new ESe,R:new kSe,u:new CSe,Q:new SSe,q:new DSe,M:new ISe,L:new TSe,w:new ASe,I:new MSe,d:new LSe,D:new FSe,E:new VSe,e:new zSe,c:new BSe,i:new HSe,a:new USe,b:new WSe,B:new qSe,h:new GSe,H:new $Se,K:new YSe,k:new ZSe,m:new KSe,s:new QSe,S:new XSe,X:new JSe,x:new e2e,t:new t2e,T:new a2e},n2e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,r2e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,o2e=/^'([^]*?)'?$/,s2e=/''/g,l2e=/\S/,c2e=/[a-zA-Z]/;function d2e(e,t,n,a){var S,A,B,j;let i=()=>Rt(n,NaN),r=BC(),s=r.locale??NC,l=r.firstWeekContainsDate??((A=(S=r.locale)==null?void 0:S.options)==null?void 0:A.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 _Se(a==null?void 0:a.in,n)],p=t.match(r2e).map(ve=>{let Pe=ve[0];if(Pe in Nm){let He=Nm[Pe];return He(ve,s.formatLong)}return ve}).join("").match(n2e),v=[];for(let ve of p){zC(ve)&&Lm(ve,t,e),VC(ve)&&Lm(ve,t,e);let Pe=ve[0],He=i2e[Pe];if(He){let{incompatibleTokens:xa}=He;if(Array.isArray(xa)){let Mt=v.find(pa=>xa.includes(pa.token)||pa.token===Pe);if(Mt)throw new RangeError(`The format string mustn't contain \`${Mt.fullToken}\` and \`${ve}\` at the same time`)}else if(He.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${ve}\` and any other token at the same time`);v.push({token:Pe,fullToken:ve});let ra=He.run(e,ve,s.match,d);if(!ra)return i();u.push(ra.setter),e=ra.rest}else{if(Pe.match(c2e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Pe+"`");if(ve==="''"?ve="'":Pe==="'"&&(ve=u2e(ve)),e.indexOf(ve)===0)e=e.slice(ve.length);else return i()}}if(e.length>0&&l2e.test(e))return i();let g=u.map(ve=>ve.priority).sort((ve,Pe)=>Pe-ve).filter((ve,Pe,He)=>He.indexOf(ve)===Pe).map(ve=>u.filter(Pe=>Pe.priority===ve).sort((Pe,He)=>He.subPriority-Pe.subPriority)).map(ve=>ve[0]),w=at(n,a==null?void 0:a.in);if(isNaN(+w))return i();let E={};for(let ve of g){if(!ve.validate(w,d))return i();let Pe=ve.set(w,E,d);Array.isArray(Pe)?(w=Pe[0],Object.assign(E,Pe[1])):w=Pe}return w}function u2e(e){return e.match(o2e)[1].replace(s2e,"'")}function h2e(e,t,n){let[a,i]=Sr(n==null?void 0:n.in,e,t);return+ni(a,n)==+ni(i,n)}function p2e(e,t){return h2e(Rt((t==null?void 0:t.in)||e,e),MC((t==null?void 0:t.in)||e),t)}function m2e(e,t){return PC(Rt(e,e),MC(e))}function qC(e,t,n){let a=+at(e,n==null?void 0:n.in),[i,r]=[+at(t.start,n==null?void 0:n.in),+at(t.end,n==null?void 0:n.in)].sort((s,l)=>s-l);return a>=i&&a<=r}function a0(e,t,n){return Ki(e,-1,n)}function f2e(e,t,n){return Kg(e,-1,n)}var M=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}(M||{}),i0=new Y("ngx-mask config"),GC=new Y("new ngx-mask config"),$C=new Y("initial ngx-mask config"),g2e={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 ie,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")}}};M.HOURS_MINUTES_SECONDS,M.HOURS_MINUTES,M.MINUTES_SECONDS;M.PERCENT,M.HOURS_HOUR,M.SECONDS,M.MINUTES,M.SEPARATOR,M.DAYS_MONTHS_YEARS,M.DAYS_MONTHS,M.DAYS,M.MONTHS;var v2e=(()=>{const t=class t{constructor(){o(this,"_config",_(i0));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(E=>"[\\^$.|?*+()".indexOf(E)>=0?`\\${E}`:E).join("|"));l=a.split(w),c=((g=a.match(w))==null?void 0:g[0])??M.EMPTY_STRING}else l=a.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:M.EMPTY_STRING,u=l[0]??M.EMPTY_STRING,p=this.separatorLimit.replace(/\s/g,M.EMPTY_STRING);p&&+p&&(u[0]===M.MINUS?u=`-${u.slice(1,u.length).slice(0,p.length)}`:u=u.slice(0,p.length));let v=/(\d+)(\d{3})/;for(;i&&v.test(u);)u=u.replace(v,"$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(M.MINUS)?i.slice(1,a.length):i);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",a=>{let i=a.split(M.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,M.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 v=p-1-i;s=s.substring(0,s.length-v)}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 ra,Mt,pa;if(!i||typeof a!="string")return M.EMPTY_STRING;let d=0,u="",p=!1,v=!1,g=1,w=!1,E=a,S=r;E.slice(0,this.prefix.length)===this.prefix&&(E=E.slice(this.prefix.length,E.length)),this.suffix&&E.length>0&&(E=this.checkAndRemoveSuffix(E)),E==="("&&this.prefix&&(E="");let A=E.toString().split(M.EMPTY_STRING);if(this.allowNegativeNumbers&&E.slice(d,d+1)===M.MINUS&&(u+=E.slice(d,d+1)),i===M.IP){let ge=E.split(M.DOT);this.ipError=this._validIP(ge),i="099.099.099.099"}let B=[];for(let ge=0;ge<E.length;ge++)(ra=E[ge])!=null&&ra.match("\\d")&&B.push(E[ge]??M.EMPTY_STRING);if(i===M.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(M.PERCENT)){if(E.match("[a-z]|[A-Z]")||E.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){E=this._stripToDecimal(E);let qe=this.getPrecision(i);E=this.checkInputPrecision(E,qe,this.decimalMarker)}let ge=typeof this.decimalMarker=="string"?this.decimalMarker:M.DOT;if(E.indexOf(ge)>0&&!this.percentage(E.substring(0,E.indexOf(ge)))){let qe=E.substring(0,E.indexOf(ge)-1);this.allowNegativeNumbers&&E.slice(d,d+1)===M.MINUS&&!l&&(qe=E.substring(0,E.indexOf(ge))),E=`${qe}${E.substring(E.indexOf(ge),E.length)}`}let se="";this.allowNegativeNumbers&&E.slice(d,d+1)===M.MINUS?se=`${M.MINUS}${E.slice(d+1,d+E.length)}`:se=E,this.percentage(se)?u=this._splitPercentZero(E):u=this._splitPercentZero(E.substring(0,E.length-1))}else if(i.startsWith(M.SEPARATOR)){(E.match("[wа-яА-Я]")||E.match("[ЁёА-я]")||E.match("[a-z]|[A-Z]")||E.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||E.match("[^A-Za-z0-9,]"))&&(E=this._stripToDecimal(E));let ge=this.getPrecision(i),se=Array.isArray(this.decimalMarker)?this.thousandSeparator===M.DOT?M.COMMA:M.DOT:this.decimalMarker;if(ge===0?E=this.allowNegativeNumbers?E.length>2&&E[0]===M.MINUS&&E[1]===M.NUMBER_ZERO&&E[2]!==this.thousandSeparator&&E[2]!==M.COMMA&&E[2]!==M.DOT?"-"+E.slice(2,E.length):E[0]===M.NUMBER_ZERO&&E.length>1&&E[1]!==this.thousandSeparator&&E[1]!==M.COMMA&&E[1]!==M.DOT?E.slice(1,E.length):E:E.length>1&&E[0]===M.NUMBER_ZERO&&E[1]!==this.thousandSeparator&&E[1]!==M.COMMA&&E[1]!==M.DOT?E.slice(1,E.length):E:(E[0]===se&&E.length>1&&(E=M.NUMBER_ZERO+E.slice(0,E.length+1),this.plusOnePosition=!0),E[0]===M.NUMBER_ZERO&&E[1]!==se&&E[1]!==this.thousandSeparator&&(E=E.length>1?E.slice(0,1)+se+E.slice(1,E.length+1):E,this.plusOnePosition=!0),this.allowNegativeNumbers&&E[0]===M.MINUS&&(E[1]===se||E[1]===M.NUMBER_ZERO)&&(E=E[1]===se&&E.length>2?E.slice(0,1)+M.NUMBER_ZERO+E.slice(1,E.length):E[1]===M.NUMBER_ZERO&&E.length>2&&E[2]!==se?E.slice(0,2)+se+E.slice(2,E.length):E,this.plusOnePosition=!0)),l){let nt=E.slice(this._findFirstNonZeroDigitIndex(E),E.length),ct=E[S]===M.NUMBER_ZERO||E[S]===se,Ut=E[0]===M.NUMBER_ZERO,zi=E[0]===M.MINUS,Pt=E[0]===this.thousandSeparator,za=E[1]===se,wa=E[1]===M.NUMBER_ZERO,Xi=E[2]===se;Ut&&za&&ct&&S<2&&(E=nt),zi&&wa&&Xi&&ct&&S<3&&(E=M.MINUS+nt),nt!==M.MINUS&&(S===0&&(Ut||Pt)||this.allowNegativeNumbers&&S===1&&zi&&!wa)&&(E=zi?M.MINUS+nt:nt)}let qe=this._charToRegExpExpression(this.thousandSeparator),$='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(qe,"");if(Array.isArray(this.decimalMarker))for(let nt of this.decimalMarker)$=$.replace(this._charToRegExpExpression(nt),M.EMPTY_STRING);else $=$.replace(this._charToRegExpExpression(this.decimalMarker),"");let Q=new RegExp("["+$+"]");E.match(Q)&&(E=E.substring(0,E.length-1)),E=this.checkInputPrecision(E,ge,this.decimalMarker);let ue=E.replace(new RegExp(qe,"g"),"");u=this._formatWithSeparators(ue,this.thousandSeparator,this.decimalMarker,ge);let Qe=u.indexOf(M.COMMA)-E.indexOf(M.COMMA),Ot=u.length-E.length,Va=l&&u.length<a.length&&this.separatorLimit;if((u[S-1]===this.thousandSeparator||u[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(Ot>0&&u[S]!==this.thousandSeparator||Va){v=!0;let nt=0;do this._shift.add(S+nt),nt++;while(nt<Ot)}else u[S-1]===this.thousandSeparator||Ot===-4||Ot===-3||u[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Qe!==0&&S>0&&!(u.indexOf(M.COMMA)>=S&&S>3)||!(u.indexOf(M.DOT)>=S&&S>3)&&Ot<=0?(this._shift.clear(),v=!0,g=Ot,S+=Ot,this._shift.add(S)):this._shift.clear()}else for(let ge=0,se=A[0];ge<A.length&&d!==i.length;ge++,se=A[ge]??M.EMPTY_STRING){let qe=M.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(se,i[d]??M.EMPTY_STRING)&&i[d+1]===M.SYMBOL_QUESTION)u+=se,d+=2;else if(i[d+1]===M.SYMBOL_STAR&&p&&this._checkSymbolMask(se,i[d+2]??M.EMPTY_STRING))u+=se,d+=3,p=!1;else if(this._checkSymbolMask(se,i[d]??M.EMPTY_STRING)&&i[d+1]===M.SYMBOL_STAR&&!qe)u+=se,p=!0;else if(i[d+1]===M.SYMBOL_QUESTION&&this._checkSymbolMask(se,i[d+2]??M.EMPTY_STRING))u+=se,d+=3;else if(this._checkSymbolMask(se,i[d]??M.EMPTY_STRING)){if(i[d]===M.HOURS&&(this.apm?Number(se)>9:Number(se)>2)){S=this.leadZeroDateTime?S:S+1,d+=1,this._shiftStep(i,d,A.length),ge--,this.leadZeroDateTime&&(u+="0");continue}if(i[d]===M.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(se)>2||E.slice(d-1,d).length===1&&Number(E.slice(d-1,d))>2||E.slice(d-1,d)==="1"&&Number(se)>2:u==="2"&&Number(se)>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(se)>3&&d>10)){S=S+1,d+=1,ge--;continue}if((i[d]===M.MINUTE||i[d]===M.SECOND)&&Number(se)>5){S=this.leadZeroDateTime?S:S+1,d+=1,this._shiftStep(i,d,A.length),ge--,this.leadZeroDateTime&&(u+="0");continue}let $=31,Q=E[d],ue=E[d+1],Qe=E[d+2],Ot=E[d-1],Va=E[d-2],nt=E.slice(d-3,d-1),ct=E.slice(d-1,d+1),Ut=E.slice(d,d+2),zi=E.slice(d-2,d);if(i[d]===M.DAY){let Pt=i.slice(0,2)===M.MONTHS,za=i.slice(0,2)===M.MONTHS&&this.specialCharacters.includes(Va);if(Number(se)>3&&this.leadZeroDateTime||!Pt&&(Number(Ut)>$||Number(ct)>$||this.specialCharacters.includes(ue))||(za?Number(ct)>$||!this.specialCharacters.includes(Q)&&this.specialCharacters.includes(Qe)||this.specialCharacters.includes(Q):Number(Ut)>$||this.specialCharacters.includes(ue)&&!l)){S=this.leadZeroDateTime?S:S+1,d+=1,this._shiftStep(i,d,A.length),ge--,this.leadZeroDateTime&&(u+="0");continue}}if(i[d]===M.MONTH){let Pt=d===0&&(Number(se)>2||Number(Ut)>12||this.specialCharacters.includes(ue)&&!l),za=i.slice(d+2,d+3),wa=nt.includes(za)&&i.includes("d0")&&(this.specialCharacters.includes(Va)&&Number(ct)>12&&!this.specialCharacters.includes(Q)||this.specialCharacters.includes(Q)),Xi=Number(nt)<=$&&!this.specialCharacters.includes(nt)&&this.specialCharacters.includes(Ot)&&(Number(Ut)>12||this.specialCharacters.includes(ue)),er=Number(Ut)>12&&d===5||this.specialCharacters.includes(ue)&&d===5,pc=Number(nt)>$&&!this.specialCharacters.includes(nt)&&!this.specialCharacters.includes(zi)&&Number(zi)>12&&i.includes("d0"),mc=Number(nt)<=$&&!this.specialCharacters.includes(nt)&&!this.specialCharacters.includes(Ot)&&Number(ct)>12;if(Number(se)>1&&this.leadZeroDateTime||Pt||wa||mc||pc||Xi||er&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,d+=1,this._shiftStep(i,d,A.length),ge--,this.leadZeroDateTime&&(u+="0");continue}}u+=se,d++}else this.specialCharacters.includes(se)&&i[d]===se?(u+=se,d++):this.specialCharacters.indexOf(i[d]??M.EMPTY_STRING)!==-1?(u+=i[d],d++,this._shiftStep(i,d,A.length),ge--):i[d]===M.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(i,d,A.length):this.patterns[i[d]??M.EMPTY_STRING]&&((Mt=this.patterns[i[d]??M.EMPTY_STRING])!=null&&Mt.optional)?(A[d]&&i!=="099.099.099.099"&&i!=="000.000.000-00"&&i!=="00.000.000/0000-00"&&!i.match(/^9+\.0+$/)&&!((pa=this.patterns[i[d]??M.EMPTY_STRING])!=null&&pa.optional)&&(u+=A[d]),i.includes(M.NUMBER_NINE+M.SYMBOL_STAR)&&i.includes(M.NUMBER_ZERO+M.SYMBOL_STAR)&&d++,d++,ge--):this.maskExpression[d+1]===M.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??M.EMPTY_STRING)&&this._findSpecialChar(se)===this.maskExpression[d+2]&&p||this.maskExpression[d+1]===M.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??M.EMPTY_STRING)&&this._findSpecialChar(se)===this.maskExpression[d+2]&&p?(d+=3,u+=se):this.showMaskTyped&&this.specialCharacters.indexOf(se)<0&&se!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}u.length+1===i.length&&this.specialCharacters.indexOf(i[i.length-1]??M.EMPTY_STRING)!==-1&&(u+=i[i.length-1]);let j=S+1;for(;this._shift.has(j);)g++,j++;let ve=s&&!i.startsWith(M.SEPARATOR)?d:this._shift.has(S)?g:0;w&&ve--,c(ve,v),g<0&&this._shift.clear();let Pe=!1;l&&(Pe=A.every(ge=>this.specialCharacters.includes(ge)));let He=`${this.prefix}${Pe?M.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(He=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let xa=E.length===1&&this.specialCharacters.includes(i[0])&&E!==i[0];if(!this._checkSymbolMask(E,i[1])&&xa)return"";if(u.includes(M.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===M.MINUS)return"";He=`${M.MINUS}${this.prefix}${u.split(M.MINUS).join(M.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(M.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===M.MINUS&&r===0&&this.allowNegativeNumbers}).join(M.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===M.EMPTY_STRING||Number(i)>255:i===M.EMPTY_STRING||Number(i.substring(0,3))>255))}_splitPercentZero(a){if(a===M.MINUS&&this.allowNegativeNumbers)return a;let i=typeof this.decimalMarker=="string"?a.indexOf(this.decimalMarker):a.indexOf(M.DOT),r=this.allowNegativeNumbers&&a.includes(M.MINUS)?"-":"";if(i===-1){let s=parseInt(r?a.slice(1,a.length):a,10);return isNaN(s)?M.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:M.DOT;return c===M.EMPTY_STRING?M.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",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),b2e=(()=>{const t=class t extends v2e{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",_(Oe,{optional:!0}));o(this,"document",_(it));o(this,"_config",_(i0));o(this,"_renderer",_(ri,{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():M.EMPTY_STRING,this.maskExpression===M.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||M.HASH)),this.maskExpression===M.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||M.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]??M.EMPTY_STRING:M.EMPTY_STRING,p="",v=s;if(this.hiddenInput!==null&&!this.writingValue){let S=i&&i.length===1?i.split(M.EMPTY_STRING):this.actualValue.split(M.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):i!==M.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(i.length>S.length?S.splice(this.selStart,0,u):i.length<S.length&&(S.length-i.length===1?c?S.splice(this.selStart-1,1):S.splice(i.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(p=this.removeMask(i)),p=this.actualValue.length&&S.length<=i.length?this.shiftTypedSymbols(S.join(M.EMPTY_STRING)):i}if(l&&(this.hiddenInput||!this.hiddenInput)&&(p=i),c&&this.specialCharacters.indexOf(this.maskExpression[v]??M.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(p=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==M.MONTHS&&(v=v-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 S=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(S),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(p,r,v,l,c,d);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===M.DOT&&this.decimalMarker===M.DOT&&(this.decimalMarker=M.COMMA),this.maskExpression.startsWith(M.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,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,E=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(M.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${E.slice(w+S)}`}else if(this.maskExpression===M.IP||this.maskExpression===M.CPF_CNPJ)return`${g}${E}`;return`${g}${E.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(M.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??M.EMPTY_STRING]&&((c=this.patterns[r[l]??M.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??M.EMPTY_STRING])==null?void 0:d.symbol:s}).join(M.EMPTY_STRING)}getActualValue(i){let r=i.split(M.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??M.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(M.EMPTY_STRING)===i?r.join(M.EMPTY_STRING):i}shiftTypedSymbols(i){let r="";return(i&&i.split(M.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(i[l+1]??M.EMPTY_STRING)&&i[l+1]!==this.maskExpression[l+1])return r=s,i[l+1];if(r.length){let c=r;return r=M.EMPTY_STRING,c}return s})||[]).join(M.EMPTY_STRING)}numberToString(i){return!i&&i!==0||this.maskExpression.startsWith(M.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(M.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${M.MINUS}/`,M.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===M.IP)return this._checkForIp(i);if(this.maskExpression===M.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,M.EMPTY_STRING).length&&(this.formElementProperty=["value",M.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(M.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===M.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<i.length;s++){let l=i[s]??M.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===M.HASH)return r;let l=[];for(let c=0;c<i.length;c++){let d=i[c]??M.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===M.EMPTY_STRING||this.maskExpression.startsWith(M.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(M.SEPARATOR))return String(i);let r=Number(i);if(this.maskExpression.startsWith(M.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(M.PERCENT)&&i.includes(M.DOT)?i:i&&i.replace(this._regExpForRemove(r),M.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,M.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,M.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(M.WHITE_SPACE)&&this.maskExpression.includes(M.SYMBOL_STAR)&&(r=r.filter(s=>s!==M.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),M.DOT)}_checkSymbols(i){let r=i;if(r===M.EMPTY_STRING)return r;this.maskExpression.startsWith(M.PERCENT)&&this.decimalMarker===M.COMMA&&(r=r.replace(M.COMMA,M.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(M.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===M.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(M.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===M.CURLY_BRACKETS_LEFT?l:this._start,s!==M.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(M.LETTER_S)){let u=i.slice(0,this._start-1);return u.includes(M.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=tt(t)))(r||t)}})()),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})();function y2e(){let e=_($C),t=_(GC);return t instanceof Function?pe(pe({},e),t()):pe(pe({},e),t)}function _2e(e){return[{provide:GC,useValue:e},{provide:$C,useValue:g2e},{provide:i0,useFactory:y2e},b2e]}function x2e(e){return hf(_2e(e))}var th=(()=>{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=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),w2e="4.0",Fm=w2e,or=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(or||{}),E2e=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new ie);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let a=Fm.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 (${Fm})!`),!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",X({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Yt],decls:0,vars:0,template:function(a,i){},encapsulation:2}));let e=t;return e})(),YC=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}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return va(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return va(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 va(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 va(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 va(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 va(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return va(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},ZC=()=>{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)},Si=function(e){return e._00001="00001",e._00002="00002",e._00003="00003",e._00004="00004",e._00005="00005",e._00006="00006",e._00007="00007",e._00008="00008",e._00009="00009",e._00010="00010",e._00011="00011",e._00012="00012",e._00013="00013",e._00014="00014",e._00015="00015",e._00016="00016",e._00017="00017",e._00018="00018",e._00019="00019",e._00020="00020",e._00021="00021",e._00022="00022",e._00023="00023",e._00024="00024",e._00026="00026",e._00027="00027",e._00028="00028",e._00029="00029",e._00030="00030",e._00031="00031",e._00032="00032",e._00033="00033",e._00034="00034",e._00035="00035",e._00036="00036",e._00037="00037",e._00038="00038",e._00039="00039",e._00040="00040",e._00041="00041",e._00042="00042",e._00043="00043",e._00044="00044",e._00045="00045",e._00046="00046",e._00047="00047",e._00048="00048",e._00049="00049",e._00050="00050",e._00051="00051",e._00052="00052",e._00053="00053",e._00054="00054",e._00055="00055",e._00056="00056",e._00057="00057",e._00058="00058",e._00059="00059",e._00060="00060",e._00061="00061",e._00062="00062",e._00063="00063",e._00064="00064",e._00065="00065",e._00066="00066",e._00067="00067",e._00068="00068",e._00069="00069",e._00070="00070",e._00071="00071",e._00072="00072",e._00073="00073",e.BOTH_EARS="both_ears",e.BOTH_EYES="both_eyes",e.BOTH_NOSTRILS="both_nostrils",e.CUTANEOUS_INJECTION="cutaneous_injection",e.DERM="derm",e.DERMAL_INJECTION="dermal_injection",e.EAR_LEFT="ear_left",e.EAR_RIGHT="ear_right",e.EYE_LEFT="eye_left",e.EYE_RIGHT="eye_right",e.HYPERDERMOCLYSE="hyperdermoclyse",e.ICUT="icut",e.IDER="ider",e.LARTER="larter",e.NOSE_LEFT="nose_left",e.NOSE_RIGHT="nose_right",e.OFT="oft",e.TRANSDERMAL="transdermal",e.VITREAL_INJECTION="vitreal_injection",e}(Si||{}),Qt=function(e){return e._00001="00001",e._00002="00002",e._00003="00003",e._00004="00004",e._00005="00005",e._00006="00006",e._00007="00007",e._00008="00008",e._00009="00009",e._00010="00010",e._00011="00011",e._00012="00012",e._00013="00013",e._00014="00014",e._00015="00015",e._00016="00016",e._00017="00017",e._00018="00018",e._00019="00019",e._00020="00020",e._00021="00021",e._00022="00022",e._00023="00023",e._00024="00024",e._00026="00026",e._00027="00027",e._00028="00028",e._00029="00029",e._00030="00030",e.AMPLOULE="ampoule",e.BONDAGE="bandage",e.BOTTLE="bottle",e.BOX="box",e.CM="cm",e.EFFERVESCENT_TABLET="effervescent_tablet",e.GM="gm",e.INTERNATIONALUNITS="internationalunits",e.IU="iu",e.LITER="liter",e.MEQ="meq",e.MG="mg",e.MICROGRAMS="micrograms",e.MIU="miu",e.MMOL="mmol",e.PIECE="piece",e.SYRINGE="syringe",e.SYRINGE_AMPOULE="syringe_ampoule",e.TBL="tbl",e.TSP="tsp",e.MS="ms",e.MIN="min",e.MO="mo",e}(Qt||{}),Wr=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.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Wr||{}),ta=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}(ta||{}),Xt=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}(Xt||{}),Di=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Di||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),ee=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}(ee||{}),Ba=function(e){return e.APPLICATION="application",e.CERTIFICATEHOLDER="certificateholder",e.DEPTALGOLOGY="deptalgology",e.DEPTANATOMOPATHOLOGY="deptanatomopathology",e.DEPTANESTHESIOLOGY="deptanesthesiology",e.DEPTBACTERIOLOGY="deptbacteriology",e.DEPTCARDIACSURGERY="deptcardiacsurgery",e.DEPTCARDIOLOGY="deptcardiology",e.DEPTCHILDANDADOLESCENTPSYCHIATRY="deptchildandadolescentpsychiatry",e.DEPTDENTISTRY="deptdentistry",e.DEPTDERMATOLOGY="deptdermatology",e.DEPTDIABETOLOGY="deptdiabetology",e.DEPTDIETETICS="deptdietetics",e.DEPTEMERGENCY="deptemergency",e.DEPTENDOCRINOLOGY="deptendocrinology",e.DEPTGASTROENTEROLOGY="deptgastroenterology",e.DEPTGENERALPRACTICE="deptgeneralpractice",e.DEPTGENETICS="deptgenetics",e.DEPTGERIATRY="deptgeriatry",e.DEPTGYNECOLOGY="deptgynecology",e.DEPTHANDSURGERY="depthandsurgery",e.DEPTHEMATOLOGY="depthematology",e.DEPTINFECTIOUSDISEASE="deptinfectiousdisease",e.DEPTINTENSIVECARE="deptintensivecare",e.DEPTKINESITHERAPY="deptkinesitherapy",e.DEPTLABORATORY="deptlaboratory",e.DEPTMAJORBURNS="deptmajorburns",e.DEPTMAXILLOFACIALSURGERY="deptmaxillofacialsurgery",e.DEPTMEDICINE="deptmedicine",e.DEPTMOLECULARBIOLOGY="deptmolecularbiology",e.DEPTNEONATALOGY="deptneonatalogy",e.DEPTNEPHROLOGY="deptnephrology",e.DEPTNEUROLOGY="deptneurology",e.DEPTNEUROSURGERY="deptneurosurgery",e.DEPTNTE="deptnte",e.DEPTNUCLEAR="deptnuclear",e.DEPTNURSING="deptnursing",e.DEPTNUTRITIONDIETETICS="deptnutritiondietetics",e.DEPTOBSTETRICS="deptobstetrics",e.DEPTOCCUPATIONALTHERAPY="deptoccupationaltherapy",e.DEPTONCOLOGY="deptoncology",e.DEPTOPHTALMOLOGY="deptophtalmology",e.DEPTORTHOPEDY="deptorthopedy",e.DEPTPALLIATIVECARE="deptpalliativecare",e.DEPTPEDIATRICINTENSIVECARE="deptpediatricintensivecare",e.DEPTPEDIATRICSURGERY="deptpediatricsurgery",e.DEPTPEDIATRY="deptpediatry",e.DEPTPHARMACY="deptpharmacy",e.DEPTPHYSICALMEDECINE="deptphysicalmedecine",e.DEPTPHYSIOTHERAPY="deptphysiotherapy",e.DEPTPLASTICANDREPARATORYSURGERY="deptplasticandreparatorysurgery",e.DEPTPNEUMOLOGY="deptpneumology",e.DEPTPODIATRY="deptpodiatry",e.DEPTPSYCHIATRY="deptpsychiatry",e.DEPTPSYCHOGERIATRY="deptpsychogeriatry",e.DEPTPSYCHOLOGY="deptpsychology",e.DEPTRADIOLOGY="deptradiology",e.DEPTRADIOTHERAPY="deptradiotherapy",e.DEPTREVALIDATION="deptrevalidation",e.DEPTRHEUMATOLOGY="deptrheumatology",e.DEPTSENOLOGY="deptsenology",e.DEPTSOCIALSERVICE="deptsocialservice",e.DEPTSPEECHTHERAPY="deptspeechtherapy",e.DEPTSPORTSMEDECINE="deptsportsmedecine",e.DEPTSTOMATOLOGY="deptstomatology",e.DEPTSURGERY="deptsurgery",e.DEPTTHORACICSURGERY="deptthoracicsurgery",e.DEPTTOXICOLOGY="depttoxicology",e.DEPTTROPICALMEDECINE="depttropicalmedecine",e.DEPTUROLOGY="depturology",e.DEPTVASCULARSURGERY="deptvascularsurgery",e.DEPTVISCERALDIGESTIVEABDOMINALSURGERY="deptvisceraldigestiveabdominalsurgery",e.GROUPOFNURSES="groupofnurses",e.GROUPOFPHYSICIANSDIFFERENTADDRESS="groupofphysiciansdifferentaddress",e.GROUPOFPHYSICIANSSAMEADDRESS="groupofphysicianssameaddress",e.GUARDPOST="guardpost",e.HUB="hub",e.ORGHOSPITAL="orghospital",e.ORGINSURANCE="orginsurance",e.ORGLABORATORY="orglaboratory",e.ORGPHARMACY="orgpharmacy",e.ORGPOLYCLINIC="orgpolyclinic",e.ORGPRACTICE="orgpractice",e.ORGPREVENTION="orgprevention",e.ORGPRIMARYHEALTHCARECENTER="orgprimaryhealthcarecenter",e.ORGPSYCHIATRICCAREHOME="orgpsychiatriccarehome",e.ORGPUBLICHEALTH="orgpublichealth",e.ORGRETIREMENTHOME="orgretirementhome",e.ORGREVALIDATIONCENTER="orgrevalidationcenter",e.ORGSHELTEREDLIVING="orgshelteredliving",e.PATIENT="patient",e.PERSADMINISTRATIVE="persadministrative",e.PERSAMBULANCEFIRSTAID="persambulancefirstaid",e.PERSAPPLIEDPSYCHBACHELOR="persappliedpsychbachelor",e.PERSAUDICIAN="persaudician",e.PERSAUDIOLOGIST="persaudiologist",e.PERSBIOLOGIST="persbiologist",e.PERSCLINICALORTHOPEDAGOGIST="persclinicalorthopedagogist",e.PERSCLINICALPSYCHOLOGIST="persclinicalpsychologist",e.PERSDENTIST="persdentist",e.PERSDIETICIAN="persdietician",e.PERSEDUCATOR="perseducator",e.PERSFAMILYSCIENCEBACHELOR="persfamilysciencebachelor",e.PERSGERONTOLOGYMASTER="persgerontologymaster",e.PERSLOGOPEDIST="perslogopedist",e.PERSMIDWIFE="persmidwife",e.PERSNURSE="persnurse",e.PERSOCCUPATIONALTHERAPIST="persoccupationaltherapist",e.PERSOPTICIAN="persoptician",e.PERSORALDENTALHYGIENIST="persoraldentalhygienist",e.PERSORTHOPEDAGOGISTMASTER="persorthopedagogistmaster",e.PERSORTHOPTIST="persorthoptist",e.PERSORTHOTIST="persorthotist",e.PERSPATIENTDRIVER="perspatientdriver",e.PERSPEDAGOGYBACHELOR="perspedagogybachelor",e.PERSPHARMACIST="perspharmacist",e.PERSPHARMACISTCLINICALBIOLOGIST="perspharmacistclinicalbiologist",e.PERSPHARMACYASSISTANT="perspharmacyassistant",e.PERSPHYSICIAN="persphysician",e.PERSPHYSIOTHERAPIST="persphysiotherapist",e.PERSPODOLOGIST="perspodologist",e.PERSPRACTICALNURSE="perspracticalnurse",e.PERSPSYCHOLOGIST="perspsychologist",e.PERSPSYCHOMOTORTHERAPYMASTER="perspsychomotortherapymaster",e.PERSREADAPTATIONBACHELOR="persreadaptationbachelor",e.PERSSOCIALWORKER="perssocialworker",e.PERSTECHNICIAN="perstechnician",e.PERSTRUSSMAKER="perstrussmaker",e}(Ba||{}),n0=function(e){return e.ascending="asc",e.descending="desc",e}(n0||{}),Ai=function(e){return e.ACUTE="acute",e.CHRONIC="chronic",e.IFNECESSARY="ifnecessary",e.ONESHOT="oneshot",e.REACTIVATION="reactivation",e.REMISSION="remission",e.SUBACUTE="subacute",e}(Ai||{});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 qr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Yo={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Js=class extends Error{};Js.prototype.name="InvalidTokenError";function k2e(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 C2e(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 k2e(t)}catch{return atob(t)}}function S2e(e,t){if(typeof e!="string")throw new Js("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 Js(`Invalid token specified: missing part #${n+1}`);let i;try{i=C2e(a)}catch(r){throw new Js(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(i)}catch(r){throw new Js(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var D2e=class extends YC{constructor(e,t,n){super(e,Wr.USER_INFOS,t,n,Wr.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return va(this,null,function*(){return S2e(yield this.getLocalAccessToken("")).userProfile})}},KC=(()=>{const t=class t{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=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function I2e(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0].ssin:e.ssin}function T2e(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var O2e=(()=>{const t=class t extends KC{constructor(){super(...arguments),this.servicesStore=_(th)}resolveSsin(){return va(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let a=yield this.fetchUserProfileToken();return I2e(a)})}resolvePatientInfo(){return va(this,null,function*(){let a=yield this.fetchUserProfileToken();return T2e(a)})}resolveUserInfo(){return va(this,null,function*(){var u,p,v,g;let a=yield this.fetchUserProfileToken(),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=(v=a==null?void 0:a.organizations)!=null&&v.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 va(this,null,function*(){var a,i;return((i=(a=yield this.fetchUserProfileToken())==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}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(a,i){this.isOfflineAuthenticated=a,this.isOfflineDataStorageEnabled=i,this.accessTokenService=new D2e(this.servicesStore.getServices(),a,i)}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),A2e=(()=>{const t=class t extends KC{resolveSsin(){return va(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 va(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(a,i){this.isOfflineAuthenticated=a,this.isOfflineDataStorageEnabled=i}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),R2e=(()=>{const t=class t{constructor(){this.http=_(nc)}get(a,i,r){return Kc()?this.http.get(a,{headers:r}):vt(i)}patch(a,i,r){return Kc()?this.http.patch(a,{},{headers:r}):vt(i)}post(a,i,r){return Kc()?this.http.post(a,{},{headers:r}):vt(i)}delete(a,i,r){return Kc()?this.http.delete(a,{headers:r}):vt(i)}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kc=()=>window.Cypress;function M2e(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var QC={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function lc(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let n of QC[t]){let a=e.find(i=>i.lang===n);if(a)return a.value}return e.length>0?e[0].value:"Missing translation"}}function P2e(e,t){if(!(!e||Object.keys(e).length<1)){t=t==null?void 0:t.substring(0,2);for(let n of QC[t]){let a=e.find(i=>i.lang===n);if(a)return a}return e.length>0?e[0]:void 0}}var Un=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Un||{}),Bn=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Bn||{});function N2e(e,t){return va(this,null,function*(){t.next({status:Un.LOADING});try{let n=yield e,a={status:Un.SUCCESS,data:n};return t.next(a),a}catch(n){let a={status:Un.ERROR,error:V2e(n)};return t.next(a),a}})}var Ey={[Bn.NO_DATA]:["VIDIS_0140"],[Bn.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"],[Bn.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"],[Bn.OTHER]:[]};function L2e(e){for(let t of Object.keys(Ey))if(Ey[t].includes(e))return t;return Bn.OTHER}function F2e(e,t,n){let a=e||"UNKNOWN",i=L2e(a);return{code:a,message:n??"An unexpected error occurred",group:i,traceId:t}}function V2e(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 F2e(t,a,n)}var Ol=(()=>{const t=class t{constructor(){this.config=_(Rs),this.injector=_(ut),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(A2e):this.injector.get(O2e)}return this._instance}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),z2e={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function B2e(e,t){if(e&1){let n=Et();D(0,"div",1)(1,"button",2),xe("click",function(){Se(n);let a=L();return De(a.action())}),F(2),T()()}if(e&2){let n=L();C(2),te(" ",n.data.action," ")}}var j2e=["label"];function H2e(e,t){}var U2e=Math.pow(2,31)-1,Vm=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new me);o(this,"_afterOpened",new me);o(this,"_onAction",new me);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,U2e))}_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}},XC=new Y("MatSnackBarData"),eu=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")}},W2e=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),q2e=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),G2e=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),$2e=(()=>{const t=class t{constructor(){o(this,"snackBarRef",_(Vm));o(this,"data",_(XC))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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),F(1),T(),V(2,B2e,3,1,"div",1)),a&2&&(C(),te(" ",i.data.message,`
|
|
50
|
+
`),C(),W(i.hasAction?2:-1))},dependencies:[Jn,W2e,q2e,G2e],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
51
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),hp="_mat-snack-bar-enter",pp="_mat-snack-bar-exit",Y2e=(()=>{const t=class t extends ju{constructor(){super();o(this,"_ngZone",_(Ne));o(this,"_elementRef",_(Oe));o(this,"_changeDetectorRef",_(kt));o(this,"_platform",_(Zt));o(this,"_rendersRef");o(this,"_animationsDisabled",_(Ra,{optional:!0})==="NoopAnimations");o(this,"snackBarConfig",_(eu));o(this,"_document",_(it));o(this,"_trackedModals",new Set);o(this,"_enterFallback");o(this,"_exitFallback");o(this,"_renders",new me);o(this,"_announceDelay",150);o(this,"_announceTimeoutId");o(this,"_destroyed",!1);o(this,"_portalOutlet");o(this,"_onAnnounce",new me);o(this,"_onExit",new me);o(this,"_onEnter",new me);o(this,"_animationState","void");o(this,"_live");o(this,"_label");o(this,"_role");o(this,"_liveElementId",_(ha).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=Ff(()=>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===pp?this._completeExit():i===hp&&(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(ei(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(hp)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(hp)},200)))}exit(){return this._destroyed?vt(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(ei(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(pp)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(pp),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",X({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&($e(bn,7),$e(j2e,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&&we("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,H2e,0,0,"ng-template",4),T(),H(5,"div"),T()()),i&2&&(C(5),be("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[bn],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 Z2e(){return new eu}var K2e=new Y("mat-snack-bar-default-options",{providedIn:"root",factory:Z2e}),Q2e=(()=>{const t=class t{constructor(){o(this,"_overlay",_(mi));o(this,"_live",_(xE));o(this,"_injector",_(ut));o(this,"_breakpointObserver",_(fE));o(this,"_parentSnackBar",_(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",_(K2e));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",$2e);o(this,"snackBarContainerComponent",Y2e);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=pe(pe({},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=ut.create({parent:r||this._injector,providers:[{provide:eu,useValue:i}]}),l=new ro(this.snackBarContainerComponent,i.viewContainerRef,s),c=a.attach(l);return c.instance.snackBarConfig=i,c.instance}_attach(a,i){let r=pe(pe(pe({},new eu),this._defaultConfig),i),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new Vm(l,s);if(a instanceof ya){let d=new bo(a,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new ro(a,void 0,d),p=l.attachComponentPortal(u);c.instance=p.instance}return this._breakpointObserver.observe(z2e.HandsetPortrait).pipe(Ht(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 Jl;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 ut.create({parent:r||this._injector,providers:[{provide:Vm,useValue:i},{provide:XC,useValue:a.data}]})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),X2e=(()=>{const t=class t{constructor(){this.snackbar=_(Q2e),this.translate=_(Fa)}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=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),J2e={demo:{env:or.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:or.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:or.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:or.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:or.PROD}},Rs=(()=>{const t=class t{setEnvironment(a){this.configVariables=J2e[or[a.toUpperCase()]]||{}}getEnvironmentVariable(a){return this.configVariables[a]}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),eDe=(e,t)=>{let n=_(Ol).getInstance(),a=_(th),i=_(Rs).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!i)return t(e);if(n.isOfflineAuthenticated)return vt();let r=e.headers||new oo,s=n.isProfessional;return wr(a.getServices().getAccessToken("")).pipe(ul(l=>t(e.clone({url:`${i}${e.url}`,headers:r.set(Yo.authorization,qr.getAuthorizationHeader(l)).set(Yo.userType,qr.getUserType({isProfessional:s})).set(Yo.clientType,ZC()?qr.clientType.mobileApp:qr.clientType.webApp)}))))};function tDe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var aDe=["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",tDe];function iDe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var nDe=["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",iDe];function rDe(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 oDe=["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",rDe];function sDe(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var lDe=["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",sDe];Bu(aDe,"de");Bu(lDe,"nl");Bu(oDe,"fr");Bu(nDe,"en");var cDe=class{handleError(e){throw new Error(e)}},dDe=class extends Jk{getFirstDayOfWeek(){return 1}format(e){return Fo(e,"dd/MM/yyyy")}parse(e){return d2e(e,"dd/MM/yyyy",new Date)}},uDe={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"}}},hDe=[oCe(),vwe(bwe([eDe])),x2e(),{provide:Yi,useClass:cDe},{provide:Ia,useClass:dDe,deps:[cm]},{provide:fo,useValue:uDe},{provide:uC,useClass:sCe},{provide:iC,useValue:{panelClass:"mh-dialog-container"}}],pDe=r_(Cde(),1),mDe=new Y("MESSAGE_FORMAT_CONFIG"),fDe={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},gDe=(()=>{const t=class t extends sc{constructor(a){super(),this.mfCache=new Map;let{formatters:i,biDiSupport:r,strictNumberSign:s,currency:l,strictPluralKeys:c,throwOnError:d,fallbackPrefix:u}=pe(pe({},fDe),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=bDe(a,i)}return this.throwOnError||(r=vDe(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 pDe.default(a,this.messageFormatOptions)),this.mfCache.get(a)}};t.ɵfac=function(a){return new(a||t)(Ce(mDe,8))},t.ɵprov=Z({token:t,factory:t.ɵfac});let e=t;return e})();function vDe(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 bDe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var JC={};oe(JC,{"00001":()=>eS,"00002":()=>tS,"00003":()=>aS,"00004":()=>iS,"00005":()=>nS,"00006":()=>rS,"00007":()=>oS,"00008":()=>sS,"00009":()=>lS,"00010":()=>cS,"00011":()=>dS,"00012":()=>uS,"00013":()=>hS,"00014":()=>pS,"00015":()=>mS,"00016":()=>fS,"00017":()=>gS,"00018":()=>vS,"00019":()=>bS,"00020":()=>yS,"00021":()=>_S,"00022":()=>xS,"00023":()=>wS,"00024":()=>ES,"00025":()=>kS,"00026":()=>CS,"00027":()=>SS,"00028":()=>DS,"00029":()=>IS,"00030":()=>TS,ampoule:()=>t2,bandage:()=>KS,bottle:()=>a2,box:()=>XS,cm:()=>OS,default:()=>yDe,dropsperminute:()=>AS,"effervescent-tablet":()=>YS,gm:()=>RS,internationalunits:()=>MS,iu:()=>GS,liter:()=>JS,"mck/h":()=>PS,"mck/kg/minute":()=>NS,measure:()=>LS,meq:()=>WS,mg:()=>HS,"mg/h":()=>FS,"mg/ml":()=>US,micrograms:()=>ZS,miu:()=>qS,"ml/h":()=>VS,mmol:()=>$S,piece:()=>QS,syringe:()=>e2,"syringe-ampoule":()=>i2,tbl:()=>zS,tsp:()=>BS,"unt/h":()=>jS});var eS="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",tS="{count, plural, one{Ampulle} other{Ampullen}}",aS="anwenden",iS="{count, plural, one{Kapsel} other{Kapseln}}",nS="{count, plural, one{Tablette} other{Tabletten}}",rS="Dosis",oS="{count, plural, one{Tropf} other{Tropfen}}",sS="{count, plural, one{Fläsche} other{Fläschchen}}",lS="{count, plural, one{Implantat} other{Implantate}}",cS="{count, plural, one{Infusion} other{Infusionen}}",dS="{count, plural, one{Inhalation} other{Inhalationen}}",uS="Einstechen",hS="Kaugummi",pS="{count, plural, one{Kompresse} other{Kompressen}}",mS="{count, plural, one{Einlauf} other{Einläufe}}",fS="ml",gS="Ov.",vS="{count, plural, one{Perle} other{Perlen}}",bS="{count, plural, one{Pastille} other{Pastillen}}",yS="Pflaster",_S="cart",xS="Pen",wS="{count, plural, one{Puff} other{Puffs}}",ES="{count, plural, one{Schwamm} other{Schwämme}}",kS="{count, plural, one{Stift} other{Stifte}}",CS="Suppo",SS="Tube",DS="{count, plural, one{Docht} other{Dochte}}",IS="Beutel",TS="Beutel",OS="Zentimeter",AS="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",RS="Gramm",MS="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",PS="Mikrogramm pro Stunde",NS="Mikrogramm pro Kilogramm pro Minute",LS="Maß",FS="Miligramm pro Stunde",VS="Milliliter pro Stunde",zS="Esslöffel",BS="Kaffeelöffel",jS="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",HS="Milligramm",US="Milligramm pro Millimeter",WS="meq",qS="miu",GS="iu",$S="mmol",YS="effervescent-tablet",ZS="micrograms",KS="{count, plural, one{bandage} other{bandagen}}",QS="{count, plural, one{stück} other{stücke}}",XS="schachteln",JS="liter",e2="{count, plural, one{spritze} other{spritzen}}",t2="{count, plural, one{glühbirn} other{glühbirnen}}",a2="{count, plural, one{Fläsche} other{Fläschchen}}",i2="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",yDe={"00001":eS,"00002":tS,"00003":aS,"00004":iS,"00005":nS,"00006":rS,"00007":oS,"00008":sS,"00009":lS,"00010":cS,"00011":dS,"00012":uS,"00013":hS,"00014":pS,"00015":mS,"00016":fS,"00017":gS,"00018":vS,"00019":bS,"00020":yS,"00021":_S,"00022":xS,"00023":wS,"00024":ES,"00025":kS,"00026":CS,"00027":SS,"00028":DS,"00029":IS,"00030":TS,cm:OS,dropsperminute:AS,gm:RS,internationalunits:MS,"mck/h":PS,"mck/kg/minute":NS,measure:LS,"mg/h":FS,"ml/h":VS,tbl:zS,tsp:BS,"unt/h":jS,mg:HS,"mg/ml":US,meq:WS,miu:qS,iu:GS,mmol:$S,"effervescent-tablet":YS,micrograms:ZS,bandage:KS,piece:QS,box:XS,liter:JS,syringe:e2,ampoule:t2,bottle:a2,"syringe-ampoule":i2},n2={};oe(n2,{"00001":()=>r2,"00002":()=>o2,"00003":()=>s2,"00004":()=>l2,"00005":()=>c2,"00006":()=>d2,"00007":()=>u2,"00008":()=>h2,"00009":()=>p2,"00010":()=>m2,"00011":()=>f2,"00012":()=>g2,"00013":()=>v2,"00014":()=>b2,"00015":()=>y2,"00016":()=>_2,"00017":()=>x2,"00018":()=>w2,"00019":()=>E2,"00020":()=>k2,"00021":()=>C2,"00022":()=>S2,"00023":()=>D2,"00024":()=>I2,"00025":()=>T2,"00026":()=>O2,"00027":()=>A2,"00028":()=>R2,"00029":()=>M2,"00030":()=>P2,ampoule:()=>oD,bandage:()=>tD,bottle:()=>sD,box:()=>iD,cm:()=>N2,default:()=>_De,dropsperminute:()=>L2,"effervescent-tablet":()=>J2,gm:()=>F2,internationalunits:()=>V2,iu:()=>Q2,liter:()=>nD,"mck/h":()=>z2,"mck/kg/minute":()=>B2,measure:()=>j2,meq:()=>Z2,mg:()=>$2,"mg/h":()=>H2,"mg/ml":()=>Y2,micrograms:()=>eD,miu:()=>K2,"ml/h":()=>U2,mmol:()=>X2,piece:()=>aD,syringe:()=>rD,"syringe-ampoule":()=>lD,tbl:()=>W2,tsp:()=>q2,"unt/h":()=>G2});var r2="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",o2="{count, plural, one{ampoule} other{ampoules}}",s2="applic.",l2="{count, plural, one{capsule} other{capsules}}",c2="{count, plural, one{tablet} other{tablets}}",d2="{count, plural, one{dose} other{doses}}",u2="{count, plural, one{drop} other{drops}}",h2="{count, plural, one{bottle} other{bottles}}",p2="{count, plural, one{implant} other{implants}}",m2="{count, plural, one{perfusion} other{perfusions}}",f2="{count, plural, one{inhalation} other{inhalations}}",g2="insert",v2="{count, plural, one{chewing gum} other{chewing gums}}",b2="{count, plural, one{compress} other{compresses}}",y2="enema",_2="ml",x2="{count, plural, one{ovule} other{ovules}}",w2="{count, plural, one{pearl} other{pearls}}",E2="{count, plural, one{pastille} other{pastilles}}",k2="{count, plural, one{patch} other{patches}}",C2="{count, plural, one{cartridge} other{cartridges}}",S2="{count, plural, one{pen} other{pens}}",D2="{count, plural, one{puff} other{puffs}}",I2="{count, plural, one{sponge} other{sponges}}",T2="{count, plural, one{stylo} other{stylos}}",O2="{count, plural, one{supository} other{supositories}}",A2="{count, plural, one{tube} other{tubes}}",R2="{count, plural, one{wick} other{wicks}}",M2="{count, plural, one{bag} other{bags}}",P2="{count, plural, one{small bag} other{small bags}}",N2="centimeter",L2="{count, plural, one{drop per minute} other{drops per minute}}",F2="gram",V2="international units",z2="microgram per hour",B2="microgram per kilogram per minute",j2="{count, plural, one{measure} other{measures}}",H2="milligram per hour",U2="milliliter per hour",W2="{count, plural, one{tablespoon} other{tablespoons}}",q2="{count, plural, one{teaspoon} other{teaspoons}}",G2="{count, plural, one{unit per hour} other{units per hour}}",$2="milligram",Y2="milligram per milliliter",Z2="milli-equivalent",K2="miu",Q2="international units",X2="millimole",J2="{count, plural, one{effervescent tablet} other{effervescent tablets}}",eD="microgram",tD="{count, plural, one{bandage} other{bandages}}",aD="{count, plural, one{piece} other{pieces}}",iD="{count, plural, one{spray} other{sprays}}",nD="liter",rD="{count, plural, one{syringe} other{syringes}}",oD="{count, plural, one{ampoule} other{ampoules}}",sD="{count, plural, one{bottle} other{bottles}}",lD="{count, plural, one{syringe ampoule} other{syringe ampoules}}",_De={"00001":r2,"00002":o2,"00003":s2,"00004":l2,"00005":c2,"00006":d2,"00007":u2,"00008":h2,"00009":p2,"00010":m2,"00011":f2,"00012":g2,"00013":v2,"00014":b2,"00015":y2,"00016":_2,"00017":x2,"00018":w2,"00019":E2,"00020":k2,"00021":C2,"00022":S2,"00023":D2,"00024":I2,"00025":T2,"00026":O2,"00027":A2,"00028":R2,"00029":M2,"00030":P2,cm:N2,dropsperminute:L2,gm:F2,internationalunits:V2,"mck/h":z2,"mck/kg/minute":B2,measure:j2,"mg/h":H2,"ml/h":U2,tbl:W2,tsp:q2,"unt/h":G2,mg:$2,"mg/ml":Y2,meq:Z2,miu:K2,iu:Q2,mmol:X2,"effervescent-tablet":J2,micrograms:eD,bandage:tD,piece:aD,box:iD,liter:nD,syringe:rD,ampoule:oD,bottle:sD,"syringe-ampoule":lD},cD={};oe(cD,{"00001":()=>dD,"00002":()=>uD,"00003":()=>hD,"00004":()=>pD,"00005":()=>mD,"00006":()=>fD,"00007":()=>gD,"00008":()=>vD,"00009":()=>bD,"00010":()=>yD,"00011":()=>_D,"00012":()=>xD,"00013":()=>wD,"00014":()=>ED,"00015":()=>kD,"00016":()=>CD,"00017":()=>SD,"00018":()=>DD,"00019":()=>ID,"00020":()=>TD,"00021":()=>OD,"00022":()=>AD,"00023":()=>RD,"00024":()=>MD,"00025":()=>PD,"00026":()=>ND,"00027":()=>LD,"00028":()=>FD,"00029":()=>VD,"00030":()=>zD,ampoule:()=>uI,bandage:()=>oI,bottle:()=>hI,box:()=>lI,cm:()=>BD,default:()=>xDe,dropsperminute:()=>jD,"effervescent-tablet":()=>nI,gm:()=>HD,internationalunits:()=>UD,iu:()=>aI,liter:()=>cI,"mck/h":()=>WD,"mck/kg/minute":()=>qD,measure:()=>GD,meq:()=>eI,mg:()=>XD,"mg/h":()=>$D,"mg/ml":()=>JD,micrograms:()=>rI,miu:()=>tI,"ml/h":()=>YD,mmol:()=>iI,piece:()=>sI,syringe:()=>dI,"syringe-ampoule":()=>pI,tbl:()=>ZD,tsp:()=>KD,"unt/h":()=>QD});var dD="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",uD="amp.",hD="applic.",pD="caps.",mD="compr.",fD="{count, plural, one{dose} other{doses}}",gD="{count, plural, one{goutte} other{gouttes}}",vD="flac.",bD="{count, plural, one{implant} other{implants}}",yD="{count, plural, one{perfusion} other{perfusions}}",_D="{count, plural, one{inhalation} other{inhalations}}",xD="insert",wD="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",ED="{count, plural, one{compres(se)} other{compres(ses)}}",kD="{count, plural, one{lavement} other{lavements}}",CD="ml",SD="ov.",DD="{count, plural, one{perle} other{perles}}",ID="{count, plural, one{pastille} other{pastilles}}",TD="{count, plural, one{patch} other{patchs}}",OD="patr.",AD="{count, plural, one{stylo} other{stylos}}",RD="{count, plural, one{puff} other{puffs}}",MD="{count, plural, one{éponge} other{éponges}}",PD="{count, plural, one{stylo} other{stylos}}",ND="suppo",LD="{count, plural, one{tube} other{tubes}}",FD="{count, plural, one{mèche} other{mèches}}",VD="{count, plural, one{sac} other{sacs}}",zD="{count, plural, one{sachet} other{sachets}}",BD="{count, plural, one{centimètre} other{centimètres}}",jD="{count, plural, one{goute par minute} other{goutes par minute}}",HD="{count, plural, one{gramme} other{grammes}}",UD="{count, plural, one{unité internationales} other{unités internationales}}",WD="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",qD="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",GD="{count, plural, one{mesure} other{mesures}}",$D="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",YD="{count, plural, one{millilitre par heure} other{millilitres par heure}}",ZD="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",KD="{count, plural, one{cuillère à café} other{cuillères à café}}",QD="{count, plural, one{unité par heure} other{unités par heure}}",XD="{count, plural, one{miligramme} other{miligrammes}}",JD="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",eI="milli-équivalent",tI="miu",aI="{count, plural, one{unité internationales} other{unités internationales}}",iI="millimol",nI="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",rI="{count, plural, one{microgramme} other{microgrammes}}",oI="{count, plural, one{bandage} other{bandages}}",sI="{count, plural, one{pièce} other{pièces}}",lI="{count, plural, one{vaporisateur} other{vaporisateurs}}",cI="{count, plural, one{litre} other{litres}}",dI="{count, plural, one{seringue} other{seringues}}",uI="{count, plural, one{ampoule} other{ampoules}}",hI="{count, plural, one{fiole} other{fioles}}",pI="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",xDe={"00001":dD,"00002":uD,"00003":hD,"00004":pD,"00005":mD,"00006":fD,"00007":gD,"00008":vD,"00009":bD,"00010":yD,"00011":_D,"00012":xD,"00013":wD,"00014":ED,"00015":kD,"00016":CD,"00017":SD,"00018":DD,"00019":ID,"00020":TD,"00021":OD,"00022":AD,"00023":RD,"00024":MD,"00025":PD,"00026":ND,"00027":LD,"00028":FD,"00029":VD,"00030":zD,cm:BD,dropsperminute:jD,gm:HD,internationalunits:UD,"mck/h":WD,"mck/kg/minute":qD,measure:GD,"mg/h":$D,"ml/h":YD,tbl:ZD,tsp:KD,"unt/h":QD,mg:XD,"mg/ml":JD,meq:eI,miu:tI,iu:aI,mmol:iI,"effervescent-tablet":nI,micrograms:rI,bandage:oI,piece:sI,box:lI,liter:cI,syringe:dI,ampoule:uI,bottle:hI,"syringe-ampoule":pI},mI={};oe(mI,{"00001":()=>fI,"00002":()=>gI,"00003":()=>vI,"00004":()=>bI,"00005":()=>yI,"00006":()=>_I,"00007":()=>xI,"00008":()=>wI,"00009":()=>EI,"00010":()=>kI,"00011":()=>CI,"00012":()=>SI,"00013":()=>DI,"00014":()=>II,"00015":()=>TI,"00016":()=>OI,"00017":()=>AI,"00018":()=>RI,"00019":()=>MI,"00020":()=>PI,"00021":()=>NI,"00022":()=>LI,"00023":()=>FI,"00024":()=>VI,"00025":()=>zI,"00026":()=>BI,"00027":()=>jI,"00028":()=>HI,"00029":()=>UI,"00030":()=>WI,ampoule:()=>gT,bandage:()=>uT,bottle:()=>vT,box:()=>pT,cm:()=>qI,default:()=>wDe,dropsperminute:()=>GI,"effervescent-tablet":()=>cT,gm:()=>$I,internationalunits:()=>YI,iu:()=>sT,liter:()=>mT,"mck/h":()=>ZI,"mck/kg/minute":()=>KI,measure:()=>QI,meq:()=>rT,mg:()=>iT,"mg/h":()=>XI,"mg/ml":()=>nT,micrograms:()=>dT,miu:()=>oT,"ml/h":()=>JI,mmol:()=>lT,piece:()=>hT,syringe:()=>fT,"syringe-ampoule":()=>bT,tbl:()=>eT,tsp:()=>tT,"unt/h":()=>aT});var fI="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",gI="{count, plural, one{ampule} other{ampullen}}",vI="aanbrengen",bI="{count, plural, one{capsule} other{capsules}}",yI="{count, plural, one{tablet} other{tabletten}}",_I="{count, plural, one{dose} other{dosissen}}",xI="{count, plural, one{druppel} other{druppels}}",wI="{count, plural, one{flesje} other{flesjes}}",EI="{count, plural, one{implantaat} other{implantaten}}",kI="{count, plural, one{infuus} other{infusen}}",CI="{count, plural, one{inhalatie} other{inhalaties}}",SI="inbrengen",DI="{count, plural, one{kauwgom} other{kauwgommen}}",II="{count, plural, one{kompres} other{kompressen}}",TI="lavement",OI="ml",AI="{count, plural, one{ovule} other{ovules}}",RI="{count, plural, one{parel} other{parels}}",MI="{count, plural, one{pastille} other{pastilles}}",PI="{count, plural, one{pleister} other{pleisters}}",NI="{count, plural, one{patroon} other{patronen}}",LI="{count, plural, one{pen} other{pennen}}",FI="{count, plural, one{puff} other{puffs}}",VI="{count, plural, one{spons} other{sponsen}}",zI="{count, plural, one{stylo} other{stylos}}",BI="{count, plural, one{zetpil} other{zetpillen}}",jI="{count, plural, one{tube} other{tubes}}",HI="{count, plural, one{wiek} other{wieken}}",UI="{count, plural, one{zak} other{zakken}}",WI="{count, plural, one{zakje} other{zakjes}}",qI="centimeter",GI="{count, plural, one{druppel per minuut} other{druppels per minuut}}",$I="gram",YI="internationale eenheden",ZI="microgram per uur",KI="microgram per kilogram per minuut",QI="{count, plural, one{maat} other{maten}}",XI="milligram per uur",JI="milliliter per uur",eT="{count, plural, one{eetlepel} other{eetlepels}}",tT="{count, plural, one{koffielepel} other{koffielepels}}",aT="{count, plural, one{eenheid per uur} other{eenheden per uur}}",iT="miligram",nT="miligram per milimeter",rT="milli-equivalent",oT="miu",sT="internationale eenheden",lT="millimol",cT="{count, plural, one{bruistablet} other{bruistabletten}}",dT="microgram",uT="{count, plural, one{verband} other{verbanden}}",hT="{count, plural, one{stuk} other{stuks}}",pT="{count, plural, one{verstuiving} other{verstuivingen}}",mT="liter",fT="{count, plural, one{spuit} other{spuiten}}",gT="{count, plural, one{ampul} other{ampullen}}",vT="{count, plural, one{fles} other{flessen}}",bT="{count, plural, one{spuitampul} other{spuitampullen}}",wDe={"00001":fI,"00002":gI,"00003":vI,"00004":bI,"00005":yI,"00006":_I,"00007":xI,"00008":wI,"00009":EI,"00010":kI,"00011":CI,"00012":SI,"00013":DI,"00014":II,"00015":TI,"00016":OI,"00017":AI,"00018":RI,"00019":MI,"00020":PI,"00021":NI,"00022":LI,"00023":FI,"00024":VI,"00025":zI,"00026":BI,"00027":jI,"00028":HI,"00029":UI,"00030":WI,cm:qI,dropsperminute:GI,gm:$I,internationalunits:YI,"mck/h":ZI,"mck/kg/minute":KI,measure:QI,"mg/h":XI,"ml/h":JI,tbl:eT,tsp:tT,"unt/h":aT,mg:iT,"mg/ml":nT,meq:rT,miu:oT,iu:sT,mmol:lT,"effervescent-tablet":cT,micrograms:dT,bandage:uT,piece:hT,box:pT,liter:mT,syringe:fT,ampoule:gT,bottle:vT,"syringe-ampoule":bT},EDe={nl:mI,fr:cD,de:JC,en:n2},yT={};oe(yT,{default:()=>kDe,friday:()=>kT,monday:()=>_T,saturday:()=>CT,sunday:()=>ST,thursday:()=>ET,tuesday:()=>xT,wednesday:()=>wT});var _T="Montag",xT="Dienstag",wT="Mittwoch",ET="Donnerstag",kT="Freitag",CT="Samstag",ST="Sonntag",kDe={monday:_T,tuesday:xT,wednesday:wT,thursday:ET,friday:kT,saturday:CT,sunday:ST},DT={};oe(DT,{default:()=>CDe,friday:()=>RT,monday:()=>IT,saturday:()=>MT,sunday:()=>PT,thursday:()=>AT,tuesday:()=>TT,wednesday:()=>OT});var IT="Monday",TT="Tuesday",OT="Wednesday",AT="Thursday",RT="Friday",MT="Saturday",PT="Sunday",CDe={monday:IT,tuesday:TT,wednesday:OT,thursday:AT,friday:RT,saturday:MT,sunday:PT},NT={};oe(NT,{default:()=>SDe,friday:()=>BT,monday:()=>LT,saturday:()=>jT,sunday:()=>HT,thursday:()=>zT,tuesday:()=>FT,wednesday:()=>VT});var LT="Lundi",FT="Mardi",VT="Mercredi",zT="Jeudi",BT="Vendredi",jT="Samedi",HT="Dimanche",SDe={monday:LT,tuesday:FT,wednesday:VT,thursday:zT,friday:BT,saturday:jT,sunday:HT},UT={};oe(UT,{default:()=>DDe,friday:()=>YT,monday:()=>WT,saturday:()=>ZT,sunday:()=>KT,thursday:()=>$T,tuesday:()=>qT,wednesday:()=>GT});var WT="Maandag",qT="Dinsdag",GT="Woensdag",$T="Donderdag",YT="Vrijdag",ZT="Zaterdag",KT="Zondag",DDe={monday:WT,tuesday:qT,wednesday:GT,thursday:$T,friday:YT,saturday:ZT,sunday:KT},IDe={nl:UT,fr:NT,de:yT,en:DT},QT={};oe(QT,{VIDIS_0035:()=>XT,VIDIS_0050:()=>JT,VIDIS_0090:()=>eO,VIDIS_0100:()=>OO,VIDIS_0110:()=>RO,VIDIS_0120:()=>AO,VIDIS_0121:()=>tO,VIDIS_0122:()=>aO,VIDIS_0123:()=>iO,VIDIS_0124:()=>nO,VIDIS_0125:()=>rO,VIDIS_0126:()=>oO,VIDIS_0131:()=>sO,VIDIS_0132:()=>lO,VIDIS_0133:()=>cO,VIDIS_0134:()=>dO,VIDIS_0135:()=>uO,VIDIS_0136:()=>hO,VIDIS_0190:()=>pO,VIDIS_0200:()=>MO,VIDIS_0210:()=>mO,VIDIS_0211:()=>fO,VIDIS_0230:()=>gO,VIDIS_0290:()=>vO,VIDIS_0330:()=>bO,VIDIS_0340:()=>PO,VIDIS_0341:()=>NO,VIDIS_0400:()=>IO,VIDIS_04001:()=>LO,VIDIS_0435:()=>yO,VIDIS_0440:()=>_O,VIDIS_3030:()=>TO,VIDIS_3090:()=>kO,VIDIS_3100:()=>SO,VIDIS_3120:()=>DO,VIDIS_3140:()=>CO,VIDIS_3150:()=>EO,VIDIS_5000:()=>xO,VIDIS_7000:()=>wO,"action-not-authorized-close-button":()=>iA,"action-not-authorized-title":()=>aA,"data-not-available-title":()=>tA,default:()=>TDe,general:()=>VO,"has-hidden-prescriptions":()=>GO,"incorrect-elements-ms-detail":()=>rA,"incorrect-elements-ms-list":()=>nA,invalid_date_format:()=>UO,myHealth:()=>BO,myHealthUrl:()=>jO,network_error:()=>HO,"no-access":()=>zO,prescriptionList:()=>FO,"report-message-confirm-toast":()=>eA,"report-message-content":()=>ZO,"report-message-explanation":()=>YO,"report-message-ignore-button":()=>JO,"report-message-link":()=>QO,"report-message-report-button":()=>XO,"report-message-term-use":()=>KO,"report-message-title":()=>$O,"status-message-content":()=>qO,"status-message-title":()=>WO});var XT="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",JT="Die Patienten-INSS fehlt. (VIDIS_0050)",eO="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",tO="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",aO="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",iO="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",nO="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",rO="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",oO="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",sO="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",lO="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",cO="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",dO="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",uO="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",hO="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",pO="Ungültige INSS-Patientennummer. (VIDIS_0190)",mO="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",fO="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",gO="Der Vorgang ist ungültig (VIDIS_0230)",vO='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',bO="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)",yO="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",_O="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",xO="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",wO="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",EO="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",kO="Das Rezept ist abgelaufen.",CO="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.",SO="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",DO="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",IO="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",TO="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",OO="Vorgang nicht erlaubt.",AO="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",RO="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",MO="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",PO="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.",NO="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.",LO="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",FO="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",VO="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",zO="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",BO="Zurück zum Portal Meine Gesundheit",jO="https://wwwint.meinegesundheit.belgien.be/#/",HO="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",UO="Ungültiges Datumsformat.",WO="Dienst vorübergehend nicht verfügbar",qO=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
53
|
+
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,GO="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",$O="Technisches Problem",YO="Bitte versuchen Sie es später noch einmal.",ZO="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",KO="unsere Nutzungsbedingungen",QO="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",XO="Problem melden",JO="Nicht melden",eA="Das Problem wurde gemeldet",tA="Daten nicht verfügbar",aA="Aktion nicht erlaubt",iA="Schließen",nA="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",rA="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",TDe={VIDIS_0035:XT,VIDIS_0050:JT,VIDIS_0090:eO,VIDIS_0121:tO,VIDIS_0122:aO,VIDIS_0123:iO,VIDIS_0124:nO,VIDIS_0125:rO,VIDIS_0126:oO,VIDIS_0131:sO,VIDIS_0132:lO,VIDIS_0133:cO,VIDIS_0134:dO,VIDIS_0135:uO,VIDIS_0136:hO,VIDIS_0190:pO,VIDIS_0210:mO,VIDIS_0211:fO,VIDIS_0230:gO,VIDIS_0290:vO,VIDIS_0330:bO,VIDIS_0435:yO,VIDIS_0440:_O,VIDIS_5000:xO,VIDIS_7000:wO,VIDIS_3150:EO,VIDIS_3090:kO,VIDIS_3140:CO,VIDIS_3100:SO,VIDIS_3120:DO,VIDIS_0400:IO,VIDIS_3030:TO,VIDIS_0100:OO,VIDIS_0120:AO,VIDIS_0110:RO,VIDIS_0200:MO,VIDIS_0340:PO,VIDIS_0341:NO,VIDIS_04001:LO,prescriptionList:FO,general:VO,"no-access":zO,myHealth:BO,myHealthUrl:jO,network_error:HO,invalid_date_format:UO,"status-message-title":WO,"status-message-content":qO,"has-hidden-prescriptions":GO,"report-message-title":$O,"report-message-explanation":YO,"report-message-content":ZO,"report-message-term-use":KO,"report-message-link":QO,"report-message-report-button":XO,"report-message-ignore-button":JO,"report-message-confirm-toast":eA,"data-not-available-title":tA,"action-not-authorized-title":aA,"action-not-authorized-close-button":iA,"incorrect-elements-ms-list":nA,"incorrect-elements-ms-detail":rA},oA={};oe(oA,{VIDIS_0035:()=>sA,VIDIS_0050:()=>lA,VIDIS_0090:()=>cA,VIDIS_0100:()=>zA,VIDIS_0110:()=>jA,VIDIS_0120:()=>BA,VIDIS_0121:()=>dA,VIDIS_0122:()=>uA,VIDIS_0123:()=>hA,VIDIS_0124:()=>pA,VIDIS_0125:()=>mA,VIDIS_0126:()=>fA,VIDIS_0131:()=>gA,VIDIS_0132:()=>vA,VIDIS_0133:()=>bA,VIDIS_0134:()=>yA,VIDIS_0135:()=>_A,VIDIS_0136:()=>xA,VIDIS_0190:()=>wA,VIDIS_0200:()=>HA,VIDIS_0210:()=>EA,VIDIS_0211:()=>kA,VIDIS_0230:()=>CA,VIDIS_0290:()=>SA,VIDIS_0330:()=>DA,VIDIS_0340:()=>UA,VIDIS_0341:()=>WA,VIDIS_0400:()=>FA,VIDIS_04001:()=>qA,VIDIS_0435:()=>IA,VIDIS_0440:()=>TA,VIDIS_3030:()=>VA,VIDIS_3090:()=>MA,VIDIS_3100:()=>NA,VIDIS_3120:()=>LA,VIDIS_3140:()=>PA,VIDIS_3150:()=>RA,VIDIS_5000:()=>OA,VIDIS_7000:()=>AA,"action-not-authorized-close-button":()=>hR,"action-not-authorized-title":()=>uR,"data-not-available-title":()=>dR,default:()=>ODe,general:()=>$A,"has-hidden-prescriptions":()=>tR,"incorrect-elements-ms-detail":()=>mR,"incorrect-elements-ms-list":()=>pR,invalid_date_format:()=>XA,myHealth:()=>ZA,myHealthUrl:()=>KA,network_error:()=>QA,"no-access":()=>YA,prescriptionList:()=>GA,"report-message-confirm-toast":()=>cR,"report-message-content":()=>nR,"report-message-explanation":()=>iR,"report-message-ignore-button":()=>lR,"report-message-link":()=>oR,"report-message-report-button":()=>sR,"report-message-term-use":()=>rR,"report-message-title":()=>aR,"status-message-content":()=>eR,"status-message-title":()=>JA});var sA="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",lA="The patient's NISS number is missing (VIDIS_0050)",cA="The personal information provided was not recognised. (VIDIS_0090)",dA="Consulting data of a Brussels patient is currently not authorised.",uA="Consulting data of a Walloon patient is currently not authorised.",hA="Consulting data of a Brussels child by a parent is currently not authorised.",pA="Consulting data of a Walloon child by a parent is currently not authorised.",mA="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",fA="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",gA="Access to the data of a Brussels patient is currently not permitted.",vA="Access to the data of a Walloon patient is currently not permitted.",bA="A parent’s access to the data of a Brussels child is currently not permitted.",yA="A parent’s access to the data of a Walloon child is currently not permitted.",_A="A representative’s access to the data of a Brussels patient is currently not permitted.",xA="A representative’s access to the data of a Walloon patient is currently not permitted.",wA="The patient's NISS number is invalid. (VIDIS_0190)",EA="The login was unsuccessful. Please try again. (VIDIS_0210)",kA="The login was unsuccessful. Please try again. (VIDIS_0211)",CA="The request is invalid. (VIDIS_0230)",SA="User role must be citizen. (VIDIS_0290)",DA="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)",IA="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",TA="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",OA="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",AA="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",RA="No mandate found between patient and mandateholder.",MA="Prescription has expired.",PA="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.",NA="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",LA="The patient in the session is different from the patient in the request.",FA="User is not authorized to make the request.",VA="No mandate found between patient and mandateholder.",zA="Operation is not allowed.",BA="A therapeutic relation between the requester and the patient is not available.",jA="There is no consent to share personal health information.",HA="User is not allowed to perform the operation due to an exclusion between requester and patient.",UA="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",WA="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",qA="Your request is invalid. Please try again later.",GA="Unfortunately the details of the prescription could not be retrieved. Please try again.",$A="An internal technical error has occured. Please try again later.",YA="An internal technical error has occured. Please try again later.",ZA="Back to the MyHealth portal.",KA="https://www.myhealth.belgium.be/",QA="A network error unfortunately has occured. Please contact your network manager if the problem persists.",XA="Invalid date format.",JA="Service temporarily unavailable",eR=`We are currently having a problem connecting to the server.
|
|
54
|
+
Please try again later.`,tR="The patient has hidden one or more prescriptions.",aR="Technical problem",iR="Please try again later.",nR="Help us identify and resolve the issue. By reporting it, you accept ",rR="our terms of use",oR="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",sR="Report the problem",lR="Don't report",cR="The problem has been reported",dR="Data not available",uR="Action not authorized",hR="Close",pR="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",mR="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",ODe={VIDIS_0035:sA,VIDIS_0050:lA,VIDIS_0090:cA,VIDIS_0121:dA,VIDIS_0122:uA,VIDIS_0123:hA,VIDIS_0124:pA,VIDIS_0125:mA,VIDIS_0126:fA,VIDIS_0131:gA,VIDIS_0132:vA,VIDIS_0133:bA,VIDIS_0134:yA,VIDIS_0135:_A,VIDIS_0136:xA,VIDIS_0190:wA,VIDIS_0210:EA,VIDIS_0211:kA,VIDIS_0230:CA,VIDIS_0290:SA,VIDIS_0330:DA,VIDIS_0435:IA,VIDIS_0440:TA,VIDIS_5000:OA,VIDIS_7000:AA,VIDIS_3150:RA,VIDIS_3090:MA,VIDIS_3140:PA,VIDIS_3100:NA,VIDIS_3120:LA,VIDIS_0400:FA,VIDIS_3030:VA,VIDIS_0100:zA,VIDIS_0120:BA,VIDIS_0110:jA,VIDIS_0200:HA,VIDIS_0340:UA,VIDIS_0341:WA,VIDIS_04001:qA,prescriptionList:GA,general:$A,"no-access":YA,myHealth:ZA,myHealthUrl:KA,network_error:QA,invalid_date_format:XA,"status-message-title":JA,"status-message-content":eR,"has-hidden-prescriptions":tR,"report-message-title":aR,"report-message-explanation":iR,"report-message-content":nR,"report-message-term-use":rR,"report-message-link":oR,"report-message-report-button":sR,"report-message-ignore-button":lR,"report-message-confirm-toast":cR,"data-not-available-title":dR,"action-not-authorized-title":uR,"action-not-authorized-close-button":hR,"incorrect-elements-ms-list":pR,"incorrect-elements-ms-detail":mR},fR={};oe(fR,{VIDIS_0035:()=>gR,VIDIS_0050:()=>vR,VIDIS_0090:()=>bR,VIDIS_0100:()=>YR,VIDIS_0110:()=>KR,VIDIS_0120:()=>ZR,VIDIS_0121:()=>yR,VIDIS_0122:()=>_R,VIDIS_0123:()=>xR,VIDIS_0124:()=>wR,VIDIS_0125:()=>ER,VIDIS_0126:()=>kR,VIDIS_0131:()=>CR,VIDIS_0132:()=>SR,VIDIS_0133:()=>DR,VIDIS_0134:()=>IR,VIDIS_0135:()=>TR,VIDIS_0136:()=>OR,VIDIS_0190:()=>AR,VIDIS_0200:()=>QR,VIDIS_0210:()=>RR,VIDIS_0211:()=>MR,VIDIS_0230:()=>PR,VIDIS_0290:()=>NR,VIDIS_0330:()=>LR,VIDIS_0340:()=>XR,VIDIS_0341:()=>JR,VIDIS_0400:()=>GR,VIDIS_04001:()=>eM,VIDIS_0435:()=>FR,VIDIS_0440:()=>VR,VIDIS_3030:()=>$R,VIDIS_3090:()=>HR,VIDIS_3100:()=>WR,VIDIS_3120:()=>qR,VIDIS_3140:()=>UR,VIDIS_3150:()=>jR,VIDIS_5000:()=>zR,VIDIS_7000:()=>BR,"action-not-authorized-close-button":()=>xM,"action-not-authorized-title":()=>_M,"data-not-available-title":()=>yM,default:()=>ADe,general:()=>aM,"has-hidden-prescriptions":()=>dM,"incorrect-elements-ms-detail":()=>EM,"incorrect-elements-ms-list":()=>wM,invalid_date_format:()=>sM,myHealth:()=>nM,myHealthUrl:()=>rM,network_error:()=>oM,"no-access":()=>iM,prescriptionList:()=>tM,"report-message-confirm-toast":()=>bM,"report-message-content":()=>pM,"report-message-explanation":()=>hM,"report-message-ignore-button":()=>vM,"report-message-link":()=>fM,"report-message-report-button":()=>gM,"report-message-term-use":()=>mM,"report-message-title":()=>uM,"status-message-content":()=>cM,"status-message-title":()=>lM});var gR="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",vR="Le NISS du patient est manquant. (VIDIS_0050)",bR="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",yR="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",_R="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",xR="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",wR="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",ER="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",kR="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",CR="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",SR="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",DR="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",IR="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",TR="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",OR="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",AR="Le NISS du patient n’est pas valide. (VIDIS_0190)",RR="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",MR="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",PR="L’opération n’est pas valide. (VIDIS_0230)",NR="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",LR="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)",FR="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",VR="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",zR="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",BR="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",jR="Aucun mandat trouvé entre le patient et le mandataire.",HR="L’ordonnance est expirée.",UR="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.",WR="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",qR="Le patient dans la session est différent de celui dans la demande.",GR="L’utilisateur n’est pas autorisé à effectuer la requête.",$R="Aucun mandat trouvé entre le patient et le mandataire.",YR="Opération non autorisée.",ZR="Aucune relation thérapeutique entre le demandeur et le patient.",KR="Aucun consentement au partage des données de santé.",QR="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",XR="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",JR="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",eM="Votre requête est invalide. Veuillez réessayer plus tard.",tM="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",aM="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",iM="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",nM="Revenir au portail MaSanté",rM="https://wwwint.masante.belgique.be/#/",oM="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",sM="Le format de date est invalide.",lM="Service temporairement indisponible",cM=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
55
|
+
Veuillez réessayer plus tard.`,dM="Le patient a masqué une ou plusieurs prescriptions.",uM="Problème technique",hM="Veuillez réessayer plus tard.",pM="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",mM="conditions d'utilisation",fM="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",gM="Signaler le problème",vM="Ignorer",bM="Le problème a été signalé",yM="Données non disponibles",_M="Action non autorisée",xM="Fermer",wM="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",EM="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",ADe={VIDIS_0035:gR,VIDIS_0050:vR,VIDIS_0090:bR,VIDIS_0121:yR,VIDIS_0122:_R,VIDIS_0123:xR,VIDIS_0124:wR,VIDIS_0125:ER,VIDIS_0126:kR,VIDIS_0131:CR,VIDIS_0132:SR,VIDIS_0133:DR,VIDIS_0134:IR,VIDIS_0135:TR,VIDIS_0136:OR,VIDIS_0190:AR,VIDIS_0210:RR,VIDIS_0211:MR,VIDIS_0230:PR,VIDIS_0290:NR,VIDIS_0330:LR,VIDIS_0435:FR,VIDIS_0440:VR,VIDIS_5000:zR,VIDIS_7000:BR,VIDIS_3150:jR,VIDIS_3090:HR,VIDIS_3140:UR,VIDIS_3100:WR,VIDIS_3120:qR,VIDIS_0400:GR,VIDIS_3030:$R,VIDIS_0100:YR,VIDIS_0120:ZR,VIDIS_0110:KR,VIDIS_0200:QR,VIDIS_0340:XR,VIDIS_0341:JR,VIDIS_04001:eM,prescriptionList:tM,general:aM,"no-access":iM,myHealth:nM,myHealthUrl:rM,network_error:oM,invalid_date_format:sM,"status-message-title":lM,"status-message-content":cM,"has-hidden-prescriptions":dM,"report-message-title":uM,"report-message-explanation":hM,"report-message-content":pM,"report-message-term-use":mM,"report-message-link":fM,"report-message-report-button":gM,"report-message-ignore-button":vM,"report-message-confirm-toast":bM,"data-not-available-title":yM,"action-not-authorized-title":_M,"action-not-authorized-close-button":xM,"incorrect-elements-ms-list":wM,"incorrect-elements-ms-detail":EM},kM={};oe(kM,{VIDIS_0035:()=>CM,VIDIS_0050:()=>SM,VIDIS_0090:()=>DM,VIDIS_0100:()=>iP,VIDIS_0110:()=>rP,VIDIS_0120:()=>nP,VIDIS_0121:()=>IM,VIDIS_0122:()=>TM,VIDIS_0123:()=>OM,VIDIS_0124:()=>AM,VIDIS_0125:()=>RM,VIDIS_0126:()=>MM,VIDIS_0131:()=>PM,VIDIS_0132:()=>NM,VIDIS_0133:()=>LM,VIDIS_0134:()=>FM,VIDIS_0135:()=>VM,VIDIS_0136:()=>zM,VIDIS_0190:()=>BM,VIDIS_0200:()=>oP,VIDIS_0210:()=>jM,VIDIS_0211:()=>HM,VIDIS_0230:()=>UM,VIDIS_0290:()=>WM,VIDIS_0330:()=>qM,VIDIS_0340:()=>sP,VIDIS_0341:()=>lP,VIDIS_0400:()=>tP,VIDIS_04001:()=>cP,VIDIS_0435:()=>GM,VIDIS_0440:()=>$M,VIDIS_3030:()=>aP,VIDIS_3090:()=>QM,VIDIS_3100:()=>JM,VIDIS_3120:()=>eP,VIDIS_3140:()=>XM,VIDIS_3150:()=>KM,VIDIS_5000:()=>YM,VIDIS_7000:()=>ZM,"action-not-authorized-close-button":()=>OP,"action-not-authorized-title":()=>TP,"data-not-available-title":()=>IP,default:()=>RDe,general:()=>uP,"has-hidden-prescriptions":()=>yP,"incorrect-elements-ms-detail":()=>RP,"incorrect-elements-ms-list":()=>AP,invalid_date_format:()=>gP,myHealth:()=>pP,myHealthUrl:()=>mP,network_error:()=>fP,"no-access":()=>hP,prescriptionList:()=>dP,"report-message-confirm-toast":()=>DP,"report-message-content":()=>wP,"report-message-explanation":()=>xP,"report-message-ignore-button":()=>SP,"report-message-link":()=>kP,"report-message-report-button":()=>CP,"report-message-term-use":()=>EP,"report-message-title":()=>_P,"status-message-content":()=>bP,"status-message-title":()=>vP});var CM="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",SM="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",DM="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",IM="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",TM="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",OM="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",AM="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",RM="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",MM="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",PM="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",NM="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",LM="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",FM="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",VM="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",zM="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",BM="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",jM="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",HM="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",UM="Het verzoek is ongeldig. (VIDIS_0230)",WM="Gebruikersrol moet burger zijn. (VIDIS_0290)",qM="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)",GM="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",$M="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",YM="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",ZM="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",KM="Geen mandaat gevonden tussen patiënt en mandataris.",QM="Voorschrift is verlopen.",XM="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.",JM="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",eP="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",tP="De gebruiker is niet gemachtigd om de aanvraag te doen.",aP="Geen mandaat gevonden tussen patiënt en mandataris.",iP="Bewerking is niet toegestaan.",nP="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",rP="Er is geen toestemming om gezondheidsgegevens te delen.",oP="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",sP="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",lP="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",cP="Uw verzoek is ongeldig. Probeer later opnieuw.",dP="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",uP="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",hP="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",pP="Terug naar het MijnGezondheid portaal",mP="http://wwwint.mijngezondheid.belgie.be/",fP="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",gP="Ongeldig datumformaat.",vP="Service tijdelijk niet beschikbaar",bP=`Er is momenteel een probleem met de verbinding met de server.
|
|
56
|
+
Probeer het later nog eens.`,yP="De patiënt heeft 1 of meerdere voorschriften verborgen.",_P="Technisch probleem",xP="Probeer het later opnieuw.",wP="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",EP="gebruiksvoorwaarden",kP="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",CP="Probleem melden",SP="Niet melden",DP="Het probleem is gemeld",IP="Gegevens niet beschikbaar",TP="Actie niet toegestaan",OP="Sluiten",AP="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",RP="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",RDe={VIDIS_0035:CM,VIDIS_0050:SM,VIDIS_0090:DM,VIDIS_0121:IM,VIDIS_0122:TM,VIDIS_0123:OM,VIDIS_0124:AM,VIDIS_0125:RM,VIDIS_0126:MM,VIDIS_0131:PM,VIDIS_0132:NM,VIDIS_0133:LM,VIDIS_0134:FM,VIDIS_0135:VM,VIDIS_0136:zM,VIDIS_0190:BM,VIDIS_0210:jM,VIDIS_0211:HM,VIDIS_0230:UM,VIDIS_0290:WM,VIDIS_0330:qM,VIDIS_0435:GM,VIDIS_0440:$M,VIDIS_5000:YM,VIDIS_7000:ZM,VIDIS_3150:KM,VIDIS_3090:QM,VIDIS_3140:XM,VIDIS_3100:JM,VIDIS_3120:eP,VIDIS_0400:tP,VIDIS_3030:aP,VIDIS_0100:iP,VIDIS_0120:nP,VIDIS_0110:rP,VIDIS_0200:oP,VIDIS_0340:sP,VIDIS_0341:lP,VIDIS_04001:cP,prescriptionList:dP,general:uP,"no-access":hP,myHealth:pP,myHealthUrl:mP,network_error:fP,invalid_date_format:gP,"status-message-title":vP,"status-message-content":bP,"has-hidden-prescriptions":yP,"report-message-title":_P,"report-message-explanation":xP,"report-message-content":wP,"report-message-term-use":EP,"report-message-link":kP,"report-message-report-button":CP,"report-message-ignore-button":SP,"report-message-confirm-toast":DP,"data-not-available-title":IP,"action-not-authorized-title":TP,"action-not-authorized-close-button":OP,"incorrect-elements-ms-list":AP,"incorrect-elements-ms-detail":RP},MDe={nl:kM,fr:fR,de:QT,en:oA},MP={};oe(MP,{close:()=>PP,default:()=>PDe,downloadLeaflet:()=>NP,file:()=>LP});var PP="Schließen",NP="Download Packungsbeilage (pdf)",LP="feile",PDe={close:PP,downloadLeaflet:NP,file:LP},FP={};oe(FP,{close:()=>VP,default:()=>NDe,downloadLeaflet:()=>zP,file:()=>BP});var VP="Close",zP="Download leaflet (pdf)",BP="file",NDe={close:VP,downloadLeaflet:zP,file:BP},jP={};oe(jP,{close:()=>HP,default:()=>LDe,downloadLeaflet:()=>UP,file:()=>WP});var HP="Fermer",UP="Télécharger la notice (pdf)",WP="fichier",LDe={close:HP,downloadLeaflet:UP,file:WP},qP={};oe(qP,{close:()=>GP,default:()=>FDe,downloadLeaflet:()=>$P,file:()=>YP});var GP="Sluiten",$P="Download bijsluiter (pdf)",YP="bestand",FDe={close:GP,downloadLeaflet:$P,file:YP},VDe={nl:qP,fr:jP,de:MP,en:FP},ZP={};oe(ZP,{D:()=>KP,DA:()=>QP,DD:()=>XP,DE:()=>JP,DN:()=>eN,DQ:()=>tN,DT:()=>aN,DV:()=>iN,DW:()=>nN,DX:()=>rN,DZ:()=>oN,J:()=>sN,JD:()=>lN,JH2:()=>cN,JQ:()=>dN,JT:()=>uN,JV:()=>hN,JZ:()=>pN,M:()=>mN,MA:()=>fN,MC:()=>gN,MD:()=>vN,ME:()=>bN,MN:()=>yN,MQ:()=>_N,MS:()=>xN,MT:()=>wN,MV:()=>EN,MX:()=>kN,MZ2:()=>CN,O1:()=>SN,U:()=>IN,UA:()=>NN,UD:()=>ON,UE:()=>VN,UH:()=>DN,UN:()=>LN,UQ:()=>RN,US:()=>PN,UT:()=>TN,UV:()=>AN,UW:()=>zN,UX:()=>FN,UZ:()=>MN,W:()=>BN,WA:()=>jN,WD:()=>HN,WE:()=>UN,WN:()=>WN,WP:()=>qN,WQ:()=>GN,WS:()=>$N,WT:()=>YN,WV:()=>ZN,WW:()=>KN,WX:()=>QN,WZ:()=>XN,default:()=>zDe,ondemand:()=>JN});var KP="Pro Tag",QP="Pro 8 Tagen",XP="Pro 3 Tagen",JP="Pro 11 Tagen",eN="Pro 9 Tagen",tN="Pro 5 Tagen",aN="Pro 2 Tagen",iN="Pro 4 Tagen",nN="Pro 12 Tagen",rN="Pro 10 Tagen",oN="Pro 6 Tagen",sN="Pro Jahre",lN="Pro 3 Jahren",cN="Pro halbes Jahre",dN="Pro 5 Jahren",uN="Pro 2 Jahren",hN="Pro 4 Jahren",pN="Pro 6 Jahren",mN="Pro Monat",fN="Pro 8 Monaten",gN="Pro 18 Monaten",vN="Pro 3 Monaten",bN="Pro 11 Monaten",yN="Pro 9 Monaten",_N="Pro 5 Monaten",xN="Pro 7 Monaten",wN="Pro 2 Monaten",EN="Pro 4 Monaten",kN="Pro 10 Monaten",CN="Pro 6 Monaten",SN="Jeden 2 Tagen",DN="Pro halbe Stunde",IN="Pro Uhr",TN="Pro 2 Uhren",ON="Pro 3 Uhren",AN="Pro 4 Uhren",RN="Pro 5 Uhren",MN="Pro 6 Uhren",PN="Pro 7 Uhren",NN="Pro 8 Uhren",LN="Pro 9 Uhren",FN="Pro 10 Uhren",VN="Pro 11 Uhren",zN="Pro 12 Uhren",BN="Pro Woche",jN="Pro 8 Wochen",HN="Pro 3 Wochen",UN="Pro 11 Wochen",WN="Pro 9 Wochen",qN="Pro 24 Wochen",GN="Pro 5 Wochen",$N="Pro 7 Wochen",YN="Pro 2 Wochen",ZN="Pro 4 Wochen",KN="Pro 12 Wochen",QN="Pro 10 Wochen",XN="Pro 6 Wochen",JN="Auf Nachfrage",zDe={D:KP,DA:QP,DD:XP,DE:JP,DN:eN,DQ:tN,DT:aN,DV:iN,DW:nN,DX:rN,DZ:oN,J:sN,JD:lN,JH2:cN,JQ:dN,JT:uN,JV:hN,JZ:pN,M:mN,MA:fN,MC:gN,MD:vN,ME:bN,MN:yN,MQ:_N,MS:xN,MT:wN,MV:EN,MX:kN,MZ2:CN,O1:SN,UH:DN,U:IN,UT:TN,UD:ON,UV:AN,UQ:RN,UZ:MN,US:PN,UA:NN,UN:LN,UX:FN,UE:VN,UW:zN,W:BN,WA:jN,WD:HN,WE:UN,WN,WP:qN,WQ:GN,WS:$N,WT:YN,WV:ZN,WW:KN,WX:QN,WZ:XN,ondemand:JN},e3={};oe(e3,{D:()=>m3,DA:()=>w3,DD:()=>v3,DE:()=>C3,DN:()=>E3,DQ:()=>y3,DT:()=>f3,DV:()=>b3,DW:()=>S3,DX:()=>k3,DZ:()=>_3,J:()=>Q3,JD:()=>e5,JH2:()=>W3,JQ:()=>a5,JT:()=>J3,JV:()=>t5,JZ:()=>i5,M:()=>O3,MA:()=>$3,MC:()=>X3,MD:()=>B3,ME:()=>K3,MN:()=>Y3,MQ:()=>H3,MS:()=>G3,MT:()=>N3,MV:()=>j3,MX:()=>Z3,MZ2:()=>q3,O1:()=>g3,U:()=>a3,UA:()=>c3,UD:()=>n3,UE:()=>h3,UH:()=>t3,UN:()=>d3,UQ:()=>o3,US:()=>l3,UT:()=>i3,UV:()=>r3,UW:()=>p3,UX:()=>u3,UZ:()=>s3,W:()=>x3,WA:()=>P3,WD:()=>I3,WE:()=>V3,WN:()=>L3,WP:()=>U3,WQ:()=>A3,WS:()=>M3,WT:()=>D3,WV:()=>T3,WW:()=>z3,WX:()=>F3,WZ:()=>R3,default:()=>BDe,ondemand:()=>n5});var t3="Per half hour",a3="Per hour",i3="Per 2 hours",n3="Per 3 hours",r3="Per 4 hours",o3="Per 5 hours",s3="Per 6 hours",l3="Per 7 hours",c3="Per 8 hours",d3="Per 9 hours",u3="Per 10 hours",h3="Per11 hours",p3="Per 12 hours",m3="Per day",f3="Per 2 days",g3="Every 2 days",v3="Per 3 days",b3="Per 4 days",y3="Per 5 days",_3="Per 6 days",x3="Per 7 days",w3="Per 8 days",E3="Per 9 days",k3="Per 10 days",C3="Per 11 days",S3="Per 12 days",D3="Per 2 weeks",I3="Per 3 weeks",T3="Per 4 weeks",O3="Per month",A3="Per 5 weeks",R3="Per 6 weeks",M3="Per 7 weeks",P3="Per 8 weeks",N3="Per 2 months",L3="Per 9 weeks",F3="Per 10 weeks",V3="Per 11 weeks",z3="Per 12 weeks",B3="Per 3 months",j3="Per 4 months",H3="Per 5 months",U3="Per 24 weeks",W3="Per half year",q3="Per 6 months",G3="Per 7 months",$3="Per 8 months",Y3="Per 9 months",Z3="Per 10 months",K3="Per 11 months",Q3="Per Year",X3="Per 18 months",J3="Per 2 years",e5="Per 3 years",t5="Per 4 years",a5="Per 5 years",i5="Per 6 years",n5="On demand",BDe={UH:t3,U:a3,UT:i3,UD:n3,UV:r3,UQ:o3,UZ:s3,US:l3,UA:c3,UN:d3,UX:u3,UE:h3,UW:p3,D:m3,DT:f3,O1:g3,DD:v3,DV:b3,DQ:y3,DZ:_3,W:x3,DA:w3,DN:E3,DX:k3,DE:C3,DW:S3,WT:D3,WD:I3,WV:T3,M:O3,WQ:A3,WZ:R3,WS:M3,WA:P3,MT:N3,WN:L3,WX:F3,WE:V3,WW:z3,MD:B3,MV:j3,MQ:H3,WP:U3,JH2:W3,MZ2:q3,MS:G3,MA:$3,MN:Y3,MX:Z3,ME:K3,J:Q3,MC:X3,JT:J3,JD:e5,JV:t5,JQ:a5,JZ:i5,ondemand:n5},r5={};oe(r5,{D:()=>o5,DA:()=>s5,DD:()=>l5,DE:()=>c5,DN:()=>d5,DQ:()=>u5,DT:()=>h5,DV:()=>p5,DW:()=>m5,DX:()=>f5,DZ:()=>g5,J:()=>v5,JD:()=>b5,JH2:()=>y5,JQ:()=>_5,JT:()=>x5,JV:()=>w5,JZ:()=>E5,M:()=>k5,MA:()=>C5,MC:()=>S5,MD:()=>D5,ME:()=>I5,MN:()=>T5,MQ:()=>O5,MS:()=>A5,MT:()=>R5,MV:()=>M5,MX:()=>P5,MZ2:()=>N5,O1:()=>L5,U:()=>V5,UA:()=>q5,UD:()=>B5,UE:()=>Y5,UH:()=>F5,UN:()=>G5,UQ:()=>H5,US:()=>W5,UT:()=>z5,UV:()=>j5,UW:()=>Z5,UX:()=>$5,UZ:()=>U5,W:()=>K5,WA:()=>Q5,WD:()=>X5,WE:()=>J5,WN:()=>eL,WP:()=>tL,WQ:()=>aL,WS:()=>iL,WT:()=>nL,WV:()=>rL,WW:()=>oL,WX:()=>sL,WZ:()=>lL,default:()=>jDe,ondemand:()=>cL});var o5="Par jour",s5="Par 8 jours",l5="Par 3 jours",c5="Par 11 jours",d5="Par 9 jours",u5="Par 5 jours",h5="Par 2 jours",p5="Par 4 jours",m5="Par 12 jours",f5="Par 10 jours",g5="Par 6 jours",v5="Par an",b5="Par 3 années",y5="Par demi-années",_5="Par 5 années",x5="Par 2 années",w5="Par 4 années",E5="Par 6 années",k5="Par mois",C5="Par 8 mois",S5="Par 18 mois",D5="Par 3 mois",I5="Par 11 mois",T5="Par 9 mois",O5="Par 5 mois",A5="Par 7 mois",R5="Par 2 mois",M5="Par 4 mois",P5="Par 10 mois",N5="Par 6 mois",L5="Tous les 2 jours",F5="Par demi-heure",V5="Par heure",z5="Par 2 heures",B5="Par 3 heures",j5="Par 4 heures",H5="Par 5 heures",U5="Par 6 heures",W5="Par 7 heures",q5="Par 8 heures",G5="Par 9 heures",$5="Par 10 heures",Y5="Par 11 heures",Z5="Par 12 heures",K5="Par semaine",Q5="Par 8 semaines",X5="Par 3 semaines",J5="Par 11 semaines",eL="Par 9 semaines",tL="Par 24 semaines",aL="Par 5 semaines",iL="Par 7 semaines",nL="Par 2 semaines",rL="Par 4 semaines",oL="Par 12 semaines",sL="Par 10 semaines",lL="Par 6 semaines",cL="Sur demande",jDe={D:o5,DA:s5,DD:l5,DE:c5,DN:d5,DQ:u5,DT:h5,DV:p5,DW:m5,DX:f5,DZ:g5,J:v5,JD:b5,JH2:y5,JQ:_5,JT:x5,JV:w5,JZ:E5,M:k5,MA:C5,MC:S5,MD:D5,ME:I5,MN:T5,MQ:O5,MS:A5,MT:R5,MV:M5,MX:P5,MZ2:N5,O1:L5,UH:F5,U:V5,UT:z5,UD:B5,UV:j5,UQ:H5,UZ:U5,US:W5,UA:q5,UN:G5,UX:$5,UE:Y5,UW:Z5,W:K5,WA:Q5,WD:X5,WE:J5,WN:eL,WP:tL,WQ:aL,WS:iL,WT:nL,WV:rL,WW:oL,WX:sL,WZ:lL,ondemand:cL},dL={};oe(dL,{D:()=>uL,DA:()=>hL,DD:()=>pL,DE:()=>mL,DN:()=>fL,DQ:()=>gL,DT:()=>vL,DV:()=>bL,DW:()=>yL,DX:()=>_L,DZ:()=>xL,J:()=>wL,JD:()=>EL,JH2:()=>kL,JQ:()=>CL,JT:()=>SL,JV:()=>DL,JZ:()=>IL,M:()=>TL,MA:()=>OL,MC:()=>AL,MD:()=>RL,ME:()=>ML,MN:()=>PL,MQ:()=>NL,MS:()=>LL,MT:()=>FL,MV:()=>VL,MX:()=>zL,MZ2:()=>BL,O1:()=>jL,U:()=>UL,UA:()=>KL,UD:()=>qL,UE:()=>JL,UH:()=>HL,UN:()=>QL,UQ:()=>$L,US:()=>ZL,UT:()=>WL,UV:()=>GL,UW:()=>eF,UX:()=>XL,UZ:()=>YL,W:()=>tF,WA:()=>aF,WD:()=>iF,WE:()=>nF,WN:()=>rF,WP:()=>oF,WQ:()=>sF,WS:()=>lF,WT:()=>cF,WV:()=>dF,WW:()=>uF,WX:()=>hF,WZ:()=>pF,default:()=>HDe,ondemand:()=>mF});var uL="Dagelijks",hL="Om de 8 dagen",pL="Om de 3 dagen",mL="Om de 11 dagen",fL="Om de 9 dagen",gL="Om de 5 dagen",vL="Om de 2 dagen",bL="Om de 4 dagen",yL="Om de 12 dagen",_L="Om de 10 dagen",xL="Om de 6 dagen",wL="Jaarlijks",EL="Om de 3 jaar",kL="Halfjaarlijks",CL="Om de 5 jaar",SL="Om de 2 jaar",DL="Om de 4 jaar",IL="Om de 6 jaar",TL="Maandelijks",OL="Om de 8 maanden",AL="Om de 18 maanden",RL="Om de 3 maanden",ML="Om de 11 maanden",PL="Om de 9 maanden",NL="Om de 5 maanden",LL="Om de 7 maanden",FL="Om de 2 maanden",VL="Om de 4 maanden",zL="Om de 10 maanden",BL="Om de 6 maanden",jL="Om de 2 dagen",HL="Om het half uur",UL="Om het uur",WL="Om de 2 uren",qL="Om de 3 uren",GL="Om de 4 uren",$L="Om de 5 uren",YL="Om de 6 uren",ZL="Om de 7 uren",KL="Om de 8 uren",QL="Om de 9 uren",XL="Om de 10 uren",JL="Om de 11 uren",eF="Om de 12 uren",tF="Wekelijks",aF="Om de 8 weken",iF="Om de 3 weken",nF="Om de 11 weken",rF="Om de 9 weken",oF="Om de 24 weken",sF="Om de 5 weken",lF="Om de 7 weken",cF="Om de 2 weken",dF="Om de 4 weken",uF="Om de 12 weken",hF="Om de 10 weken",pF="Om de 6 weken",mF="Op aanvraag",HDe={D:uL,DA:hL,DD:pL,DE:mL,DN:fL,DQ:gL,DT:vL,DV:bL,DW:yL,DX:_L,DZ:xL,J:wL,JD:EL,JH2:kL,JQ:CL,JT:SL,JV:DL,JZ:IL,M:TL,MA:OL,MC:AL,MD:RL,ME:ML,MN:PL,MQ:NL,MS:LL,MT:FL,MV:VL,MX:zL,MZ2:BL,O1:jL,UH:HL,U:UL,UT:WL,UD:qL,UV:GL,UQ:$L,UZ:YL,US:ZL,UA:KL,UN:QL,UX:XL,UE:JL,UW:eF,W:tF,WA:aF,WD:iF,WE:nF,WN:rF,WP:oF,WQ:sF,WS:lF,WT:cF,WV:dF,WW:uF,WX:hF,WZ:pF,ondemand:mF},UDe={nl:dL,fr:r5,de:ZP,en:e3},fF={};oe(fF,{afterbreakfast:()=>gF,afterdinner:()=>vF,afterlunch:()=>bF,aftermeal:()=>yF,afternoon:()=>_F,beforebreakfast:()=>xF,beforedinner:()=>wF,beforelunch:()=>EF,betweenbreakfastandlunch:()=>kF,betweendinnerandsleep:()=>CF,betweenlunchanddinner:()=>SF,betweenmeals:()=>DF,breakfast:()=>IF,default:()=>WDe,dinner:()=>TF,duringbreakfast:()=>OF,duringdinner:()=>AF,duringlunch:()=>RF,evening:()=>MF,lunch:()=>PF,morning:()=>NF,night:()=>LF,thehourofsleep:()=>FF});var gF="nach dem Frühstück",vF="nach dem Abendessen",bF="nach dem Mittagessen",yF="nach dem Essen",_F="Nachmittag",xF="vor dem Frühstück",wF="vor dem Abendessen",EF="vor dem Mittagessen",kF="zwischen Frühstück und Mittagessen",CF="zwischen Abendessen und Nachtruhe",SF="zwischen Mittagessen und Abendessen",DF="zwischen den Mahlzeiten",IF="Frühstück",TF="Abendessen",OF="zum Frühstück",AF="zum Abendessen",RF="zum Mittagessen",MF="Abend",PF="Mittagessen",NF="Vormittag",LF="Nacht",FF="Nachtruhe",WDe={afterbreakfast:gF,afterdinner:vF,afterlunch:bF,aftermeal:yF,afternoon:_F,beforebreakfast:xF,beforedinner:wF,beforelunch:EF,betweenbreakfastandlunch:kF,betweendinnerandsleep:CF,betweenlunchanddinner:SF,betweenmeals:DF,breakfast:IF,dinner:TF,duringbreakfast:OF,duringdinner:AF,duringlunch:RF,evening:MF,lunch:PF,morning:NF,night:LF,thehourofsleep:FF},VF={};oe(VF,{afterbreakfast:()=>zF,afterdinner:()=>BF,afterlunch:()=>jF,aftermeal:()=>HF,afternoon:()=>UF,beforebreakfast:()=>WF,beforedinner:()=>qF,beforelunch:()=>GF,betweenbreakfastandlunch:()=>$F,betweendinnerandsleep:()=>YF,betweenlunchanddinner:()=>ZF,betweenmeals:()=>KF,breakfast:()=>QF,default:()=>qDe,dinner:()=>XF,duringbreakfast:()=>JF,duringdinner:()=>e4,duringlunch:()=>t4,evening:()=>a4,lunch:()=>i4,morning:()=>n4,night:()=>r4,thehourofsleep:()=>o4});var zF="after breakfast",BF="after dinner",jF="after lunch",HF="after meal",UF="afternoon",WF="before breakfast",qF="before dinner",GF="before lunch",$F="between breakfast and lunch",YF="between dinner and the hour of sleep",ZF="between lunch and dinner",KF="between meals",QF="breakfast",XF="dinner",JF="during breakfast",e4="during dinner",t4="during lunch",a4="evening",i4="lunch",n4="morning",r4="night",o4="the hour of sleep",qDe={afterbreakfast:zF,afterdinner:BF,afterlunch:jF,aftermeal:HF,afternoon:UF,beforebreakfast:WF,beforedinner:qF,beforelunch:GF,betweenbreakfastandlunch:$F,betweendinnerandsleep:YF,betweenlunchanddinner:ZF,betweenmeals:KF,breakfast:QF,dinner:XF,duringbreakfast:JF,duringdinner:e4,duringlunch:t4,evening:a4,lunch:i4,morning:n4,night:r4,thehourofsleep:o4},s4={};oe(s4,{afterbreakfast:()=>l4,afterdinner:()=>c4,afterlunch:()=>d4,aftermeal:()=>u4,afternoon:()=>h4,beforebreakfast:()=>p4,beforedinner:()=>m4,beforelunch:()=>f4,betweenbreakfastandlunch:()=>g4,betweendinnerandsleep:()=>v4,betweenlunchanddinner:()=>b4,betweenmeals:()=>y4,breakfast:()=>_4,default:()=>GDe,dinner:()=>x4,duringbreakfast:()=>w4,duringdinner:()=>E4,duringlunch:()=>k4,evening:()=>C4,lunch:()=>S4,morning:()=>D4,night:()=>I4,thehourofsleep:()=>T4});var l4="après le petit-déjeuner",c4="après le repas du soir",d4="après le repas du midi",u4="après le repas",h4="après-midi",p4="avant le petit-déjeuner",m4="avant le repas du soir",f4="avant le repas du midi",g4="entre le petit-déjeuner et le repas du midi",v4="entre le repas du soir et l’heure du coucher",b4="entre le repas du midi et le repas du soir",y4="entre les repas",_4="petit-déjeuner",x4="repas du soir",w4="pendant le petit-déjeuner",E4="pendant le repas du soir",k4="pendant le repas du midi",C4="soir",S4="repas du midi",D4="matin",I4="nuit",T4="heure du coucher",GDe={afterbreakfast:l4,afterdinner:c4,afterlunch:d4,aftermeal:u4,afternoon:h4,beforebreakfast:p4,beforedinner:m4,beforelunch:f4,betweenbreakfastandlunch:g4,betweendinnerandsleep:v4,betweenlunchanddinner:b4,betweenmeals:y4,breakfast:_4,dinner:x4,duringbreakfast:w4,duringdinner:E4,duringlunch:k4,evening:C4,lunch:S4,morning:D4,night:I4,thehourofsleep:T4},O4={};oe(O4,{afterbreakfast:()=>A4,afterdinner:()=>R4,afterlunch:()=>M4,aftermeal:()=>P4,afternoon:()=>N4,beforebreakfast:()=>L4,beforedinner:()=>F4,beforelunch:()=>V4,betweenbreakfastandlunch:()=>z4,betweendinnerandsleep:()=>B4,betweenlunchanddinner:()=>j4,betweenmeals:()=>H4,breakfast:()=>U4,default:()=>$De,dinner:()=>W4,duringbreakfast:()=>q4,duringdinner:()=>G4,duringlunch:()=>$4,evening:()=>Y4,lunch:()=>Z4,morning:()=>K4,night:()=>Q4,thehourofsleep:()=>X4});var A4="na het ontbijt",R4="na het avondmaal",M4="na het middagmaal",P4="na de maaltijd",N4="namiddag",L4="voor het ontbijt",F4="voor het avondmaal",V4="voor het middagmaal",z4="tussen het ontbijt en het middagmaal",B4="tussen het avondmaal en het slapen gaan",j4="tussen het middagmaal en het avondmaal",H4="tussen de maaltijden",U4="ontbijt",W4="avondmaal",q4="tijdens het ontbijt",G4="tijdens het avondmaal",$4="tijdens het middagmaal",Y4="'s avonds",Z4="middagmaal",K4="'s ochtends",Q4="'s nachts",X4="voor het slapen gaan",$De={afterbreakfast:A4,afterdinner:R4,afterlunch:M4,aftermeal:P4,afternoon:N4,beforebreakfast:L4,beforedinner:F4,beforelunch:V4,betweenbreakfastandlunch:z4,betweendinnerandsleep:B4,betweenlunchanddinner:j4,betweenmeals:H4,breakfast:U4,dinner:W4,duringbreakfast:q4,duringdinner:G4,duringlunch:$4,evening:Y4,lunch:Z4,morning:K4,night:Q4,thehourofsleep:X4},YDe={nl:O4,fr:s4,de:fF,en:VF},J4={};oe(J4,{day:()=>eV,default:()=>ZDe,during:()=>iV,on:()=>aV,week:()=>tV});var eV="Tag",tV="Woche",aV="am",iV="für",ZDe={day:eV,week:tV,on:aV,during:iV},nV={};oe(nV,{day:()=>rV,default:()=>KDe,during:()=>lV,on:()=>sV,week:()=>oV});var rV="day",oV="week",sV="on",lV="during",KDe={day:rV,week:oV,on:sV,during:lV},cV={};oe(cV,{day:()=>dV,default:()=>QDe,during:()=>pV,on:()=>hV,week:()=>uV});var dV="jour",uV="semaine",hV="le",pV="durant",QDe={day:dV,week:uV,on:hV,during:pV},mV={};oe(mV,{day:()=>fV,default:()=>XDe,during:()=>bV,on:()=>vV,week:()=>gV});var fV="dag",gV="week",vV="op",bV="gedurende",XDe={day:fV,week:gV,on:vV,during:bV},JDe={nl:mV,fr:cV,de:J4,en:nV},yV={};oe(yV,{ambulance_driver:()=>_V,ambulance_first_aid:()=>xV,ambulance_rescuer:()=>wV,application:()=>EV,applied_psychology_bachelor:()=>kV,audician:()=>CV,audiologist:()=>SV,biologist_pharmacist:()=>DV,care_giver:()=>IV,certificateholder:()=>TV,citizen:()=>OV,clinical_orthopedic_pedagogue:()=>AV,clinical_psychologist:()=>RV,default:()=>eIe,dental_hygienist:()=>MV,dentist:()=>PV,deptalgology:()=>NV,deptanatomopathology:()=>LV,deptanesthesiology:()=>FV,deptbacteriology:()=>VV,deptcardiacsurgery:()=>zV,deptcardiology:()=>BV,deptchildandadolescentpsychiatry:()=>jV,deptdentistry:()=>HV,deptdermatology:()=>UV,deptdiabetology:()=>WV,deptdietetics:()=>qV,deptemergency:()=>GV,deptendocrinology:()=>$V,deptgastroenterology:()=>YV,deptgeneralpractice:()=>ZV,deptgenetics:()=>KV,deptgeriatry:()=>QV,deptgynecology:()=>XV,depthandsurgery:()=>JV,depthematology:()=>e7,deptinfectiousdisease:()=>t7,deptintensivecare:()=>a7,deptkinesitherapy:()=>i7,deptlaboratory:()=>n7,deptmajorburns:()=>r7,deptmaxillofacialsurgery:()=>o7,deptmedicine:()=>s7,deptmolecularbiology:()=>l7,deptneonatalogy:()=>c7,deptnephrology:()=>d7,deptneurology:()=>u7,deptneurosurgery:()=>h7,deptnte:()=>p7,deptnuclear:()=>m7,deptnursing:()=>f7,deptnutritiondietetics:()=>g7,deptobstetrics:()=>v7,deptoccupationaltherapy:()=>b7,deptoncology:()=>y7,deptophtalmology:()=>_7,deptorthopedy:()=>x7,deptpalliativecare:()=>w7,deptpediatricintensivecare:()=>E7,deptpediatricsurgery:()=>k7,deptpediatry:()=>C7,deptpharmacy:()=>S7,deptphysicalmedecine:()=>D7,deptphysiotherapy:()=>I7,deptplasticandreparatorysurgery:()=>T7,deptpneumology:()=>O7,deptpodiatry:()=>A7,deptpodology:()=>R7,deptpsychiatry:()=>M7,deptpsychogeriatry:()=>P7,deptpsychology:()=>N7,deptradiology:()=>L7,deptradiotherapy:()=>F7,deptrevalidation:()=>V7,deptrheumatology:()=>z7,deptrhumatology:()=>B7,deptsenology:()=>j7,deptsocialservice:()=>H7,deptspeechtherapy:()=>U7,deptsportsmedecine:()=>W7,deptstomatology:()=>q7,deptsurgery:()=>G7,deptthoracicsurgery:()=>$7,depttoxicology:()=>Y7,depttropicalmedecine:()=>Z7,depturology:()=>K7,deptvascularsurgery:()=>Q7,deptvisceraldigestiveabdominalsurgery:()=>X7,diabete_equipment_supplier:()=>J7,dietician:()=>ez,doctor:()=>tz,family_science_bachelor:()=>az,gerontology_master:()=>iz,groupofnurses:()=>nz,groupofphysiciansdifferentaddress:()=>rz,groupofphysicianssameaddress:()=>oz,guardpost:()=>sz,hub:()=>lz,imaging_technologist:()=>cz,implantprovider:()=>dz,lab_technologist:()=>uz,logopedist:()=>hz,midwife:()=>pz,nurse:()=>mz,occupational_therapist:()=>fz,optician:()=>gz,orghospital:()=>vz,orginsurance:()=>bz,orglaboratory:()=>yz,orgpharmacy:()=>_z,orgpharmacyinvoicingoffice:()=>xz,orgpolyclinic:()=>wz,orgpractice:()=>Ez,orgprevention:()=>kz,orgprimaryhealthcarecenter:()=>Cz,orgpsychiatriccarehome:()=>Sz,orgpublichealth:()=>Dz,orgretirementhome:()=>Iz,orgrevalidationcenter:()=>Tz,orgshelteredliving:()=>Oz,orthopedagogist_master:()=>Az,orthopedist:()=>Rz,orthoptist:()=>Mz,orthotist:()=>Pz,patient:()=>Nz,pediatric_nurse:()=>Lz,persadministrative:()=>Fz,persambulancefirstaid:()=>Vz,persappliedpsychbachelor:()=>zz,persaudician:()=>Bz,persaudiologist:()=>jz,persbandagistorthosiologist:()=>Hz,persbiologist:()=>Uz,perscaregiver:()=>Wz,persclinicalorthopedagogist:()=>qz,persclinicalpsychologist:()=>Gz,persdentist:()=>$z,persdietician:()=>Yz,perseducator:()=>Zz,persfamilysciencebachelor:()=>Kz,persgerontologymaster:()=>Qz,perslogopedist:()=>Xz,persmidwife:()=>Jz,persmobilityimprover:()=>e9,persnurse:()=>t9,persoccupationaltherapist:()=>a9,persoptician:()=>i9,persoptometrist:()=>n9,persoraldentalhygienist:()=>r9,persorthopedagogistmaster:()=>o9,persorthopedist:()=>s9,persorthoptist:()=>l9,persorthotist:()=>c9,persparamedical:()=>d9,perspatientdriver:()=>u9,perspharmacist:()=>h9,perspharmacistclinicalbiologist:()=>p9,perspharmacyassistant:()=>m9,persphysician:()=>f9,persphysiotherapist:()=>g9,perspodologist:()=>v9,perspracticalnurse:()=>b9,persprosthesiologist:()=>y9,perspsychologist:()=>_9,perspsychomotortherapymaster:()=>x9,persreadaptationbachelor:()=>w9,persshoetechnologist:()=>E9,perssocialworker:()=>k9,perstechnician:()=>C9,perstrussmaker:()=>S9,pharmacist:()=>D9,pharmacist_assistant:()=>I9,physician:()=>T9,physiotherapist:()=>O9,podologist:()=>A9,practical_nurse:()=>R9,prosthetist:()=>M9,psychologist:()=>P9,psychomotor_therapy_master:()=>N9,readaptaion_bachelor:()=>L9,social_worker:()=>F9,specialized_educator:()=>V9,truss_maker:()=>z9});var _V="Rettungswagenfahrer",xV="Rettungssanitäter",wV="Rettungssanitäter",EV="Softwareapplikation",kV="Bachelor der angewandten Psychologie",CV="Hörgeräteakustiker",SV="Audiologe",DV="Fachapotheker für klinische Chemie",IV="Pflegekräfte",TV="Zertifikatinhaber",OV="Bürger",AV="Klinischer Heilpädagoge",RV="Klinischer Psychologe",MV="Dentalhygieniker",PV="Zahnarzt",NV="Algologie",LV="pathologische Anatomie",FV="Anästhesiologie",VV="Bakteriologie",zV="Herzchirurgie",BV="Kardiologie",jV="Kinder-und Jugendpsychiatrie",HV="Zahnheilkunde",UV="Dermatologie",WV="Diabetologie",qV="Diätetik",GV="Notaufnahme",$V="Endokrinologie",YV="Gastroenterologie",ZV="Allgemeinmedizin",KV="Genetik",QV="Geriatrie",XV="Gynäkologie",JV="Handchirurgie",e7="Hämatologie",t7="Infektionskrankheit",a7="Intensivmedizin",i7="Physiotherapie",n7="Labordienst/-abteilung einer Einrichtung",r7="Schwerbrandverletztenzentrum",o7="Mund-Kiefer-Gesichtschirurgie",s7="Innere Medizin",l7="Molekularbiologie",c7="Neonatologie",d7="Nephrologie",u7="Neurologie",h7="Neurologie",p7="Hals-Nasen-Ohren-Heilkunde (HNO)",m7="Nuklearmedizin",f7="Krankenpflege",g7="Diätetik",v7="Geburtshilfe",b7="Ergotherapie",y7="Onkologie",_7="Augenheilkunde",x7="Orthopädie",w7="Palliativpflege",E7="Kinder-Intensivstation",k7="Kinderchirurgie",C7="Pädiatrie",S7="Apothekendienst/-abteilung einer Einrichtung",D7="physikalische Medizin",I7="Physiotherapie",T7="plastische Chirurgie und rekonstruktive Chirurgie",O7="Pneumologie",A7="Podiatrie",R7="",M7="Psychiatrie",P7="Psychogeriatrie",N7="Psychologie",L7="Radiologie",F7="Strahlentherapie",V7="Rehabilitation",z7="Rheumatologie",B7="",j7="Senologie",H7="Sozialdienst",U7="Logopädie",W7="Sportmedizin",q7="Stomatologie",G7="Chirurgie",$7="Thoraxchirurgie",Y7="Toxikologie",Z7="Tropenmedizin",K7="Urologie",Q7="Vaskuläre Chirurgie",X7="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",J7="Lieferant von Material für Diabetesselbstverwaltung ",ez="Diätassistent",tz="Arzt",az="Bachelor der Familienwissenschaften",iz="Master der Gerontologie",nz="Krankenpflegeverband",rz="Zusammenschluss von Ärzten, unterschiedliche Adresse",oz="Zusammenschluss von Ärzten, gleiche Adresse",sz="Schwesternstützpunkt",lz="Hub",cz="Technologe im bildgebenden Diagnoseverfahren",dz="Lieferant von Implantaten",uz="Labortechniker",hz="Logopäde",pz="Hebamme",mz="Fachkraft für Krankenpflege",fz="Ergotherapeut",gz="Optiker",vz="Krankenhaus",bz="Versicherung",yz="Unabhängiges Labor",_z="Unabhängige Apotheke",xz="Rechnungstelle für Apotheken",wz="Poliklinik",Ez="Praxis",kz="Präventionsdienst",Cz="Gesundheits- und Sozialzentrum",Sz="psychiatrische Klinik",Dz="Gesundheitsbehörde",Iz="Altenheim",Tz="Reha-Klinik",Oz="Initiative für begleitetes Wohnen",Az="Master der Heilpädagogik",Rz="Orthopäde",Mz="Orthoptist-Optometrist",Pz="Orthopädietechniker",Nz="Patient",Lz="Kinderkrankenschwester",Fz="Büroangestellter",Vz="Rettungswagen",zz="Bachelor in angewandter Psychologie",Bz="Hörgeräteakustiker",jz="Audiologe",Hz="Bandagist Orthosiologe (Orthopädietechniker)",Uz="medizinischer Labortechniker",Wz="informelle Pflegeperson",qz="Klinischer Heilpädagoge",Gz="Klinischer Psychologe",$z="Zahnarzt",Yz="Diätassistent",Zz="Erzieher",Kz="Bachelor in Familienwissenschaften",Qz="Master in Gerontologie",Xz="Logopäde",Jz="Hebamme",e9="Mobilitätsverbesserer (Orthopädietechniker)",t9="Krankenpfleger",a9="Ergotherapeut",i9="Optiker",n9="Optometrist",r9="Dentalhygieniker",o9="Master in Heilpädagogik",s9="Orthopädist",l9="Orthoptist",c9="Orthopädietechniker/Prothesenbauer",d9="medizinische Hilfskraft",u9="Fahrdienst",h9="Apotheker",p9="Fachapotheker für klinische Chemie",m9="Apothekenhelfer",f9="Arzt",g9="Physiotherapeut",v9="Podologe",b9="Pfleger",y9="Orthopädietechniker (Orthopädietechniker)",_9="Psychologe",x9="Master in Psychomotorik",w9="Bachelor in Rehabilitation",E9="Schuhtechniker (Orthopädietechniker)",k9="Sozialarbeiter",C9="Techniker für medizinische Bildgebung",S9="Bandagist",D9="Apotheker",I9="Pharmazeutisch-technischer Assistent ",T9="Arzt",O9="Physiotherapeut",A9="Podologe",R9="Pflegehelfer",M9="Prothesenhersteller",P9="Psychologe",N9="Master der psychomotorischen Therapie",L9="Bachelor der Rehabilitationswissenschaften",F9="Sozialassistent",V9="Bachelor der Erziehungswissenschaften",z9="Bandagist",eIe={ambulance_driver:_V,ambulance_first_aid:xV,ambulance_rescuer:wV,application:EV,applied_psychology_bachelor:kV,audician:CV,audiologist:SV,biologist_pharmacist:DV,care_giver:IV,certificateholder:TV,citizen:OV,clinical_orthopedic_pedagogue:AV,clinical_psychologist:RV,dental_hygienist:MV,dentist:PV,deptalgology:NV,deptanatomopathology:LV,deptanesthesiology:FV,deptbacteriology:VV,deptcardiacsurgery:zV,deptcardiology:BV,deptchildandadolescentpsychiatry:jV,deptdentistry:HV,deptdermatology:UV,deptdiabetology:WV,deptdietetics:qV,deptemergency:GV,deptendocrinology:$V,deptgastroenterology:YV,deptgeneralpractice:ZV,deptgenetics:KV,deptgeriatry:QV,deptgynecology:XV,depthandsurgery:JV,depthematology:e7,deptinfectiousdisease:t7,deptintensivecare:a7,deptkinesitherapy:i7,deptlaboratory:n7,deptmajorburns:r7,deptmaxillofacialsurgery:o7,deptmedicine:s7,deptmolecularbiology:l7,deptneonatalogy:c7,deptnephrology:d7,deptneurology:u7,deptneurosurgery:h7,deptnte:p7,deptnuclear:m7,deptnursing:f7,deptnutritiondietetics:g7,deptobstetrics:v7,deptoccupationaltherapy:b7,deptoncology:y7,deptophtalmology:_7,deptorthopedy:x7,deptpalliativecare:w7,deptpediatricintensivecare:E7,deptpediatricsurgery:k7,deptpediatry:C7,deptpharmacy:S7,deptphysicalmedecine:D7,deptphysiotherapy:I7,deptplasticandreparatorysurgery:T7,deptpneumology:O7,deptpodiatry:A7,deptpodology:R7,deptpsychiatry:M7,deptpsychogeriatry:P7,deptpsychology:N7,deptradiology:L7,deptradiotherapy:F7,deptrevalidation:V7,deptrheumatology:z7,deptrhumatology:B7,deptsenology:j7,deptsocialservice:H7,deptspeechtherapy:U7,deptsportsmedecine:W7,deptstomatology:q7,deptsurgery:G7,deptthoracicsurgery:$7,depttoxicology:Y7,depttropicalmedecine:Z7,depturology:K7,deptvascularsurgery:Q7,deptvisceraldigestiveabdominalsurgery:X7,diabete_equipment_supplier:J7,dietician:ez,doctor:tz,family_science_bachelor:az,gerontology_master:iz,groupofnurses:nz,groupofphysiciansdifferentaddress:rz,groupofphysicianssameaddress:oz,guardpost:sz,hub:lz,imaging_technologist:cz,implantprovider:dz,lab_technologist:uz,logopedist:hz,midwife:pz,nurse:mz,occupational_therapist:fz,optician:gz,orghospital:vz,orginsurance:bz,orglaboratory:yz,orgpharmacy:_z,orgpharmacyinvoicingoffice:xz,orgpolyclinic:wz,orgpractice:Ez,orgprevention:kz,orgprimaryhealthcarecenter:Cz,orgpsychiatriccarehome:Sz,orgpublichealth:Dz,orgretirementhome:Iz,orgrevalidationcenter:Tz,orgshelteredliving:Oz,orthopedagogist_master:Az,orthopedist:Rz,orthoptist:Mz,orthotist:Pz,patient:Nz,pediatric_nurse:Lz,persadministrative:Fz,persambulancefirstaid:Vz,persappliedpsychbachelor:zz,persaudician:Bz,persaudiologist:jz,persbandagistorthosiologist:Hz,persbiologist:Uz,perscaregiver:Wz,persclinicalorthopedagogist:qz,persclinicalpsychologist:Gz,persdentist:$z,persdietician:Yz,perseducator:Zz,persfamilysciencebachelor:Kz,persgerontologymaster:Qz,perslogopedist:Xz,persmidwife:Jz,persmobilityimprover:e9,persnurse:t9,persoccupationaltherapist:a9,persoptician:i9,persoptometrist:n9,persoraldentalhygienist:r9,persorthopedagogistmaster:o9,persorthopedist:s9,persorthoptist:l9,persorthotist:c9,persparamedical:d9,perspatientdriver:u9,perspharmacist:h9,perspharmacistclinicalbiologist:p9,perspharmacyassistant:m9,persphysician:f9,persphysiotherapist:g9,perspodologist:v9,perspracticalnurse:b9,persprosthesiologist:y9,perspsychologist:_9,perspsychomotortherapymaster:x9,persreadaptationbachelor:w9,persshoetechnologist:E9,perssocialworker:k9,perstechnician:C9,perstrussmaker:S9,pharmacist:D9,pharmacist_assistant:I9,physician:T9,physiotherapist:O9,podologist:A9,practical_nurse:R9,prosthetist:M9,psychologist:P9,psychomotor_therapy_master:N9,readaptaion_bachelor:L9,social_worker:F9,specialized_educator:V9,truss_maker:z9},B9={};oe(B9,{ambulance_driver:()=>j9,ambulance_first_aid:()=>H9,ambulance_rescuer:()=>U9,application:()=>W9,applied_psychology_bachelor:()=>q9,audician:()=>G9,audiologist:()=>$9,biologist_pharmacist:()=>Y9,care_giver:()=>Z9,certificateholder:()=>K9,citizen:()=>Q9,clinical_orthopedic_pedagogue:()=>X9,clinical_psychologist:()=>J9,default:()=>tIe,dental_hygienist:()=>eB,dentist:()=>tB,deptalgology:()=>aB,deptanatomopathology:()=>iB,deptanesthesiology:()=>nB,deptbacteriology:()=>rB,deptcardiacsurgery:()=>oB,deptcardiology:()=>sB,deptchildandadolescentpsychiatry:()=>lB,deptdentistry:()=>cB,deptdermatology:()=>dB,deptdiabetology:()=>uB,deptdietetics:()=>hB,deptemergency:()=>pB,deptendocrinology:()=>mB,deptgastroenterology:()=>fB,deptgeneralpractice:()=>gB,deptgenetics:()=>vB,deptgeriatry:()=>bB,deptgynecology:()=>yB,depthandsurgery:()=>_B,depthematology:()=>xB,deptinfectiousdisease:()=>wB,deptintensivecare:()=>EB,deptkinesitherapy:()=>kB,deptlaboratory:()=>CB,deptmajorburns:()=>SB,deptmaxillofacialsurgery:()=>DB,deptmedicine:()=>IB,deptmolecularbiology:()=>TB,deptneonatalogy:()=>OB,deptnephrology:()=>AB,deptneurology:()=>RB,deptneurosurgery:()=>MB,deptnte:()=>PB,deptnuclear:()=>NB,deptnursing:()=>LB,deptnutritiondietetics:()=>FB,deptobstetrics:()=>VB,deptoccupationaltherapy:()=>zB,deptoncology:()=>BB,deptophtalmology:()=>jB,deptorthopedy:()=>HB,deptpalliativecare:()=>UB,deptpediatricintensivecare:()=>WB,deptpediatricsurgery:()=>qB,deptpediatry:()=>GB,deptpharmacy:()=>$B,deptphysicalmedecine:()=>YB,deptphysiotherapy:()=>ZB,deptplasticandreparatorysurgery:()=>KB,deptpneumology:()=>QB,deptpodiatry:()=>XB,deptpodology:()=>JB,deptpsychiatry:()=>e6,deptpsychogeriatry:()=>t6,deptpsychology:()=>a6,deptradiology:()=>i6,deptradiotherapy:()=>n6,deptrevalidation:()=>r6,deptrheumatology:()=>o6,deptrhumatology:()=>s6,deptsenology:()=>l6,deptsocialservice:()=>c6,deptspeechtherapy:()=>d6,deptsportsmedecine:()=>u6,deptstomatology:()=>h6,deptsurgery:()=>p6,deptthoracicsurgery:()=>m6,depttoxicology:()=>f6,depttropicalmedecine:()=>g6,depturology:()=>v6,deptvascularsurgery:()=>b6,deptvisceraldigestiveabdominalsurgery:()=>y6,diabete_equipment_supplier:()=>_6,dietician:()=>x6,doctor:()=>w6,family_science_bachelor:()=>E6,gerontology_master:()=>k6,groupofnurses:()=>C6,groupofphysiciansdifferentaddress:()=>S6,groupofphysicianssameaddress:()=>D6,guardpost:()=>I6,hub:()=>T6,imaging_technologist:()=>O6,implantprovider:()=>A6,lab_technologist:()=>R6,logopedist:()=>M6,midwife:()=>P6,nurse:()=>N6,occupational_therapist:()=>L6,optician:()=>F6,orghospital:()=>V6,orginsurance:()=>z6,orglaboratory:()=>B6,orgpharmacy:()=>j6,orgpharmacyinvoicingoffice:()=>H6,orgpolyclinic:()=>U6,orgpractice:()=>W6,orgprevention:()=>q6,orgprimaryhealthcarecenter:()=>G6,orgpsychiatriccarehome:()=>$6,orgpublichealth:()=>Y6,orgretirementhome:()=>Z6,orgrevalidationcenter:()=>K6,orgshelteredliving:()=>Q6,orthopedagogist_master:()=>X6,orthopedist:()=>J6,orthoptist:()=>ej,orthotist:()=>tj,patient:()=>aj,pediatric_nurse:()=>ij,persadministrative:()=>nj,persambulancefirstaid:()=>rj,persappliedpsychbachelor:()=>oj,persaudician:()=>sj,persaudiologist:()=>lj,persbandagistorthosiologist:()=>cj,persbiologist:()=>dj,perscaregiver:()=>uj,persclinicalorthopedagogist:()=>hj,persclinicalpsychologist:()=>pj,persdentist:()=>mj,persdietician:()=>fj,perseducator:()=>gj,persfamilysciencebachelor:()=>vj,persgerontologymaster:()=>bj,perslogopedist:()=>yj,persmidwife:()=>_j,persmobilityimprover:()=>xj,persnurse:()=>wj,persoccupationaltherapist:()=>Ej,persoptician:()=>kj,persoptometrist:()=>Cj,persoraldentalhygienist:()=>Sj,persorthopedagogistmaster:()=>Dj,persorthopedist:()=>Ij,persorthoptist:()=>Tj,persorthotist:()=>Oj,persparamedical:()=>Aj,perspatientdriver:()=>Rj,perspharmacist:()=>Mj,perspharmacistclinicalbiologist:()=>Pj,perspharmacyassistant:()=>Nj,persphysician:()=>Lj,persphysiotherapist:()=>Fj,perspodologist:()=>Vj,perspracticalnurse:()=>zj,persprosthesiologist:()=>Bj,perspsychologist:()=>jj,perspsychomotortherapymaster:()=>Hj,persreadaptationbachelor:()=>Uj,persshoetechnologist:()=>Wj,perssocialworker:()=>qj,perstechnician:()=>Gj,perstrussmaker:()=>$j,pharmacist:()=>Yj,pharmacist_assistant:()=>Zj,physician:()=>Kj,physiotherapist:()=>Qj,podologist:()=>Xj,practical_nurse:()=>Jj,prosthetist:()=>eH,psychologist:()=>tH,psychomotor_therapy_master:()=>aH,readaptaion_bachelor:()=>iH,social_worker:()=>nH,specialized_educator:()=>rH,truss_maker:()=>oH});var j9="Ambulance Driver",H9="Ambulance First Aider",U9="Ambulance Rescuer",W9="Software application",q9="Bachelor in Applied Psychology",G9="Audician",$9="Audiologist",Y9="Biologist Pharmacist",Z9="Caregiver",K9="Certificate holder",Q9="Citizen",X9="Clinical Orthopedic Pedagogue",J9="Clinical Psychologist",eB="Dental Hygienist",tB="Dentist",aB="Algology",iB="Anatomopathology",nB="Anesthesiology",rB="Bacteriology",oB="Cardiac surgery",sB="Cardiology",lB="Child and adolescent psychiatry",cB="Dentistry",dB="Dermatology",uB="Diabetology",hB="Dietetics",pB="Emergency",mB="Endocrinology",fB="Gastroenterology",gB="General practice",vB="Genetics",bB="Geriatry",yB="Gynecology",_B="Hand surgery",xB="Hematology",wB="Infectious disease",EB="Intensive care",kB="Kinesitherapy",CB="Laboratory service or department within an organisation",SB="Major burns",DB="Maxillofacial surgery",IB="Internal medecine",TB="Molecular biology",OB="Neonatalogy",AB="Nephrology",RB="Neurology",MB="Neurology",PB="Nose-throat-ear",NB="Nuclear",LB="Nursing",FB="Nutritional dietetics",VB="Obstetrics",zB="Occupational therapy",BB="Oncology",jB="Ophthalmology",HB="Orthopedy",UB="Palliative care",WB="Pediatric intensive care",qB="Pediatric surgery",GB="Pediatry",$B="Pharmacy Service/Department within an organization",YB="Physical medecine",ZB="Physiotherapy",KB="Plastic and reparatory surgery",QB="Pneumology",XB="Podiatry",JB="Podiatry",e6="Psychiatry",t6="Psychogeriatry",a6="Psychology",i6="Radiology",n6="Radiotherapy",r6="Revalidation",o6="Rheumatology",s6="Rhumatology",l6="Senology",c6="Social service",d6="Speech therapy",u6="Sports medecine",h6="Stomatology",p6="Surgery",m6="Thoracic surgery",f6="Toxicology",g6="Tropical medecine",v6="Urology",b6="Vascular surgery",y6="Visceral digestive abdominal surgery",_6="Diabetes Management Equipment Supplier",x6="Dietitian",w6="Doctor",E6="Bachelor in Family Science",k6="Master in Gerontology",C6="Group of nurses",S6="Group of physicians different address",D6="Group of physicians same address",I6="Guard post",T6="Hub",O6="Medical Imaging Technologist",A6="Implant Provider",R6="Laboratory Technologist",M6="Logopedist",P6="Midwife",N6="Nurse",L6="Occupational Therapist",F6="Optician",V6="Hospital",z6="Insurance",B6="Independent laboratory",j6="Independent pharmacy",H6="Pharmacy invoicing office",U6="Polyclinic",W6="Practice organisation",q6="Prevention Service",G6="Primary health care center",$6="Psychiatric care home",Y6="Public health organisation",Z6="Retirementhome",K6="Revalidation center",Q6="Sheltered living",X6="Master's in Orthopedagogy",J6="Orthopedist",ej="Orthoptist-Optometrist",tj="Orthotist",aj="Patient",ij="Pediatric Nurse",nj="Administrative",rj="Ambulance first aid",oj="Bachelor in Applied psychology",sj="Audician",lj="Audiologist",cj="Bandagist orthosiologist (orthopedic technologist)",dj="Medical laboratory technician",uj="Informal Caregiver",hj="Clinical orthopedagogist",pj="Clinical psychologist",mj="Dentist",fj="Dietician",gj="Educator",vj="Bachelor in Family sciences",bj="Master in Gerontological sciences",yj="Logopedist",_j="Midwife",xj="Mobility improver (orthopedic technologist)",wj="Nurse",Ej="Occupational therapist",kj="Optician",Cj="Optometrist",Sj="Oral Dental Hygienist",Dj="Master of orthopedagogist",Ij="Orthopedist",Tj="Orthoptist",Oj="Orthotist/Prosthetist",Aj="Paramedical staff",Rj="Patient Transporter (non-urgent)",Mj="Pharmacist",Pj="Pharmacist-clinical biologist",Nj="Pharmacy assistant",Lj="Physician",Fj="Physiotherapist",Vj="Podiologist",zj="Practical nurse",Bj="prosthesiologist (orthopedic technologist)",jj="Psychologist",Hj="Master in Psychomotor Therapy",Uj="Bachelor in Physiotherapy and Rehabilitation",Wj="shoe technologist (orthopedic technologist)",qj="Social worker",Gj="Medical Imaging Technician",$j="Truss maker",Yj="Pharmacist",Zj="Pharmaceutical Technician Assistant",Kj="Physician",Qj="Physiotherapist",Xj="Podiatrist",Jj="Practical Nurse",eH="Prosthetist",tH="Clinical Psychologist",aH="Master's in Psychomotor Therapy",iH="Bachelor in Rehabilitation",nH="Social Worker",rH="Specialized Educator",oH="Truss Maker",tIe={ambulance_driver:j9,ambulance_first_aid:H9,ambulance_rescuer:U9,application:W9,applied_psychology_bachelor:q9,audician:G9,audiologist:$9,biologist_pharmacist:Y9,care_giver:Z9,certificateholder:K9,citizen:Q9,clinical_orthopedic_pedagogue:X9,clinical_psychologist:J9,dental_hygienist:eB,dentist:tB,deptalgology:aB,deptanatomopathology:iB,deptanesthesiology:nB,deptbacteriology:rB,deptcardiacsurgery:oB,deptcardiology:sB,deptchildandadolescentpsychiatry:lB,deptdentistry:cB,deptdermatology:dB,deptdiabetology:uB,deptdietetics:hB,deptemergency:pB,deptendocrinology:mB,deptgastroenterology:fB,deptgeneralpractice:gB,deptgenetics:vB,deptgeriatry:bB,deptgynecology:yB,depthandsurgery:_B,depthematology:xB,deptinfectiousdisease:wB,deptintensivecare:EB,deptkinesitherapy:kB,deptlaboratory:CB,deptmajorburns:SB,deptmaxillofacialsurgery:DB,deptmedicine:IB,deptmolecularbiology:TB,deptneonatalogy:OB,deptnephrology:AB,deptneurology:RB,deptneurosurgery:MB,deptnte:PB,deptnuclear:NB,deptnursing:LB,deptnutritiondietetics:FB,deptobstetrics:VB,deptoccupationaltherapy:zB,deptoncology:BB,deptophtalmology:jB,deptorthopedy:HB,deptpalliativecare:UB,deptpediatricintensivecare:WB,deptpediatricsurgery:qB,deptpediatry:GB,deptpharmacy:$B,deptphysicalmedecine:YB,deptphysiotherapy:ZB,deptplasticandreparatorysurgery:KB,deptpneumology:QB,deptpodiatry:XB,deptpodology:JB,deptpsychiatry:e6,deptpsychogeriatry:t6,deptpsychology:a6,deptradiology:i6,deptradiotherapy:n6,deptrevalidation:r6,deptrheumatology:o6,deptrhumatology:s6,deptsenology:l6,deptsocialservice:c6,deptspeechtherapy:d6,deptsportsmedecine:u6,deptstomatology:h6,deptsurgery:p6,deptthoracicsurgery:m6,depttoxicology:f6,depttropicalmedecine:g6,depturology:v6,deptvascularsurgery:b6,deptvisceraldigestiveabdominalsurgery:y6,diabete_equipment_supplier:_6,dietician:x6,doctor:w6,family_science_bachelor:E6,gerontology_master:k6,groupofnurses:C6,groupofphysiciansdifferentaddress:S6,groupofphysicianssameaddress:D6,guardpost:I6,hub:T6,imaging_technologist:O6,implantprovider:A6,lab_technologist:R6,logopedist:M6,midwife:P6,nurse:N6,occupational_therapist:L6,optician:F6,orghospital:V6,orginsurance:z6,orglaboratory:B6,orgpharmacy:j6,orgpharmacyinvoicingoffice:H6,orgpolyclinic:U6,orgpractice:W6,orgprevention:q6,orgprimaryhealthcarecenter:G6,orgpsychiatriccarehome:$6,orgpublichealth:Y6,orgretirementhome:Z6,orgrevalidationcenter:K6,orgshelteredliving:Q6,orthopedagogist_master:X6,orthopedist:J6,orthoptist:ej,orthotist:tj,patient:aj,pediatric_nurse:ij,persadministrative:nj,persambulancefirstaid:rj,persappliedpsychbachelor:oj,persaudician:sj,persaudiologist:lj,persbandagistorthosiologist:cj,persbiologist:dj,perscaregiver:uj,persclinicalorthopedagogist:hj,persclinicalpsychologist:pj,persdentist:mj,persdietician:fj,perseducator:gj,persfamilysciencebachelor:vj,persgerontologymaster:bj,perslogopedist:yj,persmidwife:_j,persmobilityimprover:xj,persnurse:wj,persoccupationaltherapist:Ej,persoptician:kj,persoptometrist:Cj,persoraldentalhygienist:Sj,persorthopedagogistmaster:Dj,persorthopedist:Ij,persorthoptist:Tj,persorthotist:Oj,persparamedical:Aj,perspatientdriver:Rj,perspharmacist:Mj,perspharmacistclinicalbiologist:Pj,perspharmacyassistant:Nj,persphysician:Lj,persphysiotherapist:Fj,perspodologist:Vj,perspracticalnurse:zj,persprosthesiologist:Bj,perspsychologist:jj,perspsychomotortherapymaster:Hj,persreadaptationbachelor:Uj,persshoetechnologist:Wj,perssocialworker:qj,perstechnician:Gj,perstrussmaker:$j,pharmacist:Yj,pharmacist_assistant:Zj,physician:Kj,physiotherapist:Qj,podologist:Xj,practical_nurse:Jj,prosthetist:eH,psychologist:tH,psychomotor_therapy_master:aH,readaptaion_bachelor:iH,social_worker:nH,specialized_educator:rH,truss_maker:oH},sH={};oe(sH,{ambulance_driver:()=>lH,ambulance_first_aid:()=>cH,ambulance_rescuer:()=>dH,application:()=>uH,applied_psychology_bachelor:()=>hH,audician:()=>pH,audiologist:()=>mH,biologist_pharmacist:()=>fH,care_giver:()=>gH,certificateholder:()=>vH,citizen:()=>bH,clinical_orthopedic_pedagogue:()=>yH,clinical_psychologist:()=>_H,default:()=>aIe,dental_hygienist:()=>xH,dentist:()=>wH,deptalgology:()=>EH,deptanatomopathology:()=>kH,deptanesthesiology:()=>CH,deptbacteriology:()=>SH,deptcardiacsurgery:()=>DH,deptcardiology:()=>IH,deptchildandadolescentpsychiatry:()=>TH,deptdentistry:()=>OH,deptdermatology:()=>AH,deptdiabetology:()=>RH,deptdietetics:()=>MH,deptemergency:()=>PH,deptendocrinology:()=>NH,deptgastroenterology:()=>LH,deptgeneralpractice:()=>FH,deptgenetics:()=>VH,deptgeriatry:()=>zH,deptgynecology:()=>BH,depthandsurgery:()=>jH,depthematology:()=>HH,deptinfectiousdisease:()=>UH,deptintensivecare:()=>WH,deptkinesitherapy:()=>qH,deptlaboratory:()=>GH,deptmajorburns:()=>$H,deptmaxillofacialsurgery:()=>YH,deptmedicine:()=>ZH,deptmolecularbiology:()=>KH,deptneonatalogy:()=>QH,deptnephrology:()=>XH,deptneurology:()=>JH,deptneurosurgery:()=>e8,deptnte:()=>t8,deptnuclear:()=>a8,deptnursing:()=>i8,deptnutritiondietetics:()=>n8,deptobstetrics:()=>r8,deptoccupationaltherapy:()=>o8,deptoncology:()=>s8,deptophtalmology:()=>l8,deptorthopedy:()=>c8,deptpalliativecare:()=>d8,deptpediatricintensivecare:()=>u8,deptpediatricsurgery:()=>h8,deptpediatry:()=>p8,deptpharmacy:()=>m8,deptphysicalmedecine:()=>f8,deptphysiotherapy:()=>g8,deptplasticandreparatorysurgery:()=>v8,deptpneumology:()=>b8,deptpodiatry:()=>y8,deptpodology:()=>_8,deptpsychiatry:()=>x8,deptpsychogeriatry:()=>w8,deptpsychology:()=>E8,deptradiology:()=>k8,deptradiotherapy:()=>C8,deptrevalidation:()=>S8,deptrheumatology:()=>D8,deptrhumatology:()=>I8,deptsenology:()=>T8,deptsocialservice:()=>O8,deptspeechtherapy:()=>A8,deptsportsmedecine:()=>R8,deptstomatology:()=>M8,deptsurgery:()=>P8,deptthoracicsurgery:()=>N8,depttoxicology:()=>L8,depttropicalmedecine:()=>F8,depturology:()=>V8,deptvascularsurgery:()=>z8,deptvisceraldigestiveabdominalsurgery:()=>B8,diabete_equipment_supplier:()=>j8,dietician:()=>H8,doctor:()=>U8,family_science_bachelor:()=>W8,gerontology_master:()=>q8,groupofnurses:()=>G8,groupofphysiciansdifferentaddress:()=>$8,groupofphysicianssameaddress:()=>Y8,guardpost:()=>Z8,hub:()=>K8,imaging_technologist:()=>Q8,implantprovider:()=>X8,lab_technologist:()=>J8,logopedist:()=>eU,midwife:()=>tU,nurse:()=>aU,occupational_therapist:()=>iU,optician:()=>nU,orghospital:()=>rU,orginsurance:()=>oU,orglaboratory:()=>sU,orgpharmacy:()=>lU,orgpharmacyinvoicingoffice:()=>cU,orgpolyclinic:()=>dU,orgpractice:()=>uU,orgprevention:()=>hU,orgprimaryhealthcarecenter:()=>pU,orgpsychiatriccarehome:()=>mU,orgpublichealth:()=>fU,orgretirementhome:()=>gU,orgrevalidationcenter:()=>vU,orgshelteredliving:()=>bU,orthopedagogist_master:()=>yU,orthopedist:()=>_U,orthoptist:()=>xU,orthotist:()=>wU,patient:()=>EU,pediatric_nurse:()=>kU,persadministrative:()=>CU,persambulancefirstaid:()=>SU,persappliedpsychbachelor:()=>DU,persaudician:()=>IU,persaudiologist:()=>TU,persbandagistorthosiologist:()=>OU,persbiologist:()=>AU,perscaregiver:()=>RU,persclinicalorthopedagogist:()=>MU,persclinicalpsychologist:()=>PU,persdentist:()=>NU,persdietician:()=>LU,perseducator:()=>FU,persfamilysciencebachelor:()=>VU,persgerontologymaster:()=>zU,perslogopedist:()=>BU,persmidwife:()=>jU,persmobilityimprover:()=>HU,persnurse:()=>UU,persoccupationaltherapist:()=>WU,persoptician:()=>qU,persoptometrist:()=>GU,persoraldentalhygienist:()=>$U,persorthopedagogistmaster:()=>YU,persorthopedist:()=>ZU,persorthoptist:()=>KU,persorthotist:()=>QU,persparamedical:()=>XU,perspatientdriver:()=>JU,perspharmacist:()=>eW,perspharmacistclinicalbiologist:()=>tW,perspharmacyassistant:()=>aW,persphysician:()=>iW,persphysiotherapist:()=>nW,perspodologist:()=>rW,perspracticalnurse:()=>oW,persprosthesiologist:()=>sW,perspsychologist:()=>lW,perspsychomotortherapymaster:()=>cW,persreadaptationbachelor:()=>dW,persshoetechnologist:()=>uW,perssocialworker:()=>hW,perstechnician:()=>pW,perstrussmaker:()=>mW,pharmacist:()=>fW,pharmacist_assistant:()=>gW,physician:()=>vW,physiotherapist:()=>bW,podologist:()=>yW,practical_nurse:()=>_W,prosthetist:()=>xW,psychologist:()=>wW,psychomotor_therapy_master:()=>EW,readaptaion_bachelor:()=>kW,social_worker:()=>CW,specialized_educator:()=>SW,truss_maker:()=>DW});var lH="Ambulancier",cH="Ambulancier secouriste",dH="Ambulancier secouriste",uH="application logicielle",hH="Bachelier en psychologie appliquée",pH="Audicien",mH="Audiologue",fH="Pharmacien biologiste",gH="Personnel soignant",vH="Titulaire du certificat",bH="Citoyen",yH="Orthopédagogue clinicien",_H="Psychologue clinicien",xH="Hygiéniste bucco-dentaire",wH="Dentiste",EH="algologie",kH="anatomopathologie",CH="anesthésiologie",SH="bactériologie",DH="chirurgie cardiaque",IH="cardiologie",TH="psychiatrie de l’enfant et de l’adolescent",OH="dentisterie",AH="dermatologie",RH="diabétologie",MH="diététique",PH="services d’urgence",NH="endocrinologie",LH="gastroentérologie",FH="médecine générale",VH="génétique",zH="gériatrie",BH="gynécologie",jH="chirurgie de la main",HH="hématologie",UH="maladie infectieuse",WH="soins intensifs",qH="kinésithérapie",GH="Service/Département laboratoire au sein d’une organisation",$H="grands brûlés",YH="chirurgie maxillo-faciale",ZH="médecine interne",KH="biologie moléculaire",QH="néonatologie",XH="néphrologie",JH="neurologie",e8="neurologie",t8="oto-rhino-laryngologie",a8="médecine nucléaire",i8="soins infirmiers",n8="diététique nutritionnelle",r8="obstétrique",o8="ergothérapie",s8="oncologie",l8="ophtalmologie",c8="orthopédie",d8="soins palliatifs",u8="soins intensifs pédiatriques",h8="chirurgie pédiatrique",p8="pédiatrie",m8="Service/Département pharmacie au sein d’une organisation",f8="médecine physique",g8="physiothérapie",v8="chirurgie esthétique et réparatrice",b8="pneumologie",y8="podiatrie",_8="",x8="psychiatrie",w8="Psychogériatrie",E8="psychologie",k8="radiologie",C8="radiothérapie",S8="rééducation",D8="rhumatologie",I8="",T8="sénologie",O8="service social",A8="logopédie",R8="médecine des sports",M8="stomatologie",P8="chirurgie",N8="chirurgie thoracique",L8="toxicologie",F8="médecine tropicale",V8="urologie",z8="chirurgie vasculaire",B8="chirurgie abdominale, digestive et viscérale",j8="Fournisseur de matériel d’autogestion diabétique",H8="Diététicien",U8="Médecin",W8="Bachelier en science de la famille",q8="Master en gérontologie",G8="Regroupement d’infirmiers",$8="Regroupement de médecins adresse différente",Y8="regroupement de médecins même adresse",Z8="poste de garde",K8="hub",Q8="Technologue en imagerie médicale",X8="Dispensateur d’implants",J8="Technologue de labo",eU="Logopède",tU="Sage-femme",aU="Infirmier\\Infirmière",iU="Ergothérapeute",nU="Opticien",rU="hôpital",oU="assurance",sU="laboratoire indépendant",lU="Pharmacie indépendante",cU="office de tarification",dU="polyclinique",uU="cabinet",hU="Service de prévention",pU="Maison médicale",mU="maison de soins psychiatriques",fU="service public de santé",gU="maison de repos",vU="centre de revalidation",bU="initiative d’habitation protégée",yU="Master en Orthopédagogie",_U="Orthopédiste",xU="Orthoptiste-Optométriste",wU="Orthésiste",EU="Patient",kU="Puéricultrice",CU="personnel admistratif",SU="ambulance premier secours",DU="Bachelier en psychologie",IU="audicien",TU="audiologue",OU="orthosiologue bandagiste (technologue en orthopédie)",AU="technicien de laboratoire médical",RU="soignant informel",MU="Orthopédagogue clinicien",PU="Psychologue clinicien",NU="dentiste",LU="diététicien",FU="éducateur",VU="Bachelier en sciences de la famille",zU="Master en gérontologie",BU="logopède",jU="sage-femme",HU="améliorateur de mobilité (technologue en orthopédie)",UU="infirmier",WU="ergothérapeute",qU="opticien",GU="optométriste",$U="Hygiéniste bucco-dentaire",YU="Master en orthopédagogie",ZU="orthopédiste",KU="orthoptiste",QU="Orthésiste/Prothésiste",XU="personnel paramédical",JU="Transporteur de patient (non urgent)",eW="pharmacien",tW="pharmacien-biologiste clinicien",aW="assistant en pharmacie",iW="médecin",nW="kinésithérapeute",rW="podologue",oW="aide-soignante",sW="prothésiste (technologue en orthopédie)",lW="psychologue",cW="Master en thérapie psychomotrice",dW="Bachelier en kinésithérapie et réadaptation",uW="technicien de chaussures (technologue en orthopédie)",hW="travailleur social",pW="Technicien d’imagerie médicale",mW="Bandagiste",fW="Pharmacien",gW="Assistant Pharmaceutico-Technique",vW="Médecin",bW="Physiothérapeute",yW="Podologue",_W="Aide-soignant",xW="Prothésiste",wW="Psychologue clinicien",EW="Master en thérapie psychomotrice",kW="Bachelier en réadaptation",CW="Assistant social",SW="Educateur spécialisé",DW="Bandagiste",aIe={ambulance_driver:lH,ambulance_first_aid:cH,ambulance_rescuer:dH,application:uH,applied_psychology_bachelor:hH,audician:pH,audiologist:mH,biologist_pharmacist:fH,care_giver:gH,certificateholder:vH,citizen:bH,clinical_orthopedic_pedagogue:yH,clinical_psychologist:_H,dental_hygienist:xH,dentist:wH,deptalgology:EH,deptanatomopathology:kH,deptanesthesiology:CH,deptbacteriology:SH,deptcardiacsurgery:DH,deptcardiology:IH,deptchildandadolescentpsychiatry:TH,deptdentistry:OH,deptdermatology:AH,deptdiabetology:RH,deptdietetics:MH,deptemergency:PH,deptendocrinology:NH,deptgastroenterology:LH,deptgeneralpractice:FH,deptgenetics:VH,deptgeriatry:zH,deptgynecology:BH,depthandsurgery:jH,depthematology:HH,deptinfectiousdisease:UH,deptintensivecare:WH,deptkinesitherapy:qH,deptlaboratory:GH,deptmajorburns:$H,deptmaxillofacialsurgery:YH,deptmedicine:ZH,deptmolecularbiology:KH,deptneonatalogy:QH,deptnephrology:XH,deptneurology:JH,deptneurosurgery:e8,deptnte:t8,deptnuclear:a8,deptnursing:i8,deptnutritiondietetics:n8,deptobstetrics:r8,deptoccupationaltherapy:o8,deptoncology:s8,deptophtalmology:l8,deptorthopedy:c8,deptpalliativecare:d8,deptpediatricintensivecare:u8,deptpediatricsurgery:h8,deptpediatry:p8,deptpharmacy:m8,deptphysicalmedecine:f8,deptphysiotherapy:g8,deptplasticandreparatorysurgery:v8,deptpneumology:b8,deptpodiatry:y8,deptpodology:_8,deptpsychiatry:x8,deptpsychogeriatry:w8,deptpsychology:E8,deptradiology:k8,deptradiotherapy:C8,deptrevalidation:S8,deptrheumatology:D8,deptrhumatology:I8,deptsenology:T8,deptsocialservice:O8,deptspeechtherapy:A8,deptsportsmedecine:R8,deptstomatology:M8,deptsurgery:P8,deptthoracicsurgery:N8,depttoxicology:L8,depttropicalmedecine:F8,depturology:V8,deptvascularsurgery:z8,deptvisceraldigestiveabdominalsurgery:B8,diabete_equipment_supplier:j8,dietician:H8,doctor:U8,family_science_bachelor:W8,gerontology_master:q8,groupofnurses:G8,groupofphysiciansdifferentaddress:$8,groupofphysicianssameaddress:Y8,guardpost:Z8,hub:K8,imaging_technologist:Q8,implantprovider:X8,lab_technologist:J8,logopedist:eU,midwife:tU,nurse:aU,occupational_therapist:iU,optician:nU,orghospital:rU,orginsurance:oU,orglaboratory:sU,orgpharmacy:lU,orgpharmacyinvoicingoffice:cU,orgpolyclinic:dU,orgpractice:uU,orgprevention:hU,orgprimaryhealthcarecenter:pU,orgpsychiatriccarehome:mU,orgpublichealth:fU,orgretirementhome:gU,orgrevalidationcenter:vU,orgshelteredliving:bU,orthopedagogist_master:yU,orthopedist:_U,orthoptist:xU,orthotist:wU,patient:EU,pediatric_nurse:kU,persadministrative:CU,persambulancefirstaid:SU,persappliedpsychbachelor:DU,persaudician:IU,persaudiologist:TU,persbandagistorthosiologist:OU,persbiologist:AU,perscaregiver:RU,persclinicalorthopedagogist:MU,persclinicalpsychologist:PU,persdentist:NU,persdietician:LU,perseducator:FU,persfamilysciencebachelor:VU,persgerontologymaster:zU,perslogopedist:BU,persmidwife:jU,persmobilityimprover:HU,persnurse:UU,persoccupationaltherapist:WU,persoptician:qU,persoptometrist:GU,persoraldentalhygienist:$U,persorthopedagogistmaster:YU,persorthopedist:ZU,persorthoptist:KU,persorthotist:QU,persparamedical:XU,perspatientdriver:JU,perspharmacist:eW,perspharmacistclinicalbiologist:tW,perspharmacyassistant:aW,persphysician:iW,persphysiotherapist:nW,perspodologist:rW,perspracticalnurse:oW,persprosthesiologist:sW,perspsychologist:lW,perspsychomotortherapymaster:cW,persreadaptationbachelor:dW,persshoetechnologist:uW,perssocialworker:hW,perstechnician:pW,perstrussmaker:mW,pharmacist:fW,pharmacist_assistant:gW,physician:vW,physiotherapist:bW,podologist:yW,practical_nurse:_W,prosthetist:xW,psychologist:wW,psychomotor_therapy_master:EW,readaptaion_bachelor:kW,social_worker:CW,specialized_educator:SW,truss_maker:DW},IW={};oe(IW,{ambulance_driver:()=>TW,ambulance_first_aid:()=>OW,ambulance_rescuer:()=>AW,application:()=>RW,applied_psychology_bachelor:()=>MW,audician:()=>PW,audiologist:()=>NW,biologist_pharmacist:()=>LW,care_giver:()=>FW,certificateholder:()=>VW,citizen:()=>zW,clinical_orthopedic_pedagogue:()=>BW,clinical_psychologist:()=>jW,default:()=>iIe,dental_hygienist:()=>HW,dentist:()=>UW,deptalgology:()=>WW,deptanatomopathology:()=>qW,deptanesthesiology:()=>GW,deptbacteriology:()=>$W,deptcardiacsurgery:()=>YW,deptcardiology:()=>ZW,deptchildandadolescentpsychiatry:()=>KW,deptdentistry:()=>QW,deptdermatology:()=>XW,deptdiabetology:()=>JW,deptdietetics:()=>eq,deptemergency:()=>tq,deptendocrinology:()=>aq,deptgastroenterology:()=>iq,deptgeneralpractice:()=>nq,deptgenetics:()=>rq,deptgeriatry:()=>oq,deptgynecology:()=>sq,depthandsurgery:()=>lq,depthematology:()=>cq,deptinfectiousdisease:()=>dq,deptintensivecare:()=>uq,deptkinesitherapy:()=>hq,deptlaboratory:()=>pq,deptmajorburns:()=>mq,deptmaxillofacialsurgery:()=>fq,deptmedicine:()=>gq,deptmolecularbiology:()=>vq,deptneonatalogy:()=>bq,deptnephrology:()=>yq,deptneurology:()=>_q,deptneurosurgery:()=>xq,deptnte:()=>wq,deptnuclear:()=>Eq,deptnursing:()=>kq,deptnutritiondietetics:()=>Cq,deptobstetrics:()=>Sq,deptoccupationaltherapy:()=>Dq,deptoncology:()=>Iq,deptophtalmology:()=>Tq,deptorthopedy:()=>Oq,deptpalliativecare:()=>Aq,deptpediatricintensivecare:()=>Rq,deptpediatricsurgery:()=>Mq,deptpediatry:()=>Pq,deptpharmacy:()=>Nq,deptphysicalmedecine:()=>Lq,deptphysiotherapy:()=>Fq,deptplasticandreparatorysurgery:()=>Vq,deptpneumology:()=>zq,deptpodiatry:()=>Bq,deptpodology:()=>jq,deptpsychiatry:()=>Hq,deptpsychogeriatry:()=>Uq,deptpsychology:()=>Wq,deptradiology:()=>qq,deptradiotherapy:()=>Gq,deptrevalidation:()=>$q,deptrheumatology:()=>Yq,deptsenology:()=>Zq,deptsocialservice:()=>Kq,deptspeechtherapy:()=>Qq,deptsportsmedecine:()=>Xq,deptstomatology:()=>Jq,deptsurgery:()=>eG,deptthoracicsurgery:()=>tG,depttoxicology:()=>aG,depttropicalmedecine:()=>iG,depturology:()=>nG,deptvascularsurgery:()=>rG,deptvisceraldigestiveabdominalsurgery:()=>oG,diabete_equipment_supplier:()=>sG,dietician:()=>lG,doctor:()=>cG,family_science_bachelor:()=>dG,gerontology_master:()=>uG,groupofnurses:()=>hG,groupofphysiciansdifferentaddress:()=>pG,groupofphysicianssameaddress:()=>mG,guardpost:()=>fG,hub:()=>gG,imaging_technologist:()=>vG,implantprovider:()=>bG,lab_technologist:()=>yG,logopedist:()=>_G,midwife:()=>xG,nurse:()=>wG,occupational_therapist:()=>EG,optician:()=>kG,orghospital:()=>CG,orginsurance:()=>SG,orglaboratory:()=>DG,orgpharmacy:()=>IG,orgpharmacyinvoicingoffice:()=>TG,orgpolyclinic:()=>OG,orgpractice:()=>AG,orgprevention:()=>RG,orgprimaryhealthcarecenter:()=>MG,orgpsychiatriccarehome:()=>PG,orgpublichealth:()=>NG,orgretirementhome:()=>LG,orgrevalidationcenter:()=>FG,orgshelteredliving:()=>VG,orthopedagogist_master:()=>zG,orthopedist:()=>BG,orthoptist:()=>jG,orthotist:()=>HG,patient:()=>UG,pediatric_nurse:()=>WG,persadministrative:()=>qG,persambulancefirstaid:()=>GG,persappliedpsychbachelor:()=>$G,persaudician:()=>YG,persaudiologist:()=>ZG,persbandagistorthosiologist:()=>KG,persbiologist:()=>QG,perscaregiver:()=>XG,persclinicalorthopedagogist:()=>JG,persclinicalpsychologist:()=>e$,persdentist:()=>t$,persdietician:()=>a$,perseducator:()=>i$,persfamilysciencebachelor:()=>n$,persgerontologymaster:()=>r$,perslogopedist:()=>o$,persmidwife:()=>s$,persmobilityimprover:()=>l$,persnurse:()=>c$,persoccupationaltherapist:()=>d$,persoptician:()=>u$,persoptometrist:()=>h$,persoraldentalhygienist:()=>p$,persorthopedagogistmaster:()=>m$,persorthopedist:()=>f$,persorthoptist:()=>g$,persorthotist:()=>v$,persparamedical:()=>b$,perspatientdriver:()=>y$,perspharmacist:()=>_$,perspharmacistclinicalbiologist:()=>x$,perspharmacyassistant:()=>w$,persphysician:()=>E$,persphysiotherapist:()=>k$,perspodologist:()=>C$,perspracticalnurse:()=>S$,persprosthesiologist:()=>D$,perspsychologist:()=>I$,perspsychomotortherapymaster:()=>T$,persreadaptationbachelor:()=>O$,persshoetechnologist:()=>A$,perssocialworker:()=>R$,perstechnician:()=>M$,perstrussmaker:()=>P$,pharmacist:()=>N$,pharmacist_assistant:()=>L$,physician:()=>F$,physiotherapist:()=>V$,podologist:()=>z$,practical_nurse:()=>B$,prosthetist:()=>j$,psychologist:()=>H$,psychomotor_therapy_master:()=>U$,readaptaion_bachelor:()=>W$,social_worker:()=>q$,specialized_educator:()=>G$,truss_maker:()=>$$});var TW="Ambulancebestuurder",OW="Ambulancier eerste hulp",AW="Amublancier eerste hulp",RW="softwaretoepassing",MW="Bachelor toegepaste psychologie",PW="Audicien",NW="Audioloog",LW="Apotheker-bioloog",FW="Verzorgingspersoneel",VW="Houder van certificaat",zW="Burger",BW="Klinische orthopedagoog",jW="Klinische psycholoog",HW="Mondhygiënist",UW="Tandarts",WW="algologie",qW="anatomo-pathologie",GW="anesthesiologie",$W="bacteriologie",YW="hartchirurgie",ZW="cardiologie",KW="kinder- en jeugdpsychiatrie",QW="tandheelkunde",XW="dermatologie",JW="diabetologie",eq="diëtetiek",tq="spoeddiensten",aq="endocrinologie/hormonenleer",iq="gastro-enterologie",nq="algemene geneeskunde",rq="genetica",oq="geriatrie",sq="gynaecologie",lq="handchirurgie",cq="hematologie",dq="infectieziekte",uq="intensieve zorgen",hq="kinesitherapie",pq="Laboratoriumdienst of -afdeling binnen een organisatie",mq="brandwondencentrum",fq="mond-, kaak- en aangezichtschirurgie",gq="interne geneeskunde",vq="moleculaire biologie",bq="neonatologie",yq="nefrologie",_q="neurologie",xq="neurologie",wq="oto-rhino-laryngologie",Eq="nucleaire geneeskunde",kq="verpleegkunde",Cq="diëtetiek",Sq="verloskunde",Dq="ergotherapie",Iq="oncologie",Tq="oftalmologie",Oq="orthopedie",Aq="palliatieve zorg",Rq="intensieve zorg voor kinderen",Mq="kinderchirurgie",Pq="pediatrie",Nq="Apotheekdienst of -afdeling binnen een organisatie",Lq="fysische geneeskunde",Fq="fysiotherapie",Vq="plastische en reconstructieve chirurgie",zq="pulmonologie",Bq="podiatrie",jq="",Hq="psychiatrie",Uq="Psychogeriatrie",Wq="psychologie",qq="radiologie",Gq="radiotherapie",$q="revalidatie",Yq="reumatologie",Zq="senologie",Kq="sociale dienst",Qq="logopedie",Xq="sportgeneeskunde",Jq="stomatologie",eG="chirurgie",tG="thoraxchirurgie",aG="toxicologie",iG="tropische geneeskunde",nG="urologie",rG="vasculaire chirurgie",oG="digestieve/viscerale chirurgie/buikchirurgie",sG="Leverancier van materiaal voor diabetische zelfzorg ",lG="Diëtist",cG="Arts",dG="Bachelor gezinswetenschappen",uG="Master gerontologie",hG="Groepering van verplegers",pG="Groepering van artsen verschillend adres",mG="groepering van artsen zelfde adres",fG="wachtpost",gG="hub",vG="Technoloog medische beeldvorming",bG="Leverancier implantaten",yG="Laboratoriumtechnoloog",_G="Logopedist",xG="Vroedvrouw",wG="verpleegkundige",EG="Ergotherapeut",kG="Opticien",CG="ziekenhuis",SG="verzekering",DG="Onafhankelijk laboratorium",IG="Onafhankelijke apotheek",TG="Facturatie kantoor apotheek",OG="polikliniek",AG="praktijk",RG="Preventiedienst",MG="medisch huis",PG="psychiatrisch verzorgingstehuis",NG="openbare gezondheidsdienst",LG="woonzorgcentrum",FG="revalidatiecentrum",VG="initiatief voor beschut wonen",zG="Master orthopedagogie",BG="Orthopedist",jG="Orthoptist-optometrist",HG="Orthesist",UG="Patiënt",WG="Kinderverzorgsters",qG="administratief medewerker",GG="ambulance eerste hulp",$G="Bachelor in de toegepaste psychologie",YG="audicien",ZG="audioloog",KG="Bandagist orthosioloog (orthopedisch technoloog)",QG="medisch laboratoriumtechnoloog",XG="mantelzorger",JG="Klinisch orthopedagoog",e$="Klinisch psycholoog",t$="tandarts",a$="diëtist",i$="opvoeder",n$="Bachelor in de gezinswetenschappen",r$="Master in de gerontologie",o$="logopedist",s$="vroedvrouw",l$="mobiliteitsverbeteraar (orthopedisch technoloog)",c$="verpleegkundige",d$="ergotherapeut",u$="opticien",h$="optometrist",p$="Mondhygiënist",m$="Master in de orthopedagogie",f$="orthopedist",g$="orthoptist",v$="Orthopedisch technicus",b$="paramedisch personeel",y$="Ziekenvervoerder (niet urgent)",_$="apotheker",x$="apotheker-klinisch bioloog",w$="apothekersassistent",E$="arts",k$="kinesitherapeut",C$="podologist",S$="verzorgende",D$="prothesemaker (orthopedisch technoloog)",I$="psycholoog",T$="Master in de psychomotorische therapie",O$="Bachelor in de readaptatiewetenschappen",A$="schoentechnicus (orthopedisch technoloog)",R$="maatschappelijk werker",M$="Technicus medische beeldvorming",P$="Bandagist",N$="Apotheker",L$="Farmaceutisch-technisch assistent",F$="Arts",V$="Fysiotherapeut",z$="Podoloog",B$="Zorgkundige",j$="Prothesist",H$="Psycholoog",U$="Master psychomotorische therapie",W$="Bachelor readaptatiewetenschappen",q$="Sociaal assistent",G$="Bachelor opvoedkunde",$$="Bandagist",iIe={ambulance_driver:TW,ambulance_first_aid:OW,ambulance_rescuer:AW,application:RW,applied_psychology_bachelor:MW,audician:PW,audiologist:NW,biologist_pharmacist:LW,care_giver:FW,certificateholder:VW,citizen:zW,clinical_orthopedic_pedagogue:BW,clinical_psychologist:jW,dental_hygienist:HW,dentist:UW,deptalgology:WW,deptanatomopathology:qW,deptanesthesiology:GW,deptbacteriology:$W,deptcardiacsurgery:YW,deptcardiology:ZW,deptchildandadolescentpsychiatry:KW,deptdentistry:QW,deptdermatology:XW,deptdiabetology:JW,deptdietetics:eq,deptemergency:tq,deptendocrinology:aq,deptgastroenterology:iq,deptgeneralpractice:nq,deptgenetics:rq,deptgeriatry:oq,deptgynecology:sq,depthandsurgery:lq,depthematology:cq,deptinfectiousdisease:dq,deptintensivecare:uq,deptkinesitherapy:hq,deptlaboratory:pq,deptmajorburns:mq,deptmaxillofacialsurgery:fq,deptmedicine:gq,deptmolecularbiology:vq,deptneonatalogy:bq,deptnephrology:yq,deptneurology:_q,deptneurosurgery:xq,deptnte:wq,deptnuclear:Eq,deptnursing:kq,deptnutritiondietetics:Cq,deptobstetrics:Sq,deptoccupationaltherapy:Dq,deptoncology:Iq,deptophtalmology:Tq,deptorthopedy:Oq,deptpalliativecare:Aq,deptpediatricintensivecare:Rq,deptpediatricsurgery:Mq,deptpediatry:Pq,deptpharmacy:Nq,deptphysicalmedecine:Lq,deptphysiotherapy:Fq,deptplasticandreparatorysurgery:Vq,deptpneumology:zq,deptpodiatry:Bq,deptpodology:jq,deptpsychiatry:Hq,deptpsychogeriatry:Uq,deptpsychology:Wq,deptradiology:qq,deptradiotherapy:Gq,deptrevalidation:$q,deptrheumatology:Yq,deptsenology:Zq,deptsocialservice:Kq,deptspeechtherapy:Qq,deptsportsmedecine:Xq,deptstomatology:Jq,deptsurgery:eG,deptthoracicsurgery:tG,depttoxicology:aG,depttropicalmedecine:iG,depturology:nG,deptvascularsurgery:rG,deptvisceraldigestiveabdominalsurgery:oG,diabete_equipment_supplier:sG,dietician:lG,doctor:cG,family_science_bachelor:dG,gerontology_master:uG,groupofnurses:hG,groupofphysiciansdifferentaddress:pG,groupofphysicianssameaddress:mG,guardpost:fG,hub:gG,imaging_technologist:vG,implantprovider:bG,lab_technologist:yG,logopedist:_G,midwife:xG,nurse:wG,occupational_therapist:EG,optician:kG,orghospital:CG,orginsurance:SG,orglaboratory:DG,orgpharmacy:IG,orgpharmacyinvoicingoffice:TG,orgpolyclinic:OG,orgpractice:AG,orgprevention:RG,orgprimaryhealthcarecenter:MG,orgpsychiatriccarehome:PG,orgpublichealth:NG,orgretirementhome:LG,orgrevalidationcenter:FG,orgshelteredliving:VG,orthopedagogist_master:zG,orthopedist:BG,orthoptist:jG,orthotist:HG,patient:UG,pediatric_nurse:WG,persadministrative:qG,persambulancefirstaid:GG,persappliedpsychbachelor:$G,persaudician:YG,persaudiologist:ZG,persbandagistorthosiologist:KG,persbiologist:QG,perscaregiver:XG,persclinicalorthopedagogist:JG,persclinicalpsychologist:e$,persdentist:t$,persdietician:a$,perseducator:i$,persfamilysciencebachelor:n$,persgerontologymaster:r$,perslogopedist:o$,persmidwife:s$,persmobilityimprover:l$,persnurse:c$,persoccupationaltherapist:d$,persoptician:u$,persoptometrist:h$,persoraldentalhygienist:p$,persorthopedagogistmaster:m$,persorthopedist:f$,persorthoptist:g$,persorthotist:v$,persparamedical:b$,perspatientdriver:y$,perspharmacist:_$,perspharmacistclinicalbiologist:x$,perspharmacyassistant:w$,persphysician:E$,persphysiotherapist:k$,perspodologist:C$,perspracticalnurse:S$,persprosthesiologist:D$,perspsychologist:I$,perspsychomotortherapymaster:T$,persreadaptationbachelor:O$,persshoetechnologist:A$,perssocialworker:R$,perstechnician:M$,perstrussmaker:P$,pharmacist:N$,pharmacist_assistant:L$,physician:F$,physiotherapist:V$,podologist:z$,practical_nurse:B$,prosthetist:j$,psychologist:H$,psychomotor_therapy_master:U$,readaptaion_bachelor:W$,social_worker:q$,specialized_educator:G$,truss_maker:$$},nIe={nl:IW,fr:sH,de:yV,en:B9},Y$={};oe(Y$,{"00001":()=>Z$,"00002":()=>K$,"00003":()=>Q$,"00004":()=>X$,"00005":()=>J$,"00006":()=>eY,"00007":()=>tY,"00008":()=>aY,"00009":()=>iY,"00010":()=>nY,"00011":()=>rY,"00012":()=>oY,"00013":()=>sY,"00014":()=>lY,"00015":()=>cY,"00016":()=>dY,"00017":()=>uY,"00018":()=>hY,"00019":()=>pY,"00020":()=>mY,"00021":()=>fY,"00022":()=>gY,"00023":()=>vY,"00024":()=>bY,"00025":()=>yY,"00026":()=>_Y,"00027":()=>xY,"00028":()=>wY,"00029":()=>EY,"00030":()=>kY,"00031":()=>CY,"00032":()=>SY,"00033":()=>DY,"00034":()=>IY,"00035":()=>TY,"00036":()=>OY,"00037":()=>AY,"00038":()=>RY,"00039":()=>MY,"00040":()=>PY,"00041":()=>NY,"00042":()=>LY,"00043":()=>FY,"00044":()=>VY,"00045":()=>zY,"00046":()=>BY,"00047":()=>jY,"00048":()=>HY,"00049":()=>UY,"00050":()=>WY,"00051":()=>qY,"00052":()=>GY,"00053":()=>$Y,"00054":()=>YY,"00055":()=>ZY,"00056":()=>KY,"00057":()=>QY,"00058":()=>XY,"00059":()=>JY,"00060":()=>eZ,"00061":()=>tZ,"00062":()=>aZ,"00063":()=>iZ,"00064":()=>nZ,"00065":()=>rZ,"00066":()=>oZ,"00067":()=>sZ,"00068":()=>lZ,"00069":()=>cZ,"00070":()=>dZ,"00071":()=>uZ,"00072":()=>hZ,"00073":()=>pZ,"both-ears":()=>mZ,"both-eyes":()=>fZ,"both-nostrils":()=>gZ,"cutaneous-injection":()=>vZ,default:()=>rIe,derm:()=>bZ,"dermal-injection":()=>yZ,"ear-left":()=>_Z,"ear-right":()=>xZ,"eye-left":()=>wZ,"eye-right":()=>EZ,hyperdermoclyse:()=>kZ,icut:()=>CZ,ider:()=>SZ,larter:()=>DZ,"nose-left":()=>IZ,"nose-right":()=>TZ,oft:()=>OZ,transdermal:()=>AZ,"vitreal-injection":()=>RZ});var Z$="ins Ohr",K$="auf die Haut",Q$="derm./rect",X$="derm./vag.",J$="Injektion außerhalb der Hirnhaut",eY="e.dur./i.thec./lokal",tY="p.dur./lokal",aY="in die Luftröhre",iY="in den Gebärmutterhals einführen",nY="Injektion in eine Arterie",rY="Injektion in den Penis",oY="Injektion in die Haut",sY="Injektion in einen Muskel",lY="i.m./i.thec./p.dur./s.c.",cY="i.m./i.v.",dY="i.m./i.v./inf.",uY="i.m./i.v./inf./e.dur./s.c.",hY="i.m./i.v./inf./i.arter./i.thec.",pY="i.m./i.v./perf./i.artér./lokal/s.c.",mY="i.m./i.v./inf./i.thec.",fY="i.m./i.v./inf./rect.",gY="i.m./i.v./inf./s.c.",vY="i.m./i.v./inhal.",bY="i.m./i.v./lokal",yY="i.m./i.v./or.",_Y="i.m./i.v./rect",xY="i.m./i.v./s.c.",wY="i.m./inf.",EY="i.m./perf./lokal",kY="i.m./lokal",CY="i.m./lokal/rect.",SY="i.m./s.c.",DY="Injektion ins Rückenmark",IY="in die Gebärmutter einführen",TY="Injektion in eine Vene",OY="i.v./p.dur./lokal",AY="i.v./i.arter./i.ves.",RY="i.v./inf.",MY="i.v./perf./p.dur.",PY="i.v./inf./i.arter.",NY="i.v./inf./i.thec./s.c.",LY="i.v./inf./inhal.",FY="i.v./inf./s.c.",VY="i.v./s.c.",zY="in die Harnblase",BY="Infusion",jY="perf./i.ves.",HY="perf./s.c.",UY="Inhalation",WY="inhal./nas./lokal",qY="Injektion",GY="auf die Lippen",$Y="lokal",YY="auf die Schleimhaut",ZY="in die Nase",KY="in die Augen",QY="opht./auric.",XY="opht./auric./nas.",JY="opht./auric./nas./lokal",eZ="einnehmen",tZ="or./orofar./derm.",aZ="or./rect.",iZ="or./s.l.",nZ="durch den Mund",rZ="orofar./derm.",oZ="durch Mund und Nase",sZ="rektal",lZ="Spritze unter die Haut",cZ="s.c./i.derm.",dZ="unter die Zunge",uZ="auf die Zähne",hZ="in den Harnleiter",pZ="vaginal",mZ="beide Ohren",fZ="beide Augen",gZ="beide Nasenlöcher",vZ="kutane Injektion",bZ="dermatologisch",yZ="dermale Injektion",_Z="linkes Ohr",xZ="rechtes Ohr",wZ="linkes Auge",EZ="rechtes Auge",kZ="Hyperdermoklyse",CZ="intrakutan",SZ="intradermal",DZ="intraarteriell",IZ="linke Nase",TZ="rechte Nase",OZ="ophthalmologisch",AZ="transdermal",RZ="vitreale Injektion",rIe={"00001":Z$,"00002":K$,"00003":Q$,"00004":X$,"00005":J$,"00006":eY,"00007":tY,"00008":aY,"00009":iY,"00010":nY,"00011":rY,"00012":oY,"00013":sY,"00014":lY,"00015":cY,"00016":dY,"00017":uY,"00018":hY,"00019":pY,"00020":mY,"00021":fY,"00022":gY,"00023":vY,"00024":bY,"00025":yY,"00026":_Y,"00027":xY,"00028":wY,"00029":EY,"00030":kY,"00031":CY,"00032":SY,"00033":DY,"00034":IY,"00035":TY,"00036":OY,"00037":AY,"00038":RY,"00039":MY,"00040":PY,"00041":NY,"00042":LY,"00043":FY,"00044":VY,"00045":zY,"00046":BY,"00047":jY,"00048":HY,"00049":UY,"00050":WY,"00051":qY,"00052":GY,"00053":$Y,"00054":YY,"00055":ZY,"00056":KY,"00057":QY,"00058":XY,"00059":JY,"00060":eZ,"00061":tZ,"00062":aZ,"00063":iZ,"00064":nZ,"00065":rZ,"00066":oZ,"00067":sZ,"00068":lZ,"00069":cZ,"00070":dZ,"00071":uZ,"00072":hZ,"00073":pZ,"both-ears":mZ,"both-eyes":fZ,"both-nostrils":gZ,"cutaneous-injection":vZ,derm:bZ,"dermal-injection":yZ,"ear-left":_Z,"ear-right":xZ,"eye-left":wZ,"eye-right":EZ,hyperdermoclyse:kZ,icut:CZ,ider:SZ,larter:DZ,"nose-left":IZ,"nose-right":TZ,oft:OZ,transdermal:AZ,"vitreal-injection":RZ},MZ={};oe(MZ,{"00001":()=>PZ,"00002":()=>NZ,"00003":()=>LZ,"00004":()=>FZ,"00005":()=>VZ,"00006":()=>zZ,"00007":()=>BZ,"00008":()=>jZ,"00009":()=>HZ,"00010":()=>UZ,"00011":()=>WZ,"00012":()=>qZ,"00013":()=>GZ,"00014":()=>$Z,"00015":()=>YZ,"00016":()=>ZZ,"00017":()=>KZ,"00018":()=>QZ,"00019":()=>XZ,"00020":()=>JZ,"00021":()=>eK,"00022":()=>tK,"00023":()=>aK,"00024":()=>iK,"00025":()=>nK,"00026":()=>rK,"00027":()=>oK,"00028":()=>sK,"00029":()=>lK,"00030":()=>cK,"00031":()=>dK,"00032":()=>uK,"00033":()=>hK,"00034":()=>pK,"00035":()=>mK,"00036":()=>fK,"00037":()=>gK,"00038":()=>vK,"00039":()=>bK,"00040":()=>yK,"00041":()=>_K,"00042":()=>xK,"00043":()=>wK,"00044":()=>EK,"00045":()=>kK,"00046":()=>CK,"00047":()=>SK,"00048":()=>DK,"00049":()=>IK,"00050":()=>TK,"00051":()=>OK,"00052":()=>AK,"00053":()=>RK,"00054":()=>MK,"00055":()=>PK,"00056":()=>NK,"00057":()=>LK,"00058":()=>FK,"00059":()=>VK,"00060":()=>zK,"00061":()=>BK,"00062":()=>jK,"00063":()=>HK,"00064":()=>UK,"00065":()=>WK,"00066":()=>qK,"00067":()=>GK,"00068":()=>$K,"00069":()=>YK,"00070":()=>ZK,"00071":()=>KK,"00072":()=>QK,"00073":()=>XK,"both-ears":()=>JK,"both-eyes":()=>eQ,"both-nostrils":()=>tQ,"cutaneous-injection":()=>aQ,default:()=>oIe,derm:()=>iQ,"dermal-injection":()=>nQ,"ear-left":()=>rQ,"ear-right":()=>oQ,"eye-left":()=>sQ,"eye-right":()=>lQ,hyperdermoclyse:()=>cQ,icut:()=>dQ,ider:()=>uQ,larter:()=>hQ,"nose-left":()=>pQ,"nose-right":()=>mQ,oft:()=>fQ,transdermal:()=>gQ,"vitreal-injection":()=>vQ});var PZ="auric.",NZ="derm.",LZ="derm./rect",FZ="derm./vag.",VZ="e.dur.",zZ="e.dur./i.thec./local",BZ="e.dur./local",jZ="e.trach.",HZ="endocerv.",UZ="i.arter.",WZ="i.cavern.",qZ="i.derm.",GZ="i.m.",$Z="i.m./i.thec./e.dur./s.c.",YZ="i.m./i.v.",ZZ="i.m./i.v./inf.",KZ="i.m./i.v./inf./e.dur./s.c.",QZ="i.m./i.v./inf./i.arter./i.thec.",XZ="i.m./i.v./perf./i.artér./local/s.c.",JZ="i.m./i.v./inf./i.thec.",eK="i.m./i.v./inf./rect.",tK="i.m./i.v./inf./s.c.",aK="i.m./i.v./inhal.",iK="i.m./i.v./local",nK="i.m./i.v./or.",rK="i.m./i.v./rect",oK="i.m./i.v./s.c.",sK="i.m./inf.",lK="i.m./perf./local",cK="i.m./local",dK="i.m./local/rect.",uK="i.m./s.c.",hK="i.thec.",pK="i.ut.",mK="i.v.",fK="i.v./p.dur./local",gK="i.v./i.arter./i.ves.",vK="i.v./inf.",bK="i.v./perf./p.dur.",yK="i.v./perf./i.artér.",_K="i.v./perf./i.théc./s.c.",xK="i.v./perf./inhal.",wK="i.v./perf./s.c.",EK="i.v./s.c.",kK="i.ves.",CK="perf.",SK="perf./i.ves.",DK="perf./s.c.",IK="inhal.",TK="inhal./nas./local",OK="inj.",AK="lip",RK="local",MK="muc.",PK="nas.",NK="opht.",LK="opht./auric.",FK="opht./auric./nas.",VK="opht./auric./nas./local",zK="or.",BK="or./bucco-phar./derm.",jK="or./rect.",HK="or./s.l.",UK="bucco-phar.",WK="bucco-phar./derm.",qK="bucco-phar./nas.",GK="rect.",$K="s.c.",YK="s.c./i.derm.",ZK="s.l.",KK="teeth",QK="urethr.",XK="vag.",JK="both ears",eQ="both eyes",tQ="both nostrils",aQ="cutaneous injection",iQ="dermatologically",nQ="dermal injection",rQ="ear left",oQ="ear right",sQ="eye left",lQ="eye right",cQ="hyperdermoclyse",dQ="intracutaneous",uQ="intradermally",hQ="intra-arterial",pQ="nose left",mQ="nose right",fQ="ophtalmological",gQ="transdermal",vQ="vitreal injection",oIe={"00001":PZ,"00002":NZ,"00003":LZ,"00004":FZ,"00005":VZ,"00006":zZ,"00007":BZ,"00008":jZ,"00009":HZ,"00010":UZ,"00011":WZ,"00012":qZ,"00013":GZ,"00014":$Z,"00015":YZ,"00016":ZZ,"00017":KZ,"00018":QZ,"00019":XZ,"00020":JZ,"00021":eK,"00022":tK,"00023":aK,"00024":iK,"00025":nK,"00026":rK,"00027":oK,"00028":sK,"00029":lK,"00030":cK,"00031":dK,"00032":uK,"00033":hK,"00034":pK,"00035":mK,"00036":fK,"00037":gK,"00038":vK,"00039":bK,"00040":yK,"00041":_K,"00042":xK,"00043":wK,"00044":EK,"00045":kK,"00046":CK,"00047":SK,"00048":DK,"00049":IK,"00050":TK,"00051":OK,"00052":AK,"00053":RK,"00054":MK,"00055":PK,"00056":NK,"00057":LK,"00058":FK,"00059":VK,"00060":zK,"00061":BK,"00062":jK,"00063":HK,"00064":UK,"00065":WK,"00066":qK,"00067":GK,"00068":$K,"00069":YK,"00070":ZK,"00071":KK,"00072":QK,"00073":XK,"both-ears":JK,"both-eyes":eQ,"both-nostrils":tQ,"cutaneous-injection":aQ,derm:iQ,"dermal-injection":nQ,"ear-left":rQ,"ear-right":oQ,"eye-left":sQ,"eye-right":lQ,hyperdermoclyse:cQ,icut:dQ,ider:uQ,larter:hQ,"nose-left":pQ,"nose-right":mQ,oft:fQ,transdermal:gQ,"vitreal-injection":vQ},bQ={};oe(bQ,{"00001":()=>yQ,"00002":()=>_Q,"00003":()=>xQ,"00004":()=>wQ,"00005":()=>EQ,"00006":()=>kQ,"00007":()=>CQ,"00008":()=>SQ,"00009":()=>DQ,"00010":()=>IQ,"00011":()=>TQ,"00012":()=>OQ,"00013":()=>AQ,"00014":()=>RQ,"00015":()=>MQ,"00016":()=>PQ,"00017":()=>NQ,"00018":()=>LQ,"00019":()=>FQ,"00020":()=>VQ,"00021":()=>zQ,"00022":()=>BQ,"00023":()=>jQ,"00024":()=>HQ,"00025":()=>UQ,"00026":()=>WQ,"00027":()=>qQ,"00028":()=>GQ,"00029":()=>$Q,"00030":()=>YQ,"00031":()=>ZQ,"00032":()=>KQ,"00033":()=>QQ,"00034":()=>XQ,"00035":()=>JQ,"00036":()=>eX,"00037":()=>tX,"00038":()=>aX,"00039":()=>iX,"00040":()=>nX,"00041":()=>rX,"00042":()=>oX,"00043":()=>sX,"00044":()=>lX,"00045":()=>cX,"00046":()=>dX,"00047":()=>uX,"00048":()=>hX,"00049":()=>pX,"00050":()=>mX,"00051":()=>fX,"00052":()=>gX,"00053":()=>vX,"00054":()=>bX,"00055":()=>yX,"00056":()=>_X,"00057":()=>xX,"00058":()=>wX,"00059":()=>EX,"00060":()=>kX,"00061":()=>CX,"00062":()=>SX,"00063":()=>DX,"00064":()=>IX,"00065":()=>TX,"00066":()=>OX,"00067":()=>AX,"00068":()=>RX,"00069":()=>MX,"00070":()=>PX,"00071":()=>NX,"00072":()=>LX,"00073":()=>FX,"both-ears":()=>VX,"both-eyes":()=>zX,"both-nostrils":()=>BX,"cutaneous-injection":()=>jX,default:()=>sIe,derm:()=>HX,"dermal-injection":()=>UX,"ear-left":()=>WX,"ear-right":()=>qX,"eye-left":()=>GX,"eye-right":()=>$X,hyperdermoclyse:()=>YX,icut:()=>ZX,ider:()=>KX,larter:()=>QX,"nose-left":()=>XX,"nose-right":()=>JX,oft:()=>eJ,transdermal:()=>tJ,"vitreal-injection":()=>aJ});var yQ="dans l’oreille",_Q="sur la peau",xQ="derm./rect",wQ="derm./vag.",EQ="injection en dehors de la méninge",kQ="e.dur./i.théc./local",CQ="e.dur./local",SQ="dans la trachée",DQ="introduire dans le col de l’utérus",IQ="injection dans l’artère",TQ="injection dans le pénis",OQ="injection dans la peau",AQ="injection dans un muscle",RQ="i.m./i.théc./e.dur./s.c.",MQ="i.m./i.v.",PQ="i.m./i.v./perf.",NQ="i.m./i.v./perf./e.dur./s.c.",LQ="i.m./i.v./inf./i.arter./i.thec.",FQ="i.m./i.v./perf./i.artér./local/s.c.",VQ="i.m./i.v./inf./i.thec.",zQ="i.m./i.v./perf./rect.",BQ="i.m./i.v./perf./s.c.",jQ="i.m./i.v./inhal.",HQ="i.m./i.v./local",UQ="i.m./i.v./or.",WQ="i.m./i.v./rect",qQ="i.m./i.v./s.c.",GQ="i.m./perf.",$Q="i.m./perf./local",YQ="i.m./local",ZQ="i.m./local/rect.",KQ="i.m./s.c.",QQ="injection dans la moelle épinière",XQ="introduire dans l’utérus",JQ="injection dans une veine",eX="i.v./p.dur./local",tX="i.v./i.arter./i.ves.",aX="i.v./perf.",iX="i.v./perf./p.dur.",nX="i.v./perf./i.artér.",rX="i.v./perf./i.théc./s.c.",oX="i.v./perf./inhal.",sX="i.v./perf./s.c.",lX="i.v./s.c.",cX="dans la vessie",dX="perfusion",uX="perf./i.vés.",hX="perf./s.c.",pX="inhalation",mX="inhal./nas./local",fX="injection",gX="lèvre",vX="local",bX="sur la muqueuse",yX="dans le nez",_X="dans les yeux",xX="opht./auric.",wX="opht./auric./nas.",EX="opht./auric./nas./local",kX="prendre/avaler",CX="or./bucco-phar./derm.",SX="or./rect.",DX="or./s.l.",IX="par la bouche",TX="bucco-phar./derm.",OX="par la bouche et dans le nez",AX="par voie rectale",RX="injection sous-cutanée",MX="s.c./i.derm.",PX="sous la langue",NX="sur les dents",LX="dans l’uretère",FX="par voie vaginale",VX="les deux oreilles",zX="les deux yeux",BX="les deux narines",jX="injection cutanée",HX="dermatologique",UX="injection dermique",WX="oreille gauche",qX="oreille droite",GX="oeil gauche",$X="oeil droite",YX="hyperdermoclyse",ZX="intracutané",KX="intradermique",QX="intra-artérielle",XX="nez gauche",JX="nez droite",eJ="ophtalmologique",tJ="transdermique",aJ="injection vitrale",sIe={"00001":yQ,"00002":_Q,"00003":xQ,"00004":wQ,"00005":EQ,"00006":kQ,"00007":CQ,"00008":SQ,"00009":DQ,"00010":IQ,"00011":TQ,"00012":OQ,"00013":AQ,"00014":RQ,"00015":MQ,"00016":PQ,"00017":NQ,"00018":LQ,"00019":FQ,"00020":VQ,"00021":zQ,"00022":BQ,"00023":jQ,"00024":HQ,"00025":UQ,"00026":WQ,"00027":qQ,"00028":GQ,"00029":$Q,"00030":YQ,"00031":ZQ,"00032":KQ,"00033":QQ,"00034":XQ,"00035":JQ,"00036":eX,"00037":tX,"00038":aX,"00039":iX,"00040":nX,"00041":rX,"00042":oX,"00043":sX,"00044":lX,"00045":cX,"00046":dX,"00047":uX,"00048":hX,"00049":pX,"00050":mX,"00051":fX,"00052":gX,"00053":vX,"00054":bX,"00055":yX,"00056":_X,"00057":xX,"00058":wX,"00059":EX,"00060":kX,"00061":CX,"00062":SX,"00063":DX,"00064":IX,"00065":TX,"00066":OX,"00067":AX,"00068":RX,"00069":MX,"00070":PX,"00071":NX,"00072":LX,"00073":FX,"both-ears":VX,"both-eyes":zX,"both-nostrils":BX,"cutaneous-injection":jX,derm:HX,"dermal-injection":UX,"ear-left":WX,"ear-right":qX,"eye-left":GX,"eye-right":$X,hyperdermoclyse:YX,icut:ZX,ider:KX,larter:QX,"nose-left":XX,"nose-right":JX,oft:eJ,transdermal:tJ,"vitreal-injection":aJ},iJ={};oe(iJ,{"00001":()=>nJ,"00002":()=>rJ,"00003":()=>JJ,"00004":()=>eee,"00005":()=>oJ,"00006":()=>tee,"00007":()=>aee,"00008":()=>sJ,"00009":()=>lJ,"00010":()=>cJ,"00011":()=>dJ,"00012":()=>uJ,"00013":()=>hJ,"00014":()=>iee,"00015":()=>nee,"00016":()=>ree,"00017":()=>oee,"00018":()=>see,"00019":()=>lee,"00020":()=>cee,"00021":()=>dee,"00022":()=>uee,"00023":()=>hee,"00024":()=>pee,"00025":()=>mee,"00026":()=>fee,"00027":()=>gee,"00028":()=>vee,"00029":()=>bee,"00030":()=>yee,"00031":()=>_ee,"00032":()=>xee,"00033":()=>pJ,"00034":()=>mJ,"00035":()=>fJ,"00036":()=>wee,"00037":()=>Eee,"00038":()=>kee,"00039":()=>Cee,"00040":()=>See,"00041":()=>Dee,"00042":()=>Iee,"00043":()=>Tee,"00044":()=>Oee,"00045":()=>gJ,"00046":()=>vJ,"00047":()=>Aee,"00048":()=>Ree,"00049":()=>bJ,"00050":()=>Mee,"00051":()=>yJ,"00052":()=>_J,"00053":()=>xJ,"00054":()=>wJ,"00055":()=>EJ,"00056":()=>kJ,"00057":()=>Pee,"00058":()=>Nee,"00059":()=>Lee,"00060":()=>CJ,"00061":()=>Fee,"00062":()=>Vee,"00063":()=>zee,"00064":()=>SJ,"00065":()=>Bee,"00066":()=>DJ,"00067":()=>IJ,"00068":()=>TJ,"00069":()=>jee,"00070":()=>OJ,"00071":()=>AJ,"00072":()=>RJ,"00073":()=>MJ,"both-ears":()=>ZJ,"both-eyes":()=>GJ,"both-nostrils":()=>UJ,"cutaneous-injection":()=>zJ,default:()=>lIe,derm:()=>PJ,"dermal-injection":()=>BJ,"ear-left":()=>$J,"ear-right":()=>YJ,"eye-left":()=>WJ,"eye-right":()=>qJ,hyperdermoclyse:()=>XJ,icut:()=>LJ,ider:()=>FJ,larter:()=>NJ,"nose-left":()=>jJ,"nose-right":()=>HJ,oft:()=>VJ,transdermal:()=>QJ,"vitreal-injection":()=>KJ});var nJ="in het oor",rJ="op de huid",oJ="inspuiting buiten het hersenvlies",sJ="in de luchtpijp",lJ="inbrengen in de baarmoederhals",cJ="inspuiting in een slagader",dJ="inspuiting in de penis",uJ="inspuiting in de huid",hJ="inspuiting in een spier",pJ="inspuiting in het ruggenmerg",mJ="inbrengen in de baarmoeder",fJ="inspuiting in een ader",gJ="in de urineblaas",vJ="infuus",bJ="inhalatie",yJ="inspuiting",_J="op de lippen",xJ="lokaal",wJ="op het slijmvlies",EJ="in de neus",kJ="in de ogen",CJ="innemen",SJ="in de mond",DJ="in de mond en in de neus",IJ="anaal opsteken",TJ="onderhuidse inspuiting",OJ="onder de tong",AJ="op de tanden",RJ="in de urineleider",MJ="vaginaal",PJ="dermatologisch",NJ="intra-arterieel",LJ="intracutaan",FJ="intradermaal",VJ="oftalmologisch",zJ="cutane injectie",BJ="dermale injectie",jJ="neus links",HJ="neus rechts",UJ="beide neusgaten",WJ="oog links",qJ="oog rechts",GJ="beide ogen",$J="oor links",YJ="oor rechts",ZJ="beide oren",KJ="vitreale injectie",QJ="transdermaal",XJ="hyperdermoclyse",JJ="derm./rect",eee="derm./vag.",tee="e.dur./i.thec./lokaal",aee="e.dur./lokaal",iee="i.m./i.thec./p.dur./s.c.",nee="i.m./i.v.",ree="i.m./i.v./inf.",oee="i.m./i.v./inf./e.dur./s.c.",see="i.m./i.v./inf./i.arter./i.thec.",lee="i.m./i.v./perf./i.artér./lokaal/s.c.",cee="i.m./i.v./inf./i.thec.",dee="i.m./i.v./inf./rect.",uee="i.m./i.v./inf./s.c.",hee="i.m./i.v./inhal.",pee="i.m./i.v./lokaal",mee="i.m./i.v./or.",fee="i.m./i.v./rect",gee="i.m./i.v./s.c.",vee="i.m./inf.",bee="i.m./perf./lokaal",yee="i.m./lokaal",_ee="i.m./lokaal/rect.",xee="i.m./s.c.",wee="i.v./p.dur./lokaal",Eee="i.v./i.arter./i.ves.",kee="i.v./inf.",Cee="i.v./perf./p.dur.",See="i.v./inf./i.arter.",Dee="i.v./inf./i.thec./s.c.",Iee="i.v./inf./inhal.",Tee="i.v./inf./s.c.",Oee="i.v./s.c.",Aee="perf./i.ves.",Ree="perf./s.c.",Mee="inhal./nas./lokaal",Pee="oft./auric.",Nee="oft./auric./nas.",Lee="oft./auric./nas./lokaal",Fee="or./orofar./derm.",Vee="or./rect.",zee="or./s.l.",Bee="orofar./derm.",jee="s.c./i.derm.",lIe={"00001":nJ,"00002":rJ,"00005":oJ,"00008":sJ,"00009":lJ,"00010":cJ,"00011":dJ,"00012":uJ,"00013":hJ,"00033":pJ,"00034":mJ,"00035":fJ,"00045":gJ,"00046":vJ,"00049":bJ,"00051":yJ,"00052":_J,"00053":xJ,"00054":wJ,"00055":EJ,"00056":kJ,"00060":CJ,"00064":SJ,"00066":DJ,"00067":IJ,"00068":TJ,"00070":OJ,"00071":AJ,"00072":RJ,"00073":MJ,derm:PJ,larter:NJ,icut:LJ,ider:FJ,oft:VJ,"cutaneous-injection":zJ,"dermal-injection":BJ,"nose-left":jJ,"nose-right":HJ,"both-nostrils":UJ,"eye-left":WJ,"eye-right":qJ,"both-eyes":GJ,"ear-left":$J,"ear-right":YJ,"both-ears":ZJ,"vitreal-injection":KJ,transdermal:QJ,hyperdermoclyse:XJ,"00003":JJ,"00004":eee,"00006":tee,"00007":aee,"00014":iee,"00015":nee,"00016":ree,"00017":oee,"00018":see,"00019":lee,"00020":cee,"00021":dee,"00022":uee,"00023":hee,"00024":pee,"00025":mee,"00026":fee,"00027":gee,"00028":vee,"00029":bee,"00030":yee,"00031":_ee,"00032":xee,"00036":wee,"00037":Eee,"00038":kee,"00039":Cee,"00040":See,"00041":Dee,"00042":Iee,"00043":Tee,"00044":Oee,"00047":Aee,"00048":Ree,"00050":Mee,"00057":Pee,"00058":Nee,"00059":Lee,"00061":Fee,"00062":Vee,"00063":zee,"00065":Bee,"00069":jee},cIe={nl:iJ,fr:bQ,de:Y$,en:MZ},Hee={};oe(Hee,{default:()=>dIe,rsb:()=>qee,rsw:()=>Wee,vitalink:()=>Uee});var Uee="Vitalink",Wee="Réseau Santé Wallon",qee="Brüsseler Gesundheitsnetzwerk",dIe={vitalink:Uee,rsw:Wee,rsb:qee},Gee={};oe(Gee,{default:()=>uIe,rsb:()=>Zee,rsw:()=>Yee,vitalink:()=>$ee});var $ee="Vitalink",Yee="Réseau Santé Wallon",Zee="Brussels Health Network",uIe={vitalink:$ee,rsw:Yee,rsb:Zee},Kee={};oe(Kee,{default:()=>hIe,rsb:()=>Jee,rsw:()=>Xee,vitalink:()=>Qee});var Qee="Vitalink",Xee="Réseau Santé Wallon",Jee="Réseau Santé Bruxellois",hIe={vitalink:Qee,rsw:Xee,rsb:Jee},ete={};oe(ete,{default:()=>pIe,rsb:()=>ite,rsw:()=>ate,vitalink:()=>tte});var tte="Vitalink",ate="Réseau Santé Wallon",ite="Brusselse Gezondheidsnetwerk",pIe={vitalink:tte,rsw:ate,rsb:ite},mIe={nl:ete,fr:Kee,de:Hee,en:Gee},nte={};oe(nte,{alphabetical:()=>mte,author:()=>ste,date:()=>lte,default:()=>fIe,expiration:()=>pte,medicationName:()=>rte,role:()=>cte,sort:()=>hte,"sorting-ascendant":()=>dte,"sorting-descendent":()=>ute,validityDate:()=>ote});var rte="Arzneimittel",ote="Ablaufdatum",ste="Verfasser",lte="Datum",cte="Benutzerrolle",dte="Aufsteigend sortieren",ute="Absteigend sortieren",hte="Sortieren",pte={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},mte={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},fIe={medicationName:rte,validityDate:ote,author:ste,date:lte,role:cte,"sorting-ascendant":dte,"sorting-descendent":ute,sort:hte,expiration:pte,alphabetical:mte},fte={};oe(fte,{alphabetical:()=>Cte,author:()=>_te,date:()=>xte,default:()=>gIe,expiration:()=>kte,medicationName:()=>gte,role:()=>wte,sort:()=>Ete,"sorting-ascendant":()=>bte,"sorting-descendent":()=>yte,validityDate:()=>vte});var gte="Drug",vte="Validity",bte="Sort by ascending order",yte="Sort by descending order",_te="Author",xte="Date",wte="Role",Ete="Sort by",kte={asc:"expires first",desc:"expires last"},Cte={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},gIe={medicationName:gte,validityDate:vte,"sorting-ascendant":bte,"sorting-descendent":yte,author:_te,date:xte,role:wte,sort:Ete,expiration:kte,alphabetical:Cte},Ste={};oe(Ste,{alphabetical:()=>Lte,author:()=>Tte,date:()=>Ote,default:()=>vIe,expiration:()=>Nte,medicationName:()=>Dte,role:()=>Ate,sort:()=>Pte,"sorting-ascendant":()=>Rte,"sorting-descendent":()=>Mte,validityDate:()=>Ite});var Dte="Médicament",Ite="Validité",Tte="Auteur",Ote="Date",Ate="Qualité",Rte="Trier par ordre croissant",Mte="Trier par ordre décroissant",Pte="Trier",Nte={asc:"expire en premier",desc:"expire en dernier"},Lte={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},vIe={medicationName:Dte,validityDate:Ite,author:Tte,date:Ote,role:Ate,"sorting-ascendant":Rte,"sorting-descendent":Mte,sort:Pte,expiration:Nte,alphabetical:Lte},Fte={};oe(Fte,{alphabetical:()=>$te,author:()=>Bte,date:()=>jte,default:()=>bIe,expiration:()=>Gte,medicationName:()=>Vte,role:()=>Hte,sort:()=>qte,"sorting-ascendant":()=>Ute,"sorting-descendent":()=>Wte,validityDate:()=>zte});var Vte="Geneesmiddel",zte="Geldigheid",Bte="Auteur",jte="Datum",Hte="Rol",Ute="Oplopend sorteren",Wte="Aflopend sorteren",qte="Sorteren",Gte={asc:"vervalt eerst",desc:"vervalt laatst"},$te={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},bIe={medicationName:Vte,validityDate:zte,author:Bte,date:jte,role:Hte,"sorting-ascendant":Ute,"sorting-descendent":Wte,sort:qte,expiration:Gte,alphabetical:$te},yIe={nl:Fte,fr:Ste,de:nte,en:fte},Yte={};oe(Yte,{acute:()=>Zte,chronic:()=>Kte,default:()=>_Ie,ifnecessary:()=>Qte,oneshot:()=>Xte,reactivation:()=>Jte,remission:()=>eae,subacute:()=>tae});var Zte="akut",Kte="chronisch",Qte="falls erforderlich",Xte="einmalig",Jte="Reaktivierung",eae="Remission",tae="subakut",_Ie={acute:Zte,chronic:Kte,ifnecessary:Qte,oneshot:Xte,reactivation:Jte,remission:eae,subacute:tae},aae={};oe(aae,{acute:()=>iae,chronic:()=>nae,default:()=>xIe,ifnecessary:()=>rae,oneshot:()=>oae,reactivation:()=>sae,remission:()=>lae,subacute:()=>cae});var iae="acute",nae="chronic",rae="if necessary",oae="one shot",sae="reactivation",lae="remission",cae="subacute",xIe={acute:iae,chronic:nae,ifnecessary:rae,oneshot:oae,reactivation:sae,remission:lae,subacute:cae},dae={};oe(dae,{acute:()=>uae,chronic:()=>hae,default:()=>wIe,ifnecessary:()=>pae,oneshot:()=>mae,reactivation:()=>fae,remission:()=>gae,subacute:()=>vae});var uae="aigu",hae="chronique",pae="si nécessaire",mae="une seule fois",fae="réactivation",gae="rémission",vae="suraigu",wIe={acute:uae,chronic:hae,ifnecessary:pae,oneshot:mae,reactivation:fae,remission:gae,subacute:vae},bae={};oe(bae,{acute:()=>yae,chronic:()=>_ae,default:()=>EIe,ifnecessary:()=>xae,oneshot:()=>wae,reactivation:()=>Eae,remission:()=>kae,subacute:()=>Cae});var yae="tijdelijke medicatie",_ae="chronische medicatie",xae="indien nodig",wae="eenmalig",Eae="reactivatie",kae="remissie",Cae="subacuut",EIe={acute:yae,chronic:_ae,ifnecessary:xae,oneshot:wae,reactivation:Eae,remission:kae,subacute:Cae},kIe={nl:bae,fr:dae,de:Yte,en:aae},Sae={};oe(Sae,{author:()=>Rae,default:()=>CIe,profession:()=>Mae,source:()=>Aae,title:()=>Dae,updated:()=>Tae,updatedBy:()=>Oae,version:()=>Iae});var Dae="Versionsdetails",Iae="Version",Tae="Aktualisiert am",Oae="Von",Aae="Ursprung",Rae="Verfasser",Mae="Beruf",CIe={title:Dae,version:Iae,updated:Tae,updatedBy:Oae,source:Aae,author:Rae,profession:Mae},Pae={};oe(Pae,{author:()=>Bae,default:()=>SIe,profession:()=>jae,source:()=>zae,title:()=>Nae,updated:()=>Fae,updatedBy:()=>Vae,version:()=>Lae});var Nae="Version details",Lae="Version",Fae="Updated on",Vae="By",zae="Source",Bae="Author",jae="Appeal",SIe={title:Nae,version:Lae,updated:Fae,updatedBy:Vae,source:zae,author:Bae,profession:jae},Hae={};oe(Hae,{author:()=>Yae,default:()=>DIe,profession:()=>Zae,source:()=>$ae,title:()=>Uae,updated:()=>qae,updatedBy:()=>Gae,version:()=>Wae});var Uae="Détails de la version",Wae="Version",qae="Mis à jour le",Gae="Par",$ae="Source",Yae="Auteur",Zae="Profession",DIe={title:Uae,version:Wae,updated:qae,updatedBy:Gae,source:$ae,author:Yae,profession:Zae},Kae={};oe(Kae,{author:()=>aie,default:()=>IIe,profession:()=>iie,source:()=>tie,title:()=>Qae,updated:()=>Jae,updatedBy:()=>eie,version:()=>Xae});var Qae="Versie details",Xae="Versie",Jae="Bijgewerkt op",eie="Door",tie="Bron",aie="Auteur",iie="Beroep",IIe={title:Qae,version:Xae,updated:Jae,updatedBy:eie,source:tie,author:aie,profession:iie},TIe={nl:Kae,fr:Hae,de:Sae,en:Pae},nie={};oe(nie,{day:()=>rie,default:()=>OIe,moreInformations:()=>mie,nextday:()=>hie,nextweek:()=>die,openCalendar:()=>pie,previousday:()=>uie,previousweek:()=>cie,returnToCurrentWeek:()=>lie,returnToToday:()=>sie,week:()=>oie});var rie="Tagesansicht",oie="Wochenansicht",sie="Zurück zu heute",lie="Diese Woche",cie="Vorige week",die="Volgende week",uie="Vorige dag",hie="Volgende dag",pie="den Kalender öffnen",mie="Weitere Informationen",OIe={day:rie,week:oie,returnToToday:sie,returnToCurrentWeek:lie,previousweek:cie,nextweek:die,previousday:uie,nextday:hie,openCalendar:pie,moreInformations:mie},fie={};oe(fie,{day:()=>gie,default:()=>AIe,moreInformations:()=>Cie,nextday:()=>Eie,nextweek:()=>xie,openCalendar:()=>kie,previousday:()=>wie,previousweek:()=>_ie,returnToCurrentWeek:()=>yie,returnToToday:()=>bie,week:()=>vie});var gie="Day overview",vie="Week overview",bie="Back to today",yie="Present week",_ie="Previous week",xie="Next week",wie="Previous day",Eie="Next day",kie="open the calendar",Cie="More information",AIe={day:gie,week:vie,returnToToday:bie,returnToCurrentWeek:yie,previousweek:_ie,nextweek:xie,previousday:wie,nextday:Eie,openCalendar:kie,moreInformations:Cie},Sie={};oe(Sie,{day:()=>Die,default:()=>RIe,moreInformations:()=>Lie,nextday:()=>Pie,nextweek:()=>Rie,openCalendar:()=>Nie,previousday:()=>Mie,previousweek:()=>Aie,returnToCurrentWeek:()=>Oie,returnToToday:()=>Tie,week:()=>Iie});var Die="Vue journalière",Iie="Vue semaine",Tie="Revenir à aujourd'hui",Oie="Cette semaine",Aie="Semaine précédente",Rie="Semaine suivante",Mie="Jour précédent",Pie="Jour suivant",Nie="Ouvrir le calendrier",Lie="Plus d'informations",RIe={day:Die,week:Iie,returnToToday:Tie,returnToCurrentWeek:Oie,previousweek:Aie,nextweek:Rie,previousday:Mie,nextday:Pie,openCalendar:Nie,moreInformations:Lie},Fie={};oe(Fie,{day:()=>Vie,default:()=>MIe,moreInformations:()=>$ie,nextday:()=>qie,nextweek:()=>Uie,openCalendar:()=>Gie,previousday:()=>Wie,previousweek:()=>Hie,returnToCurrentWeek:()=>jie,returnToToday:()=>Bie,week:()=>zie});var Vie="Dagoverzicht",zie="Weekoverzicht",Bie="Terug naar vandaag",jie="Huidige week",Hie="vorherige Woche",Uie="nächste Woche",Wie="vorheriger Tag",qie="nächster Tag",Gie="de kalender openen",$ie="Meer informatie",MIe={day:Vie,week:zie,returnToToday:Bie,returnToCurrentWeek:jie,previousweek:Hie,nextweek:Uie,previousday:Wie,nextday:qie,openCalendar:Gie,moreInformations:$ie},PIe={nl:Fie,fr:Sie,de:nie,en:fie},Yie={};oe(Yie,{comment:()=>cne,default:()=>NIe,end:()=>Jie,endCondition:()=>sne,indication:()=>Kie,instructions:()=>lne,medication:()=>Zie,noDetails:()=>dne,other:()=>une,periodicity:()=>ane,posologie:()=>ine,prescriber:()=>Qie,quantity:()=>tne,route:()=>nne,start:()=>Xie,startCondition:()=>one,suspension:()=>ene,temporality:()=>rne});var Zie="Arzneimittel",Kie="Grund",Qie="verschreibende Person",Xie="Beginn",Jie="Ende",ene={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},tne="Darreichungsform",ane="Abstand",ine="Dosierung",nne="Verabreichung",rne="Zeitlichkeit",one="Anfangszustand",sne="Endzustand",lne="Hinweise",cne="Kommentar",dne="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",une="Andere",NIe={medication:Zie,indication:Kie,prescriber:Qie,start:Xie,end:Jie,suspension:ene,quantity:tne,periodicity:ane,posologie:ine,route:nne,temporality:rne,startCondition:one,endCondition:sne,instructions:lne,comment:cne,noDetails:dne,other:une},hne={};oe(hne,{comment:()=>Dne,default:()=>LIe,end:()=>vne,endCondition:()=>Cne,indication:()=>mne,instructions:()=>Sne,medication:()=>pne,noDetails:()=>Ine,other:()=>Tne,periodicity:()=>_ne,posologie:()=>xne,prescriber:()=>fne,quantity:()=>yne,route:()=>wne,start:()=>gne,startCondition:()=>kne,suspension:()=>bne,temporality:()=>Ene});var pne="Medication",mne="Reason",fne="Prescriber",gne="Beginning",vne="End",bne={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},yne="Pharmaceutical form",_ne="Frequency",xne="Dosage",wne="Route of administration",Ene="Temporality",kne="Condition at the beginning",Cne="Condition at the end",Sne="Instructions ",Dne="Comments",Ine="The requested information has been deleted or doesn't exist.",Tne="Other",LIe={medication:pne,indication:mne,prescriber:fne,start:gne,end:vne,suspension:bne,quantity:yne,periodicity:_ne,posologie:xne,route:wne,temporality:Ene,startCondition:kne,endCondition:Cne,instructions:Sne,comment:Dne,noDetails:Ine,other:Tne},One={};oe(One,{comment:()=>qne,default:()=>FIe,end:()=>Nne,endCondition:()=>Une,indication:()=>Rne,instructions:()=>Wne,medication:()=>Ane,noDetails:()=>Gne,other:()=>$ne,periodicity:()=>Vne,posologie:()=>zne,prescriber:()=>Mne,quantity:()=>Fne,route:()=>Bne,start:()=>Pne,startCondition:()=>Hne,suspension:()=>Lne,temporality:()=>jne});var Ane="Médicament",Rne="Raison",Mne="Prescripteur",Pne="Début",Nne="Fin",Lne={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},Fne="Forme pharmaceutique",Vne="Fréquence",zne="Posologie",Bne="Voie d’administration",jne="Temporalité",Hne="Condition de début",Une="Condition de fin",Wne="Instructions",qne="Commentaire",Gne="Le médicament demandé a été supprimé ou n'existe pas.",$ne="Autre",FIe={medication:Ane,indication:Rne,prescriber:Mne,start:Pne,end:Nne,suspension:Lne,quantity:Fne,periodicity:Vne,posologie:zne,route:Bne,temporality:jne,startCondition:Hne,endCondition:Une,instructions:Wne,comment:qne,noDetails:Gne,other:$ne},Yne={};oe(Yne,{comment:()=>cre,default:()=>VIe,end:()=>Jne,endCondition:()=>sre,indication:()=>Kne,instructions:()=>lre,medication:()=>Zne,noDetails:()=>dre,other:()=>ure,periodicity:()=>are,posologie:()=>ire,prescriber:()=>Qne,quantity:()=>tre,route:()=>nre,start:()=>Xne,startCondition:()=>ore,suspension:()=>ere,temporality:()=>rre});var Zne="Geneesmiddel",Kne="Reden",Qne="Voorschrijver",Xne="Start",Jne="Einde",ere={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},tre="Farmaceutische vorm",are="Frequentie",ire="Posologie",nre="Toedieningsweg",rre="Temporaliteit",ore="Beginconditie",sre="Eindconditie",lre="Instructies",cre="Commentaar",dre="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",ure="Andere",VIe={medication:Zne,indication:Kne,prescriber:Qne,start:Xne,end:Jne,suspension:ere,quantity:tre,periodicity:are,posologie:ire,route:nre,temporality:rre,startCondition:ore,endCondition:sre,instructions:lre,comment:cre,noDetails:dre,other:ure},zIe={nl:Yne,fr:One,de:Yie,en:hne},hre={};oe(hre,{all:()=>pre,atYourConvenienceText:()=>Cre,consultDetails:()=>bre,current:()=>mre,days:()=>Sre,default:()=>BIe,future:()=>fre,headers:()=>vre,noMedications:()=>Ire,posology:()=>xre,prescriber:()=>Ere,reason:()=>wre,remarks:()=>yre,return:()=>gre,seeDetails:()=>kre,toPlan:()=>_re,toTake:()=>Dre});var pre="Vollständige Liste",mre="Aktuel",fre="Künftig",gre="Zurück zur Übersicht",vre={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},bre="Siehe Details",yre={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspension:"Aussetzen",end:"Ende",suspended:"Aussetzung"},_re="Noch zu vereinbaren",xre="Dosierung",wre="Grund",Ere="Verordnende Person",kre="Details anzeigen",Cre="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.",Sre={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},Dre="am {days} zu nehmen",Ire={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"},BIe={all:pre,current:mre,future:fre,return:gre,headers:vre,consultDetails:bre,remarks:yre,toPlan:_re,posology:xre,reason:wre,prescriber:Ere,seeDetails:kre,atYourConvenienceText:Cre,days:Sre,toTake:Dre,noMedications:Ire},Tre={};oe(Tre,{all:()=>Ore,atYourConvenienceText:()=>Ure,consultDetails:()=>Nre,current:()=>Are,days:()=>Wre,default:()=>jIe,future:()=>Rre,headers:()=>Pre,noMedications:()=>Gre,notSpecified:()=>Lre,posology:()=>zre,prescriber:()=>jre,reason:()=>Bre,remarks:()=>Fre,return:()=>Mre,seeDetails:()=>Hre,toPlan:()=>Vre,toTake:()=>qre});var Ore="Complete list",Are="Current",Rre="Future",Mre="Back to overview",Pre={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 "},Nre="See details",Lre="Dosage not filled",Fre={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspension:"Suspend",end:"End",suspended:"Suspended"},Vre="Remains to be planned",zre="Dosage",Bre="Reason",jre="Prescriber",Hre="View details",Ure="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.",Wre={monday:"Mo",tuesday:"Tu",thursday:"Th",wednesday:"We",friday:"Fr",saturday:"Sa",sunday:"Su",allDays:"Every day"},qre="To take on {days}",Gre={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."},jIe={all:Ore,current:Are,future:Rre,return:Mre,headers:Pre,consultDetails:Nre,notSpecified:Lre,remarks:Fre,toPlan:Vre,posology:zre,reason:Bre,prescriber:jre,seeDetails:Hre,atYourConvenienceText:Ure,days:Wre,toTake:qre,noMedications:Gre},$re={};oe($re,{all:()=>Yre,atYourConvenienceText:()=>ooe,consultDetails:()=>Jre,current:()=>Zre,days:()=>soe,default:()=>HIe,future:()=>Kre,headers:()=>Xre,noMedications:()=>coe,posology:()=>aoe,prescriber:()=>noe,reason:()=>ioe,remarks:()=>eoe,return:()=>Qre,seeDetails:()=>roe,toPlan:()=>toe,toTake:()=>loe});var Yre="Toute la liste",Zre="En cours",Kre="Futur",Qre="Retour à la vue d'ensemble",Xre={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"},Jre="Voir les détails",eoe={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspension:"Suspendre",end:"Fin",suspended:"Suspendu"},toe="À convenir",aoe="Posologie",ioe="Raison",noe="Prescripteur",roe="Voir détails",ooe="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.",soe={monday:"Lu",tuesday:"Ma",wednesday:"Me",thursday:"Je",friday:"Ve",saturday:"Sa",sunday:"Di",allDays:"Tous les jours"},loe="À prendre {days}",coe={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"},HIe={all:Yre,current:Zre,future:Kre,return:Qre,headers:Xre,consultDetails:Jre,remarks:eoe,toPlan:toe,posology:aoe,reason:ioe,prescriber:noe,seeDetails:roe,atYourConvenienceText:ooe,days:soe,toTake:loe,noMedications:coe},doe={};oe(doe,{all:()=>uoe,atYourConvenienceText:()=>koe,consultDetails:()=>goe,current:()=>hoe,days:()=>Coe,default:()=>UIe,future:()=>poe,headers:()=>foe,noMedications:()=>Doe,notSpecified:()=>voe,posology:()=>_oe,prescriber:()=>woe,reason:()=>xoe,remarks:()=>boe,return:()=>moe,seeDetails:()=>Eoe,toPlan:()=>yoe,toTake:()=>Soe});var uoe="Volledige lijst",hoe="Huidig",poe="Toekomstig",moe="Terug naar overzicht",foe={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},goe="Zie details",voe="Dosering niet ingevuld",boe={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspension:"Opschorten",end:"Einde",suspended:"Opgeschort"},yoe="Nog in te plannen",_oe="Posologie",xoe="Reden",woe="Voorschrijver",Eoe="Details bekijken",koe="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.",Coe={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Wo",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},Soe="Te nemen op {days}",Doe={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"},UIe={all:uoe,current:hoe,future:poe,return:moe,headers:foe,consultDetails:goe,notSpecified:voe,remarks:boe,toPlan:yoe,posology:_oe,reason:xoe,prescriber:woe,seeDetails:Eoe,atYourConvenienceText:koe,days:Coe,toTake:Soe,noMedications:Doe},WIe={nl:doe,fr:$re,de:hre,en:Tre},Ioe={};oe(Ioe,{default:()=>qIe,flanders:()=>Aoe,subtitle:()=>Ooe,title:()=>Toe,walloniaBrussels:()=>Roe});var Toe="Medikamentenplan",Ooe="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",Aoe={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."},Roe={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>'},qIe={title:Toe,subtitle:Ooe,flanders:Aoe,walloniaBrussels:Roe},Moe={};oe(Moe,{default:()=>GIe,flanders:()=>Loe,subtitle:()=>Noe,title:()=>Poe,walloniaBrussels:()=>Foe});var Poe="Medication scheme",Noe="What to do if I I don't see any content in this part?",Loe={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."},Foe={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>`},GIe={title:Poe,subtitle:Noe,flanders:Loe,walloniaBrussels:Foe},Voe={};oe(Voe,{default:()=>$Ie,flanders:()=>joe,subtitle:()=>Boe,title:()=>zoe,walloniaBrussels:()=>Hoe});var zoe="Schéma de médication",Boe="Que faire si je ne vois aucun contenu dans cette partie ?",joe={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"},Hoe={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>'},$Ie={title:zoe,subtitle:Boe,flanders:joe,walloniaBrussels:Hoe},Uoe={};oe(Uoe,{default:()=>YIe,flanders:()=>Goe,subtitle:()=>qoe,title:()=>Woe,walloniaBrussels:()=>$oe});var Woe="Medicatieschema",qoe="Wat te doen indien ik geen inhoud zie in dit deel?",Goe={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."},$oe={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>'},YIe={title:Woe,subtitle:qoe,flanders:Goe,walloniaBrussels:$oe},ZIe={nl:Uoe,fr:Voe,de:Ioe,en:Moe},Yoe={};oe(Yoe,{day:()=>Qoe,default:()=>KIe,list:()=>Zoe,week:()=>Koe});var Zoe="Liste",Koe="Woche",Qoe="Tag",KIe={list:Zoe,week:Koe,day:Qoe},Xoe={};oe(Xoe,{day:()=>tse,default:()=>QIe,list:()=>Joe,week:()=>ese});var Joe="List",ese="Week",tse="Day",QIe={list:Joe,week:ese,day:tse},ase={};oe(ase,{day:()=>rse,default:()=>XIe,list:()=>ise,week:()=>nse});var ise="Liste",nse="Semaine",rse="Jour",XIe={list:ise,week:nse,day:rse},ose={};oe(ose,{day:()=>cse,default:()=>JIe,list:()=>sse,week:()=>lse});var sse="Lijst",lse="Week",cse="Dag",JIe={list:sse,week:lse,day:cse},eTe={nl:ose,fr:ase,de:Yoe,en:Xoe},dse={};oe(dse,{default:()=>tTe,evening:()=>mse,ifNeeded:()=>gse,morning:()=>hse,night:()=>fse,noon:()=>pse,toPlan:()=>use});var use="Spezifische Anweisungen",hse="Morgen",pse="Mittag und Nachmittag",mse="Abends",fse="Zubettgehen",gse="Gegebenenfalls",tTe={toPlan:use,morning:hse,noon:pse,evening:mse,night:fse,ifNeeded:gse},vse={};oe(vse,{default:()=>aTe,evening:()=>xse,ifNeeded:()=>Ese,morning:()=>yse,night:()=>wse,noon:()=>_se,toPlan:()=>bse});var bse="Specific instructions",yse="Morning",_se="Noon and afternoon",xse="Evening meal",wse="Going to sleep",Ese="If necessary",aTe={toPlan:bse,morning:yse,noon:_se,evening:xse,night:wse,ifNeeded:Ese},kse={};oe(kse,{default:()=>iTe,evening:()=>Ise,ifNeeded:()=>Ose,morning:()=>Sse,night:()=>Tse,noon:()=>Dse,toPlan:()=>Cse});var Cse="Instructions spécifiques",Sse="Matin",Dse="Midi et Après-midi",Ise="Soir",Tse="Au coucher",Ose="Si nécessaire",iTe={toPlan:Cse,morning:Sse,noon:Dse,evening:Ise,night:Tse,ifNeeded:Ose},Ase={};oe(Ase,{default:()=>nTe,evening:()=>Nse,ifNeeded:()=>Fse,morning:()=>Mse,night:()=>Lse,noon:()=>Pse,toPlan:()=>Rse});var Rse="Specifieke instructies",Mse="Ochtend",Pse="Middag en namiddag",Nse="Avondmaal",Lse="Bij het slapen gaan",Fse="Indien nodig",nTe={toPlan:Rse,morning:Mse,noon:Pse,evening:Nse,night:Lse,ifNeeded:Fse},rTe={nl:Ase,fr:kse,de:dse,en:vse},Vse={};oe(Vse,{collapsed:()=>Use,default:()=>oTe,disclaimer:()=>jse,expanded:()=>Hse,source:()=>Wse,subtitle:()=>Bse,title:()=>zse});var zse="Version {versionNumber}, aktualisiert am {date} um {hour}",Bse="von {authorProfession} {authorFirstName} {authorLastName}",jse="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.",Hse="Warnung einklappen",Use="Warnung ausklappen",Wse="Ursprung",oTe={title:zse,subtitle:Bse,disclaimer:jse,expanded:Hse,collapsed:Use,source:Wse},qse={};oe(qse,{collapsed:()=>Kse,default:()=>sTe,disclaimer:()=>Yse,expanded:()=>Zse,source:()=>Qse,subtitle:()=>$se,title:()=>Gse});var Gse="Version {versionNumber}, updated on {date} at {hour}",$se="by {authorProfession} {authorFirstName} {authorLastName}",Yse="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.",Zse="Collapse alert",Kse="Expand alert",Qse="Source",sTe={title:Gse,subtitle:$se,disclaimer:Yse,expanded:Zse,collapsed:Kse,source:Qse},Xse={};oe(Xse,{collapsed:()=>ile,default:()=>lTe,disclaimer:()=>tle,expanded:()=>ale,source:()=>nle,subtitle:()=>ele,title:()=>Jse});var Jse="Version {versionNumber}, mis à jour le {date} à {hour}",ele="par {authorProfession} {authorFirstName} {authorLastName}",tle="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.",ale="Réduire l’alerte",ile="Déplier l’alerte",nle="Source",lTe={title:Jse,subtitle:ele,disclaimer:tle,expanded:ale,collapsed:ile,source:nle},rle={};oe(rle,{collapsed:()=>dle,default:()=>cTe,disclaimer:()=>lle,expanded:()=>cle,source:()=>ule,subtitle:()=>sle,title:()=>ole});var ole="Versie {versionNumber}, bijgewerkt op {date} om {hour}",sle="door {authorProfession} {authorFirstName} {authorLastName}",lle="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.",cle="Waarschuwing samenvouwen",dle="Waarschuwing uitvouwen",ule="Bron",cTe={title:ole,subtitle:sle,disclaimer:lle,expanded:cle,collapsed:dle,source:ule},dTe={nl:rle,fr:Xse,de:Vse,en:qse},uTe=class extends rc{getTranslation(e){return vt({commons:dt(pe({},VDe[e]),{days:IDe[e],errors:MDe[e],roles:nIe[e],safes:mIe[e],periodicities:UDe[e],administrationUnits:EDe[e],period:YDe[e],routes:cIe[e],temporality:kIe[e],posology:JDe[e],sortDropdown:yIe[e]}),medicationSchemeListView:WIe[e],medicationSchemeOverview:eTe[e],medicationSchemeMoments:rTe[e],medicationSchemeNoData:ZIe[e],medicationSchemeDateToggler:PIe[e],medicationSchemeCreationDetails:TIe[e],medicationSchemeDetails:zIe[e],medicationSchemeDisclaimer:dTe[e]})}},hTe=[hDe,Swe({defaultLanguage:"fr",loader:{provide:rc,useClass:uTe},compiler:{provide:sc,useClass:gDe}})];function cc(e){e||(Ul(),e=_(xi));let t=new Tt(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(Ht(t))}function hle(e,t){var c;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&Ul();let a=n?((c=t==null?void 0:t.injector)==null?void 0:c.get(xi))??_(xi):null,i=pTe(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=ai({kind:0},{equal:i}):r=ai({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 ae(601,!1);return s=a==null?void 0:a.onDestroy(l.unsubscribe.bind(l)),qt(()=>{let d=r();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new ae(601,!1)}},{equal:t==null?void 0:t.equal})}function pTe(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}var r0=["*"];function mTe(e,t){e&1&&ke(0)}var fTe=["tabListContainer"],gTe=["tabList"],vTe=["tabListInner"],bTe=["nextPaginator"],yTe=["previousPaginator"],_Te=["content"];function xTe(e,t){}var wTe=["tabBodyWrapper"],ETe=["tabHeader"];function kTe(e,t){}function CTe(e,t){if(e&1&&V(0,kTe,0,0,"ng-template",12),e&2){let n=L().$implicit;N("cdkPortalOutlet",n.templateLabel)}}function STe(e,t){if(e&1&&F(0),e&2){let n=L().$implicit;Re(n.textLabel)}}function DTe(e,t){if(e&1){let n=Et();D(0,"div",7,2),xe("click",function(){let a=Se(n),i=a.$implicit,r=a.$index,s=L(),l=Ya(1);return De(s._handleClick(i,l,r))})("cdkFocusChange",function(a){let i=Se(n).$index,r=L();return De(r._tabFocusChanged(a,i))}),H(2,"span",8)(3,"div",9),D(4,"span",10)(5,"span",11),V(6,CTe,1,1,null,12)(7,STe,1,1),T()()()}if(e&2){let n=t.$implicit,a=t.$index,i=Ya(1),r=L();Pi(n.labelClass),we("mdc-tab--active",r.selectedIndex===a),N("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),C(3),N("matRippleTrigger",i)("matRippleDisabled",n.disabled||r.disableRipple),C(3),W(n.templateLabel?6:7)}}function ITe(e,t){e&1&&ke(0)}function TTe(e,t){if(e&1){let n=Et();D(0,"mat-tab-body",13),xe("_onCentered",function(){Se(n);let a=L();return De(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){Se(n);let i=L();return De(i._setTabBodyWrapperHeight(a))})("_beforeCentering",function(a){Se(n);let i=L();return De(i._bodyCentered(a))}),T()}if(e&2){let n=t.$implicit,a=t.$index,i=L();Pi(n.bodyClass),N("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 OTe=new Y("MatTabContent"),ATe=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matTabContent",""]],features:[lt([{provide:OTe,useExisting:t}])]}));let e=t;return e})(),RTe=new Y("MatTabLabel"),ple=new Y("MAT_TAB"),MTe=(()=>{const t=class t extends Zye{constructor(){super(...arguments);o(this,"_closestTab",_(ple,{optional:!0}))}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=tt(t)))(r||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[lt([{provide:RTe,useExisting:t}]),ze]}));let e=t;return e})(),mle=new Y("MAT_TAB_GROUP"),fle=(()=>{const t=class t{constructor(){o(this,"_viewContainerRef",_(oi));o(this,"_closestTabGroup",_(mle,{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 me);o(this,"position",null);o(this,"origin",null);o(this,"isActive",!1);_(Ma).load(Xn)}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 bo(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",X({type:t,selectors:[["mat-tab"]],contentQueries:function(a,i,r){if(a&1&&(mt(r,MTe,5),mt(r,ATe,7,ya)),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&&$e(ya,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",fe],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[lt([{provide:ple,useExisting:t}]),Yt],ngContentSelectors:r0,decls:1,vars:0,template:function(a,i){a&1&&(st(),V(0,mTe,1,0,"ng-template"))},encapsulation:2}));let e=t;return e})(),mp="mdc-tab-indicator--active",ky="mdc-tab-indicator--no-transition",PTe=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}}},NTe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));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(mp);return}let r=i.getBoundingClientRect(),s=a.width/r.width,l=a.left-r.left;i.classList.add(ky),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${s})`),i.getBoundingClientRect(),i.classList.remove(ky),i.classList.add(mp),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(mp)}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",de({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",fe]}}));let e=t;return e})(),gle=(()=>{const t=class t extends NTe{constructor(){super(...arguments);o(this,"elementRef",_(Oe));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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(be("aria-disabled",!!r.disabled),we("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",fe]},features:[ze]}));let e=t;return e})(),Cy={passive:!0},LTe=650,FTe=100,VTe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_changeDetectorRef",_(kt));o(this,"_viewportRuler",_(Xl));o(this,"_dir",_(La,{optional:!0}));o(this,"_ngZone",_(Ne));o(this,"_platform",_(Zt));o(this,"_sharedResizeObserver",_(uk));o(this,"_injector",_(ut));o(this,"_renderer",_(ri));o(this,"_animationMode",_(Ra,{optional:!0}));o(this,"_eventCleanups");o(this,"_scrollDistance",0);o(this,"_selectedIndexChanged",!1);o(this,"_destroyed",new me);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 me);o(this,"disablePagination",!1);o(this,"_selectedIndex",0);o(this,"selectFocusedIndex",new ie);o(this,"indexFocused",new ie);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(Oa(this._renderer,this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),Cy),Oa(this._renderer,this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),Cy))}ngAfterContentInit(){let a=this._dir?this._dir.change:vt("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(pu(32),Ht(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ht(this._destroyed)),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new pg(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),qn(s,{injector:this._injector}),ba(a,r,i,this._items.changes,this._itemsResized()).pipe(Ht(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"?zl:this._items.changes.pipe(Aa(this._items),gr(a=>new Tt(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(s=>i.next(s));return a.forEach(s=>r.observe(s.elementRef.nativeElement)),()=>{r.disconnect()}}))),lf(1),la(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(!Wa(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(),Z_(LTe,FTe).pipe(Ht(ba(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",de({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",fe],selectedIndex:[2,"selectedIndex","selectedIndex",vn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}}));let e=t;return e})(),zTe=(()=>{const t=class t extends VTe{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 PTe(this._items),super.ngAfterContentInit()}_itemSelected(i){i.preventDefault()}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=tt(t)))(r||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,s){if(i&1&&mt(s,gle,4),i&2){let l;ye(l=_e())&&(r._items=l)}},viewQuery:function(i,r){if(i&1&&($e(fTe,7),$e(gTe,7),$e(vTe,7),$e(bTe,5),$e(yTe,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&&we("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",fe]},features:[ze],ngContentSelectors:r0,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=Et();st(),D(0,"div",5,0),xe("click",function(){return Se(s),De(r._handlePaginatorClick("before"))})("mousedown",function(l){return Se(s),De(r._handlePaginatorPress("before",l))})("touchend",function(){return Se(s),De(r._stopInterval())}),H(2,"div",6),T(),D(3,"div",7,1),xe("keydown",function(l){return Se(s),De(r._handleKeydown(l))}),D(5,"div",8,2),xe("cdkObserveContent",function(){return Se(s),De(r._onContentChanges())}),D(7,"div",9,3),ke(9),T()()(),D(10,"div",10,4),xe("mousedown",function(l){return Se(s),De(r._handlePaginatorPress("after",l))})("click",function(){return Se(s),De(r._handlePaginatorClick("after"))})("touchend",function(){return Se(s),De(r._stopInterval())}),H(12,"div",6),T()}i&2&&(we("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),N("matRippleDisabled",r._disableScrollBefore||r.disableRipple),C(3),we("_mat-animation-noopable",r._animationMode==="NoopAnimations"),C(2),be("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),C(5),we("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),N("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Uu,bye],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})(),BTe=new Y("MAT_TABS_CONFIG"),Sy=(()=>{const t=class t extends bn{constructor(){super();o(this,"_host",_(zm));o(this,"_centeringSub",Ye.EMPTY);o(this,"_leavingSub",Ye.EMPTY)}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Aa(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",de({type:t,selectors:[["","matTabBodyHost",""]],features:[ze]}));let e=t;return e})(),zm=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_dir",_(La,{optional:!0}));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ut));o(this,"_renderer",_(ri));o(this,"_animationsModule",_(Ra,{optional:!0}));o(this,"_eventCleanups");o(this,"_initialized");o(this,"_fallbackTimer");o(this,"_positionIndex");o(this,"_dirChangeSubscription",Ye.EMPTY);o(this,"_position");o(this,"_previousPosition");o(this,"_onCentering",new ie);o(this,"_beforeCentering",new ie);o(this,"_afterLeavingCenter",new ie);o(this,"_onCentered",new ie(!0));o(this,"_portalHost");o(this,"_contentElement");o(this,"_content");o(this,"animationDuration","500ms");o(this,"preserveContent",!1);if(this._dir){let a=_(kt);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),qn(()=>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(),qn(()=>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",X({type:t,selectors:[["mat-tab-body"]],viewQuery:function(a,i){if(a&1&&($e(Sy,5),$e(_Te,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,xTe,0,0,"ng-template",2),T()),a&2&&we("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:[Sy,OE],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})(),jTe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_changeDetectorRef",_(kt));o(this,"_ngZone",_(Ne));o(this,"_tabsSubscription",Ye.EMPTY);o(this,"_tabLabelSubscription",Ye.EMPTY);o(this,"_tabBodySubscription",Ye.EMPTY);o(this,"_diAnimationsDisabled",_(Ra,{optional:!0})==="NoopAnimations");o(this,"_allTabs");o(this,"_tabBodies");o(this,"_tabBodyWrapper");o(this,"_tabHeader");o(this,"_tabs",new ts);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 ie);o(this,"focusChange",new ie);o(this,"animationDone",new ie);o(this,"selectedTabChange",new ie(!0));o(this,"_groupId");o(this,"_isServer",!_(Zt).isBrowser);let a=_(BTe,{optional:!0});this._groupId=_(ha).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(Aa(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 HTe;return i.index=a,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[a]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ba(...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",X({type:t,selectors:[["mat-tab-group"]],contentQueries:function(a,i,r){if(a&1&&mt(r,fle,5),a&2){let s;ye(s=_e())&&(i._allTabs=s)}},viewQuery:function(a,i){if(a&1&&($e(wTe,5),$e(ETe,5),$e(zm,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),Pi("mat-"+(i.color||"primary")),Qn("--mat-tab-animation-duration",i.animationDuration),we("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",fe],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",fe],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",fe],selectedIndex:[2,"selectedIndex","selectedIndex",vn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",vn],disablePagination:[2,"disablePagination","disablePagination",fe],disableRipple:[2,"disableRipple","disableRipple",fe],preserveContent:[2,"preserveContent","preserveContent",fe],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[lt([{provide:mle,useExisting:t}])],ngContentSelectors:r0,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=Et();st(),D(0,"mat-tab-header",3,0),xe("indexFocused",function(s){return Se(r),De(i._focusChanged(s))})("selectFocusedIndex",function(s){return Se(r),De(i.selectedIndex=s)}),Ga(2,DTe,8,17,"div",4,Ni),T(),V(4,ITe,1,0),D(5,"div",5,1),Ga(7,TTe,1,10,"mat-tab-body",6,Ni),T()}a&2&&(N("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),C(2),$a(i._tabs),C(2),W(i._isServer?4:-1),C(),we("_mat-animation-noopable",i._animationsDisabled()),C(2),$a(i._tabs))},dependencies:[zTe,gle,hg,Uu,bn,zm],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})(),HTe=class{constructor(){o(this,"index");o(this,"tab")}},UTe=(()=>{const t=class t{constructor(){o(this,"_vertical",!1);o(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(a){this._vertical=qo(a)}get inset(){return this._inset}set inset(a){this._inset=qo(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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"),we("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})(),vle={"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.blockfact.facti":["facti"],"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(vle);var WTe=vle,ble={"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(ble);var qTe=ble,Ci=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)},Ao,el,Vr,GTe=class{constructor(...e){Ao.set(this,new Map),el.set(this,new Map),Vr.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()),Ci(this,Vr,"f").has(n)||Ci(this,Vr,"f").set(n,new Set);let i=Ci(this,Vr,"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&&Ci(this,el,"f").set(n,s),r=!1,l)continue;let c=Ci(this,Ao,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Ci(this,Ao,"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:Ci(this,Ao,"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&&Ci(this,el,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ci(this,Vr,"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 Ci(this,Vr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ci(this,Ao,"f"),extensions:Ci(this,el,"f")}}};Ao=new WeakMap,el=new WeakMap,Vr=new WeakMap;var $Te=GTe;new $Te(qTe,WTe)._freeze();var YTe=(()=>{const t=class t{transform(a){return a?"":"no"}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),Qi=(()=>{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=na({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),dc=(()=>{const t=class t{transform(a){return M2e(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"fullname",type:t,pure:!0});let e=t;return e})(),ZTe=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return a||this.translate.currentLang}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),o0=(()=>{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=na({name:"quantity",type:t,pure:!0});let e=t;return e})(),KTe=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return P2e(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"translateObject",type:t,pure:!0});let e=t;return e})(),Ms=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return lc(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"translateValue",type:t,pure:!0});let e=t;return e})(),QTe={1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday",7:"sunday"},XTe=(()=>{const t=class t{transform(a){return QTe[_r(a)]}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"weekdayName",type:t,pure:!0});let e=t;return e})(),JTe=(()=>{const t=class t{transform(a){let i=new Date;return a==null?void 0:a.filter(r=>r.type==="definitive"||r.endDate&&!lo(new Date(r.endDate),i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),yle=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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 lc(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=na({name:"dose",type:t,pure:!1});let e=t;return e})(),gt=function(e){return e.TO_PLAN="toPlan",e.MORNING="morning",e.NOON="noon",e.EVENING="evening",e.NIGHT="night",e.IF_NEEDED="ifNeeded",e}(gt||{}),sl=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(sl||{}),_le=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(_le||{}),ja=function(e){return e.LIST="list",e.DAY="day",e.WEEK="week",e}(ja||{});function tu(e,t){return!lo(e,t)}function eOe(e,t){return!Tl(e,t)}function tOe(e,t){let n=[],a=e;for(;!Tl(a,t);)n.push(a),a=It(Ki(a,1));return n}function ah(e){switch(e){case ta.MONDAY:return 1;case ta.TUESDAY:return 2;case ta.WEDNESDAY:return 3;case ta.THURSDAY:return 4;case ta.FRIDAY:return 5;case ta.SATURDAY:return 6;case ta.SUNDAY:return 7;default:return}}var xle="minutes",gi="hours",vi="days",si="weeks",li="months",zr="years",aOe=new Map([[ee.UH,{number:30,unit:xle}],[ee.U,{number:1,unit:gi}],[ee.UT,{number:2,unit:gi}],[ee.UD,{number:3,unit:gi}],[ee.UV,{number:4,unit:gi}],[ee.UQ,{number:5,unit:gi}],[ee.UZ,{number:6,unit:gi}],[ee.US,{number:7,unit:gi}],[ee.UA,{number:8,unit:gi}],[ee.UN,{number:9,unit:gi}],[ee.UX,{number:10,unit:gi}],[ee.UE,{number:11,unit:gi}],[ee.UW,{number:12,unit:gi}],[ee.D,{number:1,unit:vi}],[ee.DT,{number:2,unit:vi}],[ee.O1,{number:2,unit:vi}],[ee.DD,{number:3,unit:vi}],[ee.DV,{number:4,unit:vi}],[ee.DQ,{number:5,unit:vi}],[ee.DZ,{number:6,unit:vi}],[ee.DA,{number:8,unit:vi}],[ee.DN,{number:9,unit:vi}],[ee.DX,{number:10,unit:vi}],[ee.DE,{number:11,unit:vi}],[ee.DW,{number:12,unit:vi}],[ee.WT,{number:2,unit:si}],[ee.WD,{number:3,unit:si}],[ee.WV,{number:4,unit:si}],[ee.WQ,{number:5,unit:si}],[ee.WZ,{number:6,unit:si}],[ee.WS,{number:7,unit:si}],[ee.WA,{number:8,unit:si}],[ee.WN,{number:9,unit:si}],[ee.WX,{number:10,unit:si}],[ee.WE,{number:11,unit:si}],[ee.WW,{number:12,unit:si}],[ee.WP,{number:24,unit:si}],[ee.W,{number:1,unit:si}],[ee.M,{number:1,unit:li}],[ee.MT,{number:2,unit:li}],[ee.MD,{number:3,unit:li}],[ee.MV,{number:4,unit:li}],[ee.MQ,{number:5,unit:li}],[ee.MZ2,{number:6,unit:li}],[ee.MS,{number:7,unit:li}],[ee.MA,{number:8,unit:li}],[ee.MN,{number:9,unit:li}],[ee.MX,{number:10,unit:li}],[ee.ME,{number:11,unit:li}],[ee.MC,{number:18,unit:li}],[ee.JH2,{number:6,unit:li}],[ee.J,{number:1,unit:zr}],[ee.JT,{number:2,unit:zr}],[ee.JD,{number:3,unit:zr}],[ee.JV,{number:4,unit:zr}],[ee.JQ,{number:5,unit:zr}],[ee.JZ,{number:6,unit:zr}]]);function iOe(e,t,n){var i;let a=aOe.get((i=t.frequency)==null?void 0:i.periodicity);switch(a==null?void 0:a.unit){case xle:case gi:return!0;case vi:return nOe(e,t,a,n);case si:return rOe(e,t,a,n);case li:return oOe(e,t,a,n);case zr:return sOe(e,t,a,n);default:return!1}}function nOe(e,t,n,a){var d;let i=It(new Date(t.treatmentStartDate)),r=Ju(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 rOe(e,t,n,a){var r,s,l;let i=It(new Date(t.treatmentStartDate));if((s=(r=e.day)==null?void 0:r.weekday)!=null&&s.day)return wCe(i,a)%n.number===0&&_r(a)===ah(e.day.weekday.day);{let c=Ju(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 oOe(e,t,n,a){var s,l;let i;(s=e.day)!=null&&s.date?i=It(new Date(e.day.date)):(l=e.day)!=null&&l.dayNumber?i=It(Ki(new Date(t.treatmentStartDate),e.day.dayNumber-1)):i=It(new Date(t.treatmentStartDate));let r=xCe(i,a);return n.number>1?r%n.number===0&&Vo(a.getDate(),i.getDate()):Vo(a.getDate(),i.getDate())}function sOe(e,t,n,a){var s;let i=(s=e.day)!=null&&s.date?It(new Date(e.day.date)):It(new Date(t.treatmentStartDate)),r=ECe(i,a);return n.number>1?r%n.number===0&&Dy(a,i):Dy(a,i)}function Dy(e,t){return e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}var lOe=[ee.M,ee.MT,ee.MD,ee.MV,ee.MQ,ee.MZ2,ee.MS,ee.MA,ee.MN,ee.MX,ee.ME,ee.MC];function fp(e){return lOe.includes(e)}var cOe=[ee.J,ee.JH2,ee.JT,ee.JD,ee.JV,ee.JQ,ee.JZ];function gp(e){return cOe.includes(e)}function dOe(e,t){return tu(t,It(new Date(e.treatmentStartDate)))&&(!e.treatmentEndDate||eOe(t,Qg(new Date(e.treatmentEndDate))))}function s0(e,t){var n;return(n=e.suspensions)!=null&&n.length?e.suspensions.some(a=>a.startDate&&a.endDate?qC(t,{start:It(new Date(a.startDate)),end:Qg(new Date(a.endDate))}):tu(t,It(new Date(a.startDate)))):!1}function wle(e,t,n){var a,i,r,s,l,c,d;return(a=t.frequency)!=null&&a.periodicity?iOe(e,t,n):(i=e.day)!=null&&i.date?Vo(n,It(new Date(e.day.date))):(r=e.day)!=null&&r.dayNumber?Vo(n,It(Ki(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?eh(n)===e.day.weekday.weekNumber&&(ah(e.day.weekday.day)||1)===_r(n):Vo(n,Ele(e,t)):!!(t.treatmentStartDate&&Vo(n,It(new Date(t.treatmentStartDate))))}function uOe(e,t){var n,a;return(a=(n=e.day)==null?void 0:n.weekday)!=null&&a.weekNumber?hOe(e,t):Ele(e,t)}function hOe(e,t){let n=new Date(t.treatmentStartDate),a=eh(n),i=It(Ki(Kg(so(n),e.day.weekday.weekNumber-a),(ah(e.day.weekday.day)||1)-1));return lo(i,n)?fCe(i,1):i}function Ele(e,t){var i,r;let n=ah((r=(i=e.day)==null?void 0:i.weekday)==null?void 0:r.day)||0,a=_r(new Date(t.treatmentStartDate));return It(Ki(new Date(t.treatmentStartDate),(n-a+7)%7))}function kle(e,t){let n=e.treatmentEndDate?new Date(e.treatmentEndDate):null,a=pOe(e,t);return n&&a?gCe([n,a]):n||a}function pOe(e,t){var a;if(!((a=e.suspensions)!=null&&a.length))return null;let n=e.suspensions.filter(i=>mOe(i,t)).map(i=>a0(new Date(i.startDate)));return bCe(t,n)}function mOe(e,t){return e.startDate&&tu(new Date(e.startDate),t)||lo(new Date(e.startDate),t)&&tu(new Date(e.endDate),t)}function Cle(e,t,n){let a=new Date(t.treatmentStartDate);if(!n||lo(n,a))return n;let i,r=n;for(;!i&&!lo(r,a);)wle(e,t,r)?i=r:r=a0(r);return r}function fOe(e,t){let n=Object.values(gt),a=i=>lc(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 gOe(e,t,n="asc"){let a=i=>lc(i.name,t)||"";return[...e||[]].sort((i,r)=>a(i).localeCompare(a(r),void 0,{sensitivity:"base"})*(n==="asc"?1:-1))}function vOe(e){return e?e.flatMap(t=>t!=null&&t.posology?t.posology.map(n=>({medication:t,posology:n})):t?[{medication:t,posology:{dayPart:gt.TO_PLAN}}]:[]).filter(t=>t!==void 0):[]}function Iy(e,t){return dOe(e.medication,t)&&!s0(e.medication,t)&&wle(e.posology,e.medication,t)}function bOe(e){return e.filter(t=>Sle(t))}function Sle(e){let t=It(new Date),n=e.treatmentEndDate;return e.treatmentStartDate&&Tl(new Date(e.treatmentStartDate).setHours(0),t)?!1:!n||Tl(new Date(n),t)}function yOe(e){return e.filter(t=>ih(t))}function ih(e){let t=It(new Date);return!!(e.treatmentStartDate&&Tl(new Date(e.treatmentStartDate).setHours(0),t))}function _Oe(e){return e.filter(t=>Sle(t)||ih(t))}function Dle(e,t,n){if(!(e!=null&&e.length))return!1;let a=new RegExp(`^medications\\[${t}]`);return e.some(i=>a.test(i.field)?n?i.field.includes(`.${n}`):!0:!1)}var xOe=(()=>{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=na({name:"filterMedicationByDayPart",type:t,pure:!0});let e=t;return e})(),wOe=(()=>{const t=class t{transform(a,i){switch(i){case"current":return bOe(a);case"future":return yOe(a);case"all":default:return _Oe(a)}}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"filterMedicationTo",type:t,pure:!0});let e=t;return e})(),l0=(()=>{const t=class t{transform(a,i,r){return Dle(a,i,r)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"hasMedicationError",type:t,pure:!0});let e=t;return e})(),Ile=(()=>{const t=class t{transform(a){return ih(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),EOe=(()=>{const t=class t{transform(a,i){let r=kle(a.medication,i),s=Cle(a.posology,a.medication,r);return PC(It(s),It(i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"isLastIngestionDay",type:t,pure:!0});let e=t;return e})(),kOe=(()=>{const t=class t{transform(a,i,r){let s=kle(a.medication,i),l=Cle(a.posology,a.medication,s);return qC(l,{start:It(i),end:Qg(r)})?{lastDay:s,lastIngestionDay:l}:null}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"lastIngestionPeriod",type:t,pure:!0});let e=t;return e})(),Tle=(()=>{const t=class t{transform(a){return s0(a,new Date)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=na({name:"isSuspendedMedication",type:t,pure:!0});let e=t;return e})(),COe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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=na({name:"posologyDayTime",type:t,pure:!1});let e=t;return e})(),SOe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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&&!fp(i)&&!gp(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&&!fp(i)&&!gp(i))return[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()];if(fp(i))return((c=a.day)==null?void 0:c.date)!=null?[this.translate.instant("commons.posology.day"),Zc(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"),Zc(r).toString()];if(gp(i)){let p=[this.translate.instant("commons.posology.on")];return(u=a.day)!=null&&u.date?p.push(Zc(new Date(a.day.date))+"/"+(wy(a.day.date)+1)):p.push(Zc(r)+"/"+(wy(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(Fo(new Date(a.day.date),"dd-MM-yyyy")):((c=a.day)==null?void 0:c.weekday)!=null?s.push(Fo(uOe(a,i),"dd-MM-yyyy")):((d=a.day)==null?void 0:d.dayNumber)!=null?s.push(Fo(Ki(r,a.day.dayNumber-1),"dd-MM-yyyy")):s.push(Fo(r,"dd-MM-yyyy")),s}getPosologyDayTimeTranslation(a){var i,r,s;return a&&((i=a.daytime)!=null&&i.dayPeriod)&&Object.values(Xt).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=na({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),DOe=(()=>{const t=class t{transform(a,i){var r,s;return((s=(r=a.suspensions)==null?void 0:r.filter(l=>lo(i,It(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=gy(new Date(i.startDate),a),l=gy(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=na({name:"suspensionType",type:t,pure:!0});let e=t;return e})(),Ole=e=>({posology:e}),IOe=e=>({count:e});function TOe(e,t){e&1&&(D(0,"span",1),F(1),O(2,"translate"),T()),e&2&&(C(),te("",P(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function OOe(e,t){if(e&1&&(D(0,"li"),Ca(1,2),T()),e&2){let n=t.$implicit;L(3);let a=Ya(3);C(),N("ngTemplateOutlet",a)("ngTemplateOutletContext",ii(2,Ole,n))}}function AOe(e,t){if(e&1&&(D(0,"ul"),Ga(1,OOe,2,4,"li",null,Ni),T()),e&2){let n=L(2);C(),$a(n.medication().posology)}}function ROe(e,t){if(e&1&&Ca(0,2),e&2){let n=L(2),a=Ya(3);N("ngTemplateOutlet",a)("ngTemplateOutletContext",ii(2,Ole,n.medication().posology[0]))}}function MOe(e,t){if(e&1&&V(0,TOe,3,3,"span",1)(1,AOe,3,0,"ul")(2,ROe,1,4,"ng-container",2),e&2){let n=L();W(n.medication().temporality===n.temporalities.ONESHOT?0:-1),C(),W(n.medication().posology.length>1?1:2)}}function POe(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.notSpecified"),`
|
|
61
|
+
`)}function NOe(e,t){e&1&&(D(0,"span"),F(1),T()),e&2&&(C(),te(" ",t,""))}function LOe(e,t){if(e&1&&(D(0,"span"),F(1),O(2,"translate"),T(),V(3,NOe,2,1,"span"),O(4,"posologySpecification")),e&2){let n,a=L(2).posology,i=L();C(),te(" ",wt(2,2,"commons.administrationUnits."+a.quantity.unit,ii(8,IOe,a.quantity.value)),""),C(2),W((n=wt(4,5,a,i.medication()))?3:-1,n)}}function FOe(e,t){if(e&1&&(D(0,"span"),F(1),O(2,"quantity"),T(),V(3,LOe,5,10)),e&2){let n=L().posology;C(),Re(P(2,2,n.quantity.value)),C(2),W(n.quantity.unit?3:-1)}}function VOe(e,t){if(e&1&&(D(0,"span",3),O(1,"getLangForAttrLang"),O(2,"canTranslateForAttr"),F(3),T()),e&2){let n=L();N("lang",P(1,3,n.lang)),be("translate",P(2,5,n.lang)),C(3),te(" ",t," ")}}function zOe(e,t){if(e&1&&(D(0,"span",3),O(1,"getLangForAttrLang"),O(2,"canTranslateForAttr"),F(3),T(),V(4,VOe,4,7,"span",3),O(5,"posologySpecification")),e&2){let n,a=t,i=L().posology,r=L();N("lang",P(1,4,a.lang)),be("translate",P(2,6,a.lang)),C(3),te(" ",a.value," "),C(),W((n=wt(5,8,i,r.medication()))?4:-1,n)}}function BOe(e,t){if(e&1&&(D(0,"div"),V(1,FOe,4,4)(2,zOe,6,11),O(3,"translateObject"),T()),e&2){let n,a=t.posology;C(),W(a.quantity?1:-1),C(),W((n=P(3,2,a.text))?2:-1,n)}}var jOe=(()=>{const t=class t{constructor(){this.medication=ne.required(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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,MOe,3,2)(1,POe,2,3)(2,BOe,4,4,"ng-template",null,0,Fd),a&2){let r;W((r=i.medication().posology)!=null&&r.length?0:1)}},dependencies:[Ct,o0,SOe,KTe,YTe,ZTe,cg],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})();r_(cue());var Qc;function HOe(){if(Qc===void 0&&(Qc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Qc=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Qc}function Ys(e){var t;return((t=HOe())==null?void 0:t.createHTML(e))||e}function Ty(e){return Error(`Unable to find icon with the name "${e}"`)}function UOe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Oy(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Ay(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Nr=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}},WOe=(()=>{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 Nr(r,null,s))}addSvgIconResolver(a){return this._resolvers.push(a),this}addSvgIconLiteralInNamespace(a,i,r,s){let l=this._sanitizer.sanitize(di.HTML,r);if(!l)throw Ay(r);let c=Ys(l);return this._addSvgIconConfig(a,i,new Nr("",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 Nr(i,null,r))}addSvgIconSetLiteralInNamespace(a,i,r){let s=this._sanitizer.sanitize(di.HTML,i);if(!s)throw Ay(i);let l=Ys(s);return this._addSvgIconSetConfig(a,new Nr("",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(di.RESOURCE_URL,a);if(!i)throw Oy(a);let r=this._cachedIconsByUrl.get(i);return r?vt(Xc(r)):this._loadSvgIconFromConfig(new Nr(a,null)).pipe(nd(s=>this._cachedIconsByUrl.set(i,s)),Dt(s=>Xc(s)))}getNamedSvgIcon(a,i=""){let r=Ry(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):the(Ty(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(a){return a.svgText?vt(Xc(this._svgElementFromConfig(a))):this._loadSvgIconFromConfig(a).pipe(Dt(i=>Xc(i)))}_getSvgFromIconSetConfigs(a,i){let r=this._extractIconWithNameFromAnySet(a,i);if(r)return vt(r);let s=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Q_(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(di.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),vt(null)})));return sf(s).pipe(Dt(()=>{let l=this._extractIconWithNameFromAnySet(a,i);if(!l)throw Ty(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(nd(i=>a.svgText=i),Dt(()=>this._svgElementFromConfig(a)))}_loadSvgIconSetFromConfig(a){return a.svgText?vt(null):this._fetchIcon(a).pipe(nd(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(Ys("<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(Ys("<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 UOe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(di.RESOURCE_URL,i);if(!l)throw Oy(i);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:s}).pipe(Dt(u=>Ys(u)),J_(()=>this._inProgressUrlFetches.delete(l)),e1());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(a,i,r){return this._svgIconConfigs.set(Ry(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 qOe(s)?new Nr(s.url,null,s.options):new Nr(s,null)}}};o(t,"ɵfac",function(a){return new(a||t)(Ce(nc,8),Ce(Uk),Ce(it,8),Ce(Yi))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Xc(e){return e.cloneNode(!0)}function Ry(e,t){return e+":"+t}function qOe(e){return!!(e.url&&e.options)}var GOe=["*"],$Oe=new Y("MAT_ICON_DEFAULT_OPTIONS"),YOe=new Y("mat-icon-location",{providedIn:"root",factory:ZOe});function ZOe(){let e=_(it),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var Ale=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],KOe=Ale.map(e=>`[${e}]`).join(", "),QOe=/^url\(['"]?#(.*?)['"]?\)$/,Vi=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_iconRegistry",_(WOe));o(this,"_location",_(YOe));o(this,"_errorHandler",_(Yi));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",Ye.EMPTY);let a=_(new bs("aria-hidden"),{optional:!0}),i=_($Oe,{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(KOe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)Ale.forEach(l=>{let c=i[s],d=c.getAttribute(l),u=d?d.match(QOe):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(ei(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",X({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),Pi(i.color?"mat-"+i.color:""),we("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",fe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:GOe,decls:1,vars:0,template:function(a,i){a&1&&(st(),ke(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})(),_o=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Vt]}));let e=t;return e})(),Rle=(()=>{const t=class t{constructor(){this.message=ne.required(),this.fontIcon=ne("info"),this.translateParams=ne({})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(a,i){a&1&&(H(0,"mat-icon",0),F(1),O(2,"translate")),a&2&&(N("fontIcon",i.fontIcon()),C(),te(" ",wt(2,2,"commons.errors."+i.message(),i.translateParams())," "))},dependencies:[Vi,Ct],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),XOe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"p")(5,"span"),F(6),O(7,"translate"),T()(),D(8,"p")(9,"span"),F(10),O(11,"translate"),T(),D(12,"a",1),O(13,"translate"),F(14),O(15,"translate"),T(),F(16,"."),T()(),D(17,"mat-dialog-actions")(18,"button",2),F(19),O(20,"translate"),T(),D(21,"button",3),F(22),O(23,"translate"),T()()),a&2&&(C(),Re(P(2,9,"commons.errors.report-message-title")),C(5),Re(P(7,11,"commons.errors.report-message-explanation")),C(4),Re(P(11,13,"commons.errors.report-message-content")),C(2),N("href",P(13,15,"commons.errors.report-message-link"),Bf),C(2),Re(P(15,17,"commons.errors.report-message-term-use")),C(4),N("mat-dialog-close",!0),C(),te(" ",P(20,19,"commons.errors.report-message-report-button")," "),C(2),N("mat-dialog-close",!1),C(),te(" ",P(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[oC,Zu,Ku,Xu,Qu,Ka,Jn,Ct],encapsulation:2});let e=t;return e})(),JOe=(()=>{const t=class t{constructor(){this.vidisErrorCode=_(zg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"p")(5,"span"),F(6),O(7,"translate"),T()()(),D(8,"mat-dialog-actions")(9,"button",1),F(10),O(11,"translate"),T()()),a&2&&(C(),Re(P(2,4,"commons.errors.action-not-authorized-title")),C(5),Re(P(7,6,"commons.errors."+i.vidisErrorCode)),C(3),N("mat-dialog-close",!1),C(),te(" ",P(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[oC,Zu,Ku,Xu,Qu,Ka,Jn,Ct],encapsulation:2});let e=t;return e})();function My(e,t,n){let a=BC(),i=aAe(e,n.timeZone,n.locale??a.locale);return"formatToParts"in i?eAe(i,t):tAe(i,t)}function eAe(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 tAe(e,t){let n=e.format(t).replace(/\u200E/g,""),a=/ [\w-+ ]+$/.exec(n);return a?a[0].substr(1):""}function aAe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function iAe(e,t){let n=lAe(t);return"formatToParts"in n?rAe(n,e):oAe(n,e)}var nAe={year:0,month:1,day:2,hour:3,minute:4,second:5};function rAe(e,t){try{let n=e.formatToParts(t),a=[];for(let i=0;i<n.length;i++){let r=nAe[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 oAe(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 vp={},Py=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")),sAe=Py==="06/25/2014, 00:00:00"||Py==="06/25/2014 00:00:00";function lAe(e){return vp[e]||(vp[e]=sAe?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"})),vp[e]}function Mle(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 Ny=36e5,cAe=6e4,bp={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Ple(e,t,n){if(!e)return 0;let a=bp.timezoneZ.exec(e);if(a)return 0;let i,r;if(a=bp.timezoneHH.exec(e),a)return i=parseInt(a[1],10),Ly(i)?-(i*Ny):NaN;if(a=bp.timezoneHHMM.exec(e),a){i=parseInt(a[2],10);let s=parseInt(a[3],10);return Ly(i,s)?(r=Math.abs(i)*Ny+s*cAe,a[1]==="+"?-r:r):NaN}if(hAe(e)){t=new Date(t||Date.now());let s=n?t:dAe(t),l=Bm(s,e);return-(n?l:uAe(t,l,e))}return NaN}function dAe(e){return Mle(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Bm(e,t){let n=iAe(e,t),a=Mle(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 uAe(e,t,n){let a=e.getTime()-t,i=Bm(new Date(a),n);if(t===i)return t;a-=i-t;let r=Bm(new Date(a),n);return i===r?i:Math.max(i,r)}function Ly(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Fy={};function hAe(e){if(Fy[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Fy[e]=!0,!0}catch{return!1}}var pAe=60*1e3,mAe={X:function(e,t,n){let a=yp(n.timeZone,e);if(a===0)return"Z";switch(t){case"X":return Vy(a);case"XXXX":case"XX":return Ro(a);case"XXXXX":case"XXX":default:return Ro(a,":")}},x:function(e,t,n){let a=yp(n.timeZone,e);switch(t){case"x":return Vy(a);case"xxxx":case"xx":return Ro(a);case"xxxxx":case"xxx":default:return Ro(a,":")}},O:function(e,t,n){let a=yp(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+fAe(a,":");case"OOOO":default:return"GMT"+Ro(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return My("short",e,n);case"zzzz":default:return My("long",e,n)}}};function yp(e,t){let n=e?Ple(e,t,!0)/pAe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function au(e,t){let n=e<0?"-":"",a=Math.abs(e).toString();for(;a.length<t;)a="0"+a;return n+a}function Ro(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=au(Math.floor(a/60),2),r=au(Math.floor(a%60),2);return n+i+t+r}function Vy(e,t){return e%60===0?(e>0?"-":"+")+au(Math.abs(e)/60,2):Ro(e,t)}function fAe(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+au(r,2)}function zy(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 gAe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,_p=36e5,By=6e4,vAe=2,Ja={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:gAe};function bAe(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?vAe: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=yAe(e),{year:i,restDateString:r}=_Ae(a.date,n),s=xAe(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=wAe(a.time),c===null||isNaN(c)))return new Date(NaN);if(a.timeZone||t.timeZone){if(d=Ple(a.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=zy(new Date(l+c)),d=zy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function yAe(e){let t={},n=Ja.dateTimePattern.exec(e),a;if(n?(t.date=n[1],a=n[3]):(n=Ja.datePattern.exec(e),n?(t.date=n[1],a=n[2]):(t.date=null,a=e)),a){let i=Ja.timeZone.exec(a);i?(t.time=a.replace(i[1],""),t.timeZone=i[1].trim()):t.time=a}return t}function _Ae(e,t){if(e){let n=Ja.YYY[t],a=Ja.YYYYY[t],i=Ja.YYYY.exec(e)||a.exec(e);if(i){let r=i[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(i=Ja.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 xAe(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=Ja.MM.exec(e);if(r)return n=new Date(0),a=parseInt(r[1],10)-1,Hy(t,a)?(n.setUTCFullYear(t,a),n):new Date(NaN);if(r=Ja.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return CAe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ja.MMDD.exec(e),r){n=new Date(0),a=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return Hy(t,a,s)?(n.setUTCFullYear(t,a,s),n):new Date(NaN)}if(r=Ja.Www.exec(e),r)return i=parseInt(r[1],10)-1,Uy(i)?jy(t,i):new Date(NaN);if(r=Ja.WwwD.exec(e),r){i=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Uy(i,s)?jy(t,i,s):new Date(NaN)}return null}function wAe(e){let t,n,a=Ja.HH.exec(e);if(a)return t=parseFloat(a[1].replace(",",".")),xp(t)?t%24*_p:NaN;if(a=Ja.HHMM.exec(e),a)return t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")),xp(t,n)?t%24*_p+n*By:NaN;if(a=Ja.HHMMSS.exec(e),a){t=parseInt(a[1],10),n=parseInt(a[2],10);let i=parseFloat(a[3].replace(",","."));return xp(t,n,i)?t%24*_p+n*By+i*1e3:NaN}return null}function jy(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 EAe=[31,28,31,30,31,30,31,31,30,31,30,31],kAe=[31,29,31,30,31,30,31,31,30,31,30,31];function Nle(e){return e%400===0||e%4===0&&e%100!==0}function Hy(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let a=Nle(e);if(a&&n>kAe[t]||!a&&n>EAe[t])return!1}return!0}function CAe(e,t){if(t<1)return!1;let n=Nle(e);return!(n&&t>366||!n&&t>365)}function Uy(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function xp(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var SAe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function DAe(e,t,n={}){t=String(t);let a=t.match(SAe);if(a){let i=bAe(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,"'"+mAe[s[0]](i,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Fo(e,t,n)}var IAe=(()=>{const t=class t{reportError(a){return vt({status:"ok"})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),TAe=(()=>{const t=class t{constructor(){this.http=_(nc),this.authService=_(Ol).getInstance(),this.apiUrl=_(Rs).getEnvironmentVariable("apiUrl")}reportError(a){return this.http.post(`${this.apiUrl}/v2/report/error`,a,{headers:{[Yo.userType]:qr.getUserType({isProfessional:this.authService.isProfessional}),[Yo.clientType]:ZC()?qr.clientType.mobileApp:qr.clientType.webApp}})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),OAe=(()=>{const t=class t{constructor(){this.config=_(Rs),this.injector=_(ut),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(IAe):this.injector.get(TAe)}return this._instance}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),AAe=(()=>{const t=class t extends E2e{constructor(){super(...arguments),this.version=Fm,this.authServiceSelector=_(Ol),this.translateService=_(Fa),this.webComponentConfig=_(Rs),this.injector=_(ut),this.servicesStore=_(th),this.matDialog=_(As),this.destroyRef=_(xi),this.errorServiceSelector=_(OAe),this.snackbarService=_(X2e),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return va(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(a=>va(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)===Bn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(a.code):(a==null?void 0:a.group)===Bn.OTHER&&this.showTechnicalErrorPopup(a)}showTechnicalErrorPopup(a){this.matDialog.open(XOe,{data:{error:a}}).beforeClosed().pipe(la(i=>i),cc(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(JOe,{data:a})}formatDateWithZone(){return DAe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵcmp=X({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 RAe(e,t){if(e&1&&(D(0,"mat-option",4),F(1),O(2,"translate"),T()),e&2){let n=t.$implicit;N("value",n),C(),Re(P(2,2,"commons.sortDropdown."+n))}}function MAe(e,t){if(e&1){let n=Et();D(0,"button",6),O(1,"translate"),xe("click",function(){Se(n);let a=L();return De(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.descending}))}),H(2,"mat-icon",7),T()}if(e&2){let n=L();N("disabled",n.disabled()),be("aria-label",P(1,2,"commons.sortDropdown.sorting-ascendant"))}}function PAe(e,t){if(e&1){let n=Et();D(0,"button",6),O(1,"translate"),xe("click",function(){Se(n);let a=L();return De(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.ascending}))}),H(2,"mat-icon",8),T()}if(e&2){let n=L();N("disabled",n.disabled()),be("aria-label",P(1,2,"commons.sortDropdown.sorting-descendent"))}}var NAe=(()=>{const t=class t{constructor(){this.sortData=Es.required(),this.sortItems=ne.required(),this.disabled=ne(!1),this.sortDirection=n0}emitNewData(a){this.sortData.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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})}),Ga(4,RAe,3,4,"mat-option",4,Ni),T()()(),V(6,MAe,3,4,"button",5)(7,PAe,3,4,"button",5),T()),a&2&&(C(3),N("value",i.sortData().sort)("disabled",i.disabled()),C(),$a(i.sortItems()),C(2),W(i.sortData().order===i.sortDirection.ascending?6:7))},dependencies:[Vi,Ka,ec,Sl,pk,pEe,hEe,Xk,Ct],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})(),LAe=["*"];function FAe(e,t){e&1&&Ca(0)}function VAe(e,t){if(e&1&&(D(0,"div",3),V(1,FAe,1,0,"ng-container",5),T()),e&2){L();let n=Ya(5);C(),N("ngTemplateOutlet",n)}}function zAe(e,t){e&1&&Ca(0)}function BAe(e,t){if(e&1){let n=Et();D(0,"div",6),xe("click",function(){Se(n);let a=L();return De(a.toggleExpanded())})("keydown.enter",function(){Se(n);let a=L();return De(a.toggleExpanded())})("keydown.space",function(){Se(n);let a=L();return De(a.toggleExpanded())}),V(1,zAe,1,0,"ng-container",5),T()}if(e&2){let n=L(),a=Ya(5);be("aria-label",n.currentExpandIconAriaLabel()),C(),N("ngTemplateOutlet",a)}}function jAe(e,t){e&1&&Ca(0)}function HAe(e,t){if(e&1&&V(0,jAe,1,0,"ng-container",5),e&2){L();let n=Ya(7);N("ngTemplateOutlet",n)}}function UAe(e,t){if(e&1&&(D(0,"h2"),F(1),T()),e&2){let n=L(3);C(),Re(n.alertTitle())}}function WAe(e,t){if(e&1&&(D(0,"p"),F(1),T()),e&2){let n=L(3);C(),Re(n.alertSubtitle())}}function qAe(e,t){if(e&1&&(D(0,"div"),V(1,UAe,2,1,"h2")(2,WAe,2,1,"p"),T()),e&2){let n=L(2);C(),W(n.alertTitle()?1:-1),C(),W(n.alertSubtitle()?2:-1)}}function GAe(e,t){e&1&&Ca(0)}function $Ae(e,t){if(e&1&&V(0,GAe,1,0,"ng-container",5),e&2){L(2);let n=Ya(7);N("ngTemplateOutlet",n)}}function YAe(e,t){if(e&1){let n=Et();D(0,"mat-icon",11),xe("click",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())})("keydown.enter",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())})("keydown.space",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())}),T()}if(e&2){let n=L(2);be("aria-label",n.closeButtonAriaLabel())}}function ZAe(e,t){if(e&1&&H(0,"mat-icon",10),e&2){let n=L(2);N("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function KAe(e,t){if(e&1&&(H(0,"mat-icon",7),D(1,"div",8),V(2,qAe,3,2,"div")(3,$Ae,1,1,"ng-container"),T(),V(4,YAe,1,1,"mat-icon",9)(5,ZAe,1,1,"mat-icon",10)),e&2){let n=L();N("fontIcon",n.fontIcon()),C(2),W(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),C(2),W(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function QAe(e,t){if(e&1){let n=Et();D(0,"button",14),xe("click",function(){Se(n);let a=L(2);return De(a.onActionButtonClicked())}),F(1),T()}if(e&2){let n=L(2);N("disabled",n.buttonDisabled()),C(),te(" ",n.buttonLabel()," ")}}function XAe(e,t){if(e&1&&(D(0,"span",12),ke(1),T(),V(2,QAe,2,2,"button",13)),e&2){let n=L();C(2),W(n.actionButton()?2:-1)}}var Lle=(()=>{const t=class t{constructor(){o(this,"usage",ne("info"));o(this,"backgroundColor",ne("color"));o(this,"alertTitle",ne());o(this,"alertSubtitle",ne());o(this,"actionButton",ne(!1));o(this,"buttonDisabled",ne(!1));o(this,"buttonLabel",ne());o(this,"dismissMode",ne("pinned"));o(this,"closeButtonAriaLabel",ne(""));o(this,"startExpanded",ne(!1));o(this,"expandedButtonAriaLabel",ne(""));o(this,"collapsedButtonAriaLabel",ne(""));o(this,"closeButtonClicked",io());o(this,"actionButtonClicked",io());o(this,"expanded",ube(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",qt(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",qt(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",qt(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(a=>!a)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",qt(()=>({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",X({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],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:LAe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,i){a&1&&(st(),D(0,"div",2),V(1,VAe,2,1,"div",3)(2,BAe,2,2,"div",4)(3,HAe,1,1,"ng-container"),T(),V(4,KAe,6,3,"ng-template",null,0,Fd)(6,XAe,3,1,"ng-template",null,1,Fd)),a&2&&(Pi(i.usage()),we("white",i.backgroundColor()==="white"),C(),W(i.dismissMode()!=="expandable"?1:2),C(2),W(i.notExpandableMissingTitleAndSubtitle()||i.expandableExpanded()?3:-1))},dependencies:[dg,cg,Vi,Jn],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;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}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .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}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_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%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;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}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .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}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_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%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;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}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .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}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_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%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;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}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .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}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_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%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_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}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_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}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_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%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function JAe(e,t){if(e&1&&(D(0,"mh-alert",0),O(1,"translate"),D(2,"div",1),F(3),O(4,"translate"),T()()),e&2){let n=L();N("alertTitle",P(1,2,"commons.errors.data-not-available-title")),C(3),Re(P(4,4,"commons.errors."+n.error().code))}}var eRe=(()=>{const t=class t{constructor(){this.error=ne.required(),this.vidisErrorGroup=Bn}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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,JAe,5,6,"mh-alert",0),a&2&&W(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[Ct,Lle],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})(),tRe=["*"],Fle=(()=>{const t=class t{constructor(){this.item=ne.required(),this.expandedElement=Es.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:tRe,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(a,i){a&1&&(st(),D(0,"button",0),xe("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),H(1,"mat-icon",1),ke(2),T()),a&2&&(C(),N("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Ka,Jn,Vi],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})();function aRe(e,t){if(e&1&&(D(0,"span"),F(1),T()),e&2){let n=L();C(),te("(",n.idNumber(),")")}}var Vle=(()=>{const t=class t{constructor(){this.fullname=ne.required(),this.idNumber=ne()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(a,i){a&1&&(F(0),V(1,aRe,2,1,"span")),a&2&&(te(" ",i.fullname()," "),C(),W(i.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),iRe=e=>({label_error:e}),nRe=e=>({value_error:e});function rRe(e,t){e&1&&H(0,"mat-icon",3)}function oRe(e,t){if(e&1&&(D(0,"span",0)(1,"span",1),F(2),O(3,"translate"),T(),D(4,"span",2),V(5,rRe,1,0,"mat-icon",3),F(6),T()()),e&2){let n=L();C(),N("ngClass",ii(7,iRe,n.withError())),C(),te(" ",P(3,5,n.labelKey())," "),C(2),N("ngClass",ii(9,nRe,n.withError())),C(),W(n.withError()?5:-1),C(),te(" ",n.value()," ")}}var sRe=(()=>{const t=class t{constructor(){this.labelKey=ne.required(),this.value=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"],withError:[1,"withError"]},decls:1,vars:1,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(a,i){a&1&&V(0,oRe,7,11,"span",0),a&2&&W(i.value()?0:-1)},dependencies:[Ct,Vi,Ss],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.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;width:210px}.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}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),lRe=["*"],cRe=e=>({label_error:e}),dRe=e=>({value_error:e});function uRe(e,t){e&1&&H(0,"mat-icon",3)}var hRe=(()=>{const t=class t{constructor(){this.labelKey=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],withError:[1,"withError"]},ngContentSelectors:lRe,decls:7,vars:10,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(a,i){a&1&&(st(),D(0,"span",0)(1,"span",1),F(2),O(3,"translate"),T(),D(4,"span",2),V(5,uRe,1,0,"mat-icon",3),ke(6),T()()),a&2&&(C(),N("ngClass",ii(6,cRe,i.withError())),C(),te(" ",P(3,4,i.labelKey())," "),C(2),N("ngClass",ii(8,dRe,i.withError())),C(),W(i.withError()?5:-1))},dependencies:[Ct,Vi,Ss],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.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;width:210px}.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;display:flex;align-items:center;gap:6px}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),pRe=e=>({prescriber:e}),mRe=e=>({count:e});function fRe(e,t){if(e&1&&(H(0,"vidis-error-display",0),O(1,"translate"),O(2,"fullname")),e&2){let n=L();N("message",P(1,2,"incorrect-elements-ms-detail"))("translateParams",ii(6,pRe,P(2,4,n.medication().author)))}}function gRe(e,t){e&1&&(H(0,"vidis-detail-field",5),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function vRe(e,t){e&1&&(H(0,"vidis-detail-field",6),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function bRe(e,t){if(e&1&&(H(0,"vidis-detail-field",20),O(1,"date"),O(2,"hasMedicationError")),e&2){let n=L().$index,a=L(3);N("value",wt(1,2,t,"dd/MM/yyyy"))("withError",br(2,5,a.fieldErrors(),a.medication().index,"suspensions["+n+"]"))}}function yRe(e,t){e&1&&(H(0,"vidis-detail-field",21),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function _Re(e,t){e&1&&(H(0,"vidis-detail-field",22),O(1,"firstLetterUppercase")),e&2&&N("value",P(1,1,t))}function xRe(e,t){e&1&&H(0,"span",18)(1,"span",23)}function wRe(e,t){e&1&&H(0,"mat-divider")}function ERe(e,t){if(e&1&&(V(0,bRe,3,9,"vidis-detail-field",20)(1,yRe,2,4,"vidis-detail-field",21)(2,_Re,2,3,"vidis-detail-field",22),O(3,"translateValue"),V(4,xRe,2,0)(5,wRe,1,0,"mat-divider"),H(6,"br")),e&2){let n,a,i,r=t.$implicit,s=t.$index,l=t.$count;W((n=r.startDate)?0:-1,n),C(),W((a=r.endDate)?1:-1,a),C(),W((i=P(3,5,r.reason))?2:-1,i),C(2),W(r.type==="definitive"?4:-1),C(),W(s!==l-1?5:-1)}}function kRe(e,t){if(e&1&&(D(0,"span",18),F(1),O(2,"translate"),T(),D(3,"span",19),Ga(4,ERe,7,7,null,null,Ni),T()),e&2){let n=L();C(),Re(P(2,1,"medicationSchemeDetails.suspension.label")),C(3),$a(n)}}function CRe(e,t){e&1&&V(0,kRe,6,3),e&2&&W(t.length>0?0:-1)}function SRe(e,t){if(e&1&&(H(0,"vidis-detail-field",7),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n,a=L();N("value",P(2,5,wt(1,2,"commons.administrationUnits."+((n=a.medication().posology[0].quantity)==null?null:n.unit),ii(11,mRe,a.medication().posology[0].quantity.value))))("withError",br(3,7,a.fieldErrors(),a.medication().index,"posologies"))}}function DRe(e,t){if(e&1&&(H(0,"vidis-detail-field",8),O(1,"translate"),O(2,"hasMedicationError")),e&2){let n=L();N("value",P(1,2,"commons.periodicities."+t))("withError",br(2,4,n.fieldErrors(),n.medication().index,"frequency"))}}function IRe(e,t){if(e&1&&(H(0,"vidis-detail-field",11),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n=L();N("value",P(2,4,P(1,2,"commons.routes."+t)))("withError",br(3,6,n.fieldErrors(),n.medication().index,"route"))}}function TRe(e,t){if(e&1&&(H(0,"vidis-detail-field",12),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n=L();N("value",P(2,4,P(1,2,"commons.temporality."+t)))("withError",br(3,6,n.fieldErrors(),n.medication().index,"temporality"))}}function ORe(e,t){e&1&&H(0,"vidis-detail-field",15),e&2&&N("value",t)}function ARe(e,t){e&1&&H(0,"vidis-detail-field",16),e&2&&N("value",t)}function RRe(e,t){if(e&1&&H(0,"vidis-detail-field",17),e&2){let n,a=L();N("value",(n=a.medication().others)==null?null:n.join(", "))("withError",!0)}}var zle=(()=>{const t=class t{constructor(){this.medication=ne.required(),this.fieldErrors=ne(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"],fieldErrors:[1,"fieldErrors"]},decls:30,vars:45,consts:[["fontIcon","warning",3,"message","translateParams"],[1,"details"],["labelKey","medicationSchemeDetails.medication",3,"value"],["labelKey","medicationSchemeDetails.indication",3,"value"],["labelKey","medicationSchemeDetails.prescriber",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.comment",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[1,"details__label"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.start",3,"value","withError"],["labelKey","medicationSchemeDetails.suspension.end",3,"value"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],[1,"details__value"]],template:function(a,i){if(a&1&&(V(0,fRe,3,8,"vidis-error-display",0),O(1,"hasMedicationError"),D(2,"span",1),H(3,"vidis-detail-field",2),O(4,"translateValue"),O(5,"firstLetterUppercase"),H(6,"vidis-detail-field",3),O(7,"translateValue"),O(8,"firstLetterUppercase"),H(9,"vidis-detail-field",4),O(10,"fullname"),V(11,gRe,2,4,"vidis-detail-field",5)(12,vRe,2,4,"vidis-detail-field",6)(13,CRe,1,1),O(14,"activeAndFutureSuspensions"),V(15,SRe,4,13,"vidis-detail-field",7)(16,DRe,3,8,"vidis-detail-field",8),D(17,"vidis-detail-field-slot",9),O(18,"hasMedicationError"),H(19,"vidis-medication-scheme-posology",10),T(),V(20,IRe,4,10,"vidis-detail-field",11)(21,TRe,4,10,"vidis-detail-field",12),H(22,"vidis-detail-field",13)(23,"vidis-detail-field",14),V(24,ORe,1,1,"vidis-detail-field",15),O(25,"translateValue"),V(26,ARe,1,1,"vidis-detail-field",16),O(27,"translateValue"),V(28,RRe,1,2,"vidis-detail-field",17),O(29,"hasMedicationError"),T()),a&2){let r,s,l,c,d,u,p,v,g;W(wt(1,18,i.fieldErrors(),i.medication().index)?0:-1),C(3),N("value",P(5,23,P(4,21,i.medication().name))),C(3),N("value",P(8,27,P(7,25,i.medication().indication))),C(3),N("value",P(10,29,i.medication().author)),C(2),W((r=i.medication().treatmentStartDate)?11:-1,r),C(),W((s=i.medication().treatmentEndDate)?12:-1,s),C(),W((l=P(14,31,i.medication().suspensions))?13:-1,l),C(2),W(!((c=i.medication().posology)==null||c[0]==null||c[0].quantity==null)&&c[0].quantity.unit?15:-1),C(),W((d=(d=i.medication().frequency)==null?null:d.periodicity)?16:-1,d),C(),N("withError",br(18,33,i.fieldErrors(),i.medication().index,"posologies")),C(2),N("medication",i.medication()),C(),W((u=i.medication().route)?20:-1,u),C(),W((p=i.medication().temporality)?21:-1,p),C(),N("value",i.medication().treatmentStartCondition),C(),N("value",i.medication().treatmentEndCondition),C(),W((v=P(25,37,i.medication().instructions))?24:-1,v),C(2),W((g=P(27,39,i.medication().comment))?26:-1,g),C(2),W(br(29,41,i.fieldErrors(),i.medication().index,"others")?28:-1)}},dependencies:[Ka,UTe,Ct,jOe,Rle,sRe,hRe,Ds,dc,Qi,Ms,JTe,l0],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{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}@media only screen and (min-width: 960px){vidis-error-display[_ngcontent-%COMP%]{display:none!important}}"],changeDetection:0});let e=t;return e})(),nh=(()=>{const t=class t{setClientId(a){this.clientId=a}buildClientIdHeader(){return this.clientId&&new oo().set(Yo.exchangeClientId,this.clientId)}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ble=(()=>{const t=class t extends nh{constructor(){super(...arguments),this.http=_(nc)}find(a){return this.http.post("/v1/medicationscheme",{ssins:a?[a]:[]},{headers:this.buildClientIdHeader()})}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),MRe={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000004",role:Ba.PERSPHYSICIAN},date:"2024-10-16T19:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000037",role:Ba.PERSPHYSICIAN},identifier:{value:"0041020",type:Di.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:ee.D},route:Si._00064,name:[{lang:h.FR,value:"Novyra 50 mg"},{lang:h.NL,value:"Novyra 50 mg"},{lang:h.DE,value:"Novyra 50 mg"},{lang:h.EN,value:"Novyra 50 mg"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac66d"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac68a"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc81291e5c015ab30ac650"}],posology:[{quantity:{unit:Qt._00005,value:1},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING}],treatmentStartDate:"2025-09-01",treatmentEndCondition:"wanneer niet nodig"},{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000008",role:Ba.PERSPHARMACIST},frequency:{periodicity:ee.D},route:Si._00064,name:[{lang:h.NL,value:"Elenzom 100 ml"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:Qt._00016,value:10},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Qt._00016,value:10},daytime:{dayPeriod:Xt.THEHOUROFSLEEP},dayPart:gt.NIGHT}],treatmentStartDate:"2025-08-15",comment:[{lang:h.NL,value:"magistrale bereiding"}]},{author:{firstName:"Dr.",lastName:"François Dupont",nihdi:"10000000003",role:Ba.PERSPHYSICIAN},identifier:{value:"0039347",type:Di.CNK},frequency:{periodicity:ee.D},route:Si._00002,name:[{lang:h.FR,value:"Zypharel 5%"},{lang:h.NL,value:"Zypharel 5%"},{lang:h.DE,value:"Zypharel 5%"},{lang:h.EN,value:"Zypharel 5%"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70ce1e5c015ab3f12a1e"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70d01e5c015ab3f12fb6"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70cd1e5c015ab3f124e4"}],posology:[{quantity:{unit:Qt._00003,value:1},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Qt._00003,value:1},daytime:{dayPeriod:Xt.AFTERNOON},dayPart:gt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Francois Alexandre",nihdi:"10000000027",role:Ba.PERSPHYSICIAN},identifier:{value:"2120046",type:Di.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:ee.D},route:Si._00064,name:[{lang:h.FR,value:"Trivonex 10 mg"},{lang:h.NL,value:"Trivonex 10 mg"},{lang:h.DE,value:"Trivonex 10 mg"},{lang:h.EN,value:"Trivonex 10 mg"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5eaeb"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5ecd2"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac11e5c015ab3e5e82d"}],posology:[{quantity:{unit:Qt._00005,value:.5},daytime:{dayPeriod:Xt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Pieter Dumont",nihdi:"10000000005",role:Ba.PERSPHARMACIST},identifier:{value:"0119065",type:Di.CNK},frequency:{periodicity:ee.D},route:Si.OFT,instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],name:[{lang:h.FR,value:"Meldiora 10 ml"},{lang:h.NL,value:"Meldiora 10 ml"},{lang:h.DE,value:"Meldiora 10 ml"},{lang:h.EN,value:"Meldiora 10 ml"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f801e5c015ab30e40ab"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f811e5c015ab30e40dd"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f7f1e5c015ab30e4079"}],posology:[{quantity:{unit:Qt._00007,value:1},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Qt._00007,value:1},daytime:{dayPeriod:Xt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Qt._00007,value:1},daytime:{dayPeriod:Xt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-06-30"},{author:{firstName:"Dr.",lastName:"Maxwel Bernard",nihdi:"10000000014",role:Ba.PERSPHARMACIST,organization:{type:Ba.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Di.CNK},frequency:{periodicity:ee.ONDEMAND},route:Si._00064,name:[{lang:h.FR,value:"Praxelin 5 mg"},{lang:h.NL,value:"Praxelin 5 mg"},{lang:h.DE,value:"Praxelin 5 mg"},{lang:h.EN,value:"Praxelin 5 mg"}],posology:[{dayPart:gt.TO_PLAN,quantity:{unit:Qt._00005,value:1},daytime:{dayPeriod:Xt.AFTERNOON}}],instructions:[{lang:h.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"David Martins",nihdi:"10000000007",role:Ba.PERSPHARMACIST,organization:{type:Ba.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Di.CNK},frequency:{periodicity:ee.D},route:Si._00004,name:[{lang:h.FR,value:"Voralyte 250 mg"},{lang:h.NL,value:"Voralyte 250 mg"},{lang:h.DE,value:"Voralyte 250 mg"},{lang:h.EN,value:"Voralyte 250 mg"}],posology:[{dayPart:gt.MORNING,quantity:{value:1,unit:Qt._00004},daytime:{dayPeriod:Xt.BEFOREBREAKFAST}},{dayPart:gt.NOON,quantity:{value:1,unit:Qt._00004},daytime:{dayPeriod:Xt.BEFORELUNCH}},{dayPart:gt.EVENING,quantity:{value:1,unit:Qt._00004},daytime:{dayPeriod:Xt.BEFOREDINNER}}],instructions:[{lang:h.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"Isabelle Francis",nihdi:"10000000034",role:Ba.PERSPHYSICIAN},identifier:{value:"1557396",type:Di.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:ee.DD},route:Si.TRANSDERMAL,name:[{lang:h.FR,value:"Syntoril 10 mg/24h"},{lang:h.NL,value:"Syntoril 10 mg/24h"},{lang:h.DE,value:"Syntoril 10 mg/24h"},{lang:h.EN,value:"Syntoril 10 mg/24h"}],posology:[{quantity:{unit:Qt._00020,value:1},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773e1e5c015ab3faf955"},{lang:h.NL,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773f1e5c015ab3fafa9d"},{lang:h.DE,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773d1e5c015ab3faf792"}],treatmentStartDate:"2025-07-01"},{author:{firstName:"Dr.",lastName:"Jane Marchand",nihdi:"10000000009",role:Ba.PERSPHYSICIAN},identifier:{value:"2915353",type:Di.CNK},frequency:{periodicity:ee.ONDEMAND},route:Si._00049,name:[{lang:h.FR,value:"Cymelune 200 µg"},{lang:h.NL,value:"Cymelune 200 µg"},{lang:h.DE,value:"Cymelune 200 µg"},{lang:h.EN,value:"Cymelune 200 µg"}],posology:[{quantity:{unit:Qt._00011,value:2},dayPart:gt.IF_NEEDED}],instructions:[{lang:h.EN,value:" (max 4/j) - Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc523"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc661"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60881e5c015ab3cfc3ce"}],treatmentStartDate:"2025-09-02"},{author:{firstName:"Dr.",lastName:"Anne Smith",nihdi:"40000000401",role:Ba.PERSNURSE},identifier:{value:"2744753",type:Di.CNK},frequency:{periodicity:ee.D},route:Si._00064,name:[{lang:h.FR,value:"Orvexis 25 mg"},{lang:h.NL,value:"Orvexis 25 mg"},{lang:h.DE,value:"Orvexis 25 mg"},{lang:h.EN,value:"Orvexis 25 mg"}],posology:[{quantity:{unit:Qt._00005,value:1},daytime:{dayPeriod:Xt.THEHOUROFSLEEP},dayPart:gt.NIGHT}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db5fd8"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db604c"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d61e5c015ab3db5fa6"}],treatmentStartDate:"2025-08-22",treatmentStartCondition:"afwisselend: 1/2 per dag, en 2x 1/2 per dag"},{author:{firstName:"Dr.",lastName:"Maurice Antoine",nihdi:"20000000001",role:Ba.PERSPHARMACIST},identifier:{value:"0062521",type:Di.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:ee.D},route:Si._00055,name:[{lang:h.FR,value:"Beltrion 20 ml"},{lang:h.NL,value:"Beltrion 20 ml"},{lang:h.DE,value:"Beltrion 20 ml"},{lang:h.EN,value:"Beltrion 20 ml"}],posology:[{quantity:{unit:Qt._00012,value:1},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Qt._00012,value:1},daytime:{dayPeriod:Xt.NIGHT},dayPart:gt.NIGHT}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30cc9ac"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30ccab5"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c31e5c015ab30cc8ae"}],treatmentStartDate:"2025-07-28"},{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000011",role:Ba.PERSPHYSICIAN},identifier:{value:"3301",type:Di.VMP},temporality:Ai.CHRONIC,name:[{lang:h.FR,value:"Lumexor 200 mg"},{lang:h.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:Qt._00007,value:1},daytime:{dayPeriod:Xt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Qt._00007,value:1},daytime:{dayPeriod:Xt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Qt._00007,value:1},daytime:{dayPeriod:Xt.EVENING},dayPart:gt.EVENING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:_le.VITALINK}],errors:[]},jle=(()=>{const t=class t extends nh{constructor(){super(...arguments),this.demoService=_(R2e)}find(a){return this.demoService.post("/v1/medicationscheme",MRe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),xr=class Ii{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){let n=Ii.hexChars,a=Ii.hexOut,i,r,s,l;for(l=0;l<4;l+=1)for(r=l*8,i=t[l],s=0;s<8;s+=2)a[r+1+s]=n.charAt(i&15),i>>>=4,a[r+0+s]=n.charAt(i&15),i>>>=4;return a.join("")}static _md5cycle(t,n){let a=t[0],i=t[1],r=t[2],s=t[3];a+=(i&r|~i&s)+n[0]-680876936|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[1]-389564586|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[2]+606105819|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[3]-1044525330|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[4]-176418897|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[5]+1200080426|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[6]-1473231341|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[7]-45705983|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[8]+1770035416|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[9]-1958414417|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[10]-42063|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[11]-1990404162|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[12]+1804603682|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[13]-40341101|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[14]-1502002290|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[15]+1236535329|0,i=(i<<22|i>>>10)+r|0,a+=(i&s|r&~s)+n[1]-165796510|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[6]-1069501632|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[11]+643717713|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[0]-373897302|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[5]-701558691|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[10]+38016083|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[15]-660478335|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[4]-405537848|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[9]+568446438|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[14]-1019803690|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[3]-187363961|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[8]+1163531501|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[13]-1444681467|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[2]-51403784|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[7]+1735328473|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[12]-1926607734|0,i=(i<<20|i>>>12)+r|0,a+=(i^r^s)+n[5]-378558|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[8]-2022574463|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[11]+1839030562|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[14]-35309556|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[1]-1530992060|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[4]+1272893353|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[7]-155497632|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[10]-1094730640|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[13]+681279174|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[0]-358537222|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[3]-722521979|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[6]+76029189|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[9]-640364487|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[12]-421815835|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[15]+530742520|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[2]-995338651|0,i=(i<<23|i>>>9)+r|0,a+=(r^(i|~s))+n[0]-198630844|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[7]+1126891415|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[14]-1416354905|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[5]-57434055|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[12]+1700485571|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[3]-1894986606|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[10]-1051523|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[1]-2054922799|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[8]+1873313359|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[15]-30611744|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[6]-1560198380|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[13]+1309151649|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[4]-145523070|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[11]-1120210379|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[2]+718787259|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[9]-343485551|0,i=(i<<21|i>>>11)+r|0,t[0]=a+t[0]|0,t[1]=i+t[1]|0,t[2]=r+t[2]|0,t[3]=s+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Ii.stateIdentity),this}appendStr(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s;for(s=0;s<t.length;s+=1){if(r=t.charCodeAt(s),r<128)n[i++]=r;else if(r<2048)n[i++]=(r>>>6)+192,n[i++]=r&63|128;else if(r<55296||r>56319)n[i++]=(r>>>12)+224,n[i++]=r>>>6&63|128,n[i++]=r&63|128;else{if(r=(r-55296)*1024+(t.charCodeAt(++s)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[i++]=(r>>>18)+240,n[i++]=r>>>12&63|128,n[i++]=r>>>6&63|128,n[i++]=r&63|128}i>=64&&(this._dataLength+=64,Ii._md5cycle(this._state,a),i-=64,a[0]=a[16])}return this._bufferLength=i,this}appendAsciiStr(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s=0;for(;;){for(r=Math.min(t.length-s,64-i);r--;)n[i++]=t.charCodeAt(s++);if(i<64)break;this._dataLength+=64,Ii._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}appendByteArray(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s=0;for(;;){for(r=Math.min(t.length-s,64-i);r--;)n[i++]=t[s++];if(i<64)break;this._dataLength+=64,Ii._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}getState(){let t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){let n=t.buffer,a=t.state,i=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=a[0],i[1]=a[1],i[2]=a[2],i[3]=a[3],r=0;r<n.length;r+=1)this._buffer8[r]=n.charCodeAt(r)}end(t=!1){let n=this._bufferLength,a=this._buffer8,i=this._buffer32,r=(n>>2)+1;this._dataLength+=n;let s=this._dataLength*8;if(a[n]=128,a[n+1]=a[n+2]=a[n+3]=0,i.set(Ii.buffer32Identity.subarray(r),r),n>55&&(Ii._md5cycle(this._state,i),i.set(Ii.buffer32Identity)),s<=4294967295)i[14]=s;else{let l=s.toString(16).match(/(.*?)(.{0,8})$/);if(l===null)return;let c=parseInt(l[2],16),d=parseInt(l[1],16)||0;i[14]=c,i[15]=d}return Ii._md5cycle(this._state,i),t?this._state:Ii._hex(this._state)}};xr.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);xr.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);xr.hexChars="0123456789abcdef";xr.hexOut=[];xr.onePassHasher=new xr;if(xr.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Wy=(()=>{const t=class t extends YC{constructor(a,i){super(a.getServices(),Wr.MEDICATION_SCHEME,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Wr.MEDICATION_SCHEME),this.medicationSchemeApiService=_(nh),this.authServiceSelector=_(Ol),this.medicationSchemeStateSubject$=new Gr({status:Un.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(Dt(s=>dt(pe({},s),{schemes:s.schemes.map(l=>dt(pe({},l),{medications:l.medications.map((c,d)=>dt(pe({},c),{id:c.id??xr.hashStr(JSON.stringify(c)),index:d}))}))})))}fetchMedicationScheme(a=!0){return va(this,null,function*(){return N2e(this.getData(a),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Wr.MEDICATION_SCHEME_PAGE_STATE)??{filter:sl.ALL,view:0,date:{displayDate:new Date,startOfWeek:ni(new Date,this.fnsOptions),endOfWeek:Xg(new Date,this.fnsOptions)}}}setPageState(a){let i=this.getPageState(),r=pe(pe({},i),a);this.services.cacheDataStorage.set(Wr.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return va(this,null,function*(){let a=yield this.authServiceSelector.getInstance().resolveSsin();return ihe(this.medicationSchemeApiService.find(a).pipe(this.addIdToMedication()))})}setClientId(a){this.medicationSchemeApiService.setClientId(a)}};t.ɵfac=function(a){return new(a||t)(Ce(th),Ce(Ol))},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),PRe=(e,t)=>e.getEnvironmentVariable("env")===or.DEMO?t.get(jle):t.get(Ble),NRe={provide:nh,useFactory:PRe,deps:[Rs,ut]},Hle=(()=>{const t=class t{constructor(){this.renderer=_(ri),this.el=_(Oe),this.fieldErrors=null,this.medicationIndex=null}ngOnChanges(a){this.medicationIndex!=null&&Dle(this.fieldErrors,this.medicationIndex)?this.renderer.addClass(this.el.nativeElement,"error-row"):this.renderer.removeClass(this.el.nativeElement,"error-row")}};t.ɵfac=function(a){return new(a||t)},t.ɵdir=de({type:t,selectors:[["","highlightErrorRow",""]],inputs:{fieldErrors:"fieldErrors",medicationIndex:"medicationIndex"},features:[Yt]});let e=t;return e})(),LRe=["*"],FRe=(e,t,n,a,i)=>({"custom-content":e,circle:t,progress:n,"progress-dark":a,pulse:i});function VRe(e,t){e&1&&ke(0)}function zRe(e,t){if(e&1&&(D(0,"div",0),V(1,VRe,1,0),T()),e&2){let n=L(),a=Ov(0),i=Ov(1);N("ngClass",Ove(5,FRe,a==="custom-content",a==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",n.styles()),be("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),C(),W(a==="custom-content"?1:-1)}}var Ule=new Y("ngx-skeleton-loader.config"),uc=(()=>{var t;const n=class n{constructor(){T0(this,t);var i,r,s,l,c,d;O0(this,t,_(Ule,{optional:!0})),this.count=ne(((i=Rn(this,t))==null?void 0:i.count)||1,{transform:vn}),this.loadingText=ne(((r=Rn(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=ne(((s=Rn(this,t))==null?void 0:s.appearance)||"line"),this.animation=ne(((l=Rn(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ne(((c=Rn(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=ne(((d=Rn(this,t))==null?void 0:d.theme)||null),this.items=qt(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&$ve(),[...Array(u)].map((p,v)=>v)}),this.styles=qt(()=>{var p,v,g;let u=this.theme();return(v=(p=Rn(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?pe(pe({},(g=Rn(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(i){return new(i||n)},n.ɵcmp=X({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:LRe,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&&(st(),sg(0)(1),Ga(2,zRe,2,11,"div",0,Ni)),i&2&&(Tv(r.appearance()),C(),Tv(r.animation()),C(),$a(r.items()))},dependencies:[Ss,oE],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})(),hc=(()=>{const t=class t{static forRoot(a){return{ngModule:t,providers:[{provide:Ule,useValue:a}]}}};t.ɵfac=function(a){return new(a||t)},t.ɵmod=yt({type:t}),t.ɵinj=bt({imports:[dg]});let e=t;return e})(),BRe=(()=>{const t=class t{constructor(){this.creationDetails=_(zg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"dl")(5,"dt"),F(6),O(7,"translate"),T(),D(8,"dd"),F(9),T(),D(10,"dt"),F(11),O(12,"translate"),T(),D(13,"dd"),F(14),O(15,"date"),T(),D(16,"dt"),F(17),O(18,"translate"),T(),D(19,"dd"),F(20),O(21,"fullname"),T(),D(22,"dt"),F(23),O(24,"translate"),T(),D(25,"dd"),F(26),O(27,"translate"),O(28,"firstLetterUppercase"),T(),D(29,"dt"),F(30),O(31,"translate"),T(),D(32,"dd"),F(33),O(34,"translate"),T()()(),D(35,"mat-dialog-actions")(36,"button",1),F(37),O(38,"translate"),T()()),a&2&&(C(),Re(P(2,13,"medicationSchemeCreationDetails.title")),C(5),te("",P(7,15,"medicationSchemeCreationDetails.version"),":"),C(3),Re(i.creationDetails.version),C(2),te("",P(12,17,"medicationSchemeCreationDetails.updated"),":"),C(3),Re(wt(15,19,i.creationDetails.lastChange.date,"dd/MM/yyyy")),C(3),te("",P(18,22,"medicationSchemeCreationDetails.author"),":"),C(3),Re(P(21,24,i.creationDetails.lastChange==null?null:i.creationDetails.lastChange.author)),C(3),te("",P(24,26,"medicationSchemeCreationDetails.profession"),":"),C(2),be("translate","no"),C(),te(" ",P(28,30,P(27,28,"commons.roles."+i.creationDetails.lastChange.author.role.toLowerCase()))," "),C(4),te("",P(31,32,"medicationSchemeCreationDetails.source"),":"),C(3),Re(P(34,34,"commons.safes."+i.creationDetails.source.toLowerCase())),C(4),Re(P(38,36,"commons.close")))},dependencies:[Ku,Qu,Xu,Zu,Ka,Jn,Ct,Ds,dc,Qi],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),jRe=()=>({height:"47px",width:"50%",margin:"0px"});function HRe(e,t){e&1&&H(0,"ngx-skeleton-loader",0),e&2&&N("count",1)("theme",gn(2,jRe))}function URe(e,t){if(e&1&&(D(0,"dl")(1,"dt"),F(2),O(3,"translate"),T(),D(4,"dd"),F(5),T(),D(6,"dt"),F(7),O(8,"translate"),T(),D(9,"dd"),F(10),O(11,"date"),T(),D(12,"dt"),F(13),O(14,"translate"),T(),D(15,"dd"),F(16),O(17,"fullname"),O(18,"translate"),O(19,"firstLetterUppercase"),T(),D(20,"dt"),F(21),O(22,"translate"),T(),D(23,"dd"),F(24),O(25,"translate"),T()()),e&2){let n,a=L();C(2),te("",P(3,10,"medicationSchemeCreationDetails.version"),":"),C(3),Re(a.creationDetails().version),C(2),te("",P(8,12,"medicationSchemeCreationDetails.updated"),":"),C(3),Re(wt(11,14,a.creationDetails().lastChange.date,"dd/MM/yyyy, HH:mm")),C(3),te("",P(14,17,"medicationSchemeCreationDetails.updatedBy"),":"),C(2),be("translate","no"),C(),Gn(" ",P(17,19,(n=a.creationDetails().lastChange)==null?null:n.author),", ",P(19,23,P(18,21,"commons.roles."+a.creationDetails().lastChange.author.role.toLowerCase()))," "),C(5),te("",P(22,25,"medicationSchemeCreationDetails.source"),":"),C(3),Re(P(25,27,"commons.safes."+a.creationDetails().source.toLowerCase()))}}var WRe=(()=>{const t=class t{constructor(){this.matDialog=_(As),this.isLoading=ne.required(),this.creationDetails=ne.required()}openCreationDetails(){this.matDialog.open(BRe,{data:this.creationDetails()})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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"]],template:function(a,i){a&1&&V(0,HRe,1,3,"ngx-skeleton-loader",0)(1,URe,26,29,"dl"),a&2&&W(i.isLoading()?0:i.creationDetails()?1:-1)},dependencies:[Ka,Ct,hc,uc,dc,Qi,Ds],styles:["dl[_ngcontent-%COMP%]{display:flex}dt[_ngcontent-%COMP%]{color:#8f8f8f;margin-right:8px}dd[_ngcontent-%COMP%]{margin-right:20px;margin-inline-start:0}"],changeDetection:0});let e=t;return e})(),qRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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})(),GRe={passive:!0},$Re=(()=>{const t=class t{constructor(){o(this,"_platform",_(Zt));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_styleLoader",_(Ma));o(this,"_monitoredElements",new Map)}monitor(a){if(!this._platform.isBrowser)return zl;this._styleLoader.load(qRe);let i=Hn(a),r=this._monitoredElements.get(i);if(r)return r.subject;let s=new me,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"),Oa(this._renderer,i,"animationstart",c,GRe)));return this._monitoredElements.set(i,{subject:s,unlisten:d}),s}stopMonitoring(a){let i=Hn(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",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),YRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})(),ZRe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],KRe=new Y("MAT_INPUT_CONFIG"),QRe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_platform",_(Zt));o(this,"ngControl",_(kg,{optional:!0,self:!0}));o(this,"_autofillMonitor",_($Re));o(this,"_ngZone",_(Ne));o(this,"_formField",_(ic,{optional:!0}));o(this,"_renderer",_(ri));o(this,"_uid",_(ha).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",_(KRe,{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 me);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=>nb().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=_(Gu,{optional:!0}),i=_($u,{optional:!0}),r=_(Sg),s=_(dk,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?vl(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 Dg(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&&Fu(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(a){this._disabled=qo(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(Is.required))??!1}set required(a){this._required=qo(a)}get type(){return this._type}set type(a){let i=this._type;this._type=a||"text",this._validateType(),!this._isTextarea&&nb().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=qo(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(){ZRe.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",de({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&&(xn("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),we("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",fe]},exportAs:["matInput"],features:[lt([{provide:Yu,useExisting:t}]),Yt]}));let e=t;return e})(),XRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Sl,Sl,YRe,Vt]}));let e=t;return e})(),JRe=e=>({visibility:e});function eMe(e,t){if(e&1){let n=Et();D(0,"mat-form-field")(1,"input",8),xe("dateChange",function(a){Se(n);let i=L();return De(i.onChangeDate(a))}),T(),H(2,"mat-datepicker",null,0),T(),D(4,"a",9),O(5,"translate"),xe("click",function(){Se(n);let a=Ya(3);return De(a.open())}),F(6),O(7,"date"),O(8,"firstLetterUppercase"),H(9,"br"),F(10),O(11,"date"),O(12,"firstLetterUppercase"),T()}if(e&2){let n=Ya(3),a=L();Qn("height","0px")("width","0px"),C(),N("matDatepicker",n),C(3),be("aria-label",P(5,8,"medicationSchemeDateToggler.openCalendar")),C(2),te(" ",P(8,15,Yr(7,10,a.activeDate().displayDate,"EEEE",void 0,a.locale))," "),C(4),te(" ",P(12,22,Yr(11,17,a.activeDate().displayDate,"dd MMMM yyyy",void 0,a.locale))," ")}}function tMe(e,t){if(e&1&&(D(0,"span"),F(1),O(2,"date"),O(3,"date"),H(4,"br"),F(5),O(6,"date"),T()),e&2){let n=L(2);C(),Gn(" ",Yr(2,3,n.activeDate().startOfWeek,"dd",void 0,n.locale)," - ",Yr(3,8,n.activeDate().endOfWeek,"dd",void 0,n.locale)," "),C(4),te(" ",Yr(6,13,n.activeDate().endOfWeek,"MMMM y",void 0,n.locale)," ")}}function aMe(e,t){if(e&1&&(F(0),O(1,"date"),H(2,"br"),F(3," - "),H(4,"br"),F(5),O(6,"date")),e&2){let n=L(2);te(" ",Yr(1,2,n.activeDate().startOfWeek,"dd MMMM y",void 0,n.locale)," "),C(5),te(" ",Yr(6,7,n.activeDate().endOfWeek,"dd MMMM y",void 0,n.locale)," ")}}function iMe(e,t){if(e&1){let n=Et();D(0,"mat-form-field")(1,"mat-date-range-input",10)(2,"input",11),xe("dateChange",function(a){Se(n);let i=L();return De(i.onChangeDate(a))}),T(),H(3,"input",12),T(),H(4,"mat-date-range-picker",null,0),T(),D(6,"a",9),O(7,"translate"),xe("click",function(){Se(n);let a=Ya(5);return De(a.open())}),V(8,tMe,7,18,"span")(9,aMe,7,12),T()}if(e&2){let n=Ya(5),a=L();Qn("height","0px")("width","0px"),C(),N("rangePicker",n),C(),N("value",a.activeDate().startOfWeek),C(),N("value",a.activeDate().endOfWeek),C(3),be("aria-label",P(7,9,"medicationSchemeDateToggler.openCalendar")),C(2),W(a.activeDate().startOfWeek.getFullYear()===a.activeDate().endOfWeek.getFullYear()?8:9)}}var nMe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.dateAdapter=_(Ia),this.destroyRef=_(xi),this.activeDate=Es.required(),this.fnsOptions={weekStartsOn:1},this.views=ja}ngOnInit(){this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(this.translate.currentLang),this.translate.onLangChange.pipe(cc(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 ja.DAY:this.activeDate().displayDate=a0(this.activeDate().displayDate);break;case ja.WEEK:this.activeDate().displayDate=f2e(this.activeDate().displayDate);break}this.emitDateChange()}onToggleNext(){switch(this.activeDate().view){case ja.DAY:this.activeDate().displayDate=Ki(this.activeDate().displayDate,1);break;case ja.WEEK:this.activeDate().displayDate=Kg(this.activeDate().displayDate,1);break}this.emitDateChange()}onSetCurrent(){this.activeDate().displayDate=It(new Date),this.emitDateChange()}isDisplayDateToday(a){return m2e(new Date(a))}isDisplayDateThisWeek(a){return p2e(new Date(a),this.fnsOptions)}emitDateChange(){this.activeDate.set(dt(pe({},this.activeDate()),{startOfWeek:ni(this.activeDate().displayDate,this.fnsOptions),endOfWeek:Xg(this.activeDate().displayDate,this.fnsOptions)}))}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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),O(3,"translate"),xe("click",function(){return i.onTogglePrevious()}),H(4,"mat-icon",4),T(),D(5,"div"),V(6,eMe,13,24)(7,iMe,10,11),T(),D(8,"button",3),O(9,"translate"),xe("click",function(){return i.onToggleNext()}),H(10,"mat-icon",5),T()(),D(11,"a",6),O(12,"translate"),xe("click",function(){return i.onSetCurrent()}),H(13,"mat-icon",7),F(14),O(15,"translate"),T()()),a&2&&(C(2),be("aria-label",P(3,6,"medicationSchemeDateToggler.previous"+i.activeDate().view)),C(4),W(i.activeDate().view===i.views.DAY?6:7),C(2),be("aria-label",P(9,8,"medicationSchemeDateToggler.next"+i.activeDate().view)),C(3),N("ngStyle",ii(14,JRe,i.isDisplayDateToday(i.activeDate().displayDate)&&i.isDisplayDateThisWeek(i.activeDate().displayDate)?"hidden":"visible")),be("aria-label",P(12,10,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))),C(3),te(" ",P(15,12,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))," "))},dependencies:[Bwe,Sl,pk,XRe,QRe,_xe,cxe,Tg,Ek,vxe,bxe,yxe,Ka,C_e,ec,_o,Vi,Ct,Qi,Ds,oE],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})(),rMe=[[["caption"]],[["colgroup"],["col"]],"*"],oMe=["caption","colgroup, col","*"];function sMe(e,t){e&1&&ke(0,2)}function lMe(e,t){e&1&&(D(0,"thead",0),Ca(1,1),T(),D(2,"tbody",0),Ca(3,2)(4,3),T(),D(5,"tfoot",0),Ca(6,4),T())}function cMe(e,t){e&1&&Ca(0,1)(1,2)(2,3)(3,4)}var wn=new Y("CDK_TABLE"),jm=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),Hm=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),dMe=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Al=(()=>{const t=class t{constructor(){o(this,"_table",_(wn,{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",de({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,jm,5),mt(r,Hm,5),mt(r,dMe,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",fe],stickyEnd:[2,"stickyEnd","stickyEnd",fe]},features:[lt([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),Wle=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},uMe=(()=>{const t=class t extends Wle{constructor(){super(_(Al),_(Oe))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ze]}));let e=t;return e})(),hMe=(()=>{const t=class t extends Wle{constructor(){var s;let a=_(Al),i=_(Oe);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",de({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[ze]}));let e=t;return e})(),qy=class{constructor(){o(this,"tasks",[]);o(this,"endTasks",[])}},Um=new Y("_COALESCED_STYLE_SCHEDULER"),qle=(()=>{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 qy,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let a=this._currentSchedule;this._currentSchedule=new qy;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",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),c0=(()=>{const t=class t{constructor(){o(this,"template",_(ya));o(this,"_differs",_(Cs));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 iu?a.headerCell.template:this instanceof Gle?a.footerCell.template:a.cell.template}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,features:[Yt]}));let e=t;return e})(),iu=(()=>{const t=class t extends c0{constructor(){super(_(ya),_(Cs));o(this,"_table",_(wn,{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",de({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",fe]},features:[ze,Yt]}));let e=t;return e})(),Gle=(()=>{const t=class t extends c0{constructor(){super(_(ya),_(Cs));o(this,"_table",_(wn,{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",de({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",fe]},features:[ze,Yt]}));let e=t;return e})(),Wm=(()=>{const t=class t extends c0{constructor(){super(_(ya),_(Cs));o(this,"_table",_(wn,{optional:!0}));o(this,"when")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[ze]}));let e=t;return e})(),ls=(()=>{const t=class t{constructor(){o(this,"_viewContainer",_(oi));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",de({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),Gy=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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&&Ca(0,0)},dependencies:[ls],encapsulation:2}));let e=t;return e})(),$y=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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&&Ca(0,0)},dependencies:[ls],encapsulation:2}));let e=t;return e})(),pMe=(()=>{const t=class t{constructor(){o(this,"templateRef",_(ya));o(this,"_contentClassName","cdk-no-data-row")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),Yy=["top","bottom","left","right"],mMe=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 E,S;if(!e.length||!this._isBrowser||!(t.some(A=>A)||n.some(A=>A))){(E=this._positionListener)==null||E.stickyColumnsUpdated({sizes:[]}),(S=this._positionListener)==null||S.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),v,g,w;i&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...n]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(r,a),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,n)},write:()=>{for(let A of e)for(let B=0;B<s;B++){let j=A.children[B];t[B]&&this._addStickyStyle(j,c,g[B],B===u),n[B]&&this._addStickyStyle(j,d,w[B],B===p)}this._positionListener&&v.some(A=>!!A)&&(this._positionListener.stickyColumnsUpdated({sizes:u===-1?[]:v.slice(0,u+1).map((A,B)=>t[B]?A:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:p===-1?[]:v.slice(p).map((A,B)=>n[B+p]?A: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 v=r[p],g=p===c;for(let w of l[p])this._addStickyStyle(w,n,v,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]);Yy.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 Yy)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)&&fMe(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?qn(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function fMe(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var qm=new Y("CDK_SPL"),$le=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._rowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),Yle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._headerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),Zle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._footerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),Kle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._noDataRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),Zy=(()=>{const t=class t{constructor(){o(this,"_differs",_(Cs));o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_dir",_(La,{optional:!0}));o(this,"_platform",_(Zt));o(this,"_viewRepeater",_(mm));o(this,"_coalescedStyleScheduler",_(Um));o(this,"_viewportRuler",_(Xl));o(this,"_stickyPositioningListener",_(qm,{optional:!0,skipSelf:!0}));o(this,"_document",_(it));o(this,"_data");o(this,"_onDestroy",new me);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 ie);o(this,"viewChange",new Gr({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",_(ut));_(new bs("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(Ht(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(),Bh(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===rl.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=Ky(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=Ky(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(),Jc(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(a=>{this._columnDefsByName.has(a.name),this._columnDefsByName.set(a.name,a)})}_cacheRowDefs(){this._headerRowDefs=Jc(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Jc(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Jc(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=[],Bh(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;Bh(this.dataSource)?a=this.dataSource.connect(this):jo(this.dataSource)?a=this.dataSource:Array.isArray(this.dataSource)&&(a=vt(this.dataSource)),this._renderChangeSubscription=a.pipe(Ht(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))ls.mostRecentCellOutlet&&ls.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 mMe(this._isNativeHtmlTable,this.stickyCssClass,a,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:vt()).pipe(Ht(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",X({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,pMe,5),mt(r,Al,5),mt(r,Wm,5),mt(r,iu,5),mt(r,Gle,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&&we("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",fe],fixedLayout:[2,"fixedLayout","fixedLayout",fe]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[lt([{provide:wn,useExisting:t},{provide:mm,useClass:lC},{provide:Um,useClass:qle},{provide:qm,useValue:null}])],ngContentSelectors:oMe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,i){a&1&&(st(rMe),ke(0),ke(1,1),V(2,sMe,1,0)(3,lMe,7,0)(4,cMe,4,0)),a&2&&(C(2),W(i._isServer?2:-1),C(),W(i._isNativeHtmlTable?3:4))},dependencies:[Yle,$le,Kle,Zle],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
64
|
+
`],encapsulation:2}));let e=t;return e})();function Jc(e,t){return e.concat(Array.from(t))}function Ky(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 gMe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[fm]}));let e=t;return e})(),vMe=[[["caption"]],[["colgroup"],["col"]],"*"],bMe=["caption","colgroup, col","*"];function yMe(e,t){e&1&&ke(0,2)}function _Me(e,t){e&1&&(D(0,"thead",0),Ca(1,1),T(),D(2,"tbody",2),Ca(3,3)(4,4),T(),D(5,"tfoot",0),Ca(6,5),T())}function xMe(e,t){e&1&&Ca(0,1)(1,3)(2,4)(3,5)}var Qle=(()=>{const t=class t extends Zy{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=tt(t)))(r||t)}})()),o(t,"ɵcmp",X({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&&we("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[lt([{provide:Zy,useExisting:t},{provide:wn,useExisting:t},{provide:Um,useClass:qle},{provide:mm,useClass:lC},{provide:qm,useValue:null}]),ze],ngContentSelectors:bMe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(st(vMe),ke(0),ke(1,1),V(2,yMe,1,0)(3,_Me,7,0)(4,xMe,4,0)),i&2&&(C(2),W(r._isServer?2:-1),C(),W(r._isNativeHtmlTable?3:4))},dependencies:[Yle,$le,Kle,Zle],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})(),Xle=(()=>{const t=class t extends jm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matCellDef",""]],features:[lt([{provide:jm,useExisting:t}]),ze]}));let e=t;return e})(),Jle=(()=>{const t=class t extends Hm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matHeaderCellDef",""]],features:[lt([{provide:Hm,useExisting:t}]),ze]}));let e=t;return e})(),ece=(()=>{const t=class t extends Al{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=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[lt([{provide:Al,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ze]}));let e=t;return e})(),tce=(()=>{const t=class t extends uMe{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({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})(),ace=(()=>{const t=class t extends hMe{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[ze]}));let e=t;return e})(),ice=(()=>{const t=class t extends iu{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",fe]},features:[lt([{provide:iu,useExisting:t}]),ze]}));let e=t;return e})(),nce=(()=>{const t=class t extends Wm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[lt([{provide:Wm,useExisting:t}]),ze]}));let e=t;return e})(),rce=(()=>{const t=class t extends Gy{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({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:[lt([{provide:Gy,useExisting:t}]),ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Ca(0,0)},dependencies:[ls],encapsulation:2}));let e=t;return e})(),oce=(()=>{const t=class t extends $y{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[lt([{provide:$y,useExisting:t}]),ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Ca(0,0)},dependencies:[ls],encapsulation:2}));let e=t;return e})(),sce=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,gMe,Vt]}));let e=t;return e})(),wMe=9007199254740991,lce=class extends Wye{constructor(t=[]){super();o(this,"_data");o(this,"_renderData",new Gr([]));o(this,"_filter",new Gr(""));o(this,"_internalPageChanges",new me);o(this,"_renderChangesSubscription",null);o(this,"filteredData");o(this,"_sort");o(this,"_paginator");o(this,"sortingDataAccessor",(t,n)=>{let a=t[n];if(pE(a)){let i=Number(a);return i<wMe?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 Gr(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?ba(this._sort.sortChange,this._sort.initialized):vt(null),n=this._paginator?ba(this._paginator.page,this._internalPageChanges,this._paginator.initialized):vt(null),a=this._data,i=id([a,this._filter]).pipe(Dt(([c])=>this._filterData(c))),r=id([i,t]).pipe(Dt(([c])=>this._orderData(c))),s=id([r,n]).pipe(Dt(([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}},EMe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],kMe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function CMe(e,t){e&1&&(D(0,"span",3),ke(1,1),T())}function SMe(e,t){e&1&&(D(0,"span",6),ke(1,2),T())}var DMe=["*"],Qy=new Y("MatChipAvatar"),Xy=new Y("MatChipTrailingIcon"),Jy=new Y("MatChipRemove"),cce=new Y("MatChip"),e_=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_parentChip",_(cce));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);_(Ma).load(Xn),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",de({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),we("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",fe],tabIndex:[2,"tabIndex","tabIndex",a=>a==null?-1:vn(a)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),rh=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_ngZone",_(Ne));o(this,"_focusMonitor",_(go));o(this,"_globalRippleOptions",_(vg,{optional:!0}));o(this,"_document",_(it));o(this,"_onFocus",new me);o(this,"_onBlur",new me);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",_(ha).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 ie);o(this,"destroyed",new ie);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",_(FE));o(this,"_injector",_(ut));var r;let a=_(Ma);a.load(Xn),a.load(vo);let i=_(Ra,{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=ba(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",X({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,Qy,5),mt(r,Xy,5),mt(r,Jy,5),mt(r,Qy,5),mt(r,Xy,5),mt(r,Jy,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&&$e(e_,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&&(xn("id",i.id),be("role",i.role)("aria-label",i.ariaLabel),Pi("mat-"+(i.color||"primary")),we("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",fe],highlighted:[2,"highlighted","highlighted",fe],disableRipple:[2,"disableRipple","disableRipple",fe],disabled:[2,"disabled","disabled",fe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[lt([{provide:cce,useExisting:t}])],ngContentSelectors:kMe,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&&(st(EMe),H(0,"span",0),D(1,"span",1)(2,"span",2),V(3,CMe,2,0,"span",3),D(4,"span",4),ke(5),H(6,"span",5),T()()(),V(7,SMe,2,0,"span",6)),a&2&&(C(2),N("isInteractive",!1),C(),W(i.leadingIcon?3:-1),C(4),W(i._hasTrailingIcon()?7:-1))},dependencies:[e_],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})(),dce=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_changeDetectorRef",_(kt));o(this,"_dir",_(La,{optional:!0}));o(this,"_lastDestroyedFocusedChipIndex",null);o(this,"_keyManager");o(this,"_destroyed",new me);o(this,"_defaultRole","presentation");o(this,"_disabled",!1);o(this,"tabIndex",0);o(this,"_explicitRole",null);o(this,"_chips");o(this,"_chipActions",new ts)}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(Aa(null),gr(()=>ba(...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(Aa(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 pg(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(Ht(this._destroyed)).subscribe(({chip:i})=>{let r=i._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(a=this._dir)==null||a.change.pipe(Ht(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(a){return!a.isInteractive||a.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Aa(null),Ht(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Ht(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",X({type:t,selectors:[["mat-chip-set"]],contentQueries:function(a,i,r){if(a&1&&mt(r,rh,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",fe],role:"role",tabIndex:[2,"tabIndex","tabIndex",a=>a==null?0:vn(a)]},ngContentSelectors:DMe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a,i){a&1&&(st(),D(0,"div",0),ke(1),T())},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 IMe(e,t){if(e&1&&(F(0),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"date")),e&2){let n=L();Gn(" ",P(2,4,P(1,2,"medicationSchemeListView.remarks.suspension")),": ",wt(3,6,n.lastDay,"dd/MM")," ")}}function TMe(e,t){if(e&1&&(F(0),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"date")),e&2){let n=L();Gn(" ",P(2,4,P(1,2,"medicationSchemeListView.remarks.end")),": ",wt(3,6,n.lastIngestionDay,"dd/MM")," ")}}function OMe(e,t){if(e&1&&(D(0,"mat-chip",0),V(1,IMe,4,9),O(2,"suspensionType"),V(3,TMe,4,9),T()),e&2){let n=L();N("disableRipple",!0),C(),W(wt(2,2,n.item().medication,t.lastIngestionDay)==="temporary"?1:3)}}function AMe(e,t){e&1&&(F(0),O(1,"translate"),O(2,"firstLetterUppercase")),e&2&&te(" ",P(2,3,P(1,1,"medicationSchemeListView.remarks.lastDayTemporary"))," ")}function RMe(e,t){e&1&&(F(0),O(1,"translate"),O(2,"firstLetterUppercase")),e&2&&te(" ",P(2,3,P(1,1,"medicationSchemeListView.remarks.lastDayDefinitive"))," ")}function MMe(e,t){if(e&1&&(D(0,"mat-chip",0),V(1,AMe,3,5),O(2,"suspensionType"),V(3,RMe,3,5),T()),e&2){let n=L();N("disableRipple",!0),C(),W(wt(2,2,n.item().medication,n.dateInfo().displayDate)==="temporary"?1:3)}}var d0=(()=>{const t=class t{constructor(){this.dateInfo=ne.required(),this.item=ne.required(),this.isTemporalityOneshot=ne(!1),this.isIfNeededActiveTab=ne(!1),this.views=ja}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-remark-flag"]],inputs:{dateInfo:[1,"dateInfo"],item:[1,"item"],isTemporalityOneshot:[1,"isTemporalityOneshot"],isIfNeededActiveTab:[1,"isIfNeededActiveTab"]},decls:4,vars:8,consts:[[1,"mh-black","mh-no-overlay",3,"disableRipple"]],template:function(a,i){if(a&1&&(V(0,OMe,4,5,"mat-chip",0),O(1,"lastIngestionPeriod"),O(2,"isLastIngestionDay"),V(3,MMe,4,5,"mat-chip",0)),a&2){let r;W((r=i.dateInfo().view===i.views.WEEK&&!i.isIfNeededActiveTab()&&br(1,1,i.item(),i.dateInfo().startOfWeek,i.dateInfo().endOfWeek))?0:i.dateInfo().view===i.views.DAY&&!i.isIfNeededActiveTab()&&wt(2,5,i.item(),i.dateInfo().displayDate)?3:-1,r)}},dependencies:[rh,Ct,kOe,EOe,Qi,DOe,Ds],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})(),PMe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content"),F(4),O(5,"translate"),T(),D(6,"mat-dialog-actions")(7,"button",1),F(8),O(9,"translate"),T()()),a&2&&(C(),Re(P(2,3,"medicationSchemeListView.toPlan")),C(3),te(" ",P(5,5,"medicationSchemeListView.atYourConvenienceText"),`
|
|
68
|
+
`),C(4),Re(P(9,7,"commons.close")))},dependencies:[Ku,Qu,Xu,Zu,Ka,Jn,Ct],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})();function NMe(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"commons.periodicities."+t)," ")}function LMe(e,t){e&1&&(F(0),O(1,"translate"),O(2,"firstLetterUppercase")),e&2&&te(" ",P(2,3,P(1,1,"commons.period."+t))," ")}function FMe(e,t){if(e&1){let n=Et();D(0,"div",0),F(1),O(2,"translate"),D(3,"button",1),O(4,"translate"),xe("click",function(){Se(n);let a=L();return De(a.openToPlanInfo())}),H(5,"mat-icon",2),T()(),D(6,"strong"),V(7,NMe,2,3)(8,LMe,3,5),T()}if(e&2){let n,a,i=L();C(),te(" ",P(2,4,"medicationSchemeListView.toPlan")," "),C(2),be("aria-label",P(4,6,"medicationSchemeDateToggler.moreInformations")),C(4),W((n=(n=i.item().medication.frequency)==null?null:n.periodicity)?7:-1,n),C(),W((a=(a=i.item().posology)==null||a.daytime==null?null:a.daytime.dayPeriod)?8:-1,a)}}function VMe(e,t){if(e&1&&(F(0),O(1,"posologyDayTime"),O(2,"firstLetterUppercase")),e&2){let n=L();te(" ",P(2,3,P(1,1,n.item().posology)),`
|
|
69
|
+
`)}}var uce=(()=>{const t=class t{constructor(){this.dialog=_(As),this.item=ne.required(),this.dayParts=gt}openToPlanInfo(){this.dialog.open(PMe)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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,FMe,9,8)(1,VMe,3,5),a&2&&W(i.item().posology.dayPart===i.dayParts.TO_PLAN?0:1)},dependencies:[Ka,ec,Vi,Ct,Qi,COe],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})(),zMe=()=>["error","moment","noData"],BMe=()=>["expandDetails"],jMe=e=>({count:e}),HMe=()=>({height:"47px",margin:"0px"});function UMe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.moment")," "))}function WMe(e,t){if(e&1&&(D(0,"td",23),F(1),O(2,"translate"),T()),e&2){let n=t.$implicit;C(),te(" ",P(2,1,"medicationSchemeMoments."+n.posology.dayPart)," ")}}function qMe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.medication")," "))}function GMe(e,t){if(e&1){let n=Et();D(0,"td",23)(1,"vidis-table-detail-button",24),Cr("expandedElementChange",function(a){Se(n);let i=L();return mo(i.expandedElement,a)||(i.expandedElement=a),De(a)}),D(2,"span",25),F(3),O(4,"translateValue"),O(5,"firstLetterUppercase"),T()()()}if(e&2){let n=t.$implicit,a=L();C(),N("item",n),kr("expandedElement",a.expandedElement),C(2),Re(P(5,5,P(4,3,n.medication.name)))}}function $Me(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.dose")," "))}function YMe(e,t){e&1&&(D(0,"div",26),F(1),O(2,"translateValue"),T()),e&2&&(C(),Re(P(2,1,t)))}function ZMe(e,t){if(e&1&&(F(0),O(1,"translate")),e&2){let n=L();te(" ",wt(1,1,"commons.administrationUnits."+n.unit,ii(4,jMe,n.value))," ")}}function KMe(e,t){if(e&1&&(F(0),O(1,"quantity"),V(2,ZMe,2,6)),e&2){let n=t;te(" ",P(1,2,n.value)," "),C(2),W(n.unit?2:-1)}}function QMe(e,t){if(e&1&&(D(0,"td",23),V(1,YMe,3,3,"div",26)(2,KMe,3,4),T()),e&2){let n,a,i=t.$implicit;C(),W((n=i.posology.text)?1:-1,n),C(),W((a=i.posology.quantity)?2:-1,a)}}function XMe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.dayperiod")," "))}function JMe(e,t){if(e&1&&(D(0,"td",23),H(1,"vidis-medication-scheme-day-part",27),T()),e&2){let n=t.$implicit;C(),N("item",n)}}function ePe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.remark")," "))}function tPe(e,t){if(e&1&&(D(0,"td",23),H(1,"vidis-medication-scheme-remark-flag",28),T()),e&2){let n=t.$implicit,a=L();C(),N("item",n)("dateInfo",a.dateInfo())}}function aPe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.days")," "))}function iPe(e,t){e&1&&(D(0,"span"),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.days.allDays")," "))}function nPe(e,t){e&1&&F(0," , ")}function rPe(e,t){if(e&1&&(F(0),O(1,"weekdayName"),O(2,"translate"),O(3,"firstLetterUppercase"),V(4,nPe,1,0)),e&2){let n=t.$implicit,a=t.$index,i=t.$count;te(" ",P(3,6,P(2,4,"medicationSchemeListView.days."+P(1,2,n)))," "),C(4),W(a!==i-1?4:-1)}}function oPe(e,t){if(e&1&&(D(0,"span",29),Ga(1,rPe,5,8,null,null,Ni),T()),e&2){let n=L().$implicit,a=L();be("aria-label",a.getAriaLabel(n.dates)),C(),$a(n.dates)}}function sPe(e,t){if(e&1&&(D(0,"td",23),V(1,iPe,3,3,"span")(2,oPe,3,1,"span",29),T()),e&2){let n=t.$implicit;Qn("white-space","nowrap"),C(),W(n.dates.length===7?1:n.dates.length<7?2:-1)}}function lPe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.startCondition")," "))}function cPe(e,t){if(e&1&&(D(0,"td",23),F(1),T()),e&2){let n=t.$implicit;C(),te(" ",n.medication.treatmentStartCondition," ")}}function dPe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.instructions")," "))}function uPe(e,t){if(e&1&&(D(0,"td",23),F(1),O(2,"translateValue"),T()),e&2){let n=t.$implicit;C(),te(" ",P(2,1,n.medication.instructions)," ")}}function hPe(e,t){e&1&&(D(0,"th",22),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.leaflet")," "))}function pPe(e,t){e&1&&(D(0,"a",30),O(1,"translateValue"),O(2,"translate"),H(3,"mat-icon",31),T()),e&2&&(N("href",P(1,2,t),Bf),be("aria-label",P(2,4,"medicationSchemeListView.headers.leaflet")))}function mPe(e,t){if(e&1&&(D(0,"td",23),V(1,pPe,4,6,"a",30),T()),e&2){let n,a=t.$implicit;C(),W((n=a.medication.leaflet)?1:-1,n)}}function fPe(e,t){e&1&&H(0,"th",22)}function gPe(e,t){if(e&1&&(D(0,"td",23),H(1,"mat-icon",32),T()),e&2){let n=t.$implicit,a=L();C(),N("fieldErrors",a.fieldErrors())("medicationIndex",n==null||n.medication==null?null:n.medication.index)}}function vPe(e,t){if(e&1&&(D(0,"td",33)(1,"div",34),H(2,"vidis-medication-scheme-details-row",35),T()()),e&2){let n=t.$implicit,a=L();we("mh-detail-row--expanded",n===a.expandedElement()),N("colSpan",a.columns().length),C(2),N("medication",n.medication)("fieldErrors",a.fieldErrors())}}function bPe(e,t){if(e&1&&(D(0,"td",23),F(1,"/"),T()),e&2){let n=L();be("colspan",n.columns().length-1)}}function yPe(e,t){e&1&&H(0,"tr",36)}function _Pe(e,t){if(e&1&&H(0,"tr",37),e&2){let n=t.$implicit,a=L();N("hidden",a.isLoading())("fieldErrors",a.fieldErrors())("medicationIndex",n.medication.index)}}function xPe(e,t){if(e&1&&H(0,"tr",38),e&2){let n=L();N("hidden",n.isLoading())}}function wPe(e,t){if(e&1&&H(0,"tr",39),e&2){let n=L();N("hidden",n.isLoading())}}function EPe(e,t){if(e&1&&H(0,"ngx-skeleton-loader",21),e&2){let n=L();N("count",n.dataSource().data.length<=0?3:n.dataSource.data.length>n.data.pagination.pageSize?n.data.pagination.pageSize:n.dataSource.data.length)("theme",gn(2,HMe))}}var kPe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.isLoading=ne.required(),this.dateInfo=ne.required(),this.items=ne.required(),this.fieldErrors=ne.required(),this.dataSource=qt(()=>new lce(this.items())),this.columns=qt(()=>this.dateInfo().view===ja.WEEK?["error","moment","medication","dose","dayperiod","days","remark","leaflet"]:["error","moment","medication","dose","dayperiod","remark","leaflet"]),this.expandedElement=ai(null),this.hasMedication=(a,i)=>i.medication,this.hasNoMedication=(a,i)=>!i.medication}getAriaLabel(a){let i=[ta.MONDAY,ta.TUESDAY,ta.WEDNESDAY,ta.THURSDAY,ta.FRIDAY,ta.SATURDAY,ta.SUNDAY],r=a.map(s=>i[_r(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=X({type:t,selectors:[["vidis-medication-scheme-desktop"]],inputs:{isLoading:[1,"isLoading"],dateInfo:[1,"dateInfo"],items:[1,"items"],fieldErrors:[1,"fieldErrors"]},decls:41,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","error"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["matColumnDef","noData"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","highlightErrorRow","",3,"hidden","fieldErrors","medicationIndex",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["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"],["fontIcon","warning","highlightErrorRow","",1,"warning-icon",3,"fieldErrors","medicationIndex"],["mat-cell","",3,"colSpan"],[1,"details"],[3,"medication","fieldErrors"],["mat-header-row",""],["mat-row","","highlightErrorRow","",3,"hidden","fieldErrors","medicationIndex"],["mat-row","",3,"hidden"],["mat-row","",1,"mh-detail-row",3,"hidden"]],template:function(a,i){a&1&&(D(0,"table",0),O(1,"translate"),Jt(2,1),V(3,UMe,3,3,"th",2)(4,WMe,3,3,"td",3),ea(),Jt(5,4),V(6,qMe,3,3,"th",2)(7,GMe,6,7,"td",3),ea(),Jt(8,5),V(9,$Me,3,3,"th",2)(10,QMe,3,2,"td",3),ea(),Jt(11,6),V(12,XMe,3,3,"th",2)(13,JMe,2,1,"td",3),ea(),Jt(14,7),V(15,ePe,3,3,"th",2)(16,tPe,2,2,"td",3),ea(),Jt(17,8),V(18,aPe,3,3,"th",2)(19,sPe,3,3,"td",9),ea(),Jt(20,10),V(21,lPe,3,3,"th",2)(22,cPe,2,1,"td",3),ea(),Jt(23,11),V(24,dPe,3,3,"th",2)(25,uPe,3,3,"td",3),ea(),Jt(26,12),V(27,hPe,3,3,"th",2)(28,mPe,2,1,"td",3),ea(),Jt(29,13),V(30,fPe,1,0,"th",2)(31,gPe,2,2,"td",3),ea(),Jt(32,14),V(33,vPe,3,5,"td",15),ea(),Jt(34,16),V(35,bPe,2,1,"td",3),ea(),V(36,yPe,1,0,"tr",17)(37,_Pe,1,3,"tr",18)(38,xPe,1,1,"tr",19)(39,wPe,1,1,"tr",20),T(),V(40,EPe,1,3,"ngx-skeleton-loader",21)),a&2&&(N("dataSource",i.dataSource()),be("aria-label",P(1,10,"medicationSchemeDateToggler."+i.dateInfo().view)),C(36),N("matHeaderRowDef",i.columns()),C(),N("matRowDefColumns",i.columns())("matRowDefWhen",i.hasMedication),C(),N("matRowDefColumns",gn(12,zMe))("matRowDefWhen",i.hasNoMedication),C(),N("matRowDefColumns",gn(13,BMe))("matRowDefWhen",i.hasMedication),C(),W(i.isLoading()?40:-1))},dependencies:[sce,Qle,Jle,ice,ece,Xle,nce,tce,ace,rce,oce,Ka,w_e,_o,Vi,Ct,d0,uce,zle,Fle,Ms,Qi,o0,XTe,Hle],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}.warning-icon[_ngcontent-%COMP%]{visibility:hidden}.warning-icon.error-row[_ngcontent-%COMP%]{color:#c41c0d;visibility:visible}.error-row[_ngcontent-%COMP%]{background-color:#ffdad6!important}.mat-column-error[_ngcontent-%COMP%]{width:6px;padding:0}"],changeDetection:0});let e=t;return e})(),Gm=new Y("CdkAccordion"),CPe=(()=>{const t=class t{constructor(){o(this,"_stateChanges",new me);o(this,"_openCloseAllActions",new me);o(this,"id",_(ha).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",de({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",fe]},exportAs:["cdkAccordion"],features:[lt([{provide:Gm,useExisting:t}]),Yt]}));let e=t;return e})(),SPe=(()=>{const t=class t{constructor(){o(this,"accordion",_(Gm,{optional:!0,skipSelf:!0}));o(this,"_changeDetectorRef",_(kt));o(this,"_expansionDispatcher",_(sC));o(this,"_openCloseAllSubscription",Ye.EMPTY);o(this,"closed",new ie);o(this,"opened",new ie);o(this,"destroyed",new ie);o(this,"expandedChange",new ie);o(this,"id",_(ha).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",de({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",fe],disabled:[2,"disabled","disabled",fe]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[lt([{provide:Gm,useValue:void 0}])]}));let e=t;return e})(),DPe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})(),IPe=["body"],TPe=["bodyWrapper"],OPe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],APe=["mat-expansion-panel-header","*","mat-action-row"];function RPe(e,t){}var MPe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],PPe=["mat-panel-title","mat-panel-description","*"];function NPe(e,t){e&1&&(D(0,"span",1),fr(),D(1,"svg",2),H(2,"path",3),T()())}var $m=new Y("MAT_ACCORDION"),hce=new Y("MAT_EXPANSION_PANEL"),LPe=(()=>{const t=class t{constructor(){o(this,"_template",_(ya));o(this,"_expansionPanel",_(hce,{optional:!0}))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}));let e=t;return e})(),pce=new Y("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),u0=(()=>{const t=class t extends SPe{constructor(){super();o(this,"_viewContainerRef",_(oi));o(this,"_animationsDisabled",_(Ra,{optional:!0})==="NoopAnimations");o(this,"_document",_(it));o(this,"_ngZone",_(Ne));o(this,"_elementRef",_(Oe));o(this,"_renderer",_(ri));o(this,"_cleanupTransitionEnd");o(this,"_hideToggle",!1);o(this,"_togglePosition");o(this,"afterExpand",new ie);o(this,"afterCollapse",new ie);o(this,"_inputChanges",new me);o(this,"accordion",_($m,{optional:!0,skipSelf:!0}));o(this,"_lazyContent");o(this,"_body");o(this,"_bodyWrapper");o(this,"_portal");o(this,"_headerId",_(ha).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=_(pce,{optional:!0});this._expansionDispatcher=_(sC),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(Aa(null),la(()=>this.expanded&&!this._portal),ei(1)).subscribe(()=>{this._portal=new bo(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",X({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,s){if(i&1&&mt(s,LPe,5),i&2){let l;ye(l=_e())&&(r._lazyContent=l.first)}},viewQuery:function(i,r){if(i&1&&($e(IPe,5),$e(TPe,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&&we("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",fe],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[lt([{provide:$m,useValue:void 0},{provide:hce,useExisting:t}]),ze,Yt],ngContentSelectors:APe,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&&(st(OPe),ke(0),D(1,"div",2,0)(3,"div",3,1)(5,"div",4),ke(6,1),V(7,RPe,0,0,"ng-template",5),T(),ke(8,2),T()()),i&2&&(C(),be("inert",r.expanded?null:""),C(2),N("id",r.id),be("aria-labelledby",r._headerId),C(4),N("cdkPortalOutlet",r._portal))},dependencies:[bn],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})(),h0=(()=>{const t=class t{constructor(){o(this,"panel",_(u0,{host:!0}));o(this,"_element",_(Oe));o(this,"_focusMonitor",_(go));o(this,"_changeDetectorRef",_(kt));o(this,"_parentChangeSubscription",Ye.EMPTY);o(this,"expandedHeight");o(this,"collapsedHeight");o(this,"tabIndex",0);_(Ma).load(Xn);let a=this.panel,i=_(pce,{optional:!0}),r=_(new bs("tabindex"),{optional:!0}),s=a.accordion?a.accordion._stateChanges.pipe(la(l=>!!(l.hideToggle||l.togglePosition))):zl;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=ba(a.opened,a.closed,s,a._inputChanges.pipe(la(l=>!!(l.hideToggle||l.disabled||l.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),a.closed.pipe(la(()=>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:Wa(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",X({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),Qn("height",i._getHeaderHeight()),we("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:vn(a)]},ngContentSelectors:PPe,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&&(st(MPe),D(0,"span",0),ke(1),ke(2,1),ke(3,2),T(),V(4,NPe,3,0,"span",1)),a&2&&(we("mat-content-hide-toggle",!i._showToggle()),C(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})(),mce=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}));let e=t;return e})(),fce=(()=>{const t=class t extends CPe{constructor(){super(...arguments);o(this,"_keyManager");o(this,"_ownHeaders",new ts);o(this,"_headers");o(this,"hideToggle",!1);o(this,"displayMode","default");o(this,"togglePosition","after")}ngAfterContentInit(){this._headers.changes.pipe(Aa(this._headers)).subscribe(i=>{this._ownHeaders.reset(i.filter(r=>r.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new pg(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=tt(t)))(r||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,s){if(i&1&&mt(s,h0,5),i&2){let l;ye(l=_e())&&(r._headers=l)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&we("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",fe],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[lt([{provide:$m,useExisting:t}]),ze]}));let e=t;return e})(),gce=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,DPe,rs]}));let e=t;return e})(),FPe=["*"],VPe=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],zPe=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
|
|
72
|
+
[mat-card-title], [mat-card-subtitle],
|
|
73
|
+
[matCardTitle], [matCardSubtitle]`,"*"],BPe=new Y("MAT_CARD_CONFIG"),jPe=(()=>{const t=class t{constructor(){o(this,"appearance");let a=_(BPe,{optional:!0});this.appearance=(a==null?void 0:a.appearance)||"raised"}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,i){a&2&&we("mat-mdc-card-outlined",i.appearance==="outlined")("mdc-card--outlined",i.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:FPe,decls:1,vars:0,template:function(a,i){a&1&&(st(),ke(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}
|
|
74
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),HPe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}));let e=t;return e})(),UPe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),WPe=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(a,i){a&2&&we("mat-mdc-card-actions-align-end",i.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),qPe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:zPe,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(a,i){a&1&&(st(VPe),ke(0),D(1,"div",0),ke(2,1),T(),ke(3,2))},encapsulation:2,changeDetection:0}));let e=t;return e})(),p0=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Vt]}));let e=t;return e})();function GPe(e,t){return this.dates()}function $Pe(e,t){if(e&1&&(D(0,"span",0),F(1),O(2,"translate"),O(3,"firstLetterUppercase"),T()),e&2){let n=t.$implicit,a=L();N("ngClass",a.activeWeekDays().includes(n)?"active":"inactive"),C(),te(" ",P(3,4,P(2,2,"medicationSchemeListView.days."+n))," ")}}var YPe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.dates=ne.required(),this.allDays=[ta.MONDAY,ta.TUESDAY,ta.WEDNESDAY,ta.THURSDAY,ta.FRIDAY,ta.SATURDAY,ta.SUNDAY],this.activeWeekDays=qt(()=>this.dates().map(a=>this.allDays[_r(a)-1]))}get ariaLabel(){let a=this.dates().map(i=>this.allDays[_r(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=X({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&&Ga(0,$Pe,4,6,"span",0,GPe,!0),a&2&&$a(i.allDays)},dependencies:[Ss,Ct,Qi],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:400;border-radius:6px;padding:6px}@media (max-width: 360px){[_nghost-%COMP%] span[_ngcontent-%COMP%]{padding:2px}}[_nghost-%COMP%] .active[_ngcontent-%COMP%]{color:#0d0d0d;background:#caddf6;border:0}[_nghost-%COMP%] .inactive[_ngcontent-%COMP%]{color:gray;background:transparent;border:1px solid #808080}"],changeDetection:0});let e=t;return e})(),ZPe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-see-details-button"]],decls:5,vars:3,consts:[[1,"see-details"],[1,"see-details-text"],["aria-hidden","true","fontIcon","arrow_forward_ios"]],template:function(a,i){a&1&&(D(0,"div",0)(1,"span",1),F(2),O(3,"translate"),T(),H(4,"mat-icon",2),T()),a&2&&(C(2),te(" ",P(3,1,"medicationSchemeListView.seeDetails")," "))},dependencies:[Ct,_o,Vi],styles:[".see-details[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:6px;color:#2473db}.see-details[_ngcontent-%COMP%] .see-details-text[_ngcontent-%COMP%]{text-decoration:underline}.see-details[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1}"]});let e=t;return e})(),KPe=[[["vidis-card-header-left"]],[["vidis-card-header-right"]],[["vidis-card-content"]]],QPe=["vidis-card-header-left","vidis-card-header-right","vidis-card-content"];function XPe(e,t){e&1&&H(0,"mat-icon",1)}var vce=(()=>{const t=class t{constructor(){this.title=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-card"]],inputs:{title:[1,"title"],withError:[1,"withError"]},ngContentSelectors:QPe,decls:16,vars:4,consts:[[1,"icon-error"],["fontIcon","warning"],[1,"header"],[1,"header-left"],[1,"header-right"],[1,"textOverflow"],["align","end"]],template:function(a,i){a&1&&(st(KPe),D(0,"mat-card")(1,"mat-card-header")(2,"div",0),V(3,XPe,1,0,"mat-icon",1),T(),D(4,"div",2)(5,"div",3),ke(6),T(),D(7,"div",4),ke(8,1),T()()(),D(9,"mat-card-content")(10,"mat-card-title")(11,"span",5),F(12),T()(),ke(13,2),D(14,"mat-card-actions",6),H(15,"vidis-see-details-button"),T()()()),a&2&&(we("error-row",i.withError()),C(3),W(i.withError()?3:-1),C(9),Re(i.title()))},dependencies:[p0,jPe,WPe,UPe,qPe,HPe,Ka,ZPe,_o,Vi],styles:["mat-card[_ngcontent-%COMP%]{margin:0 6px 6px;padding:0}mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{margin:0 20px;padding:0}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;padding:0!important;margin:16px 10px 0}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .icon-error[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;margin-left:8px}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .icon-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;font-size:20px}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .icon-error[_ngcontent-%COMP%]:empty{display:none}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between;gap:10px}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:.5rem}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-right:10px}mat-card[_ngcontent-%COMP%] mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0}mat-card.error-row[_ngcontent-%COMP%]{border:2px solid #c41c0d}"],changeDetection:0});let e=t;return e})(),bce=(()=>{const t=class t{constructor(){this.label=ne.required(),this.value=ne.required(),this.textIsOverflow=ne.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-card-field"]],inputs:{label:[1,"label"],value:[1,"value"],textIsOverflow:[1,"textIsOverflow"]},decls:4,vars:4,template:function(a,i){a&1&&(D(0,"p")(1,"span"),F(2),T(),F(3),T()),a&2&&(we("textOverflow",i.textIsOverflow()),C(2),Re(i.label()),C(),te(" ",i.value()," "))},styles:["span[_ngcontent-%COMP%]{display:block;color:#8f8f8f}"]});let e=t;return e})(),JPe=["*"],yce=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-card-content"]],ngContentSelectors:JPe,decls:1,vars:0,template:function(a,i){a&1&&(st(),ke(0))},encapsulation:2});let e=t;return e})(),eNe=["*"],_ce=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-card-header-right"]],ngContentSelectors:eNe,decls:2,vars:0,template:function(a,i){a&1&&(st(),D(0,"mat-chip-set"),ke(1),T())},dependencies:[dce],encapsulation:2});let e=t;return e})(),tNe=e=>({count:e});function aNe(e,t){e&1&&(F(0),O(1,"translateValue")),e&2&&te(" ",P(1,1,t),`
|
|
75
|
+
`)}function iNe(e,t){if(e&1&&(F(0),O(1,"translate")),e&2){let n=L();te(" ",wt(1,1,"commons.administrationUnits."+n.unit,ii(4,tNe,n.value))," ")}}function nNe(e,t){if(e&1&&(F(0),O(1,"quantity"),V(2,iNe,2,6)),e&2){let n=t;te(" ",P(1,2,n.value)," "),C(2),W(n.unit?2:-1)}}function rNe(e,t){e&1&&(D(0,"p"),F(1),T()),e&2&&(C(),Re(t))}function oNe(e,t){e&1&&(D(0,"p"),F(1),T()),e&2&&(C(),Re(t))}function sNe(e,t){if(e&1&&(V(0,rNe,2,1,"p")(1,oNe,2,1,"p"),O(2,"translateValue")),e&2){let n,a,i=L();W((n=i.item().medication.treatmentStartCondition)?0:-1,n),C(),W((a=P(2,2,i.item().medication.instructions))?1:-1,a)}}var lNe=(()=>{const t=class t{constructor(){this.activeTab=ne.required(),this.dateInfo=ne.required(),this.item=ne.required(),this.dayParts=gt,this.views=ja}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-mecidation-scheme-dosage-moment-view"]],inputs:{activeTab:[1,"activeTab"],dateInfo:[1,"dateInfo"],item:[1,"item"]},decls:5,vars:4,consts:[[3,"item"]],template:function(a,i){if(a&1&&(V(0,aNe,2,3)(1,nNe,3,4),D(2,"p"),H(3,"vidis-medication-scheme-day-part",0),T(),V(4,sNe,3,4)),a&2){let r,s;W((r=i.item().posology.text)?0:-1,r),C(),W((s=i.item().posology.quantity)?1:-1,s),C(2),N("item",i.item()),C(),W(i.activeTab()===i.dayParts.IF_NEEDED?4:-1)}},dependencies:[p0,Ka,_o,Ct,uce,Ms,o0],encapsulation:2,changeDetection:0});let e=t;return e})(),cNe=["*"],xce=(()=>{const t=class t{constructor(){this.label=ne.required(),this.textIsOverflow=ne.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-card-field-slot"]],inputs:{label:[1,"label"],textIsOverflow:[1,"textIsOverflow"]},ngContentSelectors:cNe,decls:4,vars:3,template:function(a,i){a&1&&(st(),D(0,"p")(1,"span"),F(2),T(),ke(3),T()),a&2&&(we("textOverflow",i.textIsOverflow()),C(2),Re(i.label()))},styles:["span[_ngcontent-%COMP%]{display:block;color:#8f8f8f}"]});let e=t;return e})();function dNe(e,t){if(e&1&&H(0,"vidis-medication-scheme-weekdays-intake",2),e&2){let n=L();N("dates",n.item().dates)}}function uNe(e,t){if(e&1&&(H(0,"vidis-card-field",5),O(1,"translate"),O(2,"translateValue"),O(3,"firstLetterUppercase")),e&2){let n=L();N("label",P(1,3,"medicationSchemeListView.reason"))("value",P(3,7,P(2,5,n.item().medication.indication)))("textIsOverflow",!0)}}var hNe=(()=>{const t=class t{constructor(){this.dateInfo=ne(),this.activeTab=ne(),this.item=ne.required(),this.fieldErrors=ne.required(),this.temporality=Ai,this.dateTogglerViews=ja,this.views=ja,this.dayParts=gt}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-moment-card"]],inputs:{dateInfo:[1,"dateInfo"],activeTab:[1,"activeTab"],item:[1,"item"],fieldErrors:[1,"fieldErrors"]},decls:16,vars:30,consts:[[3,"title","withError"],[3,"item","dateInfo","isTemporalityOneshot","isIfNeededActiveTab"],[3,"dates"],[3,"label","textIsOverflow"],[3,"activeTab","dateInfo","item"],[3,"label","value","textIsOverflow"],[3,"fullname","idNumber"]],template:function(a,i){a&1&&(D(0,"vidis-card",0),O(1,"translateValue"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError"),D(4,"vidis-card-header-right"),H(5,"vidis-medication-scheme-remark-flag",1),T(),D(6,"vidis-card-content"),V(7,dNe,1,1,"vidis-medication-scheme-weekdays-intake",2),D(8,"vidis-card-field-slot",3),O(9,"translate"),H(10,"vidis-mecidation-scheme-dosage-moment-view",4),T(),V(11,uNe,4,9,"vidis-card-field",5),D(12,"vidis-card-field-slot",3),O(13,"translate"),H(14,"vidis-person-name",6),O(15,"fullname"),T()()()),a&2&&(N("title",P(2,19,P(1,17,i.item().medication.name)))("withError",wt(3,21,i.fieldErrors(),i.item().medication.index)),C(5),N("item",i.item())("dateInfo",i.dateInfo())("isTemporalityOneshot",i.item().medication.temporality===i.temporality.ONESHOT)("isIfNeededActiveTab",i.activeTab()!==i.dayParts.IF_NEEDED),C(2),W(i.dateInfo().view===i.views.WEEK&&i.activeTab()!==i.dayParts.IF_NEEDED?7:-1),C(),N("label",P(9,24,"medicationSchemeListView.posology"))("textIsOverflow",!1),C(2),N("activeTab",i.activeTab())("dateInfo",i.dateInfo())("item",i.item()),C(),W(i.item().medication.indication?11:-1),C(),N("label",P(13,26,"medicationSchemeListView.prescriber"))("textIsOverflow",!0),C(2),N("fullname",P(15,28,i.item().medication.author))("idNumber",i.item().medication.author.nihdi))},dependencies:[p0,Ka,Ct,vce,bce,xce,yce,_ce,d0,YPe,lNe,Vle,Ms,Qi,dc,_o,l0],encapsulation:2,changeDetection:0});let e=t;return e})(),pNe=()=>({height:"250px",margin:"3px"});function mNe(e,t){e&1&&H(0,"ngx-skeleton-loader",1),e&2&&N("count",2)("theme",gn(2,pNe))}function fNe(e,t){if(e&1){let n=Et();D(0,"vidis-medication-scheme-moment-card",3),xe("click",function(){let a=Se(n).$implicit,i=L(4);return De(i.clickDetails.emit(a.medication.id))}),T()}if(e&2){let n=t.$implicit,a=L(3).$implicit,i=L();N("activeTab",a.part)("dateInfo",i.dateInfo())("item",n)("medication",n.medication)("fieldErrors",i.fieldErrors())}}function gNe(e,t){if(e&1&&Ga(0,fNe,1,5,"vidis-medication-scheme-moment-card",2,Ni),e&2){let n=L();$a(n)}}function vNe(e,t){if(e&1&&(D(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),F(3),O(4,"translate"),T()(),V(5,mNe,1,3,"ngx-skeleton-loader",1)(6,gNe,2,0),T()),e&2){let n=t,a=L().$implicit,i=L();N("disabled",!i.isLoading()&&n.length<=0),C(3),Gn("",P(4,4,"medicationSchemeMoments."+a)," (",n.length,")"),C(2),W(i.isLoading()?5:6)}}function bNe(e,t){if(e&1&&(V(0,vNe,7,6,"mat-expansion-panel",0),O(1,"filterMedicationByDayPart")),e&2){let n,a=t.$implicit,i=L();W((n=wt(1,1,i.items(),a))?0:-1,n)}}var yNe=(()=>{const t=class t{constructor(){this.isLoading=ne.required(),this.dateInfo=ne.required(),this.items=ne.required({transform:this.filterOutUndefinedMedications}),this.fieldErrors=ne.required(),this.clickDetails=io(),this.dayPartOrder=Object.values(gt)}filterOutUndefinedMedications(a){return a.filter(i=>i.medication)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-mobile"]],inputs:{isLoading:[1,"isLoading"],dateInfo:[1,"dateInfo"],items:[1,"items"],fieldErrors:[1,"fieldErrors"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:0,consts:[[3,"disabled"],["appearence","line",3,"count","theme"],[3,"activeTab","dateInfo","item","medication","fieldErrors"],[3,"click","activeTab","dateInfo","item","medication","fieldErrors"]],template:function(a,i){a&1&&(D(0,"mat-accordion"),Ga(1,bNe,2,4,null,null,Ni),T()),a&2&&(C(),$a(i.dayPartOrder))},dependencies:[fce,gce,u0,h0,mce,hc,uc,hNe,xOe,Ct],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}"],changeDetection:0});let e=t;return e})();function _Ne(e,t){if(e&1&&(D(0,"p",3),F(1),O(2,"translate"),T()),e&2){let n=L();C(),Re(P(2,1,"medicationSchemeListView.noMedications."+n.activeDate().view))}}var xNe=(()=>{const t=class t{constructor(){this.isLoading=ne.required(),this.filteredMedicationViewItems=ne.required(),this.activeDate=Es.required(),this.fieldErrors=ne.required(),this.clickDetails=io()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-moment-view"]],inputs:{isLoading:[1,"isLoading"],filteredMedicationViewItems:[1,"filteredMedicationViewItems"],activeDate:[1,"activeDate"],fieldErrors:[1,"fieldErrors"]},outputs:{activeDate:"activeDateChange",clickDetails:"clickDetails"},decls:4,vars:10,consts:[[3,"activeDateChange","activeDate"],[3,"isLoading","dateInfo","items","fieldErrors"],[3,"clickDetails","isLoading","dateInfo","items","fieldErrors"],[1,"no-content"]],template:function(a,i){a&1&&(D(0,"vidis-medication-scheme-date-toggler",0),Cr("activeDateChange",function(r){return mo(i.activeDate,r)||(i.activeDate=r),r}),T(),H(1,"vidis-medication-scheme-desktop",1),D(2,"vidis-medication-scheme-mobile",2),xe("clickDetails",function(r){return i.clickDetails.emit(r)}),T(),V(3,_Ne,3,3,"p",3)),a&2&&(kr("activeDate",i.activeDate),C(),N("isLoading",i.isLoading())("dateInfo",i.activeDate())("items",i.filteredMedicationViewItems())("fieldErrors",i.fieldErrors()),C(),N("isLoading",i.isLoading())("dateInfo",i.activeDate())("items",i.filteredMedicationViewItems())("fieldErrors",i.fieldErrors()),C(),W(!i.isLoading()&&i.filteredMedicationViewItems().length<=0?3:-1))},dependencies:[Ka,Ct,kPe,yNe,nMe],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})(),wNe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.loadingStatus=Un,this.isLoading=ne.required(),this.medicationScheme=ne.required(),this.view=ne.required(),this.clickDetails=io(),this.dateToggleEmit=Es.required(),this.activeDate=qt(()=>dt(pe({},this.dateToggleEmit()),{view:this.view()})),this.currentLang=hle(this.translate.onLangChange.pipe(Dt(a=>a.lang),Aa(this.translate.currentLang))),this.filteredMedicationViewItems=qt(()=>{let a=this.medicationScheme(),i=Object.values(gt);if(!this.isLoading()&&a){let r=vOe(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}})}),fOe(s,this.currentLang())}return[]})}filterMedications(a,i){if(this.view()==ja.DAY)return a.filter(s=>Iy(s,i.displayDate));let r=tOe(i.startOfWeek,i.endOfWeek);return a.map(s=>dt(pe({},s),{dates:r.filter(l=>Iy(s,l))})).filter(s=>s.dates.length)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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:4,consts:[[3,"activeDateChange","clickDetails","isLoading","filteredMedicationViewItems","activeDate","fieldErrors"]],template:function(a,i){if(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)}),T()),a&2){let r;N("isLoading",i.isLoading())("filteredMedicationViewItems",i.filteredMedicationViewItems())("activeDate",i.activeDate())("fieldErrors",(r=i.medicationScheme())==null?null:r.fieldErrors)}},dependencies:[xNe],encapsulation:2,changeDetection:0});let e=t;return e})(),ENe=["button"],kNe=["*"];function CNe(e,t){if(e&1&&(D(0,"div",2),H(1,"mat-pseudo-checkbox",6),T()),e&2){let n=L();C(),N("disabled",n.disabled)}}var wce=new Y("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:SNe});function SNe(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var Ece=new Y("MatButtonToggleGroup"),DNe={provide:Wu,useExisting:co(()=>Cce),multi:!0},kce=class{constructor(e,t){o(this,"source");o(this,"value");this.source=e,this.value=t}},Cce=(()=>{const t=class t{constructor(){o(this,"_changeDetector",_(kt));o(this,"_dir",_(La,{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",_(ha).getId("mat-button-toggle-group-"));o(this,"vertical");o(this,"valueChange",new ie);o(this,"change",new ie);o(this,"_hideSingleSelectionIndicator");o(this,"_hideMultipleSelectionIndicator");let a=_(wce,{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 cC(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 kce(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",de({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,i,r){if(a&1&&mt(r,m0,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),we("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard",i.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",fe],value:"value",multiple:[2,"multiple","multiple",fe],disabled:[2,"disabled","disabled",fe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",fe],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",fe],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",fe]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[lt([DNe,{provide:Ece,useExisting:t}])]}));let e=t;return e})(),m0=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_focusMonitor",_(go));o(this,"_idGenerator",_(ha));o(this,"_animationMode",_(Ra,{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 ie);_(Ma).load(Xn);let a=_(Ece,{optional:!0}),i=_(new bs("tabindex"),{optional:!0})||"",r=_(wce,{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 kce(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",X({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(a,i){if(a&1&&$e(ENe,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),we("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",fe],appearance:"appearance",checked:[2,"checked","checked",fe],disabled:[2,"disabled","disabled",fe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",fe]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:kNe,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=Et();st(),D(0,"button",1,0),xe("click",function(){return Se(r),De(i._onButtonClick())}),V(2,CNe,2,1,"div",2),D(3,"span",3),ke(4),T()(),H(5,"span",4)(6,"span",5)}if(a&2){let r=Ya(1);N("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),C(2),W(i.buttonToggleGroup&&(!i.buttonToggleGroup.multiple&&!i.buttonToggleGroup.hideSingleSelectionIndicator||i.buttonToggleGroup.multiple&&!i.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),C(4),N("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[Uu,Zk],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))}
|
|
76
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),INe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,yg,m0,Vt]}));let e=t;return e})(),TNe=["*"];function ONe(e,t){e&1&&(D(0,"div",2),fr(),D(1,"svg",3),H(2,"path",4),T()())}var Sce=new Y("MAT_SORT_DEFAULT_OPTIONS"),Ym=(()=>{const t=class t{constructor(a){o(this,"_defaultOptions");o(this,"_initializedStream",new nf(1));o(this,"sortables",new Map);o(this,"_stateChanges",new me);o(this,"active");o(this,"start","asc");o(this,"_direction","");o(this,"disableClear");o(this,"disabled",!1);o(this,"sortChange",new ie);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=ANe(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)(aa(Sce,8))}),o(t,"ɵdir",de({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",fe],disabled:[2,"matSortDisabled","disabled",fe]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Yt]}));let e=t;return e})();function ANe(e,t){let n=["asc","desc"];return e=="desc"&&n.reverse(),t||n.push(""),n}var nu=(()=>{const t=class t{constructor(){o(this,"changes",new me)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function RNe(e){return e||new nu}var MNe={provide:nu,deps:[[new us,new hs,nu]],useFactory:RNe},PNe=(()=>{const t=class t{constructor(){o(this,"_intl",_(nu));o(this,"_sort",_(Ym,{optional:!0}));o(this,"_columnDef",_("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));o(this,"_changeDetectorRef",_(kt));o(this,"_focusMonitor",_(go));o(this,"_elementRef",_(Oe));o(this,"_ariaDescriber",_(Vye,{optional:!0}));o(this,"_renderChanges");o(this,"_animationModule",_(Ra,{optional:!0}));o(this,"_recentlyCleared",ai(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");_(Ma).load(Xn);let a=_(Sce,{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=ba(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",X({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()),we("mat-sort-header-disabled",i._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",fe],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",fe]},exportAs:["matSortHeader"],ngContentSelectors:TNe,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&&(st(),D(0,"div",0)(1,"div",1),ke(2),T(),V(3,ONe,3,0,"div",2),T()),a&2&&(we("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"),C(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}
|
|
77
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),NNe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({providers:[MNe],imports:[Vt]}));let e=t;return e})(),LNe=()=>["expandDetails"],FNe=e=>({view:e}),VNe=()=>({height:"47px",margin:"0px"});function zNe(e,t){e&1&&(D(0,"th",17),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.medication")," "))}function BNe(e,t){if(e&1){let n=Et();D(0,"td",18)(1,"vidis-table-detail-button",19),Cr("expandedElementChange",function(a){Se(n);let i=L();return mo(i.expandedElement,a)||(i.expandedElement=a),De(a)}),D(2,"div",20),F(3),O(4,"translateValue"),O(5,"firstLetterUppercase"),T()()()}if(e&2){let n=t.$implicit,a=L();C(),N("item",n),kr("expandedElement",a.expandedElement),C(2),Re(P(5,5,P(4,3,n.name)))}}function jNe(e,t){e&1&&H(0,"th",21)}function HNe(e,t){e&1&&(D(0,"mat-chip",22),F(1),O(2,"translate"),T()),e&2&&(N("disableRipple",!0),C(),te(" ",P(2,2,"medicationSchemeListView.future")," "))}function UNe(e,t){e&1&&(D(0,"mat-chip",23),F(1),O(2,"translate"),T()),e&2&&(N("disableRipple",!0),C(),te(" ",P(2,2,"medicationSchemeListView.remarks.suspended")," "))}function WNe(e,t){if(e&1&&(D(0,"td",18)(1,"mat-chip-set"),V(2,HNe,3,4,"mat-chip",22),O(3,"isFutureMedication"),O(4,"isSuspendedMedication"),V(5,UNe,3,4,"mat-chip",23),T()()),e&2){let n=t.$implicit;C(2),W(P(3,1,n)?2:P(4,3,n)?5:-1)}}function qNe(e,t){e&1&&(D(0,"th",21),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.dose")," "))}function GNe(e,t){e&1&&(D(0,"div",24),F(1),T()),e&2&&(C(),Re(t))}function $Ne(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.consultDetails")," ")}function YNe(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.notSpecified")," ")}function ZNe(e,t){if(e&1&&(D(0,"td",18),V(1,GNe,2,1,"div",24),O(2,"dose"),V(3,$Ne,2,3)(4,YNe,2,3),T()),e&2){let n,a=t.$implicit;C(),W((n=P(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 KNe(e,t){e&1&&(D(0,"th",21),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.indication")," "))}function QNe(e,t){if(e&1&&(D(0,"div",24),F(1),O(2,"translateValue"),O(3,"firstLetterUppercase"),T()),e&2){let n=L().$implicit;C(),Re(P(3,3,P(2,1,n.indication)))}}function XNe(e,t){if(e&1&&(D(0,"td",18),V(1,QNe,4,5,"div",24),T()),e&2){let n=t.$implicit;C(),W(n.indication?1:-1)}}function JNe(e,t){e&1&&(D(0,"th",21),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.remark")," "))}function e3e(e,t){if(e&1&&(D(0,"td",18),H(1,"vidis-medication-scheme-remark-flag",25),T()),e&2){let n=t.$implicit,a=L();C(),N("isTemporalityOneshot",n.temporality===a.temporality.ONESHOT)("dateInfo",ii(2,FNe,a.dateTogglerViews.LIST))}}function t3e(e,t){e&1&&(D(0,"th",21),F(1),O(2,"translate"),T()),e&2&&(C(),te(" ",P(2,1,"medicationSchemeListView.headers.leaflet")," "))}function a3e(e,t){e&1&&(D(0,"a",26),O(1,"translateValue"),O(2,"translate"),H(3,"mat-icon",27),T()),e&2&&(N("href",P(1,2,t),Bf),be("aria-label",P(2,4,"medicationSchemeListView.headers.leaflet")))}function i3e(e,t){if(e&1&&(D(0,"td",18),V(1,a3e,4,6,"a",26),T()),e&2){let n,a=t.$implicit;C(),W((n=a.leaflet)?1:-1,n)}}function n3e(e,t){e&1&&H(0,"th",21)}function r3e(e,t){if(e&1&&(D(0,"td",18),H(1,"mat-icon",28),T()),e&2){let n=t.$implicit,a=L();C(),N("fieldErrors",a.fieldErrors())("medicationIndex",n.index)}}function o3e(e,t){if(e&1&&(D(0,"td",29)(1,"div"),H(2,"vidis-medication-scheme-details-row",30),T()()),e&2){let n=t.$implicit,a=L();we("mh-detail-row--expanded",n===a.expandedElement()),N("colSpan",a.columnsToDisplay().length),C(2),N("medication",n)("fieldErrors",a.fieldErrors())}}function s3e(e,t){e&1&&H(0,"tr",31)}function l3e(e,t){if(e&1&&H(0,"tr",32),e&2){let n=t.$implicit,a=L();N("hidden",a.isLoading())("fieldErrors",a.fieldErrors())("medicationIndex",n.index)}}function c3e(e,t){if(e&1&&H(0,"tr",33),e&2){let n=L();N("hidden",n.isLoading())}}function d3e(e,t){e&1&&H(0,"ngx-skeleton-loader",16),e&2&&N("count",3)("theme",gn(2,VNe))}var u3e=(()=>{const t=class t{set sort(a){this.dataSource.sort=a,this.dataSource.sortingDataAccessor=(i,r)=>this.getSortingAccessor(i,r)}constructor(){this.translate=_(Fa),this.isLoading=ne.required(),this.view=ne.required(),this.medications=ne.required(),this.fieldErrors=ne.required(),this.temporality=Ai,this.dateTogglerViews=ja,this.dataSource=new lce([]),this.columnsToDisplay=qt(()=>{var a;return(a=this.medications())!=null&&a.some(i=>ih(i)||s0(i,new Date))?["error","name","future","dose","indication","remark","leaflet"]:["error","name","dose","indication","remark","leaflet"]}),this.expandedElement=ai(null),Fu(()=>this.dataSource.data=this.medications())}getSortingAccessor(a,i){var r;return i!=="name"||!a[i]?"":(r=lc(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=X({type:t,selectors:[["vidis-medication-scheme-list-desktop"]],viewQuery:function(a,i){if(a&1&&$e(Ym,7),a&2){let r;ye(r=_e())&&(i.sort=r.first)}},inputs:{isLoading:[1,"isLoading"],view:[1,"view"],medications:[1,"medications"],fieldErrors:[1,"fieldErrors"]},decls:29,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","error"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","highlightErrorRow","",3,"hidden","fieldErrors","medicationIndex",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,"mh-red","mh-no-overlay",3,"disableRipple"],[1,"textOverflow"],[3,"isTemporalityOneshot","dateInfo"],["mat-icon-button","","target","_blank",3,"href"],["fontIcon","menu_book"],["fontIcon","warning","highlightErrorRow","",1,"warning-icon",3,"fieldErrors","medicationIndex"],["mat-cell","",3,"colSpan"],[3,"medication","fieldErrors"],["mat-header-row",""],["mat-row","","highlightErrorRow","",3,"hidden","fieldErrors","medicationIndex"],["mat-row","",1,"mh-detail-row",3,"hidden"]],template:function(a,i){a&1&&(D(0,"table",0),O(1,"translate"),Jt(2,1),V(3,zNe,3,3,"th",2)(4,BNe,6,7,"td",3),ea(),Jt(5,4),V(6,jNe,1,0,"th",5)(7,WNe,6,5,"td",3),ea(),Jt(8,6),V(9,qNe,3,3,"th",5)(10,ZNe,5,3,"td",3),ea(),Jt(11,7),V(12,KNe,3,3,"th",5)(13,XNe,2,1,"td",3),ea(),Jt(14,8),V(15,JNe,3,3,"th",5)(16,e3e,2,4,"td",3),ea(),Jt(17,9),V(18,t3e,3,3,"th",5)(19,i3e,2,1,"td",3),ea(),Jt(20,10),V(21,n3e,1,0,"th",5)(22,r3e,2,2,"td",3),ea(),Jt(23,11),V(24,o3e,3,5,"td",12),ea(),V(25,s3e,1,0,"tr",13)(26,l3e,1,3,"tr",14)(27,c3e,1,1,"tr",15),T(),V(28,d3e,1,3,"ngx-skeleton-loader",16)),a&2&&(N("dataSource",i.dataSource),be("aria-label",P(1,6,"medicationSchemeListView."+i.view())),C(25),N("matHeaderRowDef",i.columnsToDisplay()),C(),N("matRowDefColumns",i.columnsToDisplay()),C(),N("matRowDefColumns",gn(8,LNe)),C(),W(i.isLoading()?28:-1))},dependencies:[dce,rh,sce,Qle,Jle,ice,ece,Xle,nce,tce,ace,rce,oce,NNe,Ym,PNe,_o,Vi,hc,uc,Ct,d0,zle,Fle,Ms,Qi,yle,Ile,Tle,Hle],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}.warning-icon[_ngcontent-%COMP%]{visibility:hidden}.warning-icon.error-row[_ngcontent-%COMP%]{color:#c41c0d;visibility:visible}.error-row[_ngcontent-%COMP%]{background-color:#ffdad6!important}.mat-column-error[_ngcontent-%COMP%]{width:6px;padding:0}"],changeDetection:0});let e=t;return e})();function h3e(e,t){e&1&&F(0),e&2&&te(" ",t,`
|
|
78
|
+
`)}function p3e(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.consultDetails"),`
|
|
79
|
+
`)}function m3e(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.notSpecified"),`
|
|
80
|
+
`)}var f3e=(()=>{const t=class t{constructor(){this.medication=ne.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-mecidation-scheme-dosage-list-view"]],inputs:{medication:[1,"medication"]},decls:4,vars:3,template:function(a,i){if(a&1&&(V(0,h3e,1,1),O(1,"dose"),V(2,p3e,2,3)(3,m3e,2,3)),a&2){let r,s;W((r=P(1,1,i.medication()))?0:!((s=i.medication().posology)==null||s[0]==null)&&s[0].quantity||!((s=i.medication().posology)==null||s[0]==null)&&s[0].text?2:3,r)}},dependencies:[yle,Ct],encapsulation:2,changeDetection:0});let e=t;return e})();function g3e(e,t){e&1&&(D(0,"mat-chip",1),F(1),O(2,"translate"),T()),e&2&&(N("disableRipple",!0),C(),te(" ",P(2,2,"medicationSchemeListView.future")," "))}function v3e(e,t){e&1&&(D(0,"mat-chip",2),F(1),O(2,"translate"),T()),e&2&&(N("disableRipple",!0),C(),te(" ",P(2,2,"medicationSchemeListView.remarks.suspended")," "))}function b3e(e,t){if(e&1&&(H(0,"vidis-card-field",5),O(1,"translate"),O(2,"translateValue"),O(3,"firstLetterUppercase")),e&2){let n=L();N("label",P(1,3,"medicationSchemeListView.reason"))("value",P(3,7,P(2,5,n.medication().indication)))("textIsOverflow",!0)}}var y3e=(()=>{const t=class t{constructor(){this.medication=ne.required(),this.fieldErrors=ne.required(),this.temporality=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-list-card"]],inputs:{medication:[1,"medication"],fieldErrors:[1,"fieldErrors"]},decls:18,vars:29,consts:[[3,"title","withError"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[1,"mh-red","mh-no-overlay",3,"disableRipple"],[3,"label","textIsOverflow"],[3,"medication"],[3,"label","value","textIsOverflow"],[3,"fullname","idNumber"]],template:function(a,i){a&1&&(D(0,"vidis-card",0),O(1,"translateValue"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError"),D(4,"vidis-card-header-right"),V(5,g3e,3,4,"mat-chip",1),O(6,"isFutureMedication"),V(7,v3e,3,4,"mat-chip",2),O(8,"isSuspendedMedication"),T(),D(9,"vidis-card-content")(10,"vidis-card-field-slot",3),O(11,"translate"),H(12,"vidis-mecidation-scheme-dosage-list-view",4),T(),V(13,b3e,4,9,"vidis-card-field",5),D(14,"vidis-card-field-slot",3),O(15,"translate"),H(16,"vidis-person-name",6),O(17,"fullname"),T()()()),a&2&&(N("title",P(2,14,P(1,12,i.medication().name)))("withError",wt(3,16,i.fieldErrors(),i.medication().index)),C(5),W(P(6,19,i.medication())?5:-1),C(2),W(P(8,21,i.medication())?7:-1),C(3),N("label",P(11,23,"medicationSchemeListView.posology"))("textIsOverflow",!1),C(2),N("medication",i.medication()),C(),W(i.medication().indication?13:-1),C(),N("label",P(15,25,"medicationSchemeListView.prescriber"))("textIsOverflow",!0),C(2),N("fullname",P(17,27,i.medication().author))("idNumber",i.medication().author.nihdi))},dependencies:[rh,vce,bce,yce,xce,_ce,f3e,Vle,Ct,Qi,Ms,dc,Ile,Tle,l0],encapsulation:2});let e=t;return e})(),_3e=()=>({height:"250px",margin:"3px"});function x3e(e,t){e&1&&H(0,"ngx-skeleton-loader",1),e&2&&N("count",2)("theme",gn(2,_3e))}function w3e(e,t){if(e&1){let n=Et();D(0,"vidis-medication-scheme-list-card",3),xe("click",function(){let a=Se(n).$implicit,i=L(2);return De(i.clickDetails.emit(a.id))}),T()}if(e&2){let n=t.$implicit,a=L(2);N("medication",n)("fieldErrors",a.fieldErrors())}}function E3e(e,t){if(e&1&&Ga(0,w3e,1,2,"vidis-medication-scheme-list-card",2,Ni),e&2){let n=L();$a(n.sortedMedications())}}var k3e=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.isLoading=ne.required(),this.medications=ne.required(),this.fieldErrors=ne.required(),this.clickDetails=io(),this.sortedMedications=qt(()=>gOe(this.medications(),this.translate.currentLang,this.sorting().order)),this.sortingDropdownSet=["medicationName"],this.sorting=ai({sort:"medicationName",order:n0.ascending}),this.dateTogglerViews=ja,this.dayParts=gt,this.temporality=Ai,this.views=ja}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-list-mobile"]],inputs:{isLoading:[1,"isLoading"],medications:[1,"medications"],fieldErrors:[1,"fieldErrors"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[[3,"emitNewSortValue","sortDataChange","sortItems","sortData"],["appearence","line",3,"count","theme"],[3,"medication","fieldErrors"],[3,"click","medication","fieldErrors"]],template:function(a,i){a&1&&(D(0,"vidis-sort-dropdown",0),xe("emitNewSortValue",function(r){return i.sorting.set(r)}),Cr("sortDataChange",function(r){return mo(i.sorting,r)||(i.sorting=r),r}),T(),V(1,x3e,1,3,"ngx-skeleton-loader",1)(2,E3e,2,0)),a&2&&(N("sortItems",i.sortingDropdownSet),kr("sortData",i.sorting),C(),W(i.isLoading()?1:2))},dependencies:[dg,hc,uc,NAe,y3e],encapsulation:2,changeDetection:0});let e=t;return e})(),C3e=()=>[];function S3e(e,t){if(e&1&&(D(0,"mat-button-toggle",1),F(1),O(2,"translate"),T()),e&2){let n=t.$implicit;N("value",n),C(),Re(P(2,2,"medicationSchemeListView."+n))}}function D3e(e,t){if(e&1&&(D(0,"p",4),F(1),O(2,"translate"),T()),e&2){let n=L(2);C(),te(" ",P(2,1,"medicationSchemeListView.noMedications."+n.filterTo())," ")}}function I3e(e,t){if(e&1){let n=Et();H(0,"vidis-medication-scheme-list-desktop",2),D(1,"vidis-medication-scheme-list-mobile",3),xe("clickDetails",function(a){Se(n);let i=L();return De(i.clickDetails.emit(a))}),T(),V(2,D3e,3,3,"p",4)}if(e&2){let n,a,i=t,r=L();N("isLoading",r.isLoading())("view",r.tab)("medications",i)("fieldErrors",(n=r.medicationScheme())==null?null:n.fieldErrors),C(),N("isLoading",r.isLoading())("medications",i)("fieldErrors",(a=r.medicationScheme())==null?null:a.fieldErrors),C(),W(!r.isLoading()&&i.length<=0?2:-1)}}var T3e=(()=>{const t=class t{constructor(){this.isLoading=ne.required(),this.medicationScheme=ne.required(),this.clickDetails=io(),this.filterTo=Es.required(),this.filterChips=[sl.ALL,sl.CURRENT,sl.FUTURE]}changeFilter(a){this.filterTo.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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","fieldErrors"],[3,"clickDetails","isLoading","medications","fieldErrors"],[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)}),Ga(1,S3e,3,4,"mat-button-toggle",1,Ni),T(),V(3,I3e,3,8),O(4,"filterMedicationTo")),a&2){let r;N("value",i.filterTo()),C(),$a(i.filterChips),C(2),W((r=wt(4,2,((r=i.medicationScheme())==null?null:r.medications)||gn(5,C3e),i.filterTo()))?3:-1,r)}},dependencies:[INe,Cce,m0,u3e,k3e,Ct,wOe],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 O3e(e,t){e&1&&(H(0,"div",2),O(1,"translate")),e&2&&N("innerHTML",P(1,1,"medicationSchemeNoData.walloniaBrussels.textPro"),Px)}function A3e(e,t){e&1&&(D(0,"ul")(1,"li"),F(2),O(3,"translate"),T(),D(4,"li"),F(5),O(6,"translate"),T()()),e&2&&(C(2),Re(P(3,2,"medicationSchemeNoData.walloniaBrussels.text1")),C(3),Re(P(6,4,"medicationSchemeNoData.walloniaBrussels.text2")))}function R3e(e,t){e&1&&(H(0,"div",2),O(1,"translate")),e&2&&N("innerHTML",P(1,1,"medicationSchemeNoData.flanders.textPro"),Px)}function M3e(e,t){e&1&&(D(0,"span"),F(1),O(2,"translate"),T()),e&2&&(C(),Re(P(2,1,"medicationSchemeNoData.flanders.text")))}var P3e=(()=>{const t=class t{constructor(){this.isProfessional=ne.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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"),F(3),O(4,"translate"),T(),D(5,"mat-accordion")(6,"mat-expansion-panel")(7,"mat-expansion-panel-header")(8,"mat-panel-title"),F(9),O(10,"translate"),T()(),V(11,O3e,2,3,"div",2)(12,A3e,7,6,"ul"),T(),D(13,"mat-expansion-panel")(14,"mat-expansion-panel-header")(15,"mat-panel-title"),F(16),O(17,"translate"),T()(),V(18,R3e,2,3,"div",2)(19,M3e,3,3,"span"),T()()(),D(20,"div",3),fr(),D(21,"svg",4)(22,"g",5),H(23,"path",6)(24,"path",7)(25,"path",8)(26,"path",9)(27,"path",10),D(28,"g",11),H(29,"path",12)(30,"path",13)(31,"path",14),T(),H(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),T()()()()),a&2&&(C(3),Re(P(4,5,"medicationSchemeNoData.subtitle")),C(6),Re(P(10,7,"medicationSchemeNoData.walloniaBrussels."+(i.isProfessional()?"introPro":"intro"))),C(2),W(i.isProfessional()?11:12),C(5),Re(P(17,9,"medicationSchemeNoData.flanders."+(i.isProfessional()?"introPro":"intro"))),C(2),W(i.isProfessional()?18:19))},dependencies:[fce,gce,u0,h0,mce,Ct],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})(),N3e=(e,t)=>[e,t],L3e=()=>({height:"50px",margin:"0px"}),t_=e=>({safe:e}),F3e=(e,t,n)=>({versionNumber:e,date:t,hour:n}),V3e=(e,t,n)=>({authorProfession:e,authorFirstName:t,authorLastName:n});function z3e(e,t){e&1&&(D(0,"div"),F(1,"Component not properly initialized!"),T())}function B3e(e,t){if(e&1&&H(0,"vidis-status-message",0),e&2){let n=L();N("error",n.error)}}function j3e(e,t){if(e&1&&H(0,"vidis-medication-scheme-no-data",1),e&2){let n=L(4);N("isProfessional",n.professional)}}function H3e(e,t){e&1&&H(0,"vidis-error-display",3)}function U3e(e,t){if(e&1&&H(0,"vidis-error-display",6),e&2){let n=L(3);N("message",n.data.errors[0].code)}}function W3e(e,t){if(e&1){let n=Et();D(0,"vidis-medication-scheme-list-view",9),xe("filterToChange",function(a){Se(n);let i=L(5);return De(i.onPageStateChange({filter:a}))})("clickDetails",function(a){Se(n);let i=L(5);return De(i.onSelectMedication.emit(a))}),T()}if(e&2){let n=L(3),a=L(2);N("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 q3e(e,t){if(e&1&&H(0,"vidis-error-display",6),e&2){let n=L(4);N("message",n.data.errors[0].code)}}function G3e(e,t){if(e&1){let n=Et();D(0,"vidis-medication-scheme-daily-weekly",11),xe("clickDetails",function(a){Se(n);let i=L(6);return De(i.onSelectMedication.emit(a))})("dateToggleEmitChange",function(a){Se(n);let i=L(6);return De(i.onPageStateChange({date:a}))}),T()}if(e&2){let n=L().$implicit,a=L(3),i=L(2);N("isLoading",a.status===i.loadingStatus.LOADING)("medicationScheme",a==null||a.data==null?null:a.data.schemes[0])("view",n)("dateToggleEmit",i.pageState.date)}}function $3e(e,t){if(e&1&&(D(0,"mat-tab",5),O(1,"translate"),V(2,q3e,1,1,"vidis-error-display",6)(3,G3e,1,4,"vidis-medication-scheme-daily-weekly",10),T()),e&2){let n=t.$implicit,a=L(3);N("label",P(1,2,"medicationSchemeOverview."+n)),C(2),W(!(a==null||a.data==null)&&a.data.errors[0]?2:3)}}function Y3e(e,t){e&1&&H(0,"ngx-skeleton-loader",8),e&2&&N("count",1)("theme",gn(2,L3e))}function Z3e(e,t){if(e&1&&(D(0,"p",12),F(1),O(2,"translate"),O(3,"translate"),T(),D(4,"mh-alert",13),O(5,"date"),O(6,"date"),O(7,"translate"),O(8,"translate"),O(9,"translate"),O(10,"translate"),O(11,"translate"),D(12,"span"),F(13),O(14,"translate"),O(15,"translate"),T(),F(16),O(17,"translate"),O(18,"translate"),T()),e&2){let n=L(3),a=L(2);C(),te(" ",wt(3,10,"medicationSchemeDisclaimer.disclaimer",ii(40,t_,P(2,8,"commons.safes."+n.data.schemes[0].source)))," "),C(3),N("alertTitle",wt(7,19,"medicationSchemeDisclaimer.title",Av(42,F3e,a.creationDetails().version,wt(5,13,a.creationDetails().lastChange.date,"dd/MM/yyyy"),wt(6,16,a.creationDetails().lastChange.date,"HH:mm"))))("alertSubtitle",wt(9,24,"medicationSchemeDisclaimer.subtitle",Av(46,V3e,P(8,22,"commons.roles."+a.creationDetails().lastChange.author.role),a.creationDetails().lastChange.author.firstName,a.creationDetails().lastChange.author.lastName)))("expandedButtonAriaLabel",P(10,27,"medicationSchemeDisclaimer.expanded"))("collapsedButtonAriaLabel",P(11,29,"medicationSchemeDisclaimer.collapsed")),C(9),Gn("",P(14,31,"medicationSchemeDisclaimer.source")," : ",P(15,33,"commons.safes."+n.data.schemes[0].source),""),C(3),te(" ",wt(18,37,"medicationSchemeDisclaimer.disclaimer",ii(50,t_,P(17,35,"commons.safes."+n.data.schemes[0].source)))," ")}}function K3e(e,t){if(e&1){let n=Et();H(0,"vidis-medication-scheme-creation-details",2),V(1,H3e,1,0,"vidis-error-display",3),D(2,"mat-tab-group",4),xe("selectedTabChange",function(a){Se(n);let i=L(4);return De(i.onPageStateChange({view:a.index}))}),D(3,"mat-tab",5),O(4,"translate"),V(5,U3e,1,1,"vidis-error-display",6)(6,W3e,1,4,"vidis-medication-scheme-list-view",7),T(),Ga(7,$3e,4,4,"mat-tab",5,Ni),T(),V(9,Y3e,1,3,"ngx-skeleton-loader",8)(10,Z3e,19,52)}if(e&2){let n,a=L(2),i=L(2);N("isLoading",a.status===i.loadingStatus.LOADING)("creationDetails",i.creationDetails()),C(),W(((n=a==null||a.data==null||a.data.schemes==null||a.data.schemes[0]==null||a.data.schemes[0].fieldErrors==null?null:a.data.schemes[0].fieldErrors.length)!==null&&n!==void 0?n:0)>0?1:-1),C(),N("selectedIndex",i.pageState.view),C(),N("label",P(4,7,"medicationSchemeOverview.list")),C(2),W(!(a==null||a.data==null)&&a.data.errors[0]?5:6),C(2),$a(Tve(9,N3e,i.viewsEnum.WEEK,i.viewsEnum.DAY)),C(2),W(a.status===i.loadingStatus.LOADING?9:a.status===i.loadingStatus.SUCCESS&&a.data.schemes[0]?10:-1)}}function Q3e(e,t){if(e&1&&V(0,j3e,1,1,"vidis-medication-scheme-no-data",1)(1,K3e,11,12),e&2){let n=L(3);W(n.hasNoData()?0:1)}}function X3e(e,t){if(e&1&&V(0,B3e,1,1,"vidis-status-message",0)(1,Q3e,2,1),e&2){let n=L(2);W(t.status===n.loadingStatus.ERROR?0:1)}}function J3e(e,t){if(e&1&&V(0,X3e,2,1),e&2){let n,a=L();W((n=a.medicationSchemeState())?0:-1,n)}}var e5e=(()=>{const t=class t extends AAe{constructor(){super(...arguments),this.onSelectMedication=new ie,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.creationDetails=qt(()=>{let a=this.medicationSchemeState();if(a.status===Un.SUCCESS&&a.data.schemes[0]){let i=a.data.schemes[0];return{version:i.version,lastChange:i.lastChange,source:i.source}}}),this.hasNoData=qt(()=>{let a=this.medicationSchemeState(),i=a==null?void 0:a.data;if((a==null?void 0:a.status)===Un.LOADING)return!1;let r=(i==null?void 0:i.schemes)??[],s=(i==null?void 0:i.errors)??[],l=r.length===0,c=s.length===0,d=s.every(u=>u.code==="VIDIS_0130");return l&&(c||d)}),this.loadingStatus=Un,this.viewsEnum=ja}fetchData(a){return va(this,null,function*(){return this.medicationSchemeService.setClientId(this.exchangeClientId),this.pageState=this.medicationSchemeService.getPageState(),this.medicationSchemeService.fetchMedicationScheme(a)})}injectService(){bu(this.injector,()=>{this.medicationSchemeService=_(Wy),this.medicationSchemeState=hle(this.medicationSchemeService.medicationSchemeState$),Fu(()=>{let a=this.medicationSchemeState();this.checkError(a.error)})})}onPageStateChange(a){this.medicationSchemeService.setPageState(a)}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵcmp=X({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{onSelectMedication:"onSelectMedication"},features:[lt([Wy,Ble,jle,NRe]),ze],decls:2,vars:1,consts:[[3,"error"],[3,"isProfessional"],[3,"isLoading","creationDetails"],["message","incorrect-elements-ms-list","fontIcon","warning"],["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"],[1,"desktop-view"],["usage","info","dismissMode","expandable",3,"alertTitle","alertSubtitle","expandedButtonAriaLabel","collapsedButtonAriaLabel"]],template:function(a,i){a&1&&V(0,z3e,2,0,"div")(1,J3e,1,1),a&2&&W(i.isCorrectlySetup()?1:0)},dependencies:[jTe,fle,eRe,Rle,T3e,wNe,WRe,P3e,hc,uc,Ct,Lle,Ds],styles:["@media only screen and (min-width: 960px){mh-alert[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width: 960px){.desktop-view[_ngcontent-%COMP%], vidis-medication-scheme-creation-details[_ngcontent-%COMP%]{display:none}}span[_ngcontent-%COMP%]{display:block}"],changeDetection:0});let e=t;return e})(),t5e=class{selectionFinished(e){return this.createWeekRange(e)}createPreview(e){return this.createWeekRange(e)}createWeekRange(e){let t={weekStartsOn:1};if(e){let n=ni(e,t),a=Xg(e,t);return new Sa(n,a)}return new Sa(null,null)}};Fxe({providers:[hTe,{provide:kl,useClass:t5e}]}).then(e=>{let t=kbe(e5e,{injector:e.injector});customElements.define("vidis-medication-scheme-list",t)}).catch(e=>console.error(e));
|