@smals-belgium-shared/vidis-medication-scheme-list 1.1.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +0,0 @@
1
- var Vee=Object.defineProperty;var zee=(e,t,n)=>t in e?Vee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var H=(e,t,n)=>zee(e,typeof t!="symbol"?t+"":t,n);var Bee=Object.create,ud=Object.defineProperty,jee=Object.defineProperties,Hee=Object.getOwnPropertyDescriptor,Uee=Object.getOwnPropertyDescriptors,Wee=Object.getOwnPropertyNames,Ic=Object.getOwnPropertySymbols,qee=Object.getPrototypeOf,Yp=Object.prototype.hasOwnProperty,g0=Object.prototype.propertyIsEnumerable,pg=(e,t,n)=>t in e?ud(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Se=(e,t)=>{for(var n in t||(t={}))Yp.call(t,n)&&pg(e,n,t[n]);if(Ic)for(var n of Ic(t))g0.call(t,n)&&pg(e,n,t[n]);return e},ti=(e,t)=>jee(e,Uee(t)),Yee=(e,t)=>{var n={};for(var i in e)Yp.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ic)for(var i of Ic(e))t.indexOf(i)<0&&g0.call(e,i)&&(n[i]=e[i]);return n},Me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),me=(e,t)=>{for(var n in t)ud(e,n,{get:t[n],enumerable:!0})},Gee=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wee(t))!Yp.call(e,a)&&a!==n&&ud(e,a,{get:()=>t[a],enumerable:!(i=Hee(t,a))||i.enumerable});return e},v0=(e,t,n)=>(n=e!=null?Bee(qee(e)):{},Gee(t||!e||!e.__esModule?ud(n,"default",{value:e,enumerable:!0}):n,e)),xn=(e,t,n)=>new Promise((i,a)=>{var r=l=>{try{s(n.next(l))}catch(c){a(c)}},o=l=>{try{s(n.throw(l))}catch(c){a(c)}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,o);s((n=n.apply(e,t)).next())}),$ee=Me((e,t)=>{(function(n,i){typeof e=="object"&&typeof t<"u"?t.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self,n.MessageFormat=i())})(e,function(){var n=function(){return n=Object.assign||function(h){for(var m,f=1,v=arguments.length;f<v;f++){m=arguments[f];for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(h[_]=m[_])}return h},n.apply(this,arguments)};function i(h){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&h[m],v=0;if(f)return f.call(h);if(h&&typeof h.length=="number")return{next:function(){return h&&v>=h.length&&(h=void 0),{value:h&&h[v++],done:!h}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(h,m){var f=typeof Symbol=="function"&&h[Symbol.iterator];if(!f)return h;var v=f.call(h),_,w=[],S;try{for(;(m===void 0||m-- >0)&&!(_=v.next()).done;)w.push(_.value)}catch(A){S={error:A}}finally{try{_&&!_.done&&(f=v.return)&&f.call(v)}finally{if(S)throw S.error}}return w}function r(h,m,f){if(arguments.length===2)for(var v=0,_=m.length,w;v<_;v++)(w||!(v in m))&&(w||(w=Array.prototype.slice.call(m,0,v)),w[v]=m[v]);return h.concat(w||Array.prototype.slice.call(m))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(m,f,v){super(m),this.token=f,this.type=v||"error"}}let s=h=>h<4?"short":h===4?"long":"narrow",l=h=>h%2===0?"2-digit":"numeric";function c(h,m){switch(h.char){case"y":return{year:l(h.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return m(`${h.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function u(h,m){switch(h.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:m(`${h.desc} is not supported with width ${h.width}`);return}}function p(h,m){let{char:f,desc:v,width:_}=h;if(f==="d")return l(_);m(`${v} is not supported`)}function g(h,m){let{char:f,desc:v,width:_}=h;if((f==="c"||f==="e")&&_<3){let w=`Numeric value is not supported for ${v}; falling back to weekday:short`;m(w,o.WARNING)}return s(_)}function b(h){let m=l(h.width),f;switch(h.char){case"h":f="h12";break;case"H":f="h23";break;case"k":f="h24";break;case"K":f="h11";break}return f?{hour:m,hourCycle:f}:{hour:m}}function x(h,m){let{char:f,desc:v,width:_}=h;switch(f){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";m(`${v} is not supported with width ${_}`);return;case"X":m(`${v} is not supported`);return}return"short"}function y(h,m){switch(h.field){case"era":return{era:s(h.width)};case"year":return c(h,m);case"month":return{month:u(h,m)};case"day":return{day:p(h,m)};case"weekday":return{weekday:g(h,m)};case"period":return;case"hour":return b(h);case"min":return{minute:l(h.width)};case"sec":return{second:l(h.width)};case"tz":return{timeZoneName:x(h,m)};case"quarter":case"week":case"sec-frac":case"ms":m(`${h.desc} is not supported`)}}function E(h,m){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:w=>{throw w},v={timeZone:m},_=[];for(let w of h){let{error:S,field:A,str:L}=w;if(S){let De=new o(S.message,w);De.stack=S.stack,f(De)}if(L){let De=`Ignoring string part: ${L}`;f(new o(De,w,o.WARNING))}A&&(_.indexOf(A)===-1?_.push(A):f(new o(`Duplicate ${A} token`,w)));let Q=y(w,(De,Be)=>f(new o(De,w,Be)));Q&&Object.assign(v,Q)}return v}let N={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"}},K=h=>h>="A"&&h<="Z"||h>="a"&&h<="z";function U(h,m){let f=h[m],v=1;for(;h[++m]===f;)++v;let _=N[f];if(!_){let w=`The letter ${f} is not a valid field identifier`;return{char:f,error:new Error(w),width:v}}return{char:f,field:_.field,desc:_.desc,width:v}}function Ne(h,m){let f=h[++m],v=2;if(f==="'")return{char:"'",str:f,width:v};for(;;){let _=h[++m];if(++v,_===void 0){let w=`Unterminated quoted literal in pattern: ${f||h}`;return{char:"'",error:new Error(w),str:f,width:v}}else if(_==="'"){if(h[++m]!=="'")return{char:"'",str:f,width:v};++v}f+=_}}function Xe(h,m){let f=h[m];if(!f)return null;if(K(f))return U(h,m);if(f==="'")return Ne(h,m);let v=f,_=1;for(;;){let w=h[++m];if(!w||K(w)||w==="'")return{char:f,str:v,width:_};v+=w,_+=1}}function tt(h){let m=[],f=0;for(;;){let v=Xe(h,f);if(!v)return m;m.push(v),f+=v.width}}function oi(h,m,f,v){typeof m=="string"&&(m=tt(m)),typeof f=="function"&&(v=f,f=void 0);let _=E(m,f,v),w=new Intl.DateTimeFormat(h,_);return S=>w.format(S)}function yi(h,m,f,v){typeof m=="string"&&(m=tt(m)),typeof f=="function"&&(v=f,f=void 0);let _=E(m,f,v);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(h)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
2
- `)+`
3
- })()`}class Ht extends Error{constructor(m,f){super(f),this.code=m}}class Oi extends Ht{constructor(m,f){super("BAD_OPTION",`Unknown ${m} option: ${f}`),this.stem=m,this.option=f}}class he extends Ht{constructor(m){super("BAD_STEM",`Unknown stem: ${m}`),this.stem=m}}class re extends Ht{constructor(m,f){super("MASKED_VALUE",`Value for ${m} is set multiple times`),this.type=m,this.prev=f}}class $e extends Ht{constructor(m){super("MISSING_OPTION",`Required option missing for ${m}`),this.stem=m}}class G extends Ht{constructor(m,f){super("BAD_PATTERN",f),this.char=m}}class X extends Ht{constructor(m,f,v){let _=v>1?`${v} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${m} only supports ${_} (got ${f.length})`),this.stem=m,this.options=f}}function le(h,m){let{numberingSystem:f}=m;return Array.isArray(h)||(h=[h]),f?h.map(v=>{let _=v.indexOf("-u-")===-1?"u-nu":"nu";return`${v}-${_}-${f}`}).concat(h):h}function it(h,m){let f=+h+m/2;return f-f%+m}function Lt(h){let{scale:m,unit:f}=h,v=typeof m=="number"&&m>=0?m:1;return f&&f.style==="percent"&&(v*=.01),v}function Vi(h){let m=Lt(h),{precision:f}=h;return f&&f.style==="precision-increment"?v=>it(v,f.increment)*m:v=>v*m}function ot(h){let m=Lt(h),{precision:f}=h;if(f&&f.style==="precision-increment"){let v=`+n + ${f.increment/2}`,_=`x - (x % +${f.increment})`;return m!==1&&(_=`(${_}) * ${m}`),`function(n) { var x = ${v}; return ${_}; }`}return m!==1?`function(n) { return n * ${m}; }`:null}function mt(h,m){let{decimal:f,group:v,integerWidth:_,notation:w,precision:S,roundingMode:A,sign:L,unit:Q,unitPer:De,unitWidth:Be}=h,at=(Bt,ii)=>{},de={};if(Q)switch(Q.style){case"base-unit":de.style="decimal";break;case"currency":de.style="currency",de.currency=Q.currency;break;case"measure-unit":de.style="unit",de.unit=Q.unit.replace(/.*-/,""),De&&(de.unit+="-per-"+De.replace(/.*-/,""));break;case"percent":de.style="percent";break}switch(Be){case"unit-width-full-name":de.currencyDisplay="name",de.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":de.currencyDisplay="code";break;case"unit-width-narrow":de.currencyDisplay="narrowSymbol",de.unitDisplay="narrow";break;case"unit-width-short":de.currencyDisplay="symbol",de.unitDisplay="short";break}switch(v){case"group-off":de.useGrouping=!1;break;case"group-auto":de.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":de.useGrouping=!0;break}if(S)switch(S.style){case"precision-fraction":{let{minFraction:Bt,maxFraction:ii,minSignificant:wi,maxSignificant:qi,source:Aa}=S;typeof Bt=="number"&&(de.minimumFractionDigits=Bt,typeof wi=="number"&&at()),typeof ii=="number"&&(de.maximumFractionDigits=ii),typeof wi=="number"&&(de.minimumSignificantDigits=wi),typeof qi=="number"&&(de.maximumSignificantDigits=qi);break}case"precision-integer":de.maximumFractionDigits=0;break;case"precision-unlimited":de.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":de.trailingZeroDisplay=S.trailingZero;break;case"precision-currency-cash":at(S.style);break}if(w)switch(w.style){case"compact-short":de.notation="compact",de.compactDisplay="short";break;case"compact-long":de.notation="compact",de.compactDisplay="long";break;case"notation-simple":de.notation="standard";break;case"scientific":case"engineering":{let{expDigits:Bt,expSign:ii,source:wi,style:qi}=w;de.notation=qi;break}}if(_){let{min:Bt,max:ii,source:wi}=_;if(Bt>0&&(de.minimumIntegerDigits=Bt),Number(ii)>0){let qi=de.notation==="engineering"||de.notation==="scientific";ii===3&&qi?de.notation="engineering":at()}}switch(L){case"sign-auto":de.signDisplay="auto";break;case"sign-always":de.signDisplay="always";break;case"sign-except-zero":de.signDisplay="exceptZero";break;case"sign-never":de.signDisplay="never";break;case"sign-accounting":de.currencySign="accounting";break;case"sign-accounting-always":de.currencySign="accounting",de.signDisplay="always";break;case"sign-accounting-except-zero":de.currencySign="accounting",de.signDisplay="exceptZero";break}return de}function Kt(h,m,f){let v=h[m];switch(v){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;h[++m]==="¤";)++_;switch(_){case 1:return{char:v,currency:"default",width:_};case 2:return{char:v,currency:"iso-code",width:_};case 3:return{char:v,currency:"full-name",width:_};case 5:return{char:v,currency:"narrow",width:_};default:{let w=`Invalid number (${_}) of ¤ chars in pattern`;return f(new G("¤",w)),null}}}case"*":{let _=h[m+1];if(_)return{char:v,pad:_,width:2};break}case"+":case"-":return{char:v,width:1};case"'":{let _=h[++m],w=2;if(_==="'")return{char:v,str:_,width:w};for(;;){let S=h[++m];if(++w,S===void 0){let A=`Unterminated quoted literal in pattern: ${_}`;return f(new G("'",A)),{char:v,str:_,width:w}}else if(S==="'"){if(h[++m]!=="'")return{char:v,str:_,width:w};++w}_+=S}}}return null}let Ia=h=>h>="0"&&h<="9";function zt(h,m){let f=h[m];if(Ia(f)){let v=f;for(;;){let _=h[++m];if(Ia(_))v+=_;else return{char:"0",digits:v,width:v.length}}}switch(f){case"#":{let v=1;for(;h[++m]==="#";)++v;return{char:f,width:v}}case"@":{let v=1;for(;h[++m]==="@";)++v;let _=v;for(m-=1;h[++m]==="#";)++_;return{char:f,min:v,width:_}}case"E":{let v=h[m+1]==="+";v&&++m;let _=0;for(;h[++m]==="0";)++_;let w=(v?2:1)+_;if(_)return{char:f,expDigits:_,plus:v,width:w};break}case".":case",":return{char:f,width:1}}return null}function zi(h,m,f){let v;(function(Q){Q[Q.Prefix=0]="Prefix",Q[Q.Number=1]="Number",Q[Q.Suffix=2]="Suffix"})(v||(v={}));let _=[],w=[],S=[],A=v.Prefix,L="";for(;m<h.length;){let Q=h[m];if(Q===";"){m+=1;break}switch(A){case v.Prefix:{let De=Kt(h,m,f);if(De)L&&(_.push({char:"'",str:L,width:L.length}),L=""),_.push(De),m+=De.width;else{let Be=zt(h,m);Be?(L&&(_.push({char:"'",str:L,width:L.length}),L=""),A=v.Number,w.push(Be),m+=Be.width):(L+=Q,m+=1)}break}case v.Number:{let De=zt(h,m);De?(w.push(De),m+=De.width):A=v.Suffix;break}case v.Suffix:{let De=Kt(h,m,f);De?(L&&(S.push({char:"'",str:L,width:L.length}),L=""),S.push(De),m+=De.width):(L+=Q,m+=1);break}}}return L&&S.push({char:"'",str:L,width:L.length}),{pattern:{prefix:_,number:w,suffix:S},pos:m}}function xi(h,m){let{pattern:f,pos:v}=zi(h,0,m);if(v<h.length){let{pattern:_}=zi(h,v,m);return{tokens:f,negative:_}}return{tokens:f}}function $a(h,m){let f={},v=!1,_=!1,w=0,S="",A=-1,L="",Q=0;for(let Be=0;Be<h.length;++Be){let at=h[Be];switch(at.char){case"#":{if(A===-1){if(S){let de="Pattern has # after integer digits";m(new G("#",de))}w+=at.width}else Q+=at.width;break}case"0":{if(A===-1)S+=at.digits;else{if(Q){let de="Pattern has digits after # in fraction";m(new G("0",de))}L+=at.digits}break}case"@":{f.precision&&m(new re("precision",f.precision)),f.precision={style:"precision-fraction",minSignificant:at.min,maxSignificant:at.width};break}case",":v=!0;break;case".":if(A===1){let de="Pattern has more than one decimal separator";m(new G(".",de))}A=Be;break;case"E":{if(_&&m(new re("exponent",f.notation)),v){let de="Exponential patterns may not contain grouping separators";m(new G("E",de))}f.notation={style:"scientific"},at.expDigits>1&&(f.notation.expDigits=at.expDigits),at.plus&&(f.notation.expSign="sign-always"),_=!0}}}v?f.group="group-auto":w+S.length>3&&(f.group="group-off");let De=+`${S||"0"}.${L}`;if(De&&(f.precision={style:"precision-increment",increment:De}),!_)S.length>1&&(f.integerWidth={min:S.length}),!f.precision&&(L.length||Q)&&(f.precision={style:"precision-fraction",minFraction:L.length,maxFraction:L.length+Q});else if((!f.precision||De)&&(f.integerWidth=w?{min:1,max:w+S.length}:{min:Math.max(1,S.length)}),f.precision)De||(f.integerWidth={min:1,max:1});else{let Be=S.length+L.length;A===-1?Be>0&&(f.precision={style:"precision-fraction",maxSignificant:Be}):(f.precision={style:"precision-fraction",maxSignificant:Math.max(1,Be)+Q},Be>1&&(f.precision.minSignificant=Be))}return f}function Bn(h,m,f,v,_){let w=!1,S="";for(let A of h)switch(A.char){case"%":m.unit={style:A.style},_?w=!0:S="";break;case"¤":if(!f){let L="The ¤ pattern requires a currency";v(new G("¤",L));break}switch(m.unit={style:"currency",currency:f},A.currency){case"iso-code":m.unitWidth="unit-width-iso-code";break;case"full-name":m.unitWidth="unit-width-full-name";break;case"narrow":m.unitWidth="unit-width-narrow";break}_?w=!0:S="";break;case"*":break;case"+":w||(S+="+");break;case"'":w||(S+=A.str);break}return S}function Cl(h,m){let f=!1,v="";for(let _ of h)switch(_.char){case"%":case"¤":m?f=!0:v="";break;case"-":f||(v+="-");break;case"'":f||(v+=_.str);break}return v}function Sl(h,m){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L=>{throw L},{tokens:v,negative:_}=xi(h,f),w=$a(v.number,f),S=Bn(v.prefix,w,m,f,!0),A=Bn(v.suffix,w,m,f,!1);if(_){let L=Cl(_.prefix,!0),Q=Cl(_.suffix,!1);w.affix={pos:[S,A],neg:[L,Q]},w.sign="sign-never"}else(S||A)&&(w.affix={pos:[S,A]});return w}function ZJ(h){return["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(h)!==-1}function tg(h){let m=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[f]=h.split("-",1);return m.indexOf(f)!==-1}let ig={"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},ag={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function QJ(h){return h in ig}function XJ(h){return h in ag}function JJ(h,m,f){if(QJ(h)){let v=ig[h];if(m.length>v){if(v===0)for(let _ of m)f(new Oi(h,_));else f(new X(h,m,v));return!1}else if(XJ(h)&&m.length<ag[h])return f(new $e(h)),!1}return!0}function pu(h,m){let f=m==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,v=h&&h.match(f);if(v){let _=v[1].length;switch(v[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+v[2].length}}}return null}function eee(h,m,f){let v=pu(h,"fraction");if(v){m.length>1&&f(new X(h,m,1));let w={style:"precision-fraction",source:h,minFraction:v.min};v.max!=null&&(w.maxFraction=v.max);let S=m[0],A=pu(S,"significant");return A?(w.source=`${h}/${S}`,w.minSignificant=A.min,A.max!=null&&(w.maxSignificant=A.max)):S&&f(new Oi(h,S)),w}let _=pu(h,"significant");if(_){for(let S of m)f(new Oi(h,S));let w={style:"precision-fraction",source:h,minSignificant:_.min};return _.max!=null&&(w.maxSignificant=_.max),w}return null}class tee{constructor(m){this.skeleton={},this.onError=m}badOption(m,f){this.onError(new Oi(m,f))}assertEmpty(m){let f=this.skeleton[m];f&&this.onError(new re(m,f))}parseToken(m,f){if(!JJ(m,f,this.onError))return;let v=f[0],_=this.skeleton;switch(m){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:m};break;case"scientific":case"engineering":{let w=null,S;for(let L of f)switch(L){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":S=L;break;default:/^\+e+$/.test(L)?w=L.length-1:this.badOption(m,L)}this.assertEmpty("notation");let A=f.join("/");_.notation=w&&S?{style:m,source:A,expDigits:w,expSign:S}:w?{style:m,source:A,expDigits:w}:S?{style:m,source:A,expSign:S}:{style:m,source:A};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:m};break;case"currency":/^[A-Z]{3}$/.test(v)?(this.assertEmpty("unit"),_.unit={style:m,currency:v}):this.badOption(m,v);break;case"measure-unit":{tg(v)?(this.assertEmpty("unit"),_.unit={style:m,unit:v}):this.badOption(m,v);break}case"per-measure-unit":{tg(v)?(this.assertEmpty("unitPer"),_.unitPer=v):this.badOption(m,v);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"),_.unitWidth=m;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),_.precision={style:m};break;case"precision-currency-standard":this.assertEmpty("precision"),v==="w"?_.precision={style:m,trailingZero:"stripIfInteger"}:_.precision={style:m};break;case"precision-increment":{let w=Number(v);w>0?(this.assertEmpty("precision"),_.precision={style:m,increment:w}):this.badOption(m,v);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"),_.roundingMode=m;break;case"integer-width":{if(/^\+0*$/.test(v))this.assertEmpty("integerWidth"),_.integerWidth={source:v,min:v.length-1};else{let w=v.match(/^#*(0*)$/);w?(this.assertEmpty("integerWidth"),_.integerWidth={source:v,min:w[1].length,max:w[0].length}):this.badOption(m,v)}break}case"scale":{let w=Number(v);w>0?(this.assertEmpty("scale"),_.scale=w):this.badOption(m,v);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),_.group=m;break;case"latin":this.assertEmpty("numberingSystem"),_.numberingSystem="latn";break;case"numbering-system":{ZJ(v)?(this.assertEmpty("numberingSystem"),_.numberingSystem=v):this.badOption(m,v);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"),_.sign=m;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=m;break;default:{let w=eee(m,f,this.onError);w?(this.assertEmpty("precision"),_.precision=w):this.onError(new he(m))}}}}function ng(h){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},f=[];for(let _ of h.split(" "))if(_){let w=_.split("/"),S=w.shift()||"";f.push({stem:S,options:w})}let v=new tee(m);for(let{stem:_,options:w}of f)v.parseToken(_,w);return v.skeleton}function iee(h,m,f,v){typeof m=="string"&&(m=m.indexOf("::")===0?ng(m.slice(2),v):Sl(m,f,v));let _=le(h,m),w=mt(m),S=Vi(m),A=new Intl.NumberFormat(_,w);if(m.affix){let[L,Q]=m.affix.pos,[De,Be]=m.affix.neg||["",""];return at=>{let de=A.format(S(at));return at<0?`${De}${de}${Be}`:`${L}${de}${Q}`}}return L=>A.format(S(L))}function aee(h,m,f,v){typeof m=="string"&&(m=m.indexOf("::")===0?ng(m.slice(2),v):Sl(m,f,v));let _=le(h,m),w=mt(m),S=ot(m),A=["(function() {",`var opt = ${JSON.stringify(w)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],L="nf.format(value)";if(S&&(A.push(`var mod = ${S};`),L="nf.format(mod(value))"),m.affix){let[Q,De]=m.affix.pos.map(Be=>JSON.stringify(Be));if(m.affix.neg){let[Be,at]=m.affix.neg.map(de=>JSON.stringify(de));L=`value < 0 ? ${Be} + ${L} + ${at} : ${Q} + ${L} + ${De}`}else L=`${Q} + ${L} + ${De}`}return A.push(`return function(value) { return ${L}; }`),A.join(`
4
- `)+`
5
- })()`}var mu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nee(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var ts={},rg={},og={exports:{}};(function(h){(function(m,f){h.exports?h.exports=f():m.moo=f()})(mu,function(){var m=Object.prototype.hasOwnProperty,f=Object.prototype.toString,v=typeof new RegExp().sticky=="boolean";function _(B){return B&&f.call(B)==="[object RegExp]"}function w(B){return B&&typeof B=="object"&&!_(B)&&!Array.isArray(B)}function S(B){return B.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function A(B){var ne=new RegExp("|"+B);return ne.exec("").length-1}function L(B){return"("+B+")"}function Q(B){if(!B.length)return"(?!)";var ne=B.map(function(Ee){return"(?:"+Ee+")"}).join("|");return"(?:"+ne+")"}function De(B){if(typeof B=="string")return"(?:"+S(B)+")";if(_(B)){if(B.ignoreCase)throw new Error("RegExp /i flag not allowed");if(B.global)throw new Error("RegExp /g flag is implied");if(B.sticky)throw new Error("RegExp /y flag is implied");if(B.multiline)throw new Error("RegExp /m flag is implied");return B.source}else throw new Error("Not a pattern: "+B)}function Be(B,ne){return B.length>ne?B:Array(ne-B.length+1).join(" ")+B}function at(B,ne){for(var Ee=B.length,Ie=0;;){var Ge=B.lastIndexOf(`
6
- `,Ee-1);if(Ge===-1||(Ie++,Ee=Ge,Ie===ne)||Ee===0)break}var ze=Ie<ne?0:Ee+1;return B.substring(ze).split(`
7
- `)}function de(B){for(var ne=Object.getOwnPropertyNames(B),Ee=[],Ie=0;Ie<ne.length;Ie++){var Ge=ne[Ie],ze=B[Ge],st=[].concat(ze);if(Ge==="include"){for(var Wt=0;Wt<st.length;Wt++)Ee.push({include:st[Wt]});continue}var Et=[];st.forEach(function(We){w(We)?(Et.length&&Ee.push(ii(Ge,Et)),Ee.push(ii(Ge,We)),Et=[]):Et.push(We)}),Et.length&&Ee.push(ii(Ge,Et))}return Ee}function Bt(B){for(var ne=[],Ee=0;Ee<B.length;Ee++){var Ie=B[Ee];if(Ie.include){for(var Ge=[].concat(Ie.include),ze=0;ze<Ge.length;ze++)ne.push({include:Ge[ze]});continue}if(!Ie.type)throw new Error("Rule has no type: "+JSON.stringify(Ie));ne.push(ii(Ie.type,Ie))}return ne}function ii(B,ne){if(w(ne)||(ne={match:ne}),ne.include)throw new Error("Matching rules cannot also include states");var Ee={defaultType:B,lineBreaks:!!ne.error||!!ne.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var Ie in ne)m.call(ne,Ie)&&(Ee[Ie]=ne[Ie]);if(typeof Ee.type=="string"&&B!==Ee.type)throw new Error("Type transform cannot be a string (type '"+Ee.type+"' for token '"+B+"')");var Ge=Ee.match;return Ee.match=Array.isArray(Ge)?Ge:Ge?[Ge]:[],Ee.match.sort(function(ze,st){return _(ze)&&_(st)?0:_(st)?-1:_(ze)?1:st.length-ze.length}),Ee}function wi(B){return Array.isArray(B)?Bt(B):de(B)}var qi=ii("error",{lineBreaks:!0,shouldThrow:!0});function Aa(B,ne){for(var Ee=null,Ie=Object.create(null),Ge=!0,ze=null,st=[],Wt=[],Et=0;Et<B.length;Et++)B[Et].fallback&&(Ge=!1);for(var Et=0;Et<B.length;Et++){var We=B[Et];if(We.include)throw new Error("Inheritance is not allowed in stateless lexers");if(We.error||We.fallback){if(Ee)throw!We.fallback==!Ee.fallback?new Error("Multiple "+(We.fallback?"fallback":"error")+" rules not allowed (for token '"+We.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+We.defaultType+"')");Ee=We}var si=We.match.slice();if(Ge)for(;si.length&&typeof si[0]=="string"&&si[0].length===1;){var Gr=si.shift();Ie[Gr.charCodeAt(0)]=We}if(We.pop||We.push||We.next){if(!ne)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+We.defaultType+"')");if(We.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+We.defaultType+"')")}if(si.length!==0){Ge=!1,st.push(We);for(var Qa=0;Qa<si.length;Qa++){var pr=si[Qa];if(_(pr)){if(ze===null)ze=pr.unicode;else if(ze!==pr.unicode&&We.fallback===!1)throw new Error("If one rule is /u then all must be")}}var $r=Q(si.map(De)),Ta=new RegExp($r);if(Ta.test(""))throw new Error("RegExp matches empty string: "+Ta);var as=A($r);if(as>0)throw new Error("RegExp has capture groups: "+Ta+`
8
- Use (?: … ) instead`);if(!We.lineBreaks&&Ta.test(`
9
- `))throw new Error("Rule should declare lineBreaks: "+Ta);Wt.push(L($r))}}var Kr=Ee&&Ee.fallback,ns=v&&!Kr?"ym":"gm",Nl=v||Kr?"":"|";ze===!0&&(ns+="u");var Fee=new RegExp(Q(Wt)+Nl,ns);return{regexp:Fee,groups:st,fast:Ie,error:Ee||qi}}function Hn(B){var ne=Aa(wi(B));return new ei({start:ne},"start")}function fn(B,ne,Ee){var Ie=B&&(B.push||B.next);if(Ie&&!Ee[Ie])throw new Error("Missing state '"+Ie+"' (in token '"+B.defaultType+"' of state '"+ne+"')");if(B&&B.pop&&+B.pop!=1)throw new Error("pop must be 1 (in token '"+B.defaultType+"' of state '"+ne+"')")}function gn(B,ne){var Ee=B.$all?wi(B.$all):[];delete B.$all;var Ie=Object.getOwnPropertyNames(B);ne||(ne=Ie[0]);for(var Ge=Object.create(null),ze=0;ze<Ie.length;ze++){var st=Ie[ze];Ge[st]=wi(B[st]).concat(Ee)}for(var ze=0;ze<Ie.length;ze++)for(var st=Ie[ze],Wt=Ge[st],Et=Object.create(null),We=0;We<Wt.length;We++){var si=Wt[We];if(si.include){var Gr=[We,1];if(si.include!==st&&!Et[si.include]){Et[si.include]=!0;var Qa=Ge[si.include];if(!Qa)throw new Error("Cannot include nonexistent state '"+si.include+"' (in state '"+st+"')");for(var pr=0;pr<Qa.length;pr++){var $r=Qa[pr];Wt.indexOf($r)===-1&&Gr.push($r)}}Wt.splice.apply(Wt,Gr),We--}}for(var Ta=Object.create(null),ze=0;ze<Ie.length;ze++){var st=Ie[ze];Ta[st]=Aa(Ge[st],!0)}for(var ze=0;ze<Ie.length;ze++){for(var as=Ie[ze],Kr=Ta[as],ns=Kr.groups,We=0;We<ns.length;We++)fn(ns[We],as,Ta);for(var Nl=Object.getOwnPropertyNames(Kr.fast),We=0;We<Nl.length;We++)fn(Kr.fast[Nl[We]],as,Ta)}return new ei(Ta,ne)}function vn(B){for(var ne=typeof Map<"u",Ee=ne?new Map:Object.create(null),Ie=Object.getOwnPropertyNames(B),Ge=0;Ge<Ie.length;Ge++){var ze=Ie[Ge],st=B[ze],Wt=Array.isArray(st)?st:[st];Wt.forEach(function(Et){if(typeof Et!="string")throw new Error("keyword must be string (in keyword '"+ze+"')");ne?Ee.set(Et,ze):Ee[Et]=ze})}return function(Et){return ne?Ee.get(Et):Ee[Et]}}var ei=function(B,ne){this.startState=ne,this.states=B,this.buffer="",this.stack=[],this.reset()};ei.prototype.reset=function(B,ne){return this.buffer=B||"",this.index=0,this.line=ne?ne.line:1,this.col=ne?ne.col:1,this.queuedToken=ne?ne.queuedToken:null,this.queuedText=ne?ne.queuedText:"",this.queuedThrow=ne?ne.queuedThrow:null,this.setState(ne?ne.state:this.startState),this.stack=ne&&ne.stack?ne.stack.slice():[],this},ei.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}},ei.prototype.setState=function(B){if(!(!B||this.state===B)){this.state=B;var ne=this.states[B];this.groups=ne.groups,this.error=ne.error,this.re=ne.regexp,this.fast=ne.fast}},ei.prototype.popState=function(){this.setState(this.stack.pop())},ei.prototype.pushState=function(B){this.stack.push(this.state),this.setState(B)};var Ol=v?function(B,ne){return B.exec(ne)}:function(B,ne){var Ee=B.exec(ne);return Ee[0].length===0?null:Ee};ei.prototype._getGroup=function(B){for(var ne=this.groups.length,Ee=0;Ee<ne;Ee++)if(B[Ee+1]!==void 0)return this.groups[Ee];throw new Error("Cannot find token type for matched text")};function Rl(){return this.value}if(ei.prototype.next=function(){var B=this.index;if(this.queuedGroup){var ne=this._token(this.queuedGroup,this.queuedText,B);return this.queuedGroup=null,this.queuedText="",ne}var Ee=this.buffer;if(B!==Ee.length){var st=this.fast[Ee.charCodeAt(B)];if(st)return this._token(st,Ee.charAt(B),B);var Ie=this.re;Ie.lastIndex=B;var Ge=Ol(Ie,Ee),ze=this.error;if(Ge==null)return this._token(ze,Ee.slice(B,Ee.length),B);var st=this._getGroup(Ge),Wt=Ge[0];return ze.fallback&&Ge.index!==B?(this.queuedGroup=st,this.queuedText=Wt,this._token(ze,Ee.slice(B,Ge.index),B)):this._token(st,Wt,B)}},ei.prototype._token=function(B,ne,Ee){var Ie=0;if(B.lineBreaks){var Ge=/\n/g,ze=1;if(ne===`
10
- `)Ie=1;else for(;Ge.exec(ne);)Ie++,ze=Ge.lastIndex}var st={type:typeof B.type=="function"&&B.type(ne)||B.defaultType,value:typeof B.value=="function"?B.value(ne):ne,text:ne,toString:Rl,offset:Ee,lineBreaks:Ie,line:this.line,col:this.col},Wt=ne.length;if(this.index+=Wt,this.line+=Ie,Ie!==0?this.col=Wt-ze+1:this.col+=Wt,B.shouldThrow){var Et=new Error(this.formatError(st,"invalid syntax"));throw Et}return B.pop?this.popState():B.push?this.pushState(B.push):B.next&&this.setState(B.next),st},typeof Symbol<"u"&&Symbol.iterator){var bn=function(B){this.lexer=B};bn.prototype.next=function(){var B=this.lexer.next();return{value:B,done:!B}},bn.prototype[Symbol.iterator]=function(){return this},ei.prototype[Symbol.iterator]=function(){return new bn(this)}}return ei.prototype.formatError=function(Ie,ne){if(Ie==null)var Ee=this.buffer.slice(this.index),Ie={text:Ee,offset:this.index,lineBreaks:Ee.indexOf(`
11
- `)===-1?0:1,line:this.line,col:this.col};var Ge=2,ze=Math.max(Ie.line-Ge,1),st=Ie.line+Ge,Wt=String(st).length,Et=at(this.buffer,this.line-Ie.line+Ge+1).slice(0,5),We=[];We.push(ne+" at line "+Ie.line+" col "+Ie.col+":"),We.push("");for(var si=0;si<Et.length;si++){var Gr=Et[si],Qa=ze+si;We.push(Be(String(Qa),Wt)+" "+Gr),Qa===Ie.line&&We.push(Be("",Wt+Ie.col+1)+"^")}return We.join(`
12
- `)},ei.prototype.clone=function(){return new ei(this.states,this.state)},ei.prototype.has=function(B){return!0},{compile:Hn,states:gn,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:vn}})})(og);var ree=og.exports;(function(h){var m=mu&&mu.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(h,"__esModule",{value:!0}),h.lexer=h.states=void 0;let f=m(ree);h.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:v=>v.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:v=>v.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:v=>v.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:v=>v.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:v=>v.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:v=>v.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:v=>v.substring(0,v.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},h.lexer=f.default.states(h.states)})(rg),Object.defineProperty(ts,"__esModule",{value:!0});var sg=ts.parse=ts.ParseError=void 0;let lg=rg,Dl=h=>({offset:h.offset,line:h.line,col:h.col,text:h.text,lineBreaks:h.lineBreaks}),fu=h=>h==="plural"||h==="select"||h==="selectordinal";function oee(h,m){let f="",v="";for(let _ of m){let w=_.ctx.text;switch(v+=w,_.type){case"content":f+=_.value;break;case"argument":case"function":case"octothorpe":f+=w;break;default:throw new Di(h,`Unsupported part in strict mode function arg style: ${w}`)}}return[{type:"content",value:f.trim(),ctx:Object.assign({},m[0].ctx,{text:v})}]}let see=["number","date","time","spellout","ordinal","duration"],cg=["zero","one","two","few","many","other"];class Di extends Error{constructor(m,f){super(lg.lexer.formatError(m,f))}}ts.ParseError=Di;class lee{constructor(m,f){var v,_,w,S;this.lexer=lg.lexer.reset(m),this.cardinalKeys=(v=f==null?void 0:f.cardinal)!==null&&v!==void 0?v:cg,this.ordinalKeys=(_=f==null?void 0:f.ordinal)!==null&&_!==void 0?_:cg,this.strict=(w=f==null?void 0:f.strict)!==null&&w!==void 0?w:!1,this.strictPluralKeys=(S=f==null?void 0:f.strictPluralKeys)!==null&&S!==void 0?S:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(m,f,v){if(v[0]==="="){if(f==="select")throw new Di(m,`The case ${v} is not valid with select`)}else if(f!=="select"){let _=f==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(v)){let w=`The ${f} case ${v} is not valid in this locale`;throw new Di(m,w)}}}parseSelect(m,f,v,_){let{value:w}=m,S={type:_,arg:w,cases:[],ctx:v};_==="plural"||_==="selectordinal"?f=!0:this.strict&&(f=!1);for(let A of this.lexer)switch(A.type){case"offset":if(_==="select")throw new Di(A,"Unexpected plural offset for select");if(S.cases.length>0)throw new Di(A,"Plural offset must be set before cases");S.pluralOffset=Number(A.value),v.text+=A.text,v.lineBreaks+=A.lineBreaks;break;case"case":{this.checkSelectKey(A,_,A.value),S.cases.push({key:A.value,tokens:this.parseBody(f),ctx:Dl(A)});break}case"end":return S;default:throw new Di(A,`Unexpected lexer token: ${A.type}`)}throw new Di(null,"Unexpected message end")}parseArgToken(m,f){let v=Dl(m),_=this.lexer.next();if(!_)throw new Di(null,"Unexpected message end");if(v.text+=_.text,v.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!see.includes(_.value)){let w=`Invalid strict mode function arg type: ${_.value}`;throw new Di(m,w)}switch(_.type){case"end":return{type:"argument",arg:m.value,ctx:v};case"func-simple":{let w=this.lexer.next();if(!w)throw new Di(null,"Unexpected message end");if(w.type!=="end")throw new Di(w,`Unexpected lexer token: ${w.type}`);if(v.text+=w.text,fu(_.value.toLowerCase()))throw new Di(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:m.value,key:_.value,ctx:v}}case"func-args":{if(fu(_.value.toLowerCase())){let S=`Invalid type identifier: ${_.value}`;throw new Di(_,S)}let w=this.parseBody(this.strict?!1:f);return this.strict&&w.length>0&&(w=oee(m,w)),{type:"function",arg:m.value,key:_.value,param:w,ctx:v}}case"select":if(fu(_.value))return this.parseSelect(m,f,v,_.value);throw new Di(_,`Unexpected select type ${_.value}`);default:throw new Di(_,`Unexpected lexer token: ${_.type}`)}}parseBody(m,f){let v=[],_=null;for(let w of this.lexer)if(w.type==="argument")_&&(_=null),v.push(this.parseArgToken(w,m));else if(w.type==="octothorpe"&&m)_&&(_=null),v.push({type:"octothorpe",ctx:Dl(w)});else{if(w.type==="end"&&!f)return v;{let S=w.value;if(!m&&w.type==="quoted"&&S[0]==="#"){if(S.includes("{")){let A=`Unsupported escape pattern: ${S}`;throw new Di(w,A)}S=w.text}_?(_.value+=S,_.ctx.text+=w.text,_.ctx.lineBreaks+=w.lineBreaks):(_={type:"content",value:S,ctx:Dl(w)},v.push(_))}}if(f)return v;throw new Di(null,"Unexpected message end")}}function cee(h){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new lee(h,m).parse()}sg=ts.parse=cee;function is(h){return is[h]||(is[h]=new Intl.NumberFormat(h))}function dee(h,m,f){return is(h).format(m-f)}function uee(h,m,f,v){var _=m-f;if(isNaN(_))throw new Error("`"+v+"` or its offset is not a number");return is(h).format(_)}function hee(h,m,f,v,_){if({}.hasOwnProperty.call(v,h))return v[h];m&&(h-=m);var w=f(h,_);return w in v?v[w]:v.other}function pee(h,m){return{}.hasOwnProperty.call(m,h)?m[h]:m.other}function mee(h,m){for(var f=0;f<h.length;++f)if(!m||m[h[f]]===void 0)throw new Error("Message requires argument '".concat(h[f],"'"))}var fee=Object.freeze({__proto__:null,_nf:is,number:dee,plural:hee,reqArgs:mee,select:pee,strictNumber:uee});function gee(h,m,f){var v={day:"numeric",month:"short",year:"numeric"};switch(f){case"full":v.weekday="long";case"long":v.month="long";break;case"short":v.month="numeric"}return new Date(h).toLocaleDateString(m,v)}function vee(h){if(typeof h!="number"&&(h=Number(h)),!isFinite(h))return String(h);var m="";h<0?(m="-",h=Math.abs(h)):h=Number(h);var f=h%60,v=[Math.round(f)===f?f:f.toFixed(3)];h<60?v.unshift(0):(h=Math.round((h-Number(v[0]))/60),v.unshift(h%60),h>=60&&(h=Math.round((h-Number(v[0]))/60),v.unshift(h)));var _=v.shift();return m+_+":"+v.map(function(w){return Number(w)<10?"0"+String(w):String(w)}).join(":")}var gu={};function Il(h,m){var f=String(h)+JSON.stringify(m);return gu[f]||(gu[f]=new Intl.NumberFormat(h,m)),gu[f]}function bee(h,m,f,v){var _=f&&f.split(":")||[],w=_[0],S=_[1],A={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:S&&S.trim()||v,minimumFractionDigits:2,maximumFractionDigits:2}};return Il(m,A[w]||{}).format(h)}var _ee=function(h,m,f){return Il(m,{style:"currency",currency:f,minimumFractionDigits:2,maximumFractionDigits:2}).format(h)},yee=function(h,m){return Il(m,{maximumFractionDigits:0}).format(h)},xee=function(h,m){return Il(m,{style:"percent"}).format(h)};function wee(h,m,f){var v={second:"numeric",minute:"numeric",hour:"numeric"};switch(f){case"full":case"long":v.timeZoneName="short";break;case"short":delete v.second}return new Date(h).toLocaleTimeString(m,v)}var vu=Object.freeze({__proto__:null,date:gee,duration:vee,numberCurrency:_ee,numberFmt:bee,numberInteger:yee,numberPercent:xee,time:wee}),kee={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}},bu=nee(kee);function Eee(h){let m=0;for(let f=0;f<h.length;++f){let v=h.charCodeAt(f);m=(m<<5)-m+v,m|=0}return m}function jn(h,m){m&&(h+=" "+Eee(h).toString(36));let f=h.trim().replace(/\W+/g,"_");return bu.ES3[f]||bu.ESnext[f]||/^\d/.test(f)?"_"+f:f}function _u(h,m){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(m)&&!bu.ES3[m])return h?h+"."+m:m;{let f=JSON.stringify(m);return h?h+"["+f+"]":f}}var Cee=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],See=new RegExp("^"+Cee.join("|^"));function Dee(h,m){var f=See.test(m),v=JSON.stringify(f?"‏":"‎");return"".concat(v," + ").concat(h," + ").concat(v)}var Iee="@messageformat/runtime",Aee="@messageformat/runtime/lib/cardinals",dg="@messageformat/runtime/lib/plurals",Tee="@messageformat/runtime/lib/formatters",Oee=function(){function h(m){this.arguments=[],this.runtime={},this.options=m}return h.prototype.compile=function(m,f,v){var _,w,S=this,A=this.options,L=A.localeCodeFromKey,Q=A.requireAllArguments,De=A.strict,Be=A.strictPluralKeys;if(typeof m=="object"){var at={};try{for(var de=i(Object.keys(m)),Bt=de.next();!Bt.done;Bt=de.next()){var ii=Bt.value,wi=L?L(ii):ii,qi=v&&wi&&v[wi]||f;at[ii]=this.compile(m[ii],qi,v)}}catch(ei){_={error:ei}}finally{try{Bt&&!Bt.done&&(w=de.return)&&w.call(de)}finally{if(_)throw _.error}}return at}this.plural=f;var Aa={cardinal:f.cardinals,ordinal:f.ordinals,strict:De,strictPluralKeys:Be};this.arguments=[];var Hn=sg(m,Aa).map(function(ei){return S.token(ei,null)}),fn=this.arguments.length>0,gn=this.concatenate(Hn,!0);if(Q&&fn){this.setRuntimeFn("reqArgs");var vn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(vn,", d); return ").concat(gn,"; }")}return"(".concat(fn?"d":"",") => ").concat(gn)},h.prototype.cases=function(m,f){var v=this,_=!0,w=m.cases.map(function(De){var Be=De.key,at=De.tokens;Be==="other"&&(_=!1);var de=at.map(function(Bt){return v.token(Bt,f)});return"".concat(_u(null,Be.replace(/^=/,"")),": ").concat(v.concatenate(de,!1))});if(_){var S=m.type,A=this.plural,L=A.cardinals,Q=A.ordinals;if(S==="select"||S==="plural"&&L.includes("other")||S==="selectordinal"&&Q.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(m)))}return"{ ".concat(w.join(", ")," }")},h.prototype.concatenate=function(m,f){var v=this.options.returnType==="values";return v&&(f||m.length>1)?"["+m.join(", ")+"]":m.join(" + ")||'""'},h.prototype.token=function(m,f){if(m.type==="content")return JSON.stringify(m.value);var v=this.plural,_=v.id,w=v.lc,S,A;switch("arg"in m?(this.arguments.push(m.arg),S=[_u("d",m.arg)]):S=[],m.type){case"argument":return this.options.biDiSupport?Dee(String(S[0]),w):String(S[0]);case"select":A="select",f&&this.options.strict&&(f=null),S.push(this.cases(m,f)),this.setRuntimeFn("select");break;case"selectordinal":A="plural",S.push(m.pluralOffset||0,_,this.cases(m,m),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":A="plural",S.push(m.pluralOffset||0,_,this.cases(m,m)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var L=this.options.customFormatters[m.key],Q=L&&"module"in L&&typeof L.module=="function";if(!L){if(m.key==="date"){A=this.setDateFormatter(m,S,f);break}else if(m.key==="number"){A=this.setNumberFormatter(m,S,f);break}}if(S.push(JSON.stringify(this.plural.locale)),m.param){f&&this.options.strict&&(f=null);var De=this.getFormatterArg(m,f);De&&S.push(De)}A=Q?jn("".concat(m.key,"__").concat(this.plural.locale)):m.key,this.setFormatter(A,m.key);break}case"octothorpe":if(!f)return'"#"';S=[JSON.stringify(this.plural.locale),_u("d",f.arg),f.pluralOffset||0],this.options.strict?(A="strictNumber",S.push(JSON.stringify(f.arg)),this.setRuntimeFn("strictNumber")):(A="number",this.setRuntimeFn("number"));break}if(!A)throw new Error("Parser error for token "+JSON.stringify(m));return"".concat(A,"(").concat(S.join(", "),")")},h.prototype.runtimeIncludes=function(m,f){if(jn(m)!==m)throw new SyntaxError("Reserved word used as ".concat(f," identifier: ").concat(m));var v=this.runtime[m];if(!v||v.type===f)return v;throw new TypeError("Cannot override ".concat(v.type," runtime function as ").concat(f,": ").concat(m))},h.prototype.setLocale=function(m,f){var v=this.runtimeIncludes(m,"locale"),_=this.plural,w=_.getCardinal,S=_.getPlural,A=_.isDefault,L,Q,De;if(!f&&A&&w){if(v)return;L=function(Be){return w(Be)},Q=Aee,De=function(){return String(w)}}else{if(v&&(!A||v.module===dg))return;L=function(Be,at){return S(Be,at)},Q=A?dg:S.module||null,De=function(){return String(S)}}this.runtime[m]=Object.assign(L,{id:m,module:Q,toString:De,type:"locale"})},h.prototype.setRuntimeFn=function(m){this.runtimeIncludes(m,"runtime")||(this.runtime[m]=Object.assign(fee[m],{id:m,module:Iee,type:"runtime"}))},h.prototype.getFormatterArg=function(m,f){var v,_,w,S,A=this,L=m.key,Q=m.param,De=this.options.customFormatters[L]||ug(L)&&vu[L];if(!De||!Q)return null;var Be="arg"in De&&De.arg||"string";if(Be==="options"){var at="";try{for(var de=i(Q),Bt=de.next();!Bt.done;Bt=de.next()){var ii=Bt.value;if(ii.type==="content")at+=ii.value;else throw new SyntaxError("Expected literal options for ".concat(L," formatter"))}}catch(bn){v={error:bn}}finally{try{Bt&&!Bt.done&&(_=de.return)&&_.call(de)}finally{if(v)throw v.error}}var wi={};try{for(var qi=i(at.split(",")),Aa=qi.next();!Aa.done;Aa=qi.next()){var Hn=Aa.value,fn=Hn.indexOf(":");if(fn===-1)wi[Hn.trim()]=null;else{var gn=Hn.substring(0,fn).trim(),vn=Hn.substring(fn+1).trim();if(vn==="true")wi[gn]=!0;else if(vn==="false")wi[gn]=!1;else if(vn==="null")wi[gn]=null;else{var ei=Number(vn);wi[gn]=Number.isFinite(ei)?ei:vn}}}}catch(bn){w={error:bn}}finally{try{Aa&&!Aa.done&&(S=qi.return)&&S.call(qi)}finally{if(w)throw w.error}}return JSON.stringify(wi)}else{var Ol=Q.map(function(bn){return A.token(bn,f)});if(Be==="raw")return"[".concat(Ol.join(", "),"]");var Rl=Ol.join(" + ");return Rl?"(".concat(Rl,").trim()"):'""'}},h.prototype.setFormatter=function(m,f){if(!this.runtimeIncludes(m,"formatter")){var v=this.options.customFormatters[f||m];if(v){var _=typeof v=="function"?{formatter:v}:v;this.runtime[m]=Object.assign(_.formatter.bind({}),n(n({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in v&&v.module&&v.id?{id:jn(v.id),module:typeof v.module=="function"?v.module(this.plural.locale):v.module}:{id:null,module:null})}else if(ug(m))this.runtime[m]=Object.assign(vu[m],{type:"formatter"},{id:m,module:Tee});else throw new Error("Formatting function not found: ".concat(m))}},h.prototype.setDateFormatter=function(m,f,v){var _=this,w=m.param,S=this.plural.locale,A=w&&w.length===1&&w[0];if(A&&A.type==="content"&&/^\s*::/.test(A.value)){var L=A.value.trim().substr(2),Q=jn("date_".concat(S,"_").concat(L),!0);if(!this.runtimeIncludes(Q,"formatter")){var De=oi(S,L,this.options.timeZone);this.runtime[Q]=Object.assign(De,{id:Q,module:null,toString:function(){return yi(S,L,_.options.timeZone)},type:"formatter"})}return Q}if(f.push(JSON.stringify(S)),w&&w.length>0){v&&this.options.strict&&(v=null);var Be=w.map(function(at){return _.token(at,v)});f.push("("+(Be.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},h.prototype.setNumberFormatter=function(m,f,v){var _=this,w=m.param,S=this.plural.locale;if(!w||w.length===0)return f.unshift(JSON.stringify(S)),f.push("0"),this.setRuntimeFn("number"),"number";if(f.push(JSON.stringify(S)),w.length===1&&w[0].type==="content"){var A=w[0].value.trim();switch(A){case"currency":return f.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 L=A.match(/^currency:([A-Z]+)$/);if(L)return f.push(JSON.stringify(L[1])),this.setFormatter("numberCurrency"),"numberCurrency";var Q=jn("number_".concat(S,"_").concat(A),!0);if(!this.runtimeIncludes(Q,"formatter")){var De=this.options.currency,Be=iee(S,A,De);this.runtime[Q]=Object.assign(Be,{id:null,module:null,toString:function(){return aee(S,A,De)},type:"formatter"})}return Q}v&&this.options.strict&&(v=null);var at=w.map(function(de){return _.token(de,v)});return f.push("("+(at.join(" + ")||'""')+").trim()"),f.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},h}();function ug(h){return h in vu}let ee=h=>h==1?"one":"other",dn=h=>h==0||h==1?"one":"other",Ka=h=>h>=0&&h<=1?"one":"other",Ri=h=>{let m=String(h).split("."),f=!m[1];return h==1&&f?"one":"other"},ut=h=>"other",un=h=>h==1?"one":h==2?"two":"other";var Ree=Object.freeze({__proto__:null,af:ee,ak:dn,am:Ka,an:ee,ar:h=>{let m=String(h).split("."),f=Number(m[0])==h,v=f&&m[0].slice(-2);return h==0?"zero":h==1?"one":h==2?"two":v>=3&&v<=10?"few":v>=11&&v<=99?"many":"other"},ars:h=>{let m=String(h).split("."),f=Number(m[0])==h,v=f&&m[0].slice(-2);return h==0?"zero":h==1?"one":h==2?"two":v>=3&&v<=10?"few":v>=11&&v<=99?"many":"other"},as:Ka,asa:ee,ast:Ri,az:ee,bal:ee,be:h=>{let m=String(h).split("."),f=Number(m[0])==h,v=f&&m[0].slice(-1),_=f&&m[0].slice(-2);return v==1&&_!=11?"one":v>=2&&v<=4&&(_<12||_>14)?"few":f&&v==0||v>=5&&v<=9||_>=11&&_<=14?"many":"other"},bem:ee,bez:ee,bg:ee,bho:dn,bm:ut,bn:Ka,bo:ut,br:h=>{let m=String(h).split("."),f=Number(m[0])==h,v=f&&m[0].slice(-1),_=f&&m[0].slice(-2),w=f&&m[0].slice(-6);return v==1&&_!=11&&_!=71&&_!=91?"one":v==2&&_!=12&&_!=72&&_!=92?"two":(v==3||v==4||v==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":h!=0&&f&&w==0?"many":"other"},brx:ee,bs:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=f.slice(-2),A=v.slice(-1),L=v.slice(-2);return _&&w==1&&S!=11||A==1&&L!=11?"one":_&&w>=2&&w<=4&&(S<12||S>14)||A>=2&&A<=4&&(L<12||L>14)?"few":"other"},ca:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return h==1&&v?"one":f!=0&&_==0&&v?"many":"other"},ce:ee,ceb:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=v.slice(-1);return _&&(f==1||f==2||f==3)||_&&w!=4&&w!=6&&w!=9||!_&&S!=4&&S!=6&&S!=9?"one":"other"},cgg:ee,chr:ee,ckb:ee,cs:h=>{let m=String(h).split("."),f=m[0],v=!m[1];return h==1&&v?"one":f>=2&&f<=4&&v?"few":v?"other":"many"},cy:h=>h==0?"zero":h==1?"one":h==2?"two":h==3?"few":h==6?"many":"other",da:h=>{let m=String(h).split("."),f=m[0],v=Number(m[0])==h;return h==1||!v&&(f==0||f==1)?"one":"other"},de:Ri,doi:Ka,dsb:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-2),S=v.slice(-2);return _&&w==1||S==1?"one":_&&w==2||S==2?"two":_&&(w==3||w==4)||S==3||S==4?"few":"other"},dv:ee,dz:ut,ee,el:ee,en:Ri,eo:ee,es:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return h==1?"one":f!=0&&_==0&&v?"many":"other"},et:Ri,eu:ee,fa:Ka,ff:h=>h>=0&&h<2?"one":"other",fi:Ri,fil:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=v.slice(-1);return _&&(f==1||f==2||f==3)||_&&w!=4&&w!=6&&w!=9||!_&&S!=4&&S!=6&&S!=9?"one":"other"},fo:ee,fr:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return h>=0&&h<2?"one":f!=0&&_==0&&v?"many":"other"},fur:ee,fy:Ri,ga:h=>{let m=String(h).split("."),f=Number(m[0])==h;return h==1?"one":h==2?"two":f&&h>=3&&h<=6?"few":f&&h>=7&&h<=10?"many":"other"},gd:h=>{let m=String(h).split("."),f=Number(m[0])==h;return h==1||h==11?"one":h==2||h==12?"two":f&&h>=3&&h<=10||f&&h>=13&&h<=19?"few":"other"},gl:Ri,gsw:ee,gu:Ka,guw:dn,gv:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-1),w=f.slice(-2);return v&&_==1?"one":v&&_==2?"two":v&&(w==0||w==20||w==40||w==60||w==80)?"few":v?"other":"many"},ha:ee,haw:ee,he:h=>{let m=String(h).split("."),f=m[0],v=!m[1];return f==1&&v||f==0&&!v?"one":f==2&&v?"two":"other"},hi:Ka,hnj:ut,hr:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=f.slice(-2),A=v.slice(-1),L=v.slice(-2);return _&&w==1&&S!=11||A==1&&L!=11?"one":_&&w>=2&&w<=4&&(S<12||S>14)||A>=2&&A<=4&&(L<12||L>14)?"few":"other"},hsb:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-2),S=v.slice(-2);return _&&w==1||S==1?"one":_&&w==2||S==2?"two":_&&(w==3||w==4)||S==3||S==4?"few":"other"},hu:ee,hy:h=>h>=0&&h<2?"one":"other",ia:Ri,id:ut,ig:ut,ii:ut,io:Ri,is:h=>{let m=String(h).split("."),f=m[0],v=(m[1]||"").replace(/0+$/,""),_=Number(m[0])==h,w=f.slice(-1),S=f.slice(-2);return _&&w==1&&S!=11||v%10==1&&v%100!=11?"one":"other"},it:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return h==1&&v?"one":f!=0&&_==0&&v?"many":"other"},iu:un,ja:ut,jbo:ut,jgo:ee,jmc:ee,jv:ut,jw:ut,ka:ee,kab:h=>h>=0&&h<2?"one":"other",kaj:ee,kcg:ee,kde:ut,kea:ut,kk:ee,kkj:ee,kl:ee,km:ut,kn:Ka,ko:ut,ks:ee,ksb:ee,ksh:h=>h==0?"zero":h==1?"one":"other",ku:ee,kw:h=>{let m=String(h).split("."),f=Number(m[0])==h,v=f&&m[0].slice(-2),_=f&&m[0].slice(-3),w=f&&m[0].slice(-5),S=f&&m[0].slice(-6);return h==0?"zero":h==1?"one":v==2||v==22||v==42||v==62||v==82||f&&_==0&&(w>=1e3&&w<=2e4||w==4e4||w==6e4||w==8e4)||h!=0&&S==1e5?"two":v==3||v==23||v==43||v==63||v==83?"few":h!=1&&(v==1||v==21||v==41||v==61||v==81)?"many":"other"},ky:ee,lag:h=>{let m=String(h).split("."),f=m[0];return h==0?"zero":(f==0||f==1)&&h!=0?"one":"other"},lb:ee,lg:ee,lij:Ri,lkt:ut,ln:dn,lo:ut,lt:h=>{let m=String(h).split("."),f=m[1]||"",v=Number(m[0])==h,_=v&&m[0].slice(-1),w=v&&m[0].slice(-2);return _==1&&(w<11||w>19)?"one":_>=2&&_<=9&&(w<11||w>19)?"few":f!=0?"many":"other"},lv:h=>{let m=String(h).split("."),f=m[1]||"",v=f.length,_=Number(m[0])==h,w=_&&m[0].slice(-1),S=_&&m[0].slice(-2),A=f.slice(-2),L=f.slice(-1);return _&&w==0||S>=11&&S<=19||v==2&&A>=11&&A<=19?"zero":w==1&&S!=11||v==2&&L==1&&A!=11||v!=2&&L==1?"one":"other"},mas:ee,mg:dn,mgo:ee,mk:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=f.slice(-2),A=v.slice(-1),L=v.slice(-2);return _&&w==1&&S!=11||A==1&&L!=11?"one":"other"},ml:ee,mn:ee,mo:h=>{let m=String(h).split("."),f=!m[1],v=Number(m[0])==h,_=v&&m[0].slice(-2);return h==1&&f?"one":!f||h==0||h!=1&&_>=1&&_<=19?"few":"other"},mr:ee,ms:ut,mt:h=>{let m=String(h).split("."),f=Number(m[0])==h,v=f&&m[0].slice(-2);return h==1?"one":h==2?"two":h==0||v>=3&&v<=10?"few":v>=11&&v<=19?"many":"other"},my:ut,nah:ee,naq:un,nb:ee,nd:ee,ne:ee,nl:Ri,nn:ee,nnh:ee,no:ee,nqo:ut,nr:ee,nso:dn,ny:ee,nyn:ee,om:ee,or:ee,os:ee,osa:ut,pa:dn,pap:ee,pcm:Ka,pl:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-1),w=f.slice(-2);return h==1&&v?"one":v&&_>=2&&_<=4&&(w<12||w>14)?"few":v&&f!=1&&(_==0||_==1)||v&&_>=5&&_<=9||v&&w>=12&&w<=14?"many":"other"},prg:h=>{let m=String(h).split("."),f=m[1]||"",v=f.length,_=Number(m[0])==h,w=_&&m[0].slice(-1),S=_&&m[0].slice(-2),A=f.slice(-2),L=f.slice(-1);return _&&w==0||S>=11&&S<=19||v==2&&A>=11&&A<=19?"zero":w==1&&S!=11||v==2&&L==1&&A!=11||v!=2&&L==1?"one":"other"},ps:ee,pt:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return f==0||f==1?"one":f!=0&&_==0&&v?"many":"other"},pt_PT:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return h==1&&v?"one":f!=0&&_==0&&v?"many":"other"},rm:ee,ro:h=>{let m=String(h).split("."),f=!m[1],v=Number(m[0])==h,_=v&&m[0].slice(-2);return h==1&&f?"one":!f||h==0||h!=1&&_>=1&&_<=19?"few":"other"},rof:ee,ru:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-1),w=f.slice(-2);return v&&_==1&&w!=11?"one":v&&_>=2&&_<=4&&(w<12||w>14)?"few":v&&_==0||v&&_>=5&&_<=9||v&&w>=11&&w<=14?"many":"other"},rwk:ee,sah:ut,saq:ee,sat:un,sc:Ri,scn:Ri,sd:ee,sdh:ee,se:un,seh:ee,ses:ut,sg:ut,sh:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=f.slice(-2),A=v.slice(-1),L=v.slice(-2);return _&&w==1&&S!=11||A==1&&L!=11?"one":_&&w>=2&&w<=4&&(S<12||S>14)||A>=2&&A<=4&&(L<12||L>14)?"few":"other"},shi:h=>{let m=String(h).split("."),f=Number(m[0])==h;return h>=0&&h<=1?"one":f&&h>=2&&h<=10?"few":"other"},si:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"";return h==0||h==1||f==0&&v==1?"one":"other"},sk:h=>{let m=String(h).split("."),f=m[0],v=!m[1];return h==1&&v?"one":f>=2&&f<=4&&v?"few":v?"other":"many"},sl:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-2);return v&&_==1?"one":v&&_==2?"two":v&&(_==3||_==4)||!v?"few":"other"},sma:un,smi:un,smj:un,smn:un,sms:un,sn:ee,so:ee,sq:ee,sr:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=f.slice(-2),A=v.slice(-1),L=v.slice(-2);return _&&w==1&&S!=11||A==1&&L!=11?"one":_&&w>=2&&w<=4&&(S<12||S>14)||A>=2&&A<=4&&(L<12||L>14)?"few":"other"},ss:ee,ssy:ee,st:ee,su:ut,sv:Ri,sw:Ri,syr:ee,ta:ee,te:ee,teo:ee,th:ut,ti:dn,tig:ee,tk:ee,tl:h=>{let m=String(h).split("."),f=m[0],v=m[1]||"",_=!m[1],w=f.slice(-1),S=v.slice(-1);return _&&(f==1||f==2||f==3)||_&&w!=4&&w!=6&&w!=9||!_&&S!=4&&S!=6&&S!=9?"one":"other"},tn:ee,to:ut,tpi:ut,tr:ee,ts:ee,tzm:h=>{let m=String(h).split("."),f=Number(m[0])==h;return h==0||h==1||f&&h>=11&&h<=99?"one":"other"},ug:ee,uk:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-1),w=f.slice(-2);return v&&_==1&&w!=11?"one":v&&_>=2&&_<=4&&(w<12||w>14)?"few":v&&_==0||v&&_>=5&&_<=9||v&&w>=11&&w<=14?"many":"other"},und:ut,ur:Ri,uz:ee,ve:ee,vec:h=>{let m=String(h).split("."),f=m[0],v=!m[1],_=f.slice(-6);return h==1&&v?"one":f!=0&&_==0&&v?"many":"other"},vi:ut,vo:ee,vun:ee,wa:dn,wae:ee,wo:ut,xh:ee,xog:ee,yi:Ri,yo:ut,yue:ut,zh:ut,zu:Ka});let hn="zero",oe="one",Ut="two",Ze="few",Je="many",j="other",Y={cardinal:[oe,j],ordinal:[j]},hr={cardinal:[oe,j],ordinal:[oe,j]},bt={cardinal:[j],ordinal:[j]},Za={cardinal:[oe,Ut,j],ordinal:[j]};var hg=Object.freeze({__proto__:null,af:Y,ak:Y,am:Y,an:Y,ar:{cardinal:[hn,oe,Ut,Ze,Je,j],ordinal:[j]},ars:{cardinal:[hn,oe,Ut,Ze,Je,j],ordinal:[j]},as:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,Je,j]},asa:Y,ast:Y,az:{cardinal:[oe,j],ordinal:[oe,Ze,Je,j]},bal:hr,be:{cardinal:[oe,Ze,Je,j],ordinal:[Ze,j]},bem:Y,bez:Y,bg:Y,bho:Y,bm:bt,bn:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,Je,j]},bo:bt,br:{cardinal:[oe,Ut,Ze,Je,j],ordinal:[j]},brx:Y,bs:{cardinal:[oe,Ze,j],ordinal:[j]},ca:{cardinal:[oe,Je,j],ordinal:[oe,Ut,Ze,j]},ce:Y,ceb:Y,cgg:Y,chr:Y,ckb:Y,cs:{cardinal:[oe,Ze,Je,j],ordinal:[j]},cy:{cardinal:[hn,oe,Ut,Ze,Je,j],ordinal:[hn,oe,Ut,Ze,Je,j]},da:Y,de:Y,doi:Y,dsb:{cardinal:[oe,Ut,Ze,j],ordinal:[j]},dv:Y,dz:bt,ee:Y,el:Y,en:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,j]},eo:Y,es:{cardinal:[oe,Je,j],ordinal:[j]},et:Y,eu:Y,fa:Y,ff:Y,fi:Y,fil:hr,fo:Y,fr:{cardinal:[oe,Je,j],ordinal:[oe,j]},fur:Y,fy:Y,ga:{cardinal:[oe,Ut,Ze,Je,j],ordinal:[oe,j]},gd:{cardinal:[oe,Ut,Ze,j],ordinal:[oe,Ut,Ze,j]},gl:Y,gsw:Y,gu:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,Je,j]},guw:Y,gv:{cardinal:[oe,Ut,Ze,Je,j],ordinal:[j]},ha:Y,haw:Y,he:Za,hi:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,Je,j]},hnj:bt,hr:{cardinal:[oe,Ze,j],ordinal:[j]},hsb:{cardinal:[oe,Ut,Ze,j],ordinal:[j]},hu:hr,hy:hr,ia:Y,id:bt,ig:bt,ii:bt,io:Y,is:Y,it:{cardinal:[oe,Je,j],ordinal:[Je,j]},iu:Za,ja:bt,jbo:bt,jgo:Y,jmc:Y,jv:bt,jw:bt,ka:{cardinal:[oe,j],ordinal:[oe,Je,j]},kab:Y,kaj:Y,kcg:Y,kde:bt,kea:bt,kk:{cardinal:[oe,j],ordinal:[Je,j]},kkj:Y,kl:Y,km:bt,kn:Y,ko:bt,ks:Y,ksb:Y,ksh:{cardinal:[hn,oe,j],ordinal:[j]},ku:Y,kw:{cardinal:[hn,oe,Ut,Ze,Je,j],ordinal:[oe,Je,j]},ky:Y,lag:{cardinal:[hn,oe,j],ordinal:[j]},lb:Y,lg:Y,lij:{cardinal:[oe,j],ordinal:[Je,j]},lkt:bt,ln:Y,lo:{cardinal:[j],ordinal:[oe,j]},lt:{cardinal:[oe,Ze,Je,j],ordinal:[j]},lv:{cardinal:[hn,oe,j],ordinal:[j]},mas:Y,mg:Y,mgo:Y,mk:{cardinal:[oe,j],ordinal:[oe,Ut,Je,j]},ml:Y,mn:Y,mo:{cardinal:[oe,Ze,j],ordinal:[oe,j]},mr:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,j]},ms:{cardinal:[j],ordinal:[oe,j]},mt:{cardinal:[oe,Ut,Ze,Je,j],ordinal:[j]},my:bt,nah:Y,naq:Za,nb:Y,nd:Y,ne:hr,nl:Y,nn:Y,nnh:Y,no:Y,nqo:bt,nr:Y,nso:Y,ny:Y,nyn:Y,om:Y,or:{cardinal:[oe,j],ordinal:[oe,Ut,Ze,Je,j]},os:Y,osa:bt,pa:Y,pap:Y,pcm:Y,pl:{cardinal:[oe,Ze,Je,j],ordinal:[j]},prg:{cardinal:[hn,oe,j],ordinal:[j]},ps:Y,pt:{cardinal:[oe,Je,j],ordinal:[j]},pt_PT:{cardinal:[oe,Je,j],ordinal:[j]},rm:Y,ro:{cardinal:[oe,Ze,j],ordinal:[oe,j]},rof:Y,ru:{cardinal:[oe,Ze,Je,j],ordinal:[j]},rwk:Y,sah:bt,saq:Y,sat:Za,sc:{cardinal:[oe,j],ordinal:[Je,j]},scn:{cardinal:[oe,j],ordinal:[Je,j]},sd:Y,sdh:Y,se:Za,seh:Y,ses:bt,sg:bt,sh:{cardinal:[oe,Ze,j],ordinal:[j]},shi:{cardinal:[oe,Ze,j],ordinal:[j]},si:Y,sk:{cardinal:[oe,Ze,Je,j],ordinal:[j]},sl:{cardinal:[oe,Ut,Ze,j],ordinal:[j]},sma:Za,smi:Za,smj:Za,smn:Za,sms:Za,sn:Y,so:Y,sq:{cardinal:[oe,j],ordinal:[oe,Je,j]},sr:{cardinal:[oe,Ze,j],ordinal:[j]},ss:Y,ssy:Y,st:Y,su:bt,sv:hr,sw:Y,syr:Y,ta:Y,te:Y,teo:Y,th:bt,ti:Y,tig:Y,tk:{cardinal:[oe,j],ordinal:[Ze,j]},tl:hr,tn:Y,to:bt,tpi:bt,tr:Y,ts:Y,tzm:Y,ug:Y,uk:{cardinal:[oe,Ze,Je,j],ordinal:[Ze,j]},und:bt,ur:Y,uz:Y,ve:Y,vec:{cardinal:[oe,Je,j],ordinal:[Je,j]},vi:{cardinal:[j],ordinal:[oe,j]},vo:Y,vun:Y,wa:Y,wae:Y,wo:bt,xh:Y,xog:Y,yi:Y,yo:bt,yue:bt,zh:bt,zu:Y});let se=(h,m)=>m?"other":h==1?"one":"other",pn=(h,m)=>m?"other":h==0||h==1?"one":"other",Yr=(h,m)=>m?"other":h>=0&&h<=1?"one":"other",fa=(h,m)=>{let f=String(h).split("."),v=!f[1];return m?"other":h==1&&v?"one":"other"},_t=(h,m)=>"other",mn=(h,m)=>m?"other":h==1?"one":h==2?"two":"other";var Al=Object.freeze({__proto__:null,af:se,ak:pn,am:Yr,an:se,ar:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-2);return m?"other":h==0?"zero":h==1?"one":h==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-2);return m?"other":h==0?"zero":h==1?"one":h==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(h,m)=>m?h==1||h==5||h==7||h==8||h==9||h==10?"one":h==2||h==3?"two":h==4?"few":h==6?"many":"other":h>=0&&h<=1?"one":"other",asa:se,ast:fa,az:(h,m)=>{let f=String(h).split("."),v=f[0],_=v.slice(-1),w=v.slice(-2),S=v.slice(-3);return m?_==1||_==2||_==5||_==7||_==8||w==20||w==50||w==70||w==80?"one":_==3||_==4||S==100||S==200||S==300||S==400||S==500||S==600||S==700||S==800||S==900?"few":v==0||_==6||w==40||w==60||w==90?"many":"other":h==1?"one":"other"},bal:(h,m)=>h==1?"one":"other",be:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-1),w=v&&f[0].slice(-2);return m?(_==2||_==3)&&w!=12&&w!=13?"few":"other":_==1&&w!=11?"one":_>=2&&_<=4&&(w<12||w>14)?"few":v&&_==0||_>=5&&_<=9||w>=11&&w<=14?"many":"other"},bem:se,bez:se,bg:se,bho:pn,bm:_t,bn:(h,m)=>m?h==1||h==5||h==7||h==8||h==9||h==10?"one":h==2||h==3?"two":h==4?"few":h==6?"many":"other":h>=0&&h<=1?"one":"other",bo:_t,br:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-1),w=v&&f[0].slice(-2),S=v&&f[0].slice(-6);return m?"other":_==1&&w!=11&&w!=71&&w!=91?"one":_==2&&w!=12&&w!=72&&w!=92?"two":(_==3||_==4||_==9)&&(w<10||w>19)&&(w<70||w>79)&&(w<90||w>99)?"few":h!=0&&v&&S==0?"many":"other"},brx:se,bs:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=v.slice(-2),L=_.slice(-1),Q=_.slice(-2);return m?"other":w&&S==1&&A!=11||L==1&&Q!=11?"one":w&&S>=2&&S<=4&&(A<12||A>14)||L>=2&&L<=4&&(Q<12||Q>14)?"few":"other"},ca:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?h==1||h==3?"one":h==2?"two":h==4?"few":"other":h==1&&_?"one":v!=0&&w==0&&_?"many":"other"},ce:se,ceb:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=_.slice(-1);return m?"other":w&&(v==1||v==2||v==3)||w&&S!=4&&S!=6&&S!=9||!w&&A!=4&&A!=6&&A!=9?"one":"other"},cgg:se,chr:se,ckb:se,cs:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1];return m?"other":h==1&&_?"one":v>=2&&v<=4&&_?"few":_?"other":"many"},cy:(h,m)=>m?h==0||h==7||h==8||h==9?"zero":h==1?"one":h==2?"two":h==3||h==4?"few":h==5||h==6?"many":"other":h==0?"zero":h==1?"one":h==2?"two":h==3?"few":h==6?"many":"other",da:(h,m)=>{let f=String(h).split("."),v=f[0],_=Number(f[0])==h;return m?"other":h==1||!_&&(v==0||v==1)?"one":"other"},de:fa,doi:Yr,dsb:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-2),A=_.slice(-2);return m?"other":w&&S==1||A==1?"one":w&&S==2||A==2?"two":w&&(S==3||S==4)||A==3||A==4?"few":"other"},dv:se,dz:_t,ee:se,el:se,en:(h,m)=>{let f=String(h).split("."),v=!f[1],_=Number(f[0])==h,w=_&&f[0].slice(-1),S=_&&f[0].slice(-2);return m?w==1&&S!=11?"one":w==2&&S!=12?"two":w==3&&S!=13?"few":"other":h==1&&v?"one":"other"},eo:se,es:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?"other":h==1?"one":v!=0&&w==0&&_?"many":"other"},et:fa,eu:se,fa:Yr,ff:(h,m)=>m?"other":h>=0&&h<2?"one":"other",fi:fa,fil:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=_.slice(-1);return m?h==1?"one":"other":w&&(v==1||v==2||v==3)||w&&S!=4&&S!=6&&S!=9||!w&&A!=4&&A!=6&&A!=9?"one":"other"},fo:se,fr:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?h==1?"one":"other":h>=0&&h<2?"one":v!=0&&w==0&&_?"many":"other"},fur:se,fy:fa,ga:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h;return m?h==1?"one":"other":h==1?"one":h==2?"two":v&&h>=3&&h<=6?"few":v&&h>=7&&h<=10?"many":"other"},gd:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h;return m?h==1||h==11?"one":h==2||h==12?"two":h==3||h==13?"few":"other":h==1||h==11?"one":h==2||h==12?"two":v&&h>=3&&h<=10||v&&h>=13&&h<=19?"few":"other"},gl:fa,gsw:se,gu:(h,m)=>m?h==1?"one":h==2||h==3?"two":h==4?"few":h==6?"many":"other":h>=0&&h<=1?"one":"other",guw:pn,gv:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-1),S=v.slice(-2);return m?"other":_&&w==1?"one":_&&w==2?"two":_&&(S==0||S==20||S==40||S==60||S==80)?"few":_?"other":"many"},ha:se,haw:se,he:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1];return m?"other":v==1&&_||v==0&&!_?"one":v==2&&_?"two":"other"},hi:(h,m)=>m?h==1?"one":h==2||h==3?"two":h==4?"few":h==6?"many":"other":h>=0&&h<=1?"one":"other",hnj:_t,hr:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=v.slice(-2),L=_.slice(-1),Q=_.slice(-2);return m?"other":w&&S==1&&A!=11||L==1&&Q!=11?"one":w&&S>=2&&S<=4&&(A<12||A>14)||L>=2&&L<=4&&(Q<12||Q>14)?"few":"other"},hsb:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-2),A=_.slice(-2);return m?"other":w&&S==1||A==1?"one":w&&S==2||A==2?"two":w&&(S==3||S==4)||A==3||A==4?"few":"other"},hu:(h,m)=>m?h==1||h==5?"one":"other":h==1?"one":"other",hy:(h,m)=>m?h==1?"one":"other":h>=0&&h<2?"one":"other",ia:fa,id:_t,ig:_t,ii:_t,io:fa,is:(h,m)=>{let f=String(h).split("."),v=f[0],_=(f[1]||"").replace(/0+$/,""),w=Number(f[0])==h,S=v.slice(-1),A=v.slice(-2);return m?"other":w&&S==1&&A!=11||_%10==1&&_%100!=11?"one":"other"},it:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?h==11||h==8||h==80||h==800?"many":"other":h==1&&_?"one":v!=0&&w==0&&_?"many":"other"},iu:mn,ja:_t,jbo:_t,jgo:se,jmc:se,jv:_t,jw:_t,ka:(h,m)=>{let f=String(h).split("."),v=f[0],_=v.slice(-2);return m?v==1?"one":v==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":h==1?"one":"other"},kab:(h,m)=>m?"other":h>=0&&h<2?"one":"other",kaj:se,kcg:se,kde:_t,kea:_t,kk:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-1);return m?_==6||_==9||v&&_==0&&h!=0?"many":"other":h==1?"one":"other"},kkj:se,kl:se,km:_t,kn:Yr,ko:_t,ks:se,ksb:se,ksh:(h,m)=>m?"other":h==0?"zero":h==1?"one":"other",ku:se,kw:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-2),w=v&&f[0].slice(-3),S=v&&f[0].slice(-5),A=v&&f[0].slice(-6);return m?v&&h>=1&&h<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":h==5||_==5?"many":"other":h==0?"zero":h==1?"one":_==2||_==22||_==42||_==62||_==82||v&&w==0&&(S>=1e3&&S<=2e4||S==4e4||S==6e4||S==8e4)||h!=0&&A==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":h!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:se,lag:(h,m)=>{let f=String(h).split("."),v=f[0];return m?"other":h==0?"zero":(v==0||v==1)&&h!=0?"one":"other"},lb:se,lg:se,lij:(h,m)=>{let f=String(h).split("."),v=!f[1],_=Number(f[0])==h;return m?h==11||h==8||_&&h>=80&&h<=89||_&&h>=800&&h<=899?"many":"other":h==1&&v?"one":"other"},lkt:_t,ln:pn,lo:(h,m)=>m&&h==1?"one":"other",lt:(h,m)=>{let f=String(h).split("."),v=f[1]||"",_=Number(f[0])==h,w=_&&f[0].slice(-1),S=_&&f[0].slice(-2);return m?"other":w==1&&(S<11||S>19)?"one":w>=2&&w<=9&&(S<11||S>19)?"few":v!=0?"many":"other"},lv:(h,m)=>{let f=String(h).split("."),v=f[1]||"",_=v.length,w=Number(f[0])==h,S=w&&f[0].slice(-1),A=w&&f[0].slice(-2),L=v.slice(-2),Q=v.slice(-1);return m?"other":w&&S==0||A>=11&&A<=19||_==2&&L>=11&&L<=19?"zero":S==1&&A!=11||_==2&&Q==1&&L!=11||_!=2&&Q==1?"one":"other"},mas:se,mg:pn,mgo:se,mk:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=v.slice(-2),L=_.slice(-1),Q=_.slice(-2);return m?S==1&&A!=11?"one":S==2&&A!=12?"two":(S==7||S==8)&&A!=17&&A!=18?"many":"other":w&&S==1&&A!=11||L==1&&Q!=11?"one":"other"},ml:se,mn:se,mo:(h,m)=>{let f=String(h).split("."),v=!f[1],_=Number(f[0])==h,w=_&&f[0].slice(-2);return m?h==1?"one":"other":h==1&&v?"one":!v||h==0||h!=1&&w>=1&&w<=19?"few":"other"},mr:(h,m)=>m?h==1?"one":h==2||h==3?"two":h==4?"few":"other":h==1?"one":"other",ms:(h,m)=>m&&h==1?"one":"other",mt:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-2);return m?"other":h==1?"one":h==2?"two":h==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:_t,nah:se,naq:mn,nb:se,nd:se,ne:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h;return m?v&&h>=1&&h<=4?"one":"other":h==1?"one":"other"},nl:fa,nn:se,nnh:se,no:se,nqo:_t,nr:se,nso:pn,ny:se,nyn:se,om:se,or:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h;return m?h==1||h==5||v&&h>=7&&h<=9?"one":h==2||h==3?"two":h==4?"few":h==6?"many":"other":h==1?"one":"other"},os:se,osa:_t,pa:pn,pap:se,pcm:Yr,pl:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-1),S=v.slice(-2);return m?"other":h==1&&_?"one":_&&w>=2&&w<=4&&(S<12||S>14)?"few":_&&v!=1&&(w==0||w==1)||_&&w>=5&&w<=9||_&&S>=12&&S<=14?"many":"other"},prg:(h,m)=>{let f=String(h).split("."),v=f[1]||"",_=v.length,w=Number(f[0])==h,S=w&&f[0].slice(-1),A=w&&f[0].slice(-2),L=v.slice(-2),Q=v.slice(-1);return m?"other":w&&S==0||A>=11&&A<=19||_==2&&L>=11&&L<=19?"zero":S==1&&A!=11||_==2&&Q==1&&L!=11||_!=2&&Q==1?"one":"other"},ps:se,pt:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?"other":v==0||v==1?"one":v!=0&&w==0&&_?"many":"other"},pt_PT:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?"other":h==1&&_?"one":v!=0&&w==0&&_?"many":"other"},rm:se,ro:(h,m)=>{let f=String(h).split("."),v=!f[1],_=Number(f[0])==h,w=_&&f[0].slice(-2);return m?h==1?"one":"other":h==1&&v?"one":!v||h==0||h!=1&&w>=1&&w<=19?"few":"other"},rof:se,ru:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-1),S=v.slice(-2);return m?"other":_&&w==1&&S!=11?"one":_&&w>=2&&w<=4&&(S<12||S>14)?"few":_&&w==0||_&&w>=5&&w<=9||_&&S>=11&&S<=14?"many":"other"},rwk:se,sah:_t,saq:se,sat:mn,sc:(h,m)=>{let f=String(h).split("."),v=!f[1];return m?h==11||h==8||h==80||h==800?"many":"other":h==1&&v?"one":"other"},scn:(h,m)=>{let f=String(h).split("."),v=!f[1];return m?h==11||h==8||h==80||h==800?"many":"other":h==1&&v?"one":"other"},sd:se,sdh:se,se:mn,seh:se,ses:_t,sg:_t,sh:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=v.slice(-2),L=_.slice(-1),Q=_.slice(-2);return m?"other":w&&S==1&&A!=11||L==1&&Q!=11?"one":w&&S>=2&&S<=4&&(A<12||A>14)||L>=2&&L<=4&&(Q<12||Q>14)?"few":"other"},shi:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h;return m?"other":h>=0&&h<=1?"one":v&&h>=2&&h<=10?"few":"other"},si:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"";return m?"other":h==0||h==1||v==0&&_==1?"one":"other"},sk:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1];return m?"other":h==1&&_?"one":v>=2&&v<=4&&_?"few":_?"other":"many"},sl:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-2);return m?"other":_&&w==1?"one":_&&w==2?"two":_&&(w==3||w==4)||!_?"few":"other"},sma:mn,smi:mn,smj:mn,smn:mn,sms:mn,sn:se,so:se,sq:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-1),w=v&&f[0].slice(-2);return m?h==1?"one":_==4&&w!=14?"many":"other":h==1?"one":"other"},sr:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=v.slice(-2),L=_.slice(-1),Q=_.slice(-2);return m?"other":w&&S==1&&A!=11||L==1&&Q!=11?"one":w&&S>=2&&S<=4&&(A<12||A>14)||L>=2&&L<=4&&(Q<12||Q>14)?"few":"other"},ss:se,ssy:se,st:se,su:_t,sv:(h,m)=>{let f=String(h).split("."),v=!f[1],_=Number(f[0])==h,w=_&&f[0].slice(-1),S=_&&f[0].slice(-2);return m?(w==1||w==2)&&S!=11&&S!=12?"one":"other":h==1&&v?"one":"other"},sw:fa,syr:se,ta:se,te:se,teo:se,th:_t,ti:pn,tig:se,tk:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h,_=v&&f[0].slice(-1);return m?_==6||_==9||h==10?"few":"other":h==1?"one":"other"},tl:(h,m)=>{let f=String(h).split("."),v=f[0],_=f[1]||"",w=!f[1],S=v.slice(-1),A=_.slice(-1);return m?h==1?"one":"other":w&&(v==1||v==2||v==3)||w&&S!=4&&S!=6&&S!=9||!w&&A!=4&&A!=6&&A!=9?"one":"other"},tn:se,to:_t,tpi:_t,tr:se,ts:se,tzm:(h,m)=>{let f=String(h).split("."),v=Number(f[0])==h;return m?"other":h==0||h==1||v&&h>=11&&h<=99?"one":"other"},ug:se,uk:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=Number(f[0])==h,S=w&&f[0].slice(-1),A=w&&f[0].slice(-2),L=v.slice(-1),Q=v.slice(-2);return m?S==3&&A!=13?"few":"other":_&&L==1&&Q!=11?"one":_&&L>=2&&L<=4&&(Q<12||Q>14)?"few":_&&L==0||_&&L>=5&&L<=9||_&&Q>=11&&Q<=14?"many":"other"},und:_t,ur:fa,uz:se,ve:se,vec:(h,m)=>{let f=String(h).split("."),v=f[0],_=!f[1],w=v.slice(-6);return m?h==11||h==8||h==80||h==800?"many":"other":h==1&&_?"one":v!=0&&w==0&&_?"many":"other"},vi:(h,m)=>m&&h==1?"one":"other",vo:se,vun:se,wa:pn,wae:se,wo:_t,xh:se,xog:se,yi:fa,yo:_t,yue:_t,zh:_t,zu:Yr});function yu(h){if(typeof h!="string"||h.length<2)throw new RangeError("Invalid language tag: ".concat(h));if(h.startsWith("pt-PT"))return"pt-PT";var m=h.match(/.+?(?=[-_])/);return m?m[0]:h}function Tl(h){if(typeof h=="function"){var m=yu(h.name);return{isDefault:!1,id:jn(m),lc:m,locale:h.name,getPlural:h,cardinals:h.cardinals||[],ordinals:h.ordinals||[]}}var f=yu(h),v=jn(f);return Mee(v)?{isDefault:!0,id:v,lc:f,locale:h,getCardinal:Ree[v],getPlural:Al[v],cardinals:hg[v].cardinal,ordinals:hg[v].ordinal}:null}function Nee(h){var m=Object.keys(Al).filter(function(f){return f!==h});return m.unshift(h),m.map(Tl)}function Pee(h){var m=yu(h);return jn(m)in Al}function Mee(h){return h in Al}var Lee=function(){function h(m,f){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:f&&f.strictNumberSign||!1,strictPluralKeys:!0},f),m==="*")this.plurals=Nee(h.defaultLocale);else if(Array.isArray(m))this.plurals=m.map(Tl).filter(Boolean);else if(m){var v=Tl(m);v&&(this.plurals=[v])}if(this.plurals.length===0){var v=Tl(h.defaultLocale);this.plurals=[v]}}return h.escape=function(m,f){var v=f?/[#{}]/g:/[{}]/g;return String(m).replace(v,"'$&'")},h.supportedLocalesOf=function(m){var f=Array.isArray(m)?m:[m];return f.filter(Pee)},h.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},h.prototype.compile=function(m){var f,v,_=new Oee(this.options),w="return "+_.compile(m,this.plurals[0]),S=[],A=[];try{for(var L=i(Object.entries(_.runtime)),Q=L.next();!Q.done;Q=L.next()){var De=a(Q.value,2),Be=De[0],at=De[1];S.push(Be),A.push(at)}}catch(Bt){f={error:Bt}}finally{try{Q&&!Q.done&&(v=L.return)&&v.call(L)}finally{if(f)throw f.error}}var de=new(Function.bind.apply(Function,r(r([void 0],a(S),!1),[w],!1)));return de.apply(void 0,r([],a(A),!1))},h.defaultLocale="en",h}();return Lee})}),Ea=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}var n=function i(a,r){t(this,i),this.data=a,this.text=r.text||a,this.options=r};e.default=n}),Kee=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function E(N,K){for(var U=0;U<K.length;U++){var Ne=K[U];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(N,Ne.key,Ne)}}return function(N,K,U){return K&&E(N.prototype,K),U&&E(N,U),N}}(),n=Ea(),i=a(n);function a(E){return E&&E.__esModule?E:{default:E}}function r(E,N){if(!(E instanceof N))throw new TypeError("Cannot call a class as a function")}function o(E,N){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:E}function s(E,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N)}var l=function(E){s(N,E);function N(K,U){return r(this,N),K=K.toUpperCase(),U.mod43&&(K+=b(y(K))),o(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,K,U))}return t(N,[{key:"encode",value:function(){for(var K=p("*"),U=0;U<this.data.length;U++)K+=p(this.data[U])+"0";return K+=p("*"),{data:K,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),N}(i.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],u=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function p(E){return g(x(E))}function g(E){return u[E].toString(2)}function b(E){return c[E]}function x(E){return c.indexOf(E)}function y(E){for(var N=0,K=0;K<E.length;K++)N+=x(E[K]);return N=N%43,N}e.CODE39=l}),Xs=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(c,u,p){return u in c?Object.defineProperty(c,u,{value:p,enumerable:!0,configurable:!0,writable:!0}):c[u]=p,c}var i=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,s=e.START_B=104,l=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,o,i),n(t,s,a),n(t,l,r),t),e.SWAP={101:i,100:a,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]}),hd=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=Ea(),i=r(n),a=Xs();function r(u){return u&&u.__esModule?u:{default:u}}function o(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(g,b){o(this,p);var x=s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g.substring(1),b));return x.bytes=g.split("").map(function(y){return y.charCodeAt(0)}),x}return t(p,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var g=this.bytes,b=g.shift()-105,x=a.SET_BY_CODE[b];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&g.unshift(a.FNC1);var y=p.next(g,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:p.getBar(b)+y.result+p.getBar((y.checksum+b)%a.MODULO)+p.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var g=this.options.ean128||!1;return typeof g=="string"&&(g=g.toLowerCase()==="true"),g}}],[{key:"getBar",value:function(g){return a.BARS[g]?a.BARS[g].toString():""}},{key:"correctIndex",value:function(g,b){if(b===a.SET_A){var x=g.shift();return x<32?x+64:x-32}else return b===a.SET_B?g.shift()-32:(g.shift()-48)*10+g.shift()-48}},{key:"next",value:function(g,b,x){if(!g.length)return{result:"",checksum:0};var y=void 0,E=void 0;if(g[0]>=200){E=g.shift()-105;var N=a.SWAP[E];N!==void 0?y=p.next(g,b+1,N):((x===a.SET_A||x===a.SET_B)&&E===a.SHIFT&&(g[0]=x===a.SET_A?g[0]>95?g[0]-96:g[0]:g[0]<32?g[0]+96:g[0]),y=p.next(g,b+1,x))}else E=p.correctIndex(g,x),y=p.next(g,b+1,x);var K=p.getBar(E),U=E*b;return{result:K+y.result,checksum:U+y.checksum}}}]),p}(i.default);e.default=c}),Zee=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xs(),n=function(s){return s.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},i=function(s){return s.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(s){return s.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(s,l){var c=l?t.A_CHARS:t.B_CHARS,u=s.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+o(s.substring(u[1].length));var p=s.match(new RegExp("^"+c+"+"))[0];return p.length===s.length?s:p+String.fromCharCode(l?205:206)+r(s.substring(p.length),!l)}function o(s){var l=a(s),c=l.length;if(c===s.length)return s;s=s.substring(c);var u=n(s)>=i(s);return l+String.fromCharCode(u?206:205)+r(s,u)}e.default=function(s){var l=void 0,c=a(s).length;if(c>=2)l=t.C_START_CHAR+o(s);else{var u=n(s)>i(s);l=(u?t.A_START_CHAR:t.B_START_CHAR)+r(s,u)}return l.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(p,g){return"Ë"+g})}}),Qee=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=hd(),n=r(t),i=Zee(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function o(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(g,b){if(o(this,p),/^[\x00-\x7F\xC8-\xD3]+$/.test(g))var x=s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,(0,a.default)(g),b));else var x=s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g,b));return s(x)}return p}(n.default);e.default=c}),Xee=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=hd(),i=r(n),a=Xs();function r(u){return u&&u.__esModule?u:{default:u}}function o(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(g,b){return o(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,a.A_START_CHAR+g,b))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),p}(i.default);e.default=c}),Jee=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=hd(),i=r(n),a=Xs();function r(u){return u&&u.__esModule?u:{default:u}}function o(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(g,b){return o(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,a.B_START_CHAR+g,b))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),p}(i.default);e.default=c}),ete=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=hd(),i=r(n),a=Xs();function r(u){return u&&u.__esModule?u:{default:u}}function o(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(g,b){return o(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,a.C_START_CHAR+g,b))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),p}(i.default);e.default=c}),tte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Qee(),n=c(t),i=Xee(),a=c(i),r=Jee(),o=c(r),s=ete(),l=c(s);function c(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=l.default}),Js=Me(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"]}),el=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Js(),n=function(i,a,r){var o=i.split("").map(function(l,c){return t.BINARIES[a[c]]}).map(function(l,c){return l?l[i[c]]:""});if(r){var s=i.length-1;o=o.map(function(l,c){return c<s?l+r:l})}return o.join("")};e.default=n}),b0=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(b,x){for(var y=0;y<x.length;y++){var E=x[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(b,E.key,E)}}return function(b,x,y){return x&&g(b.prototype,x),y&&g(b,y),b}}(),n=Js(),i=el(),a=s(i),r=Ea(),o=s(r);function s(g){return g&&g.__esModule?g:{default:g}}function l(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function c(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function u(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var p=function(g){u(b,g);function b(x,y){l(this,b);var E=c(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,x,y));return E.fontSize=!y.flat&&y.fontSize>y.width*10?y.width*10:y.fontSize,E.guardHeight=y.height+E.fontSize/2+y.textMargin,E}return t(b,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,y){return this.text.substr(x,y)}},{key:"leftEncode",value:function(x,y){return(0,a.default)(x,y)}},{key:"rightText",value:function(x,y){return this.text.substr(x,y)}},{key:"rightEncode",value:function(x,y){return(0,a.default)(x,y)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},y={height:this.guardHeight};return[{data:n.SIDE_BIN,options:y},{data:this.leftEncode(),text:this.leftText(),options:x},{data:n.MIDDLE_BIN,options:y},{data:this.rightEncode(),text:this.rightText(),options:x},{data:n.SIDE_BIN,options:y}]}},{key:"encodeFlat",value:function(){var x=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),b}(o.default);e.default=p}),ite=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(b,x){for(var y=0;y<x.length;y++){var E=x[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(b,E.key,E)}}return function(b,x,y){return x&&g(b.prototype,x),y&&g(b,y),b}}(),n=function g(b,x,y){b===null&&(b=Function.prototype);var E=Object.getOwnPropertyDescriptor(b,x);if(E===void 0){var N=Object.getPrototypeOf(b);return N===null?void 0:g(N,x,y)}else{if("value"in E)return E.value;var K=E.get;return K===void 0?void 0:K.call(y)}},i=Js(),a=b0(),r=o(a);function o(g){return g&&g.__esModule?g:{default:g}}function s(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function l(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function c(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var u=function(g){var b=g.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,y,E){return E%2?x+y*3:x+y},0);return(10-b%10)%10},p=function(g){c(b,g);function b(x,y){s(this,b),x.search(/^[0-9]{12}$/)!==-1&&(x+=u(x));var E=l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,x,y));return E.lastChar=y.lastChar,E}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),y=i.EAN13_STRUCTURE[this.data[0]];return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,x,y)}},{key:"rightText",value:function(){return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=n(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),b}(r.default);e.default=p}),ate=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function p(g,b){for(var x=0;x<b.length;x++){var y=b[x];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(g,y.key,y)}}return function(g,b,x){return b&&p(g.prototype,b),x&&p(g,x),g}}(),n=function p(g,b,x){g===null&&(g=Function.prototype);var y=Object.getOwnPropertyDescriptor(g,b);if(y===void 0){var E=Object.getPrototypeOf(g);return E===null?void 0:p(E,b,x)}else{if("value"in y)return y.value;var N=y.get;return N===void 0?void 0:N.call(x)}},i=b0(),a=r(i);function r(p){return p&&p.__esModule?p:{default:p}}function o(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function s(p,g){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:p}function l(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(p,g):p.__proto__=g)}var c=function(p){var g=p.substr(0,7).split("").map(function(b){return+b}).reduce(function(b,x,y){return y%2?b+x:b+x*3},0);return(10-g%10)%10},u=function(p){l(g,p);function g(b,x){return o(this,g),b.search(/^[0-9]{7}$/)!==-1&&(b+=c(b)),s(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var b=this.data.substr(0,4);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,b,"LLLL")}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var b=this.data.substr(4,4);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,b,"RRRR")}}]),g}(a.default);e.default=u}),nte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(x,y){for(var E=0;E<y.length;E++){var N=y[E];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,N.key,N)}}return function(x,y,E){return y&&b(x.prototype,y),E&&b(x,E),x}}(),n=Js(),i=el(),a=s(i),r=Ea(),o=s(r);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,x){if(!(b instanceof x))throw new TypeError("Cannot call a class as a function")}function c(b,x){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:b}function u(b,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);b.prototype=Object.create(x&&x.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(b,x):b.__proto__=x)}var p=function(b){var x=b.split("").map(function(y){return+y}).reduce(function(y,E,N){return N%2?y+E*9:y+E*3},0);return x%10},g=function(b){u(x,b);function x(y,E){return l(this,x),c(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,y,E))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var y=n.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,a.default)(this.data,y,"01"),text:this.text}}}]),x}(o.default);e.default=g}),rte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(b,x){for(var y=0;y<x.length;y++){var E=x[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(b,E.key,E)}}return function(b,x,y){return x&&g(b.prototype,x),y&&g(b,y),b}}(),n=Js(),i=el(),a=s(i),r=Ea(),o=s(r);function s(g){return g&&g.__esModule?g:{default:g}}function l(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function c(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function u(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var p=function(g){u(b,g);function b(x,y){return l(this,b),c(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,x,y))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),b}(o.default);e.default=p}),_0=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(b,x){for(var y=0;y<x.length;y++){var E=x[y];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(b,E.key,E)}}return function(b,x,y){return x&&g(b.prototype,x),y&&g(b,y),b}}();e.checksum=p;var n=el(),i=o(n),a=Ea(),r=o(a);function o(g){return g&&g.__esModule?g:{default:g}}function s(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function l(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function c(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var u=function(g){c(b,g);function b(x,y){s(this,b),x.search(/^[0-9]{11}$/)!==-1&&(x+=p(x));var E=l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,x,y));return E.displayValue=y.displayValue,y.fontSize>y.width*10?E.fontSize=y.width*10:E.fontSize=y.fontSize,E.guardHeight=y.height+E.fontSize/2+y.textMargin,E}return t(b,[{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 x="";return x+="101",x+=(0,i.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,i.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,i.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,i.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),b}(r.default);function p(g){var b=0,x;for(x=1;x<11;x+=2)b+=parseInt(g[x]);for(x=0;x<11;x+=2)b+=parseInt(g[x])*3;return(10-b%10)%10}e.default=u}),ote=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function y(E,N){for(var K=0;K<N.length;K++){var U=N[K];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(E,U.key,U)}}return function(E,N,K){return N&&y(E.prototype,N),K&&y(E,K),E}}(),n=el(),i=s(n),a=Ea(),r=s(a),o=_0();function s(y){return y&&y.__esModule?y:{default:y}}function l(y,E){if(!(y instanceof E))throw new TypeError("Cannot call a class as a function")}function c(y,E){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:y}function u(y,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);y.prototype=Object.create(E&&E.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(y,E):y.__proto__=E)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],g=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],b=function(y){u(E,y);function E(N,K){l(this,E);var U=c(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,N,K));if(U.isValid=!1,N.search(/^[0-9]{6}$/)!==-1)U.middleDigits=N,U.upcA=x(N,"0"),U.text=K.text||""+U.upcA[0]+N+U.upcA[U.upcA.length-1],U.isValid=!0;else if(N.search(/^[01][0-9]{7}$/)!==-1)if(U.middleDigits=N.substring(1,N.length-1),U.upcA=x(U.middleDigits,N[0]),U.upcA[U.upcA.length-1]===N[N.length-1])U.isValid=!0;else return c(U);else return c(U);return U.displayValue=K.displayValue,K.fontSize>K.width*10?U.fontSize=K.width*10:U.fontSize=K.fontSize,U.guardHeight=K.height+U.fontSize/2+K.textMargin,U}return t(E,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var N="";return N+="101",N+=this.encodeMiddleDigits(),N+="010101",{data:N,text:this.text}}},{key:"guardedEncoding",value:function(){var N=[];return this.displayValue&&N.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),N.push({data:"101",options:{height:this.guardHeight}}),N.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),N.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&N.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),N}},{key:"encodeMiddleDigits",value:function(){var N=this.upcA[0],K=this.upcA[this.upcA.length-1],U=g[parseInt(K)][parseInt(N)];return(0,i.default)(this.middleDigits,U)}}]),E}(r.default);function x(y,E){for(var N=parseInt(y[y.length-1]),K=p[N],U="",Ne=0,Xe=0;Xe<K.length;Xe++){var tt=K[Xe];tt==="X"?U+=y[Ne++]:U+=tt}return U=""+E+U,""+U+(0,o.checksum)(U)}e.default=b}),ste=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=ite(),n=b(t),i=ate(),a=b(i),r=nte(),o=b(r),s=rte(),l=b(s),c=_0(),u=b(c),p=ote(),g=b(p);function b(x){return x&&x.__esModule?x:{default:x}}e.EAN13=n.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=l.default,e.UPC=u.default,e.UPCE=g.default}),lte=Me(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"]}),y0=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=lte(),i=Ea(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function o(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(){return o(this,p),s(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 g=this,b=this.data.match(/.{2}/g).map(function(x){return g.encodePair(x)}).join("");return{data:n.START_BIN+b+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(g){var b=n.BINARIES[g[1]];return n.BINARIES[g[0]].split("").map(function(x,y){return(x==="1"?"111":"1")+(b[y]==="1"?"000":"0")}).join("")}}]),p}(a.default);e.default=c}),cte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=y0(),i=a(n);function a(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 o(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 s(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 l=function(u){var p=u.substr(0,13).split("").map(function(g){return parseInt(g,10)}).reduce(function(g,b,x){return g+b*(3-x%2*2)},0);return Math.ceil(p/10)*10-p},c=function(u){s(p,u);function p(g,b){return r(this,p),g.search(/^[0-9]{13}$/)!==-1&&(g+=l(g)),o(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g,b))}return t(p,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===l(this.data)}}]),p}(i.default);e.default=c}),dte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=y0(),n=r(t),i=cte(),a=r(i);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=n.default,e.ITF14=a.default}),tl=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(p,g){for(var b=0;b<g.length;b++){var x=g[b];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,b){return g&&u(p.prototype,g),b&&u(p,b),p}}(),n=Ea(),i=a(n);function a(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 o(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 s(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 l=function(u){s(p,u);function p(g,b){return r(this,p),o(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g,b))}return t(p,[{key:"encode",value:function(){for(var g="110",b=0;b<this.data.length;b++){var x=parseInt(this.data[b]),y=x.toString(2);y=c(y,4-y.length);for(var E=0;E<y.length;E++)g+=y[E]=="0"?"100":"110"}return g+="1001",{data:g,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),p}(i.default);function c(u,p){for(var g=0;g<p;g++)u="0"+u;return u}e.default=l}),pd=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(i){for(var a=0,r=0;r<i.length;r++){var o=parseInt(i[r]);(r+i.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function n(i){for(var a=0,r=[2,3,4,5,6,7],o=0;o<i.length;o++){var s=parseInt(i[i.length-1-o]);a+=r[o%r.length]*s}return(11-a%11)%11}}),ute=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tl(),n=a(t),i=pd();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){return r(this,u),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,i.mod10)(p),g))}return u}(n.default);e.default=l}),hte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tl(),n=a(t),i=pd();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){return r(this,u),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p+(0,i.mod11)(p),g))}return u}(n.default);e.default=l}),pte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tl(),n=a(t),i=pd();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){return r(this,u),p+=(0,i.mod10)(p),p+=(0,i.mod10)(p),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,g))}return u}(n.default);e.default=l}),mte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tl(),n=a(t),i=pd();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){return r(this,u),p+=(0,i.mod11)(p),p+=(0,i.mod10)(p),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,g))}return u}(n.default);e.default=l}),fte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=tl(),n=p(t),i=ute(),a=p(i),r=hte(),o=p(r),s=pte(),l=p(s),c=mte(),u=p(c);function p(g){return g&&g.__esModule?g:{default:g}}e.MSI=n.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=l.default,e.MSI1110=u.default}),gte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(u,p){for(var g=0;g<p.length;g++){var b=p[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,p,g){return p&&c(u.prototype,p),g&&c(u,g),u}}(),n=Ea(),i=a(n);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){r(this,u);var b=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,g));return b.number=parseInt(p,10),b}return t(u,[{key:"encode",value:function(){for(var p=this.number,g="";!isNaN(p)&&p!=0;)p%2===0?(g="11100"+g,p=(p-2)/2):(g="100"+g,p=(p-1)/2);return g=g.slice(0,-2),{data:g,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(i.default);e.pharmacode=l}),vte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(u,p){for(var g=0;g<p.length;g++){var b=p[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,p,g){return p&&c(u.prototype,p),g&&c(u,g),u}}(),n=Ea(),i=a(n);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){r(this,u),p.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(p="A"+p+"A");var b=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p.toUpperCase(),g));return b.text=b.options.text||b.text.replace(/[A-D]/g,""),b}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=[],g=this.getEncodings(),b=0;b<this.data.length;b++)p.push(g[this.data.charAt(b)]),b!==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}(i.default);e.codabar=l}),bte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(u,p){for(var g=0;g<p.length;g++){var b=p[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,p,g){return p&&c(u.prototype,p),g&&c(u,g),u}}(),n=Ea(),i=a(n);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function o(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function s(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var l=function(c){s(u,c);function u(p,g){return r(this,u),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p,g))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(i.default);e.GenericBarcode=l}),_te=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Kee(),n=tte(),i=ste(),a=dte(),r=fte(),o=gte(),s=vte(),l=bte();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:o.pharmacode,codabar:s.codabar,GenericBarcode:l.GenericBarcode}}),md=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])}return n};e.default=function(n,i){return t({},n,i)}}),yte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=[];function a(r){if(Array.isArray(r))for(var o=0;o<r.length;o++)a(r[o]);else r.text=r.text||"",r.data=r.data||"",i.push(r)}return a(n),i}}),xte=Me(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}}),x0=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in i)i.hasOwnProperty(a)&&(a=i[a],typeof n[a]=="string"&&(n[a]=parseInt(n[a],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),w0=Me(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}),wte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=x0(),n=r(t),i=w0(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}function o(s){var l={};for(var c in a.default)a.default.hasOwnProperty(c)&&(s.hasAttribute("jsbarcode-"+c.toLowerCase())&&(l[c]=s.getAttribute("jsbarcode-"+c.toLowerCase())),s.hasAttribute("data-"+c.toLowerCase())&&(l[c]=s.getAttribute("data-"+c.toLowerCase())));return l.value=s.getAttribute("jsbarcode-value")||s.getAttribute("data-value"),l=(0,n.default)(l),l}e.default=o}),k0=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=md(),n=i(t);function i(u){return u&&u.__esModule?u:{default:u}}function a(u,p){return p.height+(p.displayValue&&u.text.length>0?p.fontSize+p.textMargin:0)+p.marginTop+p.marginBottom}function r(u,p,g){if(g.displayValue&&p<u){if(g.textAlign=="center")return Math.floor((u-p)/2);if(g.textAlign=="left")return 0;if(g.textAlign=="right")return Math.floor(u-p)}return 0}function o(u,p,g){for(var b=0;b<u.length;b++){var x=u[b],y=(0,n.default)(p,x.options),E;y.displayValue?E=c(x.text,y,g):E=0;var N=x.data.length*y.width;x.width=Math.ceil(Math.max(E,N)),x.height=a(x,y),x.barcodePadding=r(E,N,y)}}function s(u){for(var p=0,g=0;g<u.length;g++)p+=u[g].width;return p}function l(u){for(var p=0,g=0;g<u.length;g++)u[g].height>p&&(p=u[g].height);return p}function c(u,p,g){var b;if(g)b=g;else if(typeof document<"u")b=document.createElement("canvas").getContext("2d");else return 0;b.font=p.fontOptions+" "+p.fontSize+"px "+p.font;var x=b.measureText(u);if(!x)return 0;var y=x.width;return y}e.getMaximumHeightOfEncodings=l,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=s}),kte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function l(c,u){for(var p=0;p<u.length;p++){var g=u[p];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,u,p){return u&&l(c.prototype,u),p&&l(c,p),c}}(),n=md(),i=r(n),a=k0();function r(l){return l&&l.__esModule?l:{default:l}}function o(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}var s=function(){function l(c,u,p){o(this,l),this.canvas=c,this.encodings=u,this.options=p}return t(l,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var u=(0,i.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(u,this.encodings[c]),this.drawCanvasText(u,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,c);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),p=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=p,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,u){var p=this.canvas.getContext("2d"),g=u.data,b;c.textPosition=="top"?b=c.marginTop+c.fontSize+c.textMargin:b=c.marginTop,p.fillStyle=c.lineColor;for(var x=0;x<g.length;x++){var y=x*c.width+u.barcodePadding;g[x]==="1"?p.fillRect(y,b,c.width,c.height):g[x]&&p.fillRect(y,b,c.width,c.height*g[x])}}},{key:"drawCanvasText",value:function(c,u){var p=this.canvas.getContext("2d"),g=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var b,x;c.textPosition=="top"?x=c.marginTop+c.fontSize-c.textMargin:x=c.height+c.textMargin+c.marginTop+c.fontSize,p.font=g,c.textAlign=="left"||u.barcodePadding>0?(b=0,p.textAlign="left"):c.textAlign=="right"?(b=u.width-1,p.textAlign="right"):(b=u.width/2,p.textAlign="center"),p.fillText(u.text,b,x)}}},{key:"moveCanvasDrawing",value:function(c){var u=this.canvas.getContext("2d");u.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),l}();e.default=s}),Ete=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(u,p){for(var g=0;g<p.length;g++){var b=p[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,p,g){return p&&c(u.prototype,p),g&&c(u,g),u}}(),n=md(),i=r(n),a=k0();function r(c){return c&&c.__esModule?c:{default:c}}function o(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}var s="http://www.w3.org/2000/svg",l=function(){function c(u,p,g){o(this,c),this.svg=u,this.encodings=p,this.options=g,this.document=g.xmlDocument||document}return t(c,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var p=0;p<this.encodings.length;p++){var g=this.encodings[p],b=(0,i.default)(this.options,g.options),x=this.createGroup(u,b.marginTop,this.svg);this.setGroupOptions(x,b),this.drawSvgBarcode(x,b,g),this.drawSVGText(x,b,g),u+=g.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),p=(0,a.getMaximumHeightOfEncodings)(this.encodings),g=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(g,p),this.options.background&&this.drawRect(0,0,g,p,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(u,p,g){var b=g.data,x;p.textPosition=="top"?x=p.fontSize+p.textMargin:x=0;for(var y=0,E=0,N=0;N<b.length;N++)E=N*p.width+g.barcodePadding,b[N]==="1"?y++:y>0&&(this.drawRect(E-p.width*y,x,p.width*y,p.height,u),y=0);y>0&&this.drawRect(E-p.width*(y-1),x,p.width*y,p.height,u)}},{key:"drawSVGText",value:function(u,p,g){var b=this.document.createElementNS(s,"text");if(p.displayValue){var x,y;b.setAttribute("style","font:"+p.fontOptions+" "+p.fontSize+"px "+p.font),p.textPosition=="top"?y=p.fontSize-p.textMargin:y=p.height+p.textMargin+p.fontSize,p.textAlign=="left"||g.barcodePadding>0?(x=0,b.setAttribute("text-anchor","start")):p.textAlign=="right"?(x=g.width-1,b.setAttribute("text-anchor","end")):(x=g.width/2,b.setAttribute("text-anchor","middle")),b.setAttribute("x",x),b.setAttribute("y",y),b.appendChild(this.document.createTextNode(g.text)),u.appendChild(b)}}},{key:"setSvgAttributes",value:function(u,p){var g=this.svg;g.setAttribute("width",u+"px"),g.setAttribute("height",p+"px"),g.setAttribute("x","0px"),g.setAttribute("y","0px"),g.setAttribute("viewBox","0 0 "+u+" "+p),g.setAttribute("xmlns",s),g.setAttribute("version","1.1"),g.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(u,p,g){var b=this.document.createElementNS(s,"g");return b.setAttribute("transform","translate("+u+", "+p+")"),g.appendChild(b),b}},{key:"setGroupOptions",value:function(u,p){u.setAttribute("style","fill:"+p.lineColor+";")}},{key:"drawRect",value:function(u,p,g,b,x){var y=this.document.createElementNS(s,"rect");return y.setAttribute("x",u),y.setAttribute("y",p),y.setAttribute("width",g),y.setAttribute("height",b),x.appendChild(y),y}}]),c}();e.default=l}),Cte=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var s=0;s<o.length;s++){var l=o[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,o,s){return o&&a(r.prototype,o),s&&a(r,s),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r,o,s){n(this,a),this.object=r,this.encodings=o,this.options=s}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=i}),Ste=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=kte(),n=s(t),i=Ete(),a=s(i),r=Cte(),o=s(r);function s(l){return l&&l.__esModule?l:{default:l}}e.default={CanvasRenderer:n.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),E0=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function n(s,l){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:s}function i(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(s,l):s.__proto__=l)}var a=function(s){i(l,s);function l(c,u){t(this,l);var p=n(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));return p.name="InvalidInputException",p.symbology=c,p.input=u,p.message='"'+p.input+'" is not a valid input for '+p.symbology,p}return l}(Error),r=function(s){i(l,s);function l(){t(this,l);var c=n(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return l}(Error),o=function(s){i(l,s);function l(){t(this,l);var c=n(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return l}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=o}),Dte=Me(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=wte(),i=s(n),a=Ste(),r=s(a),o=E0();function s(p){return p&&p.__esModule?p:{default:p}}function l(p){if(typeof p=="string")return c(p);if(Array.isArray(p)){for(var g=[],b=0;b<p.length;b++)g.push(l(p[b]));return g}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,i.default)(p),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement)return{element:p,options:(0,i.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 o.InvalidElementException}}function c(p){var g=document.querySelectorAll(p);if(g.length!==0){for(var b=[],x=0;x<g.length;x++)b.push(l(g[x]));return b}}function u(p){var g=document.createElement("canvas");return{element:g,options:(0,i.default)(p),renderer:r.default.CanvasRenderer,afterRender:function(){p.setAttribute("src",g.toDataURL())}}}e.default=l}),Ite=Me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var s=0;s<o.length;s++){var l=o[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,o,s){return o&&a(r.prototype,o),s&&a(r,s),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r){n(this,a),this.api=r}return t(a,[{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 o=r.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(s){return this.handleCatch(s),this.api}}}]),a}();e.default=i}),Ate=Me((e,t)=>{var n=_te(),i=U(n),a=md(),r=U(a),o=yte(),s=U(o),l=xte(),c=U(l),u=Dte(),p=U(u),g=x0(),b=U(g),x=Ite(),y=U(x),E=E0(),N=w0(),K=U(N);function U(he){return he&&he.__esModule?he:{default:he}}var Ne=function(){},Xe=function(he,re,$e){var G=new Ne;if(typeof he>"u")throw Error("No element to render on was provided.");return G._renderProperties=(0,p.default)(he),G._encodings=[],G._options=K.default,G._errorHandler=new y.default(G),typeof re<"u"&&($e=$e||{},$e.format||($e.format=Ht()),G.options($e)[$e.format](re,$e).render()),G};Xe.getModule=function(he){return i.default[he]};for(tt in i.default)i.default.hasOwnProperty(tt)&&oi(i.default,tt);var tt;function oi(he,re){Ne.prototype[re]=Ne.prototype[re.toUpperCase()]=Ne.prototype[re.toLowerCase()]=function($e,G){var X=this;return X._errorHandler.wrapBarcodeCall(function(){G.text=typeof G.text>"u"?void 0:""+G.text;var le=(0,r.default)(X._options,G);le=(0,b.default)(le);var it=he[re],Lt=yi($e,it,le);return X._encodings.push(Lt),X})}}function yi(he,re,$e){he=""+he;var G=new re(he,$e);if(!G.valid())throw new E.InvalidInputException(G.constructor.name,he);var X=G.encode();X=(0,s.default)(X);for(var le=0;le<X.length;le++)X[le].options=(0,r.default)($e,X[le].options);return X}function Ht(){return i.default.CODE128?"CODE128":Object.keys(i.default)[0]}Ne.prototype.options=function(he){return this._options=(0,r.default)(this._options,he),this},Ne.prototype.blank=function(he){var re=new Array(he+1).join("0");return this._encodings.push({data:re}),this},Ne.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var he;for(var re in this._renderProperties){he=this._renderProperties[re];var $e=(0,r.default)(this._options,he.options);$e.format=="auto"&&($e.format=Ht()),this._errorHandler.wrapBarcodeCall(function(){var G=$e.value,X=i.default[$e.format.toUpperCase()],le=yi(G,X,$e);Oi(he,le,$e)})}}},Ne.prototype.render=function(){if(!this._renderProperties)throw new E.NoElementException;if(Array.isArray(this._renderProperties))for(var he=0;he<this._renderProperties.length;he++)Oi(this._renderProperties[he],this._encodings,this._options);else Oi(this._renderProperties,this._encodings,this._options);return this},Ne.prototype._defaults=K.default;function Oi(he,re,$e){re=(0,s.default)(re);for(var G=0;G<re.length;G++)re[G].options=(0,r.default)($e,re[G].options),(0,c.default)(re[G].options);(0,c.default)($e);var X=he.renderer,le=new X(he.element,re,$e);le.render(),he.afterRender&&he.afterRender()}typeof window<"u"&&(window.JsBarcode=Xe),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(he,re){var $e=[];return jQuery(this).each(function(){$e.push(this)}),Xe($e,he,re)}),t.exports=Xe});function C0(e,t){return Object.is(e,t)}var ci=null,bs=!1,uc=1,nn=Symbol("SIGNAL");function rt(e){let t=ci;return ci=e,t}function Tte(){return bs}var fd={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function gd(e){if(bs)throw new Error("");if(ci===null)return;ci.consumerOnSignalRead(e);let t=ci.nextProducerIndex++;if(_o(ci),t<ci.producerNode.length&&ci.producerNode[t]!==e&&Ds(ci)){let n=ci.producerNode[t];vd(n,ci.producerIndexOfThis[t])}ci.producerNode[t]!==e&&(ci.producerNode[t]=e,ci.producerIndexOfThis[t]=Ds(ci)?O0(e,ci,t):0),ci.producerLastReadVersion[t]=e.version}function Ote(){uc++}function S0(e){if(!(Ds(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===uc)){if(!e.producerMustRecompute(e)&&!Kp(e)){e.dirty=!1,e.lastCleanEpoch=uc;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=uc}}function D0(e){if(e.liveConsumerNode===void 0)return;let t=bs;bs=!0;try{for(let n of e.liveConsumerNode)n.dirty||A0(n)}finally{bs=t}}function I0(){return(ci==null?void 0:ci.consumerAllowSignalWrites)!==!1}function A0(e){var t;e.dirty=!0,D0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Gp(e){return e&&(e.nextProducerIndex=0),rt(e)}function $p(e,t){if(rt(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Ds(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)vd(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Kp(e){_o(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(S0(n),i!==n.version))return!0}return!1}function T0(e){if(_o(e),Ds(e))for(let t=0;t<e.producerNode.length;t++)vd(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 O0(e,t,n){if(R0(e),_o(e),e.liveConsumerNode.length===0)for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=O0(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function vd(e,t){if(R0(e),_o(e),e.liveConsumerNode.length===1)for(let i=0;i<e.producerNode.length;i++)vd(e.producerNode[i],e.producerIndexOfThis[i]);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 i=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];_o(a),a.producerIndexOfThis[i]=t}}function Ds(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function _o(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function R0(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Rte(e){let t=Object.create(Nte);t.computation=e;let n=()=>{if(S0(t),gd(t),t.value===hc)throw t.error;return t.value};return n[nn]=t,n}var xu=Symbol("UNSET"),wu=Symbol("COMPUTING"),hc=Symbol("ERRORED"),Nte=ti(Se({},fd),{value:xu,dirty:!0,error:null,equal:C0,producerMustRecompute(e){return e.value===xu||e.value===wu},producerRecomputeValue(e){if(e.value===wu)throw new Error("Detected cycle in computations.");let t=e.value;e.value=wu;let n=Gp(e),i;try{i=e.computation()}catch(a){i=hc,e.error=a}finally{$p(e,n)}if(t!==xu&&t!==hc&&i!==hc&&e.equal(t,i)){e.value=t;return}e.value=i,e.version++}});function Pte(){throw new Error}var N0=Pte;function P0(){N0()}function Mte(e){N0=e}function Lte(e){let t=Object.create(M0);t.value=e;let n=()=>(gd(t),t.value);return n[nn]=t,n}function bd(e,t){I0()||P0(),e.equal(e.value,t)||(e.value=t,Vte(e))}function Fte(e,t){I0()||P0(),bd(e,t(e.value))}var M0=ti(Se({},fd),{equal:C0,value:void 0});function Vte(e){e.version++,Ote(),D0(e)}function zte(e,t,n){let i=Object.create(Bte);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;let a=l=>{i.cleanupFn=l};function r(l){return l.fn===null&&l.schedule===null}function o(l){r(l)||(T0(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=wh)}let s=()=>{if(i.fn===null)return;if(Tte())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Kp(i))return;i.hasRun=!0;let l=Gp(i);try{i.cleanupFn(),i.cleanupFn=wh,i.fn(a)}finally{$p(i,l)}};return i.ref={notify:()=>A0(i),run:s,cleanup:()=>i.cleanupFn(),destroy:()=>o(i),[nn]:i},i.ref}var wh=()=>{},Bte=ti(Se({},fd),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:wh});function vt(e){return typeof e=="function"}function L0(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 ku=L0(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
- ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
14
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Ac(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var nt=class kh{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:i}=this;if(vt(i))try{i()}catch(r){t=r instanceof ku?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{mg(r)}catch(o){t=t??[],o instanceof ku?t=[...t,...o.errors]:t.push(o)}}if(t)throw new ku(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mg(t);else{if(t instanceof kh){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)&&Ac(n,t)}remove(t){let{_finalizers:n}=this;n&&Ac(n,t),t instanceof kh&&t._removeParent(this)}};nt.EMPTY=(()=>{let e=new nt;return e.closed=!0,e})();var F0=nt.EMPTY;function V0(e){return e instanceof nt||e&&"closed"in e&&vt(e.remove)&&vt(e.add)&&vt(e.unsubscribe)}function mg(e){vt(e)?e():e.unsubscribe()}var jte={Promise:void 0},Hte={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function z0(e){Hte.setTimeout(()=>{throw e})}function Eh(){}function pc(e){e()}var Zp=class extends nt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,V0(e)&&e.add(this)):this.destination=qte}static create(e,t,n){return new Is(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()}}},Ute=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){Pl(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){Pl(n)}else Pl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Pl(t)}}},Is=class extends Zp{constructor(e,t,n){super();let i;vt(e)||!e?i={next:e??void 0,error:t??void 0,complete:n??void 0}:i=e,this.destination=new Ute(i)}};function Pl(e){z0(e)}function Wte(e){throw e}var qte={closed:!0,next:Eh,error:Wte,complete:Eh},Qp=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Lo(e){return e}function Yte(e){return e.length===0?Lo:e.length===1?e[0]:function(t){return e.reduce((n,i)=>i(n),t)}}var At=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,a){let r=$te(n)?n:new Is(n,i,a);return pc(()=>{let{operator:o,source:s}=this;r.add(o?o.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=fg(i),new i((a,r)=>{let o=new Is({next:s=>{try{n(s)}catch(l){r(l),o.unsubscribe()}},error:r,complete:a});this.subscribe(o)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[Qp](){return this}pipe(...n){return Yte(n)(this)}toPromise(n){return n=fg(n),new n((i,a)=>{let r;this.subscribe(o=>r=o,o=>a(o),()=>i(r))})}}return e.create=t=>new e(t),e})();function fg(e){var t;return(t=e??jte.Promise)!==null&&t!==void 0?t:Promise}function Gte(e){return e&&vt(e.next)&&vt(e.error)&&vt(e.complete)}function $te(e){return e&&e instanceof Zp||Gte(e)&&V0(e)}function B0(e){return vt(e==null?void 0:e.lift)}function Ai(e){return t=>{if(B0(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function fi(e,t,n,i,a){return new Kte(e,t,n,i,a)}var Kte=class extends Zp{constructor(e,t,n,i,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(o){try{t(o)}catch(s){e.error(s)}}:super._next,this._error=i?function(o){try{i(o)}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(o){e.error(o)}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 Zte(){return Ai((e,t)=>{let n=null;e._refCount++;let i=fi(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let a=e._connection,r=n;n=null,a&&(!r||a===r)&&a.unsubscribe(),t.unsubscribe()});e.subscribe(i),i.closed||(n=e.connect())})}var Qte=class extends At{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,B0(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 nt;let t=this.getSubject();e.add(this.source.subscribe(fi(t,void 0,()=>{this._teardown(),t.complete()},n=>{this._teardown(),t.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=nt.EMPTY)}return e}refCount(){return Zte()(this)}},Xte=L0(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),xe=(()=>{class e extends At{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new gg(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Xte}next(n){pc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){pc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){pc(()=>{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:i,isStopped:a,observers:r}=this;return i||a?F0:(this.currentObservers=null,r.push(n),new nt(()=>{this.currentObservers=null,Ac(r,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:a,isStopped:r}=this;i?n.error(a):r&&n.complete()}asObservable(){let n=new At;return n.source=this,n}}return e.create=(t,n)=>new gg(t,n),e})(),gg=class extends xe{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:F0}},Dr=class extends xe{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)}},Xp={now(){return(Xp.delegate||Date).now()},delegate:void 0},_d=class extends xe{constructor(e=1/0,t=1/0,n=Xp){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:i,_timestampProvider:a,_windowTime:r}=this;t||(n.push(e),!i&&n.push(a.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,a=i.slice();for(let r=0;r<a.length&&!e.closed;r+=n?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:i}=this,a=(i?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!i){let r=t.now(),o=0;for(let s=1;s<n.length&&n[s]<=r;s+=2)o=s;o&&n.splice(0,o+1)}}},Jte=class extends nt{constructor(e,t){super()}schedule(e,t=0){return this}},Ch={setInterval(e,t,...n){let{delegate:i}=Ch;return i!=null&&i.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},eie=class extends Jte{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 i=this.id,a=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(a,i,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,n=0){return Ch.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&&Ch.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,i;try{this.work(e)}catch(a){n=!0,i=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Ac(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},Sh=class j0{constructor(t,n=j0.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}};Sh.now=Xp.now;var tie=class extends Sh{constructor(e,t=Sh.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}}},Jp=new tie(eie),iie=Jp,il=new At(e=>e.complete());function H0(e){return e&&vt(e.schedule)}function em(e){return e[e.length-1]}function U0(e){return vt(em(e))?e.pop():void 0}function al(e){return H0(em(e))?e.pop():void 0}function aie(e,t){return typeof em(e)=="number"?e.pop():t}function nie(e,t,n,i){function a(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function s(u){try{c(i.next(u))}catch(p){o(p)}}function l(u){try{c(i.throw(u))}catch(p){o(p)}}function c(u){u.done?r(u.value):a(u.value).then(s,l)}c((i=i.apply(e,[])).next())})}function vg(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function uo(e){return this instanceof uo?(this.v=e,this):new uo(e)}function rie(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),a,r=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(b){return function(x){return Promise.resolve(x).then(b,p)}}function s(b,x){i[b]&&(a[b]=function(y){return new Promise(function(E,N){r.push([b,y,E,N])>1||l(b,y)})},x&&(a[b]=x(a[b])))}function l(b,x){try{c(i[b](x))}catch(y){g(r[0][3],y)}}function c(b){b.value instanceof uo?Promise.resolve(b.value.v).then(u,p):g(r[0][2],b)}function u(b){l("next",b)}function p(b){l("throw",b)}function g(b,x){b(x),r.shift(),r.length&&l(r[0][0],r[0][1])}}function oie(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 vg=="function"?vg(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(o){return new Promise(function(s,l){o=e[r](o),a(s,l,o.done,o.value)})}}function a(r,o,s,l){Promise.resolve(l).then(function(c){r({value:c,done:s})},o)}}var tm=e=>e&&typeof e.length=="number"&&typeof e!="function";function W0(e){return vt(e==null?void 0:e.then)}function q0(e){return vt(e[Qp])}function Y0(e){return Symbol.asyncIterator&&vt(e==null?void 0:e[Symbol.asyncIterator])}function G0(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 sie(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var $0=sie();function K0(e){return vt(e==null?void 0:e[$0])}function Z0(e){return rie(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:i}=yield uo(t.read());if(i)return yield uo(void 0);yield yield uo(n)}}finally{t.releaseLock()}})}function Q0(e){return vt(e==null?void 0:e.getReader)}function Ji(e){if(e instanceof At)return e;if(e!=null){if(q0(e))return lie(e);if(tm(e))return cie(e);if(W0(e))return die(e);if(Y0(e))return X0(e);if(K0(e))return uie(e);if(Q0(e))return hie(e)}throw G0(e)}function lie(e){return new At(t=>{let n=e[Qp]();if(vt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function cie(e){return new At(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function die(e){return new At(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,z0)})}function uie(e){return new At(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function X0(e){return new At(t=>{pie(e,t).catch(n=>t.error(n))})}function hie(e){return X0(Z0(e))}function pie(e,t){var n,i,a,r;return nie(this,void 0,void 0,function*(){try{for(n=oie(e);i=yield n.next(),!i.done;){let o=i.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(a)throw a.error}}t.complete()})}function Sn(e,t,n,i=0,a=!1){let r=t.schedule(function(){n(),a?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!a)return r}function J0(e,t=0){return Ai((n,i)=>{n.subscribe(fi(i,a=>Sn(i,e,()=>i.next(a),t),()=>Sn(i,e,()=>i.complete(),t),a=>Sn(i,e,()=>i.error(a),t)))})}function e_(e,t=0){return Ai((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function mie(e,t){return Ji(e).pipe(e_(t),J0(t))}function fie(e,t){return Ji(e).pipe(e_(t),J0(t))}function gie(e,t){return new At(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function vie(e,t){return new At(n=>{let i;return Sn(n,t,()=>{i=e[$0](),Sn(n,t,()=>{let a,r;try{({value:a,done:r}=i.next())}catch(o){n.error(o);return}r?n.complete():n.next(a)},0,!0)}),()=>vt(i==null?void 0:i.return)&&i.return()})}function t_(e,t){if(!e)throw new Error("Iterable cannot be null");return new At(n=>{Sn(n,t,()=>{let i=e[Symbol.asyncIterator]();Sn(n,t,()=>{i.next().then(a=>{a.done?n.complete():n.next(a.value)})},0,!0)})})}function bie(e,t){return t_(Z0(e),t)}function _ie(e,t){if(e!=null){if(q0(e))return mie(e,t);if(tm(e))return gie(e,t);if(W0(e))return fie(e,t);if(Y0(e))return t_(e,t);if(K0(e))return vie(e,t);if(Q0(e))return bie(e,t)}throw G0(e)}function Rn(e,t){return t?_ie(e,t):Ji(e)}function wt(...e){let t=al(e);return Rn(e,t)}function yie(e,t){let n=vt(e)?e:()=>e,i=a=>a.error(n());return new At(i)}function Yn(e){return!!e&&(e instanceof At||vt(e.lift)&&vt(e.subscribe))}function xie(e){return e instanceof Date&&!isNaN(e)}function Dt(e,t){return Ai((n,i)=>{let a=0;n.subscribe(fi(i,r=>{i.next(e.call(t,r,a++))}))})}var{isArray:wie}=Array;function kie(e,t){return wie(t)?e(...t):e(t)}function im(e){return Dt(t=>kie(e,t))}var{isArray:Eie}=Array,{getPrototypeOf:Cie,prototype:Sie,keys:Die}=Object;function i_(e){if(e.length===1){let t=e[0];if(Eie(t))return{args:t,keys:null};if(Iie(t)){let n=Die(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function Iie(e){return e&&typeof e=="object"&&Cie(e)===Sie}function a_(e,t){return e.reduce((n,i,a)=>(n[i]=t[a],n),{})}function mc(...e){let t=al(e),n=U0(e),{args:i,keys:a}=i_(e);if(i.length===0)return Rn([],t);let r=new At(Aie(i,t,a?o=>a_(a,o):Lo));return n?r.pipe(im(n)):r}function Aie(e,t,n=Lo){return i=>{bg(t,()=>{let{length:a}=e,r=new Array(a),o=a,s=a;for(let l=0;l<a;l++)bg(t,()=>{let c=Rn(e[l],t),u=!1;c.subscribe(fi(i,p=>{r[l]=p,u||(u=!0,s--),s||i.next(n(r.slice()))},()=>{--o||i.complete()}))},i)},i)}}function bg(e,t,n){e?Sn(n,e,t):t()}function Tie(e,t,n,i,a,r,o,s){let l=[],c=0,u=0,p=!1,g=()=>{p&&!l.length&&!c&&t.complete()},b=y=>c<i?x(y):l.push(y),x=y=>{c++;let E=!1;Ji(n(y,u++)).subscribe(fi(t,N=>{t.next(N)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<i;){let N=l.shift();o?Sn(t,o,()=>x(N)):x(N)}g()}catch(N){t.error(N)}}))};return e.subscribe(fi(t,b,()=>{p=!0,g()})),()=>{}}function yo(e,t,n=1/0){return vt(t)?yo((i,a)=>Dt((r,o)=>t(i,r,a,o))(Ji(e(i,a))),n):(typeof t=="number"&&(n=t),Ai((i,a)=>Tie(i,a,e,n)))}function n_(e=1/0){return yo(Lo,e)}function Oie(){return n_(1)}function As(...e){return Oie()(Rn(e,al(e)))}function Ts(e){return new At(t=>{Ji(e()).subscribe(t)})}function am(...e){let t=U0(e),{args:n,keys:i}=i_(e),a=new At(r=>{let{length:o}=n;if(!o){r.complete();return}let s=new Array(o),l=o,c=o;for(let u=0;u<o;u++){let p=!1;Ji(n[u]).subscribe(fi(r,g=>{p||(p=!0,c--),s[u]=g},()=>l--,void 0,()=>{(!l||!p)&&(c||r.next(i?a_(i,s):s),r.complete())}))}});return t?a.pipe(im(t)):a}var Rie=["addListener","removeListener"],Nie=["addEventListener","removeEventListener"],Pie=["on","off"];function Ir(e,t,n,i){if(vt(n)&&(i=n,n=void 0),i)return Ir(e,t,n).pipe(im(i));let[a,r]=Fie(e)?Nie.map(o=>s=>e[o](t,s,n)):Mie(e)?Rie.map(_g(e,t)):Lie(e)?Pie.map(_g(e,t)):[];if(!a&&tm(e))return yo(o=>Ir(o,t,n))(Ji(e));if(!a)throw new TypeError("Invalid event target");return new At(o=>{let s=(...l)=>o.next(1<l.length?l:l[0]);return a(s),()=>r(s)})}function _g(e,t){return n=>i=>e[n](t,i)}function Mie(e){return vt(e.addListener)&&vt(e.removeListener)}function Lie(e){return vt(e.on)&&vt(e.off)}function Fie(e){return vt(e.addEventListener)&&vt(e.removeEventListener)}function r_(e=0,t,n=iie){let i=-1;return t!=null&&(H0(t)?n=t:i=t),new At(a=>{let r=xie(e)?+e-n.now():e;r<0&&(r=0);let o=0;return n.schedule(function(){a.closed||(a.next(o++),0<=i?this.schedule(void 0,i):a.complete())},r)})}function mi(...e){let t=al(e),n=aie(e,1/0),i=e;return i.length?i.length===1?Ji(i[0]):n_(n)(Rn(i,t)):il}function ki(e,t){return Ai((n,i)=>{let a=0;n.subscribe(fi(i,r=>e.call(t,r,a++)&&i.next(r)))})}function Vie(e){return Ai((t,n)=>{let i=!1,a=null,r=null,o=!1,s=()=>{if(r==null||r.unsubscribe(),r=null,i){i=!1;let c=a;a=null,n.next(c)}o&&n.complete()},l=()=>{r=null,o&&n.complete()};t.subscribe(fi(n,c=>{i=!0,a=c,r||Ji(e(c)).subscribe(r=fi(n,s,l))},()=>{o=!0,(!i||!r||r.closed)&&n.complete()}))})}function o_(e,t=Jp){return Vie(()=>r_(e,t))}function nm(e){return Ai((t,n)=>{let i=null,a=!1,r;i=t.subscribe(fi(n,void 0,void 0,o=>{r=Ji(e(o,nm(e)(t))),i?(i.unsubscribe(),i=null,r.subscribe(n)):a=!0})),a&&(i.unsubscribe(),i=null,r.subscribe(n))})}function s_(e,t){return vt(t)?yo(e,t,1):yo(e,1)}function rm(e,t=Jp){return Ai((n,i)=>{let a=null,r=null,o=null,s=()=>{if(a){a.unsubscribe(),a=null;let c=r;r=null,i.next(c)}};function l(){let c=o+e,u=t.now();if(u<c){a=this.schedule(void 0,c-u),i.add(a);return}s()}n.subscribe(fi(i,c=>{r=c,o=t.now(),a||(a=t.schedule(l,e),i.add(a))},()=>{s(),i.complete()},void 0,()=>{r=a=null}))})}function pi(e){return e<=0?()=>il:Ai((t,n)=>{let i=0;t.subscribe(fi(n,a=>{++i<=e&&(n.next(a),e<=i&&n.complete())}))})}function om(e,t=Lo){return e=e??zie,Ai((n,i)=>{let a,r=!0;n.subscribe(fi(i,o=>{let s=t(o);(r||!e(a,s))&&(r=!1,a=s,i.next(o))}))})}function zie(e,t){return e===t}function l_(e){return Ai((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function c_(e={}){let{connector:t=()=>new xe,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:a=!0}=e;return r=>{let o,s,l,c=0,u=!1,p=!1,g=()=>{s==null||s.unsubscribe(),s=void 0},b=()=>{g(),o=l=void 0,u=p=!1},x=()=>{let y=o;b(),y==null||y.unsubscribe()};return Ai((y,E)=>{c++,!p&&!u&&g();let N=l=l??t();E.add(()=>{c--,c===0&&!p&&!u&&(s=Eu(x,a))}),N.subscribe(E),!o&&c>0&&(o=new Is({next:K=>N.next(K),error:K=>{p=!0,g(),s=Eu(b,n,K),N.error(K)},complete:()=>{u=!0,g(),s=Eu(b,i),N.complete()}}),Ji(y).subscribe(o))})(r)}}function Eu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new Is({next:()=>{i.unsubscribe(),e()}});return Ji(t(...n)).subscribe(i)}function Dh(e,t,n){let i,a=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:a=!1,scheduler:n}=e:i=e??1/0,c_({connector:()=>new _d(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function sm(e){return ki((t,n)=>e<=n)}function Ei(...e){let t=al(e);return Ai((n,i)=>{(t?As(e,n,t):As(e,n)).subscribe(i)})}function ir(e,t){return Ai((n,i)=>{let a=null,r=0,o=!1,s=()=>o&&!a&&i.complete();n.subscribe(fi(i,l=>{a==null||a.unsubscribe();let c=0,u=r++;Ji(e(l,u)).subscribe(a=fi(i,p=>i.next(t?t(l,p,u,c++):p),()=>{a=null,s()}))},()=>{o=!0,s()}))})}function ft(e){return Ai((t,n)=>{Ji(e).subscribe(fi(n,()=>n.complete(),Eh)),!n.closed&&t.subscribe(n)})}function Bie(e,t=!1){return Ai((n,i)=>{let a=0;n.subscribe(fi(i,r=>{let o=e(r,a++);(o||t)&&i.next(r),!o&&i.complete()}))})}function _s(e,t,n){let i=vt(e)||t||n?{next:e,error:t,complete:n}:e;return i?Ai((a,r)=>{var o;(o=i.subscribe)===null||o===void 0||o.call(i);let s=!0;a.subscribe(fi(r,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),r.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),r.complete()},l=>{var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),r.error(l)},()=>{var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Lo}var d_="https://g.co/ng/security#xss",ce=class extends Error{constructor(e,t){super(jie(e,t)),this.code=e}};function jie(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var yd=Symbol("InputSignalNode#UNSET"),u_=ti(Se({},M0),{transformFn:void 0,applyValueToInputSignal(e,t){bd(e,t)}});function h_(e,t){let n=Object.create(u_);n.value=e,n.transformFn=t==null?void 0:t.transform;function i(){if(gd(n),n.value===yd)throw new ce(-950,!1);return n.value}return i[nn]=n,i}function nl(e){return{toString:e}.toString()}var Ml="__parameters__";function Hie(e){return function(...t){}}function p_(e,t,n){return nl(()=>{let i=Hie();function a(...r){if(this instanceof a)return i.apply(this,r),this;let o=new a(...r);return s.annotation=o,s;function s(l,c,u){let p=l.hasOwnProperty(Ml)?l[Ml]:Object.defineProperty(l,Ml,{value:[]})[Ml];for(;p.length<=u;)p.push(null);return(p[u]=p[u]||[]).push(o),l}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var en=globalThis;function jt(e){for(let t in e)if(e[t]===jt)return t;throw Error("Could not find renamed property on target object.")}function Uie(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function La(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(La).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
15
- `);return n===-1?t:t.substring(0,n)}function Ih(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Wie=jt({__forward_ref__:jt});function Nn(e){return e.__forward_ref__=Nn,e.toString=function(){return La(this())},e}function $i(e){return m_(e)?e():e}function m_(e){return typeof e=="function"&&e.hasOwnProperty(Wie)&&e.__forward_ref__===Nn}function J(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Tt(e){return{providers:e.providers||[],imports:e.imports||[]}}function lm(e){return yg(e,f_)||yg(e,g_)}function yg(e,t){return e.hasOwnProperty(t)?e[t]:null}function qie(e){return e&&(e[f_]||e[g_])||null}function xg(e){return e&&(e.hasOwnProperty(wg)||e.hasOwnProperty(Yie))?e[wg]:null}var f_=jt({ɵprov:jt}),wg=jt({ɵinj:jt}),g_=jt({ngInjectableDef:jt}),Yie=jt({ngInjectorDef:jt}),Z=class{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=J({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function v_(e){return e&&!!e.ɵproviders}var Gie=jt({ɵcmp:jt}),$ie=jt({ɵdir:jt}),Kie=jt({ɵpipe:jt}),Tc=jt({ɵfac:jt}),ys=jt({__NG_ELEMENT_ID__:jt}),kg=jt({__NG_ENV_ID__:jt});function xo(e){return typeof e=="string"?e:e==null?"":String(e)}function Zie(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():xo(e)}function Qie(e,t){throw new ce(-200,e)}function cm(e,t){throw new ce(-201,!1)}var ct=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}(ct||{}),Ah;function b_(){return Ah}function ia(e){let t=Ah;return Ah=e,t}function __(e,t,n){let i=lm(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&ct.Optional)return null;if(t!==void 0)return t;cm()}var Xie={},Os=Xie,Th="__NG_DI_FLAG__",Oc="ngTempTokenPath",Jie="ngTokenPath",eae=/\n/gm,tae="ɵ",Eg="__source",ho;function iae(){return ho}function Gn(e){let t=ho;return ho=e,t}function aae(e,t=ct.Default){if(ho===void 0)throw new ce(-203,!1);return ho===null?__(e,void 0,t):ho.get(e,t&ct.Optional?null:void 0,t)}function F(e,t=ct.Default){return(b_()||aae)($i(e),t)}function q(e,t=ct.Default){return F(e,xd(t))}function xd(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Oh(e){let t=[];for(let n=0;n<e.length;n++){let i=$i(e[n]);if(Array.isArray(i)){if(i.length===0)throw new ce(900,!1);let a,r=ct.Default;for(let o=0;o<i.length;o++){let s=i[o],l=nae(s);typeof l=="number"?l===-1?a=s.token:r|=l:a=s}t.push(F(a,r))}else t.push(F(i))}return t}function y_(e,t){return e[Th]=t,e.prototype[Th]=t,e}function nae(e){return e[Th]}function rae(e,t,n,i){let a=e[Oc];throw t[Eg]&&a.unshift(t[Eg]),e.message=oae(`
16
- `+e.message,a,n,i),e[Jie]=a,e[Oc]=null,e}function oae(e,t,n,i=null){e=e&&e.charAt(0)===`
17
- `&&e.charAt(1)==tae?e.slice(2):e;let a=La(t);if(Array.isArray(t))a=t.map(La).join(" -> ");else if(typeof t=="object"){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let s=t[o];r.push(o+":"+(typeof s=="string"?JSON.stringify(s):La(s)))}a=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(eae,`
18
- `)}`}var Fo=y_(p_("Optional"),8),Vo=y_(p_("SkipSelf"),4);function Or(e,t){return e.hasOwnProperty(Tc)?e[Tc]:null}function sae(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],r=t[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}function lae(e){return e.flat(Number.POSITIVE_INFINITY)}function dm(e,t){e.forEach(n=>Array.isArray(n)?dm(n,t):t(n))}function x_(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function cae(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function dae(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(a===1)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=n,e[t+1]=i}}function wd(e,t,n){let i=rl(e,t);return i>=0?e[i|1]=n:(i=~i,dae(e,i,t,n)),i}function Cu(e,t){let n=rl(e,t);if(n>=0)return e[n|1]}function rl(e,t){return uae(e,t,1)}function uae(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),o=e[r<<n];if(t===o)return r<<n;o>t?a=r:i=r+1}return~(a<<n)}var wo={},na=[],Nc=new Z(""),w_=new Z("",-1),k_=new Z(""),E_=class{get(e,t=Os){if(t===Os){let n=new Error(`NullInjectorError: No provider for ${La(e)}!`);throw n.name="NullInjectorError",n}return t}},C_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(C_||{}),wn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(wn||{}),R=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(R||{});function hae(e,t,n){let i=e.length;for(;;){let a=e.indexOf(t,n);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}function Rh(e,t,n){let i=0;for(;i<n.length;){let a=n[i];if(typeof a=="number"){if(a!==0)break;i++;let r=n[i++],o=n[i++],s=n[i++];e.setAttribute(t,o,s,r)}else{let r=a,o=n[++i];pae(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),i++}}return i}function S_(e){return e===3||e===4||e===6}function pae(e){return e.charCodeAt(0)===64}function Rs(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let a=t[i];typeof a=="number"?n=a:n===0||(n===-1||n===2?Cg(e,n,a,null,t[++i]):Cg(e,n,a,null,null))}}return e}function Cg(e,t,n,i,a){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let s=e[r++];if(typeof s=="number"){if(s===t){o=-1;break}else if(s>t){o=r-1;break}}}for(;r<e.length;){let s=e[r];if(typeof s=="number")break;if(s===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}o!==-1&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}var D_="ng-template";function mae(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&hae(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(um(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===n)return!0}return!1}function um(e){return e.type===4&&e.value!==D_}function fae(e,t,n){let i=e.type===4&&!n?D_:e.value;return t===i}function gae(e,t,n){let i=4,a=e.attrs,r=a!==null?_ae(a):0,o=!1;for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number"){if(!o&&!Oa(i)&&!Oa(l))return!1;if(o&&Oa(l))continue;o=!1,i=l|i&1;continue}if(!o)if(i&4){if(i=2|i&1,l!==""&&!fae(e,l,n)||l===""&&t.length===1){if(Oa(i))return!1;o=!0}}else if(i&8){if(a===null||!mae(e,a,l,n)){if(Oa(i))return!1;o=!0}}else{let c=t[++s],u=vae(l,a,um(e),n);if(u===-1){if(Oa(i))return!1;o=!0;continue}if(c!==""){let p;if(u>r?p="":p=a[u+1].toLowerCase(),i&2&&c!==p){if(Oa(i))return!1;o=!0}}}}return Oa(i)||o}function Oa(e){return(e&1)===0}function vae(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)r=!0;else if(o===1||o===2){let s=t[++a];for(;typeof s=="string";)s=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=r?1:2}return-1}else return yae(t,e)}function I_(e,t,n=!1){for(let i=0;i<t.length;i++)if(gae(e,t[i],n))return!0;return!1}function bae(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function _ae(e){for(let t=0;t<e.length;t++){let n=e[t];if(S_(n))return t}return e.length}function yae(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function xae(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function Sg(e,t){return e?":not("+t.trim()+")":t}function wae(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let o=e[n];if(typeof o=="string")if(i&2){let s=e[++n];a+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else i&8?a+="."+o:i&4&&(a+=" "+o);else a!==""&&!Oa(o)&&(t+=Sg(r,a),a=""),i=o,r=r||!Oa(i);n++}return a!==""&&(t+=Sg(r,a)),t}function kae(e){return e.map(wae).join(",")}function Eae(e){let t=[],n=[],i=1,a=2;for(;i<e.length;){let r=e[i];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++i]):a===8&&n.push(r);else{if(!Oa(a))break;a=r}i++}return{attrs:t,classes:n}}function ve(e){return nl(()=>{let t=O_(e),n=ti(Se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===C_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||wn.Emulated,styles:e.styles||na,_:null,schemas:e.schemas||null,tView:null,id:""});R_(n);let i=e.dependencies;return n.directiveDefs=Ig(i,!1),n.pipeDefs=Ig(i,!0),n.id=Iae(n),n})}function Cae(e){return ko(e)||A_(e)}function Sae(e){return e!==null}function Ot(e){return nl(()=>({type:e.type,bootstrap:e.bootstrap||na,declarations:e.declarations||na,imports:e.imports||na,exports:e.exports||na,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Dg(e,t){if(e==null)return wo;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,o,s=R.None;Array.isArray(a)?(s=a[0],r=a[1],o=a[2]??r):(r=a,o=a),t?(n[r]=s!==R.None?[i,s]:i,t[r]=o):n[r]=i}return n}function fe(e){return nl(()=>{let t=O_(e);return R_(t),t})}function bi(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 ko(e){return e[Gie]||null}function A_(e){return e[$ie]||null}function T_(e){return e[Kie]||null}function Dae(e){let t=ko(e)||A_(e)||T_(e);return t!==null?t.standalone:!1}function O_(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,inputTransforms:null,inputConfig:e.inputs||wo,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||na,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dg(e.inputs,t),outputs:Dg(e.outputs),debugInfo:null}}function R_(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function Ig(e,t){if(!e)return null;let n=t?T_:Cae;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(Sae)}function Iae(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function hm(e){return{ɵproviders:e}}function N_(...e){return{ɵproviders:P_(!0,e),ɵfromNgModule:!0}}function P_(e,...t){let n=[],i=new Set,a,r=o=>{n.push(o)};return dm(t,o=>{let s=o;Nh(s,r,[],i)&&(a||(a=[]),a.push(s))}),a!==void 0&&M_(a,r),n}function M_(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];pm(a,r=>{t(r,i)})}}function Nh(e,t,n,i){if(e=$i(e),!e)return!1;let a=null,r=xg(e),o=!r&&ko(e);if(!r&&!o){let l=e.ngModule;if(r=xg(l),r)a=l;else return!1}else{if(o&&!o.standalone)return!1;a=e}let s=i.has(a);if(o){if(s)return!1;if(i.add(a),o.dependencies){let l=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of l)Nh(c,t,n,i)}}else if(r){if(r.imports!=null&&!s){i.add(a);let c;try{dm(r.imports,u=>{Nh(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}c!==void 0&&M_(c,t)}if(!s){let c=Or(a)||(()=>new a);t({provide:a,useFactory:c,deps:na},a),t({provide:k_,useValue:a,multi:!0},a),t({provide:Nc,useValue:()=>F(a),multi:!0},a)}let l=r.providers;if(l!=null&&!s){let c=e;pm(l,u=>{t(u,c)})}}else return!1;return a!==e&&e.providers!==void 0}function pm(e,t){for(let n of e)v_(n)&&(n=n.ɵproviders),Array.isArray(n)?pm(n,t):t(n)}var Aae=jt({provide:String,useValue:jt});function L_(e){return e!==null&&typeof e=="object"&&Aae in e}function Tae(e){return!!(e&&e.useExisting)}function Oae(e){return!!(e&&e.useFactory)}function Eo(e){return typeof e=="function"}function Rae(e){return!!e.useClass}var mm=new Z(""),fc={},Nae={},Su;function fm(){return Su===void 0&&(Su=new E_),Su}var Rr=class{},gm=class extends Rr{get destroyed(){return this._destroyed}constructor(e,t,n,i){super(),this.parent=t,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Mh(e,r=>this.processProvider(r)),this.records.set(w_,ro(void 0,this)),i.has("environment")&&this.records.set(Rr,ro(void 0,this));let a=this.records.get(mm);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(k_,na,ct.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=rt(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),rt(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let t=Gn(this),n=ia(void 0);try{return e()}finally{Gn(t),ia(n)}}get(e,t=Os,n=ct.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(kg))return e[kg](this);n=xd(n);let i=Gn(this),a=ia(void 0);try{if(!(n&ct.SkipSelf)){let o=this.records.get(e);if(o===void 0){let s=Vae(e)&&lm(e);s&&this.injectableDefInScope(s)?o=ro(Ph(e),fc):o=null,this.records.set(e,o)}if(o!=null)return this.hydrate(e,o)}let r=n&ct.Self?fm():this.parent;return t=n&ct.Optional&&t===Os?null:t,r.get(e,t)}catch(r){if(r.name==="NullInjectorError"){if((r[Oc]=r[Oc]||[]).unshift(La(e)),i)throw r;return rae(r,e,"R3InjectorError",this.source)}else throw r}finally{ia(a),Gn(i)}}resolveInjectorInitializers(){let e=rt(null),t=Gn(this),n=ia(void 0);try{let i=this.get(Nc,na,ct.Self);for(let a of i)a()}finally{Gn(t),ia(n),rt(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(La(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ce(205,!1)}processProvider(e){e=$i(e);let t=Eo(e)?e:$i(e&&e.provide),n=Mae(e);if(!Eo(e)&&e.multi===!0){let i=this.records.get(t);i||(i=ro(void 0,fc,!0),i.factory=()=>Oh(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=rt(null);try{return t.value===fc&&(t.value=Nae,t.value=t.factory()),typeof t.value=="object"&&t.value&&Fae(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{rt(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=$i(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Ph(e){let t=lm(e),n=t!==null?t.factory:Or(e);if(n!==null)return n;if(e instanceof Z)throw new ce(204,!1);if(e instanceof Function)return Pae(e);throw new ce(204,!1)}function Pae(e){if(e.length>0)throw new ce(204,!1);let t=qie(e);return t!==null?()=>t.factory(e):()=>new e}function Mae(e){if(L_(e))return ro(void 0,e.useValue);{let t=F_(e);return ro(t,fc)}}function F_(e,t,n){let i;if(Eo(e)){let a=$i(e);return Or(a)||Ph(a)}else if(L_(e))i=()=>$i(e.useValue);else if(Oae(e))i=()=>e.useFactory(...Oh(e.deps||[]));else if(Tae(e))i=()=>F($i(e.useExisting));else{let a=$i(e&&(e.useClass||e.provide));if(Lae(e))i=()=>new a(...Oh(e.deps));else return Or(a)||Ph(a)}return i}function ro(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Lae(e){return!!e.deps}function Fae(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Vae(e){return typeof e=="function"||typeof e=="object"&&e instanceof Z}function Mh(e,t){for(let n of e)Array.isArray(n)?Mh(n,t):n&&v_(n)?Mh(n.ɵproviders,t):t(n)}function V_(e,t){e instanceof gm&&e.assertNotDestroyed();let n=Gn(e),i=ia(void 0);try{return t()}finally{Gn(n),ia(i)}}function z_(){return b_()!==void 0||iae()!=null}function vm(e){if(!z_())throw new ce(-203,!1)}function zae(e){return typeof e=="function"}var ln=0,Ue=1,Ve=2,Ni=3,Fa=4,ha=5,Co=6,Ns=7,Bi=8,So=9,za=10,qt=11,Ps=12,Ag=13,zo=14,xa=15,ol=16,oo=17,Va=18,kd=19,B_=20,Jn=21,po=22,Nr=23,Si=25,bm=1,Pr=7,Pc=8,Do=9,ji=10,_m=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(_m||{});function Ar(e){return Array.isArray(e)&&typeof e[bm]=="object"}function Pn(e){return Array.isArray(e)&&e[bm]===!0}function ym(e){return(e.flags&4)!==0}function Ed(e){return e.componentOffset>-1}function Cd(e){return(e.flags&1)===1}function An(e){return!!e.template}function Bae(e){return(e[Ve]&512)!==0}var j_=class{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function H_(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}function Gt(){return U_}function U_(e){return e.type.prototype.ngOnChanges&&(e.setInput=Hae),jae}Gt.ngInherit=!0;function jae(){let e=q_(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===wo)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Hae(e,t,n,i,a){let r=this.declaredInputs[i],o=q_(e)||Uae(e,{previous:wo,current:null}),s=o.current||(o.current={}),l=o.previous,c=l[r];s[r]=new j_(c&&c.currentValue,n,l===wo),H_(e,t,a,n)}var W_="__ngSimpleChanges__";function q_(e){return e[W_]||null}function Uae(e,t){return e[W_]=t}var Y_=function(e,t,n){},G_="svg",Wae="math";function rn(e){for(;Array.isArray(e);)e=e[ln];return e}function qae(e){for(;Array.isArray(e);){if(typeof e[bm]=="object")return e;e=e[ln]}return null}function $_(e,t){return rn(t[e])}function Ca(e,t){return rn(t[e.index])}function xm(e,t){return e.data[t]}function sl(e,t){return e[t]}function sr(e,t){let n=t[e];return Ar(n)?n:n[ln]}function Yae(e){return(e[Ve]&4)===4}function wm(e){return(e[Ve]&128)===128}function Gae(e){return Pn(e[Ni])}function Io(e,t){return t==null?null:e[t]}function K_(e){e[oo]=0}function $ae(e){e[Ve]&1024||(e[Ve]|=1024,wm(e)&&Sd(e))}function Kae(e,t){for(;e>0;)t=t[zo],e--;return t}function km(e){var t;return!!(e[Ve]&9216||(t=e[Nr])!=null&&t.dirty)}function Lh(e){var t,n;(t=e[za].changeDetectionScheduler)==null||t.notify(1),km(e)?Sd(e):e[Ve]&64&&((n=e[za].changeDetectionScheduler)==null||n.notify())}function Sd(e){var n;(n=e[za].changeDetectionScheduler)==null||n.notify();let t=Ms(e);for(;t!==null&&!(t[Ve]&8192||(t[Ve]|=8192,!wm(t)));)t=Ms(t)}function Z_(e,t){if((e[Ve]&256)===256)throw new ce(911,!1);e[Jn]===null&&(e[Jn]=[]),e[Jn].push(t)}function Zae(e,t){if(e[Jn]===null)return;let n=e[Jn].indexOf(t);n!==-1&&e[Jn].splice(n,1)}function Ms(e){let t=e[Ni];return Pn(t)?t[Ni]:t}var Ke={lFrame:iy(null),skipHydrationRootTNode:null};function Qae(){return Ke.lFrame.elementDepthCount}function Xae(){Ke.lFrame.elementDepthCount++}function Jae(){Ke.lFrame.elementDepthCount--}function Q_(){return Ke.skipHydrationRootTNode!==null}function ene(e){return Ke.skipHydrationRootTNode===e}function tne(){Ke.skipHydrationRootTNode=null}function Fe(){return Ke.lFrame.lView}function $t(){return Ke.lFrame.tView}function Oe(e){return Ke.lFrame.contextLView=e,e[Bi]}function Re(e){return Ke.lFrame.contextLView=null,e}function Li(){let e=X_();for(;e!==null&&e.type===64;)e=e.parent;return e}function X_(){return Ke.lFrame.currentTNode}function ine(){let e=Ke.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Br(e,t){let n=Ke.lFrame;n.currentTNode=e,n.isParent=t}function Em(){return Ke.lFrame.isParent}function Cm(){Ke.lFrame.isParent=!1}function ane(){return Ke.lFrame.contextLView}function lr(){let e=Ke.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function nne(){return Ke.lFrame.bindingIndex}function rne(e){return Ke.lFrame.bindingIndex=e}function cr(){return Ke.lFrame.bindingIndex++}function Sm(e){let t=Ke.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function one(){return Ke.lFrame.inI18n}function sne(e,t){let n=Ke.lFrame;n.bindingIndex=n.bindingRootIndex=e,Fh(t)}function lne(){return Ke.lFrame.currentDirectiveIndex}function Fh(e){Ke.lFrame.currentDirectiveIndex=e}function Dm(e){let t=Ke.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function J_(){return Ke.lFrame.currentQueryIndex}function Im(e){Ke.lFrame.currentQueryIndex=e}function cne(e){let t=e[Ue];return t.type===2?t.declTNode:t.type===1?e[ha]:null}function ey(e,t,n){if(n&ct.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&ct.Host))&&(a=cne(r),!(a===null||(r=r[zo],a.type&10))););if(a===null)return!1;t=a,e=r}let i=Ke.lFrame=ty();return i.currentTNode=t,i.lView=e,!0}function Am(e){let t=ty(),n=e[Ue];Ke.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ty(){let e=Ke.lFrame,t=e===null?null:e.child;return t===null?iy(e):t}function iy(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 ay(){let e=Ke.lFrame;return Ke.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ny=ay;function Tm(){let e=ay();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 dne(e){return(Ke.lFrame.contextLView=Kae(e,Ke.lFrame.contextLView))[Bi]}function Mn(){return Ke.lFrame.selectedIndex}function Mr(e){Ke.lFrame.selectedIndex=e}function ll(){let e=Ke.lFrame;return xm(e.tView,e.selectedIndex)}function cl(){Ke.lFrame.currentNamespace=G_}function une(){hne()}function hne(){Ke.lFrame.currentNamespace=null}function pne(){return Ke.lFrame.currentNamespace}var ry=!0;function Dd(){return ry}function Id(e){ry=e}function mne(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let o=U_(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,o)}a&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,a),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function Ad(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:s,ngAfterViewChecked:l,ngOnDestroy:c}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),o&&((e.contentHooks??(e.contentHooks=[])).push(n,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,o)),s&&(e.viewHooks??(e.viewHooks=[])).push(-n,s),l&&((e.viewHooks??(e.viewHooks=[])).push(n,l),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,l)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,c)}}function gc(e,t,n){oy(e,t,3,n)}function vc(e,t,n,i){(e[Ve]&3)===n&&oy(e,t,n,i)}function Du(e,t){let n=e[Ve];(n&3)===t&&(n&=16383,n+=1,e[Ve]=n)}function oy(e,t,n,i){let a=i!==void 0?e[oo]&65535:0,r=i??-1,o=t.length-1,s=0;for(let l=a;l<o;l++)if(typeof t[l+1]=="number"){if(s=t[l],i!=null&&s>=i)break}else t[l]<0&&(e[oo]+=65536),(s<r||r==-1)&&(fne(e,n,t,l),e[oo]=(e[oo]&4294901760)+l+2),l++}function Tg(e,t){let n=rt(null);try{t.call(e)}finally{rt(n)}}function fne(e,t,n,i){let a=n[i]<0,r=n[i+1],o=a?-n[i]:n[i],s=e[o];a?e[Ve]>>14<e[oo]>>16&&(e[Ve]&3)===t&&(e[Ve]+=16384,Tg(s,r)):Tg(s,r)}var mo=-1,dl=class{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}};function gne(e){return e instanceof dl}function vne(e){return(e.flags&8)!==0}function bne(e){return(e.flags&16)!==0}function sy(e){return e!==mo}function Mc(e){return e&32767}function _ne(e){return e>>16}function Lc(e,t){let n=_ne(e),i=t;for(;n>0;)i=i[zo],n--;return i}var Vh=!0;function Fc(e){let t=Vh;return Vh=e,t}var yne=256,ly=yne-1,cy=5,xne=0,tn={};function wne(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(ys)&&(i=n[ys]),i==null&&(i=n[ys]=xne++);let a=i&ly,r=1<<a;t.data[e+(a>>cy)]|=r}function Vc(e,t){let n=dy(e,t);if(n!==-1)return n;let i=t[Ue];i.firstCreatePass&&(e.injectorIndex=t.length,Iu(i.data,e),Iu(t,null),Iu(i.blueprint,null));let a=Om(e,t),r=e.injectorIndex;if(sy(a)){let o=Mc(a),s=Lc(a,t),l=s[Ue].data;for(let c=0;c<8;c++)t[r+c]=s[o+c]|l[o+c]}return t[r+8]=a,r}function Iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dy(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Om(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;a!==null;){if(i=fy(a),i===null)return mo;if(n++,a=a[zo],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return mo}function zh(e,t,n){wne(e,t,n)}function kne(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let i=n.length,a=0;for(;a<i;){let r=n[a];if(S_(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<i&&typeof n[a]=="string";)a++;else{if(r===t)return n[a+1];a=a+2}}}return null}function uy(e,t,n){if(n&ct.Optional||e!==void 0)return e;cm()}function hy(e,t,n,i){if(n&ct.Optional&&i===void 0&&(i=null),!(n&(ct.Self|ct.Host))){let a=e[So],r=ia(void 0);try{return a?a.get(t,i,n&ct.Optional):__(t,i,n&ct.Optional)}finally{ia(r)}}return uy(i,t,n)}function py(e,t,n,i=ct.Default,a){if(e!==null){if(t[Ve]&2048&&!(i&ct.Self)){let o=Dne(e,t,n,i,tn);if(o!==tn)return o}let r=my(e,t,n,i,tn);if(r!==tn)return r}return hy(t,n,i,a)}function my(e,t,n,i,a){let r=Cne(n);if(typeof r=="function"){if(!ey(t,e,i))return i&ct.Host?uy(a,n,i):hy(t,n,i,a);try{let o;if(o=r(i),o==null&&!(i&ct.Optional))cm(n);else return o}finally{ny()}}else if(typeof r=="number"){let o=null,s=dy(e,t),l=mo,c=i&ct.Host?t[xa][ha]:null;for((s===-1||i&ct.SkipSelf)&&(l=s===-1?Om(e,t):t[s+8],l===mo||!Rg(i,!1)?s=-1:(o=t[Ue],s=Mc(l),t=Lc(l,t)));s!==-1;){let u=t[Ue];if(Og(r,s,u.data)){let p=Ene(s,t,n,o,i,c);if(p!==tn)return p}l=t[s+8],l!==mo&&Rg(i,t[Ue].data[s+8]===c)&&Og(r,s,t)?(o=u,s=Mc(l),t=Lc(l,t)):s=-1}}return a}function Ene(e,t,n,i,a,r){let o=t[Ue],s=o.data[e+8],l=i==null?Ed(s)&&Vh:i!=o&&(s.type&3)!==0,c=a&ct.Host&&r===s,u=bc(s,o,n,l,c);return u!==null?Lr(t,o,u,s):tn}function bc(e,t,n,i,a){let r=e.providerIndexes,o=t.data,s=r&1048575,l=e.directiveStart,c=e.directiveEnd,u=r>>20,p=i?s:s+u,g=a?s+u:c;for(let b=p;b<g;b++){let x=o[b];if(b<l&&n===x||b>=l&&x.type===n)return b}if(a){let b=o[l];if(b&&An(b)&&b.type===n)return l}return null}function Lr(e,t,n,i){let a=e[n],r=t.data;if(gne(a)){let o=a;o.resolving&&Qie(Zie(r[n]));let s=Fc(o.canSeeViewProviders);o.resolving=!0;let l=o.injectImpl?ia(o.injectImpl):null;ey(e,i,ct.Default);try{a=e[n]=o.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&mne(n,r[n],t)}finally{l!==null&&ia(l),Fc(s),o.resolving=!1,ny()}}return a}function Cne(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ys)?e[ys]:void 0;return typeof t=="number"?t>=0?t&ly:Sne:t}function Og(e,t,n){let i=1<<e;return!!(n[t+(e>>cy)]&i)}function Rg(e,t){return!(e&ct.Self)&&!(e&ct.Host&&t)}var xs=class{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return py(this._tNode,this._lView,e,xd(n),t)}};function Sne(){return new xs(Li(),Fe())}function Xt(e){return nl(()=>{let t=e.prototype.constructor,n=t[Tc]||Bh(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[Tc]||Bh(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function Bh(e){return m_(e)?()=>{let t=Bh($i(e));return t&&t()}:Or(e)}function Dne(e,t,n,i,a){let r=e,o=t;for(;r!==null&&o!==null&&o[Ve]&2048&&!(o[Ve]&512);){let s=my(r,o,n,i|ct.Self,tn);if(s!==tn)return s;let l=r.parent;if(!l){let c=o[B_];if(c){let u=c.get(n,tn,i);if(u!==tn)return u}l=fy(o),o=o[zo]}r=l}return a}function fy(e){let t=e[Ue],n=t.type;return n===2?t.declTNode:n===1?e[ha]:null}function Bo(e){return kne(Li(),e)}function Ng(e,t=null,n=null,i){let a=Ine(e,t,n,i);return a.resolveInjectorInitializers(),a}function Ine(e,t=null,n=null,i,a=new Set){let r=[n||na,N_(e)];return i=i||(typeof e=="object"?void 0:La(e)),new gm(r,t||fm(),i||null,a)}var Hi=(()=>{const t=class t{static create(i,a){if(Array.isArray(i))return Ng({name:""},a,i,"");{let r=i.name??"";return Ng({name:r},i.parent,i.providers,r)}}};t.THROW_IF_NOT_FOUND=Os,t.NULL=new E_,t.ɵprov=J({token:t,providedIn:"any",factory:()=>F(w_)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})(),Ane="ngOriginalError";function Au(e){return e[Ane]}var Ua=class{constructor(){this._console=console}handleError(e){let t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Au(e);for(;t&&Au(t);)t=Au(t);return t||null}},gy=new Z("",{providedIn:"root",factory:()=>q(Ua).handleError.bind(void 0)}),Ba=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=One,t.__NG_ENV_ID__=i=>i;let e=t;return e})(),Tne=class extends Ba{constructor(e){super(),this._lView=e}onDestroy(e){return Z_(this._lView,e),()=>Zae(this._lView,e)}};function One(){return new Tne(Fe())}var vy=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=q(Ua,{optional:!0}),this.destroyRef=q(Ba),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ce(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,i;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((i=this.listeners)==null||i.splice(t,1))}}}emit(e){var n;if(this.destroyed)throw new ce(953,!1);if(this.listeners===null)return;let t=rt(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{rt(t)}}};function ul(e){return new vy}function Pg(e,t){return h_(e,t)}function Rne(e){return h_(yd,e)}var pt=(Pg.required=Rne,Pg);function Nne(){return jo(Li(),Fe())}function jo(e,t){return new Ce(Ca(e,t))}var Ce=(()=>{const t=class t{constructor(i){this.nativeElement=i}};t.__NG_ELEMENT_ID__=Nne;let e=t;return e})();function Pne(e){return e instanceof Ce?e.nativeElement:e}var Mne=class extends xe{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,z_()&&(this.destroyRef=q(Ba,{optional:!0})??void 0)}emit(e){let t=rt(null);try{super.next(e)}finally{rt(t)}}subscribe(e,t,n){var s,l,c;let i=e,a=t||(()=>null),r=n;if(e&&typeof e=="object"){let u=e;i=(s=u.next)==null?void 0:s.bind(u),a=(l=u.error)==null?void 0:l.bind(u),r=(c=u.complete)==null?void 0:c.bind(u)}this.__isAsync&&(a=Tu(a),i&&(i=Tu(i)),r&&(r=Tu(r)));let o=super.subscribe({next:i,error:a,complete:r});return e instanceof nt&&e.add(o),o}};function Tu(e){return t=>{setTimeout(e,void 0,t)}}var ae=Mne;function Lne(){return this._results[Symbol.iterator]()}var Ao=class by{get changes(){return this._changes??(this._changes=new ae)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=by.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Lne)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let i=lae(t);(this._changesDetected=!sae(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,(t=this._onDirty)==null||t.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function _y(e){return(e.flags&128)===128}var yy=new Map,Fne=0;function Vne(){return Fne++}function zne(e){yy.set(e[kd],e)}function Bne(e){yy.delete(e[kd])}var Mg="__ngContext__";function ar(e,t){Ar(t)?(e[Mg]=t[kd],zne(t)):e[Mg]=t}function xy(e){return ky(e[Ps])}function wy(e){return ky(e[Fa])}function ky(e){for(;e!==null&&!Pn(e);)e=e[Fa];return e}var jh;function jne(e){jh=e}function Hne(){if(jh!==void 0)return jh;if(typeof document<"u")return document;throw new ce(210,!1)}var Rm=new Z("",{providedIn:"root",factory:()=>Une}),Une="ng",Ey=new Z(""),Ho=new Z("",{providedIn:"platform",factory:()=>"unknown"}),Ti=new Z(""),Nm=new Z("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Hne().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Wne=()=>null;function Pm(e,t,n=!1){return Wne()}var Cy=!1,qne=new Z("",{providedIn:"root",factory:()=>Cy}),Ll;function Yne(){if(Ll===void 0&&(Ll=null,en.trustedTypes))try{Ll=en.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ll}function Td(e){var t;return((t=Yne())==null?void 0:t.createHTML(e))||e}var jr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${d_})`}},Gne=class extends jr{getTypeName(){return"HTML"}},$ne=class extends jr{getTypeName(){return"Style"}},Kne=class extends jr{getTypeName(){return"Script"}},Zne=class extends jr{getTypeName(){return"URL"}},Qne=class extends jr{getTypeName(){return"ResourceURL"}};function $n(e){return e instanceof jr?e.changingThisBreaksApplicationSecurity:e}function io(e,t){let n=Xne(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${d_})`)}return n===t}function Xne(e){return e instanceof jr&&e.getTypeName()||null}function Jne(e){return new Gne(e)}function ere(e){return new $ne(e)}function tre(e){return new Kne(e)}function ire(e){return new Zne(e)}function are(e){return new Qne(e)}function nre(e){let t=new ore(e);return sre()?new rre(t):t}var rre=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(Td(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}},ore=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Td(e),t}};function sre(){try{return!!new window.DOMParser().parseFromString(Td(""),"text/html")}catch{return!1}}var lre=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mm(e){return e=String(e),e.match(lre)?e:"unsafe:"+e}function Ln(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function hl(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var Sy=Ln("area,br,col,hr,img,wbr"),Dy=Ln("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Iy=Ln("rp,rt"),cre=hl(Iy,Dy),dre=hl(Dy,Ln("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")),ure=hl(Iy,Ln("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")),Lg=hl(Sy,dre,ure,cre),Ay=Ln("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hre=Ln("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"),pre=Ln("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"),mre=hl(Ay,hre,pre),fre=Ln("script,style,template"),gre=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];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){i.push(t),t=_re(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=bre(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Fg(e).toLowerCase();if(!Lg.hasOwnProperty(t))return this.sanitizedSomething=!0,!fre.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let i=0;i<n.length;i++){let a=n.item(i),r=a.name,o=r.toLowerCase();if(!mre.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let s=a.value;Ay[o]&&(s=Mm(s)),this.buf.push(" ",r,'="',Vg(s),'"')}return this.buf.push(">"),!0}endElement(e){let t=Fg(e).toLowerCase();Lg.hasOwnProperty(t)&&!Sy.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Vg(e))}};function vre(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function bre(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ty(t);return t}function _re(e){let t=e.firstChild;if(t&&vre(e,t))throw Ty(t);return t}function Fg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ty(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var yre=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xre=/([^\#-~ |!])/g;function Vg(e){return e.replace(/&/g,"&amp;").replace(yre,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(xre,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Fl;function wre(e,t){let n=null;try{Fl=Fl||nre(e);let i=t?String(t):"";n=Fl.getInertBodyElement(i);let a=5,r=i;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Fl.getInertBodyElement(i)}while(i!==r);let o=new gre().sanitizeChildren(zg(n)||n);return Td(o)}finally{if(n){let i=zg(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function zg(e){return"content"in e&&kre(e)?e.content:null}function kre(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ca=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}(ca||{});function Oy(e){let t=Ere();return t?t.sanitize(ca.URL,e)||"":io(e,"URL")?$n(e):Mm(xo(e))}function Ere(){let e=Fe();return e&&e[za].sanitizer}var Cre=/^>|^->|<!--|-->|--!>|<!-$/g,Sre=/(<|>)/g,Dre="​$1​";function Ire(e){return e.replace(Cre,t=>t.replace(Sre,Dre))}var Qn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qn||{}),Are;function Lm(e,t){return Are(e,t)}function so(e,t,n,i,a){if(i!=null){let r,o=!1;Pn(i)?r=i:Ar(i)&&(o=!0,i=i[ln]);let s=rn(i);e===0&&n!==null?a==null?Ly(t,n,s):zc(t,n,s,a||null,!0):e===1&&n!==null?zc(t,n,s,a||null,!0):e===2?qre(t,s,o):e===3&&t.destroyNode(s),r!=null&&Gre(t,e,r,n,a)}}function Tre(e,t){return e.createText(t)}function Ore(e,t,n){e.setValue(t,n)}function Rre(e,t){return e.createComment(Ire(t))}function Ry(e,t,n){return e.createElement(t,n)}function Nre(e,t){Ny(e,t),t[ln]=null,t[ha]=null}function Pre(e,t,n,i,a,r){i[ln]=a,i[ha]=t,Nd(e,i,n,1,a,r)}function Ny(e,t){var n;(n=t[za].changeDetectionScheduler)==null||n.notify(1),Nd(e,t,t[qt],2,null,null)}function Mre(e){let t=e[Ps];if(!t)return Ou(e[Ue],e);for(;t;){let n=null;if(Ar(t))n=t[Ps];else{let i=t[ji];i&&(n=i)}if(!n){for(;t&&!t[Fa]&&t!==e;)Ar(t)&&Ou(t[Ue],t),t=t[Ni];t===null&&(t=e),Ar(t)&&Ou(t[Ue],t),n=t&&t[Fa]}t=n}}function Lre(e,t,n,i){let a=ji+i,r=n.length;i>0&&(n[a-1][Fa]=t),i<r-ji?(t[Fa]=n[a],x_(n,ji+i,t)):(n.push(t),t[Fa]=null),t[Ni]=n;let o=t[ol];o!==null&&n!==o&&Fre(o,t);let s=t[Va];s!==null&&s.insertView(e),Lh(t),t[Ve]|=128}function Fre(e,t){let n=e[Do],i=t[Ni][Ni][xa];t[xa]!==i&&(e[Ve]|=_m.HasTransplantedViews),n===null?e[Do]=[t]:n.push(t)}function Py(e,t){let n=e[Do],i=n.indexOf(t);n.splice(i,1)}function Ls(e,t){if(e.length<=ji)return;let n=ji+t,i=e[n];if(i){let a=i[ol];a!==null&&a!==e&&Py(a,i),t>0&&(e[n-1][Fa]=i[Fa]);let r=Rc(e,ji+t);Nre(i[Ue],i);let o=r[Va];o!==null&&o.detachView(r[Ue]),i[Ni]=null,i[Fa]=null,i[Ve]&=-129}return i}function Od(e,t){if(!(t[Ve]&256)){let n=t[qt];n.destroyNode&&Nd(e,t,n,3,null,null),Mre(t)}}function Ou(e,t){if(t[Ve]&256)return;let n=rt(null);try{t[Ve]&=-129,t[Ve]|=256,t[Nr]&&T0(t[Nr]),zre(e,t),Vre(e,t),t[Ue].type===1&&t[qt].destroy();let i=t[ol];if(i!==null&&Pn(t[Ni])){i!==t[Ni]&&Py(i,t);let a=t[Va];a!==null&&a.detachView(e)}Bne(t)}finally{rt(n)}}function Vre(e,t){let n=e.cleanup,i=t[Ns];if(n!==null)for(let r=0;r<n.length-1;r+=2)if(typeof n[r]=="string"){let o=n[r+3];o>=0?i[o]():i[-o].unsubscribe(),r+=2}else{let o=i[n[r+1]];n[r].call(o)}i!==null&&(t[Ns]=null);let a=t[Jn];if(a!==null){t[Jn]=null;for(let r=0;r<a.length;r++){let o=a[r];o()}}}function zre(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let a=t[n[i]];if(!(a instanceof dl)){let r=n[i+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let s=a[r[o]],l=r[o+1];try{l.call(s)}finally{}}else try{r.call(a)}finally{}}}}function My(e,t,n){return Bre(e,t.parent,n)}function Bre(e,t,n){let i=t;for(;i!==null&&i.type&40;)t=i,i=t.parent;if(i===null)return n[ln];{let{componentOffset:a}=i;if(a>-1){let{encapsulation:r}=e.data[i.directiveStart+a];if(r===wn.None||r===wn.Emulated)return null}return Ca(i,n)}}function zc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function Ly(e,t,n){e.appendChild(t,n)}function Bg(e,t,n,i,a){i!==null?zc(e,t,n,i,a):Ly(e,t,n)}function jre(e,t,n,i){e.removeChild(t,n,i)}function Fm(e,t){return e.parentNode(t)}function Hre(e,t){return e.nextSibling(t)}function Fy(e,t,n){return Wre(e,t,n)}function Ure(e,t,n){return e.type&40?Ca(e,n):null}var Wre=Ure;function Rd(e,t,n,i){let a=My(e,i,t),r=t[qt],o=i.parent||t[ha],s=Fy(o,i,t);if(a!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Bg(r,a,n[l],s,!1);else Bg(r,a,n,s,!1)}function _c(e,t){if(t!==null){let n=t.type;if(n&3)return Ca(t,e);if(n&4)return Hh(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return _c(e,i);{let a=e[t.index];return Pn(a)?Hh(-1,a):rn(a)}}else{if(n&32)return Lm(t,e)()||rn(e[t.index]);{let i=Vy(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=Ms(e[xa]);return _c(a,i)}else return _c(e,t.next)}}}return null}function Vy(e,t){if(t!==null){let n=e[xa][ha],i=t.projection;return n.projection[i]}return null}function Hh(e,t){let n=ji+e+1;if(n<t.length){let i=t[n],a=i[Ue].firstChild;if(a!==null)return _c(i,a)}return t[Pr]}function qre(e,t,n){let i=Fm(e,t);i&&jre(e,i,t,n)}function Vm(e,t,n,i,a,r,o){for(;n!=null;){let s=i[n.index],l=n.type;if(o&&t===0&&(s&&ar(rn(s),i),n.flags|=2),(n.flags&32)!==32)if(l&8)Vm(e,t,n.child,i,a,r,!1),so(t,e,a,s,r);else if(l&32){let c=Lm(n,i),u;for(;u=c();)so(t,e,a,u,r);so(t,e,a,s,r)}else l&16?zy(e,t,i,n,a,r):so(t,e,a,s,r);n=o?n.projectionNext:n.next}}function Nd(e,t,n,i,a,r){Vm(n,i,e.firstChild,t,a,r,!1)}function Yre(e,t,n){let i=t[qt],a=My(e,n,t),r=n.parent||t[ha],o=Fy(r,n,t);zy(i,0,t,n,a,o)}function zy(e,t,n,i,a,r){let o=n[xa],s=o[ha].projection[i.projection];if(Array.isArray(s))for(let l=0;l<s.length;l++){let c=s[l];so(t,e,a,c,r)}else{let l=s,c=o[Ni];_y(i)&&(l.flags|=128),Vm(e,t,l,c,a,r,!0)}}function Gre(e,t,n,i,a){let r=n[Pr],o=rn(n);r!==o&&so(t,e,i,r,a);for(let s=ji;s<n.length;s++){let l=n[s];Nd(l[Ue],l,e,t,i,r)}}function $re(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:Qn.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=Qn.Important),e.setStyle(n,i,a,r))}}function Kre(e,t,n){e.setAttribute(t,"style",n)}function By(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function jy(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&Rh(e,t,i),a!==null&&By(e,t,a),r!==null&&Kre(e,t,r)}var Sa={};function C(e=1){Hy($t(),Fe(),Mn()+e)}function Hy(e,t,n,i){if((t[Ve]&3)===3){let a=e.preOrderCheckHooks;a!==null&&gc(t,a,n)}else{let a=e.preOrderHooks;a!==null&&vc(t,a,0,n)}Mr(n)}function k(e,t=ct.Default){let n=Fe();if(n===null)return F(e,t);let i=Li();return py(i,n,$i(e),t)}function zm(){let e="invalid";throw new Error(e)}function Uy(e,t,n,i,a,r){let o=rt(null);try{let s=null;a&R.SignalBased&&(s=t[i][nn]),s!==null&&s.transformFn!==void 0&&(r=s.transformFn(r)),a&R.HasDecoratorInputTransform&&(r=e.inputTransforms[i].call(t,r)),e.setInput!==null?e.setInput(t,s,r,n,i):H_(t,s,i,r)}finally{rt(o)}}function Zre(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let a=n[i];if(a<0)Mr(~a);else{let r=a,o=n[++i],s=n[++i];sne(o,r);let l=t[r];s(2,l)}}}finally{Mr(-1)}}function Pd(e,t,n,i,a,r,o,s,l,c,u){let p=t.blueprint.slice();return p[ln]=a,p[Ve]=i|4|128|8|64,(c!==null||e&&e[Ve]&2048)&&(p[Ve]|=2048),K_(p),p[Ni]=p[zo]=e,p[Bi]=n,p[za]=o||e&&e[za],p[qt]=s||e&&e[qt],p[So]=l||e&&e[So]||null,p[ha]=r,p[kd]=Vne(),p[Co]=u,p[B_]=c,p[xa]=t.type==2?e[xa]:p,p}function Uo(e,t,n,i,a){let r=e.data[t];if(r===null)r=Qre(e,t,n,i,a),one()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let o=ine();r.injectorIndex=o===null?-1:o.injectorIndex}return Br(r,!0),r}function Qre(e,t,n,i,a){let r=X_(),o=Em(),s=o?r:r&&r.parent,l=e.data[t]=toe(e,s,n,t,i,a);return e.firstChild===null&&(e.firstChild=l),r!==null&&(o?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Wy(e,t,n,i){if(n===0)return-1;let a=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function qy(e,t,n,i,a){let r=Mn(),o=i&2;try{Mr(-1),o&&t.length>Si&&Hy(e,t,Si,!1),Y_(o?2:0,a),n(i,a)}finally{Mr(r)}}function Bm(e,t,n){if(ym(t)){let i=rt(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let o=a;o<r;o++){let s=e.data[o];if(s.contentQueries){let l=n[o];s.contentQueries(1,l,o)}}}finally{rt(i)}}}function jm(e,t,n){soe(e,t,n,Ca(n,t)),(n.flags&64)===64&&$y(e,t,n)}function Hm(e,t,n=Ca){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let o=i[r+1],s=o===-1?n(t,e):e[o];e[a++]=s}}}function Yy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Um(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Um(e,t,n,i,a,r,o,s,l,c,u){let p=Si+i,g=p+a,b=Xre(p,g),x=typeof c=="function"?c():c;return b[Ue]={type:e,blueprint:b,template:n,queries:null,viewQuery:s,declTNode:t,data:b.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:g,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 o=="function"?o():o,firstChild:null,schemas:l,consts:x,incompleteFirstPass:!1,ssrId:u}}function Xre(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:Sa);return n}function Jre(e,t,n,i){let a=i.get(qne,Cy)||n===wn.ShadowDom;return e.selectRootElement(t,a)}function eoe(e,t,n,i){let a=Qy(t);a.push(n),e.firstCreatePass&&Xy(e).push(i,a.length-1)}function toe(e,t,n,i,a,r){let o=t?t.injectorIndex:-1,s=0;return Q_()&&(s|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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}}function jg(e,t,n,i,a){for(let r in t){if(!t.hasOwnProperty(r))continue;let o=t[r];if(o===void 0)continue;i??(i={});let s,l=R.None;Array.isArray(o)?(s=o[0],l=o[1]):s=o;let c=r;if(a!==null){if(!a.hasOwnProperty(r))continue;c=a[r]}e===0?Hg(i,n,c,s,l):Hg(i,n,c,s)}return i}function Hg(e,t,n,i,a){let r;e.hasOwnProperty(n)?(r=e[n]).push(t,i):r=e[n]=[t,i],a!==void 0&&r.push(a)}function ioe(e,t,n){let i=t.directiveStart,a=t.directiveEnd,r=e.data,o=t.attrs,s=[],l=null,c=null;for(let u=i;u<a;u++){let p=r[u],g=n?n.get(p):null,b=g?g.inputs:null,x=g?g.outputs:null;l=jg(0,p.inputs,u,l,b),c=jg(1,p.outputs,u,c,x);let y=l!==null&&o!==null&&!um(t)?boe(l,u,o):null;s.push(y)}l!==null&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=s,t.inputs=l,t.outputs=c}function aoe(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Md(e,t,n,i,a,r,o,s){let l=Ca(t,n),c=t.inputs,u;!s&&c!=null&&(u=c[i])?(qm(e,n,u,i,a),Ed(t)&&noe(n,t.index)):t.type&3?(i=aoe(i),a=o!=null?o(a,t.value||"",i):a,r.setProperty(l,i,a)):t.type&12}function noe(e,t){let n=sr(t,e);n[Ve]&16||(n[Ve]|=64)}function Wm(e,t,n,i){{let a=i===null?null:{"":-1},r=coe(e,n),o,s;r===null?o=s=null:[o,s]=r,o!==null&&Gy(e,t,n,o,a,s),a&&doe(n,i,a)}n.mergedAttrs=Rs(n.mergedAttrs,n.attrs)}function Gy(e,t,n,i,a,r){for(let c=0;c<i.length;c++)zh(Vc(n,t),e,i[c].type);hoe(n,e.data.length,i.length);for(let c=0;c<i.length;c++){let u=i[c];u.providersResolver&&u.providersResolver(u)}let o=!1,s=!1,l=Wy(e,t,i.length,null);for(let c=0;c<i.length;c++){let u=i[c];n.mergedAttrs=Rs(n.mergedAttrs,u.hostAttrs),poe(e,n,t,l,u),uoe(l,u,a),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let p=u.type.prototype;!o&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),o=!0),!s&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),s=!0),l++}ioe(e,n,r)}function roe(e,t,n,i,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let s=~t.index;ooe(o)!=s&&o.push(s),o.push(n,i,r)}}function ooe(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function soe(e,t,n,i){let a=n.directiveStart,r=n.directiveEnd;Ed(n)&&moe(t,n,e.data[a+n.componentOffset]),e.firstCreatePass||Vc(n,t),ar(i,t);let o=n.initialInputs;for(let s=a;s<r;s++){let l=e.data[s],c=Lr(t,e,s,n);if(ar(c,t),o!==null&&voe(t,s-a,c,l,n,o),An(l)){let u=sr(n.index,t);u[Bi]=Lr(t,e,s,n)}}}function $y(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,o=lne();try{Mr(r);for(let s=i;s<a;s++){let l=e.data[s],c=t[s];Fh(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&loe(l,c)}}finally{Mr(-1),Fh(o)}}function loe(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function coe(e,t){var r;let n=e.directiveRegistry,i=null,a=null;if(n)for(let o=0;o<n.length;o++){let s=n[o];if(I_(t,s.selectors,!1))if(i||(i=[]),An(s))if(s.findHostDirectiveDefs!==null){let l=[];a=a||new Map,s.findHostDirectiveDefs(s,l,a),i.unshift(...l,s);let c=l.length;Uh(e,t,c)}else i.unshift(s),Uh(e,t,0);else a=a||new Map,(r=s.findHostDirectiveDefs)==null||r.call(s,s,i,a),i.push(s)}return i===null?null:[i,a]}function Uh(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function doe(e,t,n){if(t){let i=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=n[t[a+1]];if(r==null)throw new ce(-301,!1);i.push(t[a],r)}}}function uoe(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;An(t)&&(n[""]=e)}}function hoe(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function poe(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=Or(a.type)),o=new dl(r,An(a),k);e.blueprint[i]=o,n[i]=o,roe(e,t,i,Wy(e,n,a.hostVars,Sa),a)}function moe(e,t,n){let i=Ca(t,e),a=Yy(n),r=e[za].rendererFactory,o=16;n.signals?o=4096:n.onPush&&(o=64);let s=Ld(e,Pd(e,a,null,o,i,t,null,r.createRenderer(i,n),null,null,null));e[t.index]=s}function foe(e,t,n,i,a,r){let o=Ca(e,t);goe(t[qt],o,r,e.value,n,i,a)}function goe(e,t,n,i,a,r,o){if(r==null)e.removeAttribute(t,a,n);else{let s=o==null?xo(r):o(r,i||"",a);e.setAttribute(t,a,s,n)}}function voe(e,t,n,i,a,r){let o=r[t];if(o!==null)for(let s=0;s<o.length;){let l=o[s++],c=o[s++],u=o[s++],p=o[s++];Uy(i,n,l,c,u,p)}}function boe(e,t,n){let i=null,a=0;for(;a<n.length;){let r=n[a];if(r===0){a+=4;continue}else if(r===5){a+=2;continue}if(typeof r=="number")break;if(e.hasOwnProperty(r)){i===null&&(i=[]);let o=e[r];for(let s=0;s<o.length;s+=3)if(o[s]===t){i.push(r,o[s+1],o[s+2],n[a+1]);break}}a+=2}return i}function Ky(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function Zy(e,t){let n=e.contentQueries;if(n!==null){let i=rt(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],o=n[a+1];if(o!==-1){let s=e.data[o];Im(r),s.contentQueries(2,t[o],o)}}}finally{rt(i)}}}function Ld(e,t){return e[Ps]?e[Ag][Fa]=t:e[Ps]=t,e[Ag]=t,t}function Wh(e,t,n){Im(0);let i=rt(null);try{t(e,n)}finally{rt(i)}}function Qy(e){return e[Ns]||(e[Ns]=[])}function Xy(e){return e.cleanup||(e.cleanup=[])}function Jy(e,t,n){return(e===null||An(e))&&(n=qae(n[t.index])),n[qt]}function ex(e,t){let n=e[So],i=n?n.get(Ua,null):null;i&&i.handleError(t)}function qm(e,t,n,i,a){for(let r=0;r<n.length;){let o=n[r++],s=n[r++],l=n[r++],c=t[o],u=e.data[o];Uy(u,c,i,s,l,a)}}function tx(e,t,n){let i=$_(t,e);Ore(e[qt],i,n)}function _oe(e,t){let n=sr(t,e),i=n[Ue];yoe(i,n);let a=n[ln];a!==null&&n[Co]===null&&(n[Co]=Pm(a,n[So])),Ym(i,n,n[Bi])}function yoe(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ym(e,t,n){var i;Am(t);try{let a=e.viewQuery;a!==null&&Wh(1,a,n);let r=e.template;r!==null&&qy(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[Va])==null||i.finishViewCreation(e),e.staticContentQueries&&Zy(e,t),e.staticViewQueries&&Wh(2,e.viewQuery,n);let o=e.components;o!==null&&xoe(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[Ve]&=-5,Tm()}}function xoe(e,t){for(let n=0;n<t.length;n++)_oe(e,t[n])}function Fd(e,t,n,i){let a=rt(null);try{let r=t.tView,o=e[Ve]&4096?4096:16,s=Pd(e,r,n,o,null,t,null,null,(i==null?void 0:i.injector)??null,(i==null?void 0:i.embeddedViewInjector)??null,(i==null?void 0:i.dehydratedView)??null),l=e[t.index];s[ol]=l;let c=e[Va];return c!==null&&(s[Va]=c.createEmbeddedView(r)),Ym(r,s,n),s}finally{rt(a)}}function ix(e,t){let n=ji+t;if(n<e.length)return e[n]}function Fs(e,t){return!t||t.firstChild===null||_y(e)}function Vd(e,t,n,i=!0){let a=t[Ue];if(Lre(a,t,e,n),i){let o=Hh(n,e),s=t[qt],l=Fm(s,e[Pr]);l!==null&&Pre(a,e[ha],s,t,l,o)}let r=t[Co];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function ax(e,t){let n=Ls(e,t);return n!==void 0&&Od(n[Ue],n),n}function Bc(e,t,n,i,a=!1){for(;n!==null;){let r=t[n.index];r!==null&&i.push(rn(r)),Pn(r)&&woe(r,i);let o=n.type;if(o&8)Bc(e,t,n.child,i);else if(o&32){let s=Lm(n,t),l;for(;l=s();)i.push(l)}else if(o&16){let s=Vy(t,n);if(Array.isArray(s))i.push(...s);else{let l=Ms(t[xa]);Bc(l[Ue],l,s,i,!0)}}n=a?n.projectionNext:n.next}return i}function woe(e,t){for(let n=ji;n<e.length;n++){let i=e[n],a=i[Ue].firstChild;a!==null&&Bc(i[Ue],i,a,t)}e[Pr]!==e[ln]&&t.push(e[Pr])}var nx=[];function koe(e){return e[Nr]??Eoe(e)}function Eoe(e){let t=nx.pop()??Object.create(Soe);return t.lView=e,t}function Coe(e){e.lView[Nr]!==e&&(e.lView=null,nx.push(e))}var Soe=ti(Se({},fd),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Sd(e.lView)},consumerOnSignalRead(){this.lView[Nr]=this}}),rx=100;function ox(e,t=!0,n=0){var r,o,s;let i=e[za],a=i.rendererFactory;(r=a.begin)==null||r.call(a);try{Doe(e,n)}catch(l){throw t&&ex(e,l),l}finally{(o=a.end)==null||o.call(a),(s=i.inlineEffectRunner)==null||s.flush()}}function Doe(e,t){qh(e,t);let n=0;for(;km(e);){if(n===rx)throw new ce(103,!1);n++,qh(e,1)}}function Ioe(e,t,n,i){var l;let a=t[Ve];if((a&256)===256)return;let r=!1;(l=t[za].inlineEffectRunner)==null||l.flush(),Am(t);let o=null,s=null;Aoe(e)&&(s=koe(t),o=Gp(s));try{K_(t),rne(e.bindingStartIndex),n!==null&&qy(e,t,n,2,i);let c=(a&3)===3;if(!r)if(c){let g=e.preOrderCheckHooks;g!==null&&gc(t,g,null)}else{let g=e.preOrderHooks;g!==null&&vc(t,g,0,null),Du(t,0)}if(Toe(t),sx(t,0),e.contentQueries!==null&&Zy(e,t),!r)if(c){let g=e.contentCheckHooks;g!==null&&gc(t,g)}else{let g=e.contentHooks;g!==null&&vc(t,g,1),Du(t,1)}Zre(e,t);let u=e.components;u!==null&&cx(t,u,0);let p=e.viewQuery;if(p!==null&&Wh(2,p,i),!r)if(c){let g=e.viewCheckHooks;g!==null&&gc(t,g)}else{let g=e.viewHooks;g!==null&&vc(t,g,2),Du(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[po]){for(let g of t[po])g();t[po]=null}r||(t[Ve]&=-73)}catch(c){throw Sd(t),c}finally{s!==null&&($p(s,o),Coe(s)),Tm()}}function Aoe(e){return e.type!==2}function sx(e,t){for(let n=xy(e);n!==null;n=wy(n))for(let i=ji;i<n.length;i++){let a=n[i];lx(a,t)}}function Toe(e){for(let t=xy(e);t!==null;t=wy(t)){if(!(t[Ve]&_m.HasTransplantedViews))continue;let n=t[Do];for(let i=0;i<n.length;i++){let a=n[i];a[Ni],$ae(a)}}}function Ooe(e,t,n){let i=sr(t,e);lx(i,n)}function lx(e,t){wm(e)&&qh(e,t)}function qh(e,t){let n=e[Ue],i=e[Ve],a=e[Nr],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&Kp(a))),a&&(a.dirty=!1),e[Ve]&=-9217,r)Ioe(n,e,n.template,e[Bi]);else if(i&8192){sx(e,1);let o=n.components;o!==null&&cx(e,o,1)}}function cx(e,t,n){for(let i=0;i<t.length;i++)Ooe(e,t[i],n)}function Gm(e){var t;for((t=e[za].changeDetectionScheduler)==null?void 0:t.notify();e;){e[Ve]|=64;let n=Ms(e);if(Bae(e)&&!n)return e;e=n}return null}var Vs=class{get rootNodes(){let e=this._lView,t=e[Ue];return Bc(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Bi]}set context(e){this._lView[Bi]=e}get destroyed(){return(this._lView[Ve]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ni];if(Pn(e)){let t=e[Pc],n=t?t.indexOf(this):-1;n>-1&&(Ls(e,n),Rc(t,n))}this._attachedToViewContainer=!1}Od(this._lView[Ue],this._lView)}onDestroy(e){Z_(this._lView,e)}markForCheck(){Gm(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ve]&=-129}reattach(){Lh(this._lView),this._lView[Ve]|=128}detectChanges(){this._lView[Ve]|=1024,ox(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ny(this._lView[Ue],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ce(902,!1);this._appRef=e,Lh(this._lView)}},gi=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=Poe;let e=t;return e})(),Roe=gi,Noe=class extends Roe{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let i=Fd(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new Vs(i)}};function Poe(){return zd(Li(),Fe())}function zd(e,t){return e.type&4?new Noe(t,e,jo(e,t)):null}var Moe=()=>null;function zs(e,t){return Moe()}var dx=class{},Loe=class{},ux=class{};function Foe(e){let t=Error(`No component factory found for ${La(e)}.`);return t[Voe]=e,t}var Voe="ngComponent",zoe=class{resolveComponentFactory(e){throw Foe(e)}},dr=(()=>{const t=class t{};t.NULL=new zoe;let e=t;return e})(),$m=class{},Km=(()=>{const t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Boe();let e=t;return e})();function Boe(){let e=Fe(),t=Li(),n=sr(t.index,e);return(Ar(n)?n:e)[qt]}var joe=(()=>{const t=class t{};t.ɵprov=J({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Ru={},Ug=new Set;function Hr(e){var t;Ug.has(e)||(Ug.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}function Wg(...e){}function Hoe(){let e=typeof en.requestAnimationFrame=="function",t=en[e?"requestAnimationFrame":"setTimeout"],n=en[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);let a=n[Zone.__symbol__("OriginalDelegate")];a&&(n=a)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var Pe=class Yh{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ae(!1),this.onMicrotaskEmpty=new ae(!1),this.onStable=new ae(!1),this.onError=new ae(!1),typeof Zone>"u")throw new ce(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&n,a.shouldCoalesceRunChangeDetection=i,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=Hoe().nativeRequestAnimationFrame,qoe(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!Yh.isInAngularZone())throw new ce(909,!1)}static assertNotInAngularZone(){if(Yh.isInAngularZone())throw new ce(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+a,t,Uoe,Wg,Wg);try{return r.runTask(o,n,i)}finally{r.cancelTask(o)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},Uoe={};function Zm(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 Woe(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(en,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gh(e),e.isCheckStableRunning=!0,Zm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gh(e))}function qoe(e){let t=()=>{Woe(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,a,r,o,s)=>{if(Yoe(s))return n.invokeTask(a,r,o,s);try{return qg(e),n.invokeTask(a,r,o,s)}finally{(e.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Yg(e)}},onInvoke:(n,i,a,r,o,s,l)=>{try{return qg(e),n.invoke(a,r,o,s,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Yg(e)}},onHasTask:(n,i,a,r)=>{n.hasTask(a,r),i===a&&(r.change=="microTask"?(e._hasPendingMicrotasks=r.microTask,Gh(e),Zm(e)):r.change=="macroTask"&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,a,r)=>(n.handleError(a,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}function Gh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yg(e){e._nesting--,Zm(e)}function Yoe(e){var t;return!Array.isArray(e)||e.length!==1?!1:((t=e[0].data)==null?void 0:t.__ignore_ng_zone__)===!0}var hx=(()=>{const t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var i;this.executeInternalCallbacks(),(i=this.handler)==null||i.execute()}executeInternalCallbacks(){let i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let a of i)a()}ngOnDestroy(){var i;(i=this.handler)==null||i.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.ɵprov=J({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function jc(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];if(typeof s=="number")r=s;else if(r==1)a=Ih(a,s);else if(r==2){let l=s,c=t[++o];i=Ih(i,l+": "+c+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}var Goe=class extends dr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=ko(e);return new px(t,this.ngModule)}};function Gg(e){let t=[];for(let n in e){if(!e.hasOwnProperty(n))continue;let i=e[n];i!==void 0&&t.push({propName:Array.isArray(i)?i[0]:i,templateName:n})}return t}function $oe(e){let t=e.toLowerCase();return t==="svg"?G_:t==="math"?Wae:null}var Koe=class{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=xd(n);let i=this.injector.get(e,Ru,n);return i!==Ru||t===Ru?i:this.parentInjector.get(e,t,n)}},px=class extends ux{get inputs(){let e=this.componentDef,t=e.inputTransforms,n=Gg(e.inputs);if(t!==null)for(let i of n)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return n}get outputs(){return Gg(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=kae(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,n,i){let a=rt(null);try{i=i||this.ngModule;let r=i instanceof Rr?i:i==null?void 0:i.injector;r&&this.componentDef.getStandaloneInjector!==null&&(r=this.componentDef.getStandaloneInjector(r)||r);let o=r?new Koe(e,r):e,s=o.get($m,null);if(s===null)throw new ce(407,!1);let l=o.get(joe,null),c=o.get(hx,null),u=o.get(dx,null),p={rendererFactory:s,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:c,changeDetectionScheduler:u},g=s.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",x=n?Jre(g,n,this.componentDef.encapsulation,o):Ry(g,b,$oe(b)),y=512;this.componentDef.signals?y|=4096:this.componentDef.onPush||(y|=16);let E=null;x!==null&&(E=Pm(x,o,!0));let N=Um(0,null,null,1,0,null,null,null,null,null,null),K=Pd(null,N,null,y,null,null,p,g,o,null,E);Am(K);let U,Ne;try{let Xe=this.componentDef,tt,oi=null;Xe.findHostDirectiveDefs?(tt=[],oi=new Map,Xe.findHostDirectiveDefs(Xe,tt,oi),tt.push(Xe)):tt=[Xe];let yi=Qoe(K,x),Ht=Xoe(yi,x,Xe,tt,K,p,g);Ne=xm(N,Si),x&&tse(g,Xe,x,n),t!==void 0&&ise(Ne,this.ngContentSelectors,t),U=ese(Ht,Xe,tt,oi,K,[ase]),Ym(N,K,null)}finally{Tm()}return new Zoe(this.componentType,U,jo(Ne,K),K,Ne)}finally{rt(a)}}},Zoe=class extends Loe{constructor(e,t,n,i,a){super(),this.location=n,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Vs(i,void 0,!1),this.componentType=e}setInput(e,t){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let a=this._rootLView;qm(a[Ue],a,i,e,t),this.previousInputValues.set(e,t);let r=sr(this._tNode.index,a);Gm(r)}}get injector(){return new xs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Qoe(e,t){let n=e[Ue],i=Si;return e[i]=t,Uo(n,i,2,"#host",null)}function Xoe(e,t,n,i,a,r,o){let s=a[Ue];Joe(i,e,t,o);let l=null;t!==null&&(l=Pm(t,a[So]));let c=r.rendererFactory.createRenderer(t,n),u=16;n.signals?u=4096:n.onPush&&(u=64);let p=Pd(a,Yy(n),null,u,a[e.index],e,r,c,null,null,l);return s.firstCreatePass&&Uh(s,e,i.length-1),Ld(a,p),a[e.index]=p}function Joe(e,t,n,i){for(let a of e)t.mergedAttrs=Rs(t.mergedAttrs,a.hostAttrs);t.mergedAttrs!==null&&(jc(t,t.mergedAttrs,!0),n!==null&&jy(i,n,t))}function ese(e,t,n,i,a,r){let o=Li(),s=a[Ue],l=Ca(o,a);Gy(s,a,o,n,null,i);for(let u=0;u<n.length;u++){let p=o.directiveStart+u,g=Lr(a,s,p,o);ar(g,a)}$y(s,a,o),l&&ar(l,a);let c=Lr(a,s,o.directiveStart+o.componentOffset,o);if(e[Bi]=a[Bi]=c,r!==null)for(let u of r)u(c,t);return Bm(s,o,a),c}function tse(e,t,n,i){if(i)Rh(e,n,["ng-version","17.3.12"]);else{let{attrs:a,classes:r}=Eae(t.selectors[0]);a&&Rh(e,n,a),r&&r.length>0&&By(e,n,r.join(" "))}}function ise(e,t,n){let i=e.projection=[];for(let a=0;a<t.length;a++){let r=n[a];i.push(r!=null?Array.from(r):null)}}function ase(){let e=Li();Ad(Fe()[Ue],e)}var Fi=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=nse;let e=t;return e})();function nse(){let e=Li();return fx(e,Fe())}var rse=Fi,mx=class extends rse{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return jo(this._hostTNode,this._hostLView)}get injector(){return new xs(this._hostTNode,this._hostLView)}get parentInjector(){let e=Om(this._hostTNode,this._hostLView);if(sy(e)){let t=Lc(e,this._hostLView),n=Mc(e),i=t[Ue].data[n+8];return new xs(i,t)}else return new xs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=$g(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-ji}createEmbeddedView(e,t,n){let i,a;typeof n=="number"?i=n:n!=null&&(i=n.index,a=n.injector);let r=zs(this._lContainer,e.ssrId),o=e.createEmbeddedViewImpl(t||{},a,r);return this.insertImpl(o,i,Fs(this._hostTNode,r)),o}createComponent(e,t,n,i,a){let r=e&&!zae(e),o;if(r)o=t;else{let b=t||{};o=b.index,n=b.injector,i=b.projectableNodes,a=b.environmentInjector||b.ngModuleRef}let s=r?e:new px(ko(e)),l=n||this.parentInjector;if(!a&&s.ngModule==null){let b=(r?l:this.parentInjector).get(Rr,null);b&&(a=b)}let c=ko(s.componentType??{}),u=zs(this._lContainer,(c==null?void 0:c.id)??null),p=null,g=s.create(l,i,p,a);return this.insertImpl(g.hostView,o,Fs(this._hostTNode,u)),g}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let i=e._lView;if(Gae(i)){let o=this.indexOf(e);if(o!==-1)this.detach(o);else{let s=i[Ni],l=new mx(s,s[ha],s[Ni]);l.detach(l.indexOf(e))}}let a=this._adjustIndex(t),r=this._lContainer;return Vd(r,i,a,n),e.attachToViewContainerRef(),x_(Nu(r),a,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=$g(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),n=Ls(this._lContainer,t);n&&(Rc(Nu(this._lContainer),t),Od(n[Ue],n))}detach(e){let t=this._adjustIndex(e,-1),n=Ls(this._lContainer,t);return n&&Rc(Nu(this._lContainer),t)!=null?new Vs(n):null}_adjustIndex(e,t=0){return e??this.length+t}};function $g(e){return e[Pc]}function Nu(e){return e[Pc]||(e[Pc]=[])}function fx(e,t){let n,i=t[e.index];return Pn(i)?n=i:(n=Ky(i,t,null,e),t[e.index]=n,Ld(t,n)),sse(n,t,e,i),new mx(n,e,t)}function ose(e,t){let n=e[qt],i=n.createComment(""),a=Ca(t,e),r=Fm(n,a);return zc(n,r,i,Hre(n,a),!1),i}var sse=lse;function lse(e,t,n,i){if(e[Pr])return;let a;n.type&8?a=rn(i):a=ose(t,n),e[Pr]=a}var cse=class gx{constructor(t){this.queryList=t,this.matches=null}clone(){return new gx(this.queryList)}setDirty(){this.queryList.setDirty()}},dse=class vx{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let i=t.contentQueries!==null?t.contentQueries[0]:n.length,a=[];for(let r=0;r<i;r++){let o=n.getByIndex(r),s=this.queries[o.indexInDeclarationView];a.push(s.clone())}return new vx(a)}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++)Qm(t,n).matches!==null&&this.queries[n].setDirty()}},bx=class{constructor(e,t,n=null){this.flags=t,this.read=n,typeof e=="string"?this.predicate=yse(e):this.predicate=e}},use=class _x{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){let a=n!==null?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,n!==null?n.push(r):n=[r])}return n!==null?new _x(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},hse=class yx{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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 yx(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==n;)i=i.parent;return n===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){let r=i[a];this.matchTNodeWithReadOption(t,n,pse(n,r)),this.matchTNodeWithReadOption(t,n,bc(n,t,r,!1,!1))}else i===gi?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,bc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===Ce||a===Fi||a===gi&&n.type&4)this.addMatch(n.index,-2);else{let r=bc(n,t,a,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function pse(e,t){let n=e.localNames;if(n!==null){for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1]}return null}function mse(e,t){return e.type&11?jo(e,t):e.type&4?zd(e,t):null}function fse(e,t,n,i){return n===-1?mse(t,e):n===-2?gse(e,t,i):Lr(e,e[Ue],n,t)}function gse(e,t,n){if(n===Ce)return jo(t,e);if(n===gi)return zd(t,e);if(n===Fi)return fx(t,e)}function xx(e,t,n,i){let a=t[Va].queries[i];if(a.matches===null){let r=e.data,o=n.matches,s=[];for(let l=0;o!==null&&l<o.length;l+=2){let c=o[l];if(c<0)s.push(null);else{let u=r[c];s.push(fse(t,u,o[l+1],n.metadata.read))}}a.matches=s}return a.matches}function $h(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let o=xx(e,t,a,n);for(let s=0;s<r.length;s+=2){let l=r[s];if(l>0)i.push(o[s/2]);else{let c=r[s+1],u=t[-l];for(let p=ji;p<u.length;p++){let g=u[p];g[ol]===g[Ni]&&$h(g[Ue],g,c,i)}if(u[Do]!==null){let p=u[Do];for(let g=0;g<p.length;g++){let b=p[g];$h(b[Ue],b,c,i)}}}}}return i}function vse(e,t){return e[Va].queries[t].queryList}function wx(e,t,n){let i=new Ao((n&4)===4);return eoe(e,t,i,i.destroy),(t[Va]??(t[Va]=new dse)).queries.push(new cse(i))-1}function bse(e,t,n){let i=$t();return i.firstCreatePass&&(kx(i,new bx(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),wx(i,Fe(),t)}function _se(e,t,n,i){let a=$t();if(a.firstCreatePass){let r=Li();kx(a,new bx(t,n,i),r.index),xse(a,e),(n&2)===2&&(a.staticContentQueries=!0)}return wx(a,Fe(),n)}function yse(e){return e.split(",").map(t=>t.trim())}function kx(e,t,n){e.queries===null&&(e.queries=new use),e.queries.track(new hse(t,n))}function xse(e,t){let n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}function Qm(e,t){return e.queries.getByIndex(t)}function wse(e,t){let n=e[Ue],i=Qm(n,t);return i.crossesNgTemplate?$h(n,e,t,[]):xx(n,e,i,t)}function Kh(e){return typeof e=="function"&&e[nn]!==void 0}function Bs(e,t){Hr("NgSignals");let n=Lte(e),i=n[nn];return n.set=a=>bd(i,a),n.update=a=>Fte(i,a),n.asReadonly=Ex.bind(n),n}function Ex(){let e=this[nn];if(e.readonlyFn===void 0){let t=()=>this();t[nn]=e,e.readonlyFn=t}return e.readonlyFn}function Cx(e){return Kh(e)&&typeof e.set=="function"}function Sx(e){let t=Object.create(u_),n=new vy;t.value=e;function i(){return gd(t),Kg(t.value),t.value}return i[nn]=t,i.asReadonly=Ex.bind(i),i.set=a=>{t.equal(t.value,a)||(bd(t,a),n.emit(a))},i.update=a=>{Kg(t.value),i.set(a(t.value))},i.subscribe=n.subscribe.bind(n),i.destroyRef=n.destroyRef,i}function Kg(e){if(e===yd)throw new ce(-952,!1)}function Zg(e){return Sx(e)}function kse(){return Sx(yd)}var Xm=(Zg.required=kse,Zg);function Ese(e){return Object.getPrototypeOf(e.prototype).constructor}function je(e){let t=Ese(e.type),n=!0,i=[e];for(;t;){let a;if(An(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ce(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let o=e;o.inputs=Vl(e.inputs),o.inputTransforms=Vl(e.inputTransforms),o.declaredInputs=Vl(e.declaredInputs),o.outputs=Vl(e.outputs);let s=a.hostBindings;s&&Ase(e,s);let l=a.viewQuery,c=a.contentQueries;if(l&&Dse(e,l),c&&Ise(e,c),Cse(e,a),Uie(e.outputs,a.outputs),An(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let o=0;o<r.length;o++){let s=r[o];s&&s.ngInherit&&s(e),s===je&&(n=!1)}}t=Object.getPrototypeOf(t)}Sse(i)}function Cse(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];if(i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let a=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(a))continue;e.inputTransforms??(e.inputTransforms={}),e.inputTransforms[a]=t.inputTransforms[a]}}}function Sse(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=Rs(a.hostAttrs,n=Rs(n,a.hostAttrs))}}function Vl(e){return e===wo?{}:e===na?[]:e}function Dse(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function Ise(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function Ase(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function dt(e){let t=e.inputConfig,n={};for(let i in t)if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)&&a[3]&&(n[i]=a[3])}e.inputTransforms=n}var Zh=class{},Dx=class extends Zh{constructor(e){super(),this.componentFactoryResolver=new Goe(this),this.instance=null;let t=new gm([...e.providers,{provide:Zh,useValue:this},{provide:dr,useValue:this.componentFactoryResolver}],e.parent||fm(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Tse(e,t,n=null){return new Dx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Bd=(()=>{const t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Dr(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Ix(e){return Jm(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ose(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),i;for(;!(i=n.next()).done;)t(i.value)}}function Jm(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Wo(e,t,n){return e[t]=n}function Ax(e,t){return e[t]}function Qi(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function js(e,t,n,i){let a=Qi(e,t,n);return Qi(e,t+1,i)||a}function Rse(e,t,n,i,a){let r=js(e,t,n,i);return Qi(e,t+2,a)||r}function Tx(e,t,n,i,a,r){let o=js(e,t,n,i);return js(e,t+2,a,r)||o}function Nse(e){return(e.flags&32)===32}function Pse(e,t,n,i,a,r,o,s,l){let c=t.consts,u=Uo(t,e,4,o||null,Io(c,s));Wm(t,n,u,Io(c,l)),Ad(t,u);let p=u.tView=Um(2,u,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,u),p.queries=t.queries.embeddedTView(u)),u}function z(e,t,n,i,a,r,o,s){let l=Fe(),c=$t(),u=e+Si,p=c.firstCreatePass?Pse(u,c,l,t,n,i,a,r,o):c.data[u];Br(p,!1);let g=Mse(c,l);Dd()&&Rd(c,l,g,p),ar(g,l);let b=Ky(g,l,g,p);return l[u]=b,Ld(l,b),Cd(p)&&jm(c,l,p),o!=null&&Hm(l,p,s),z}var Mse=Lse;function Lse(e,t,n,i){return Id(!0),t[qt].createComment("")}function ke(e,t,n,i){let a=Fe(),r=cr();if(Qi(a,r,t)){$t();let o=ll();foe(o,a,e,t,n,i)}return ke}function Ox(e,t,n,i){return Qi(e,cr(),n)?t+xo(n)+i:Sa}function Fse(e,t,n,i,a,r){let o=nne(),s=js(e,o,n,a);return Sm(2),s?t+xo(n)+i+xo(a)+r:Sa}function zl(e,t){return e<<17|t<<2}function Fr(e){return e>>17&32767}function Vse(e){return(e&2)==2}function zse(e,t){return e&131071|t<<17}function Qh(e){return e|2}function To(e){return(e&131068)>>2}function Pu(e,t){return e&-131069|t<<2}function Bse(e){return(e&1)===1}function Xh(e){return e|1}function jse(e,t,n,i,a,r){let o=r?t.classBindings:t.styleBindings,s=Fr(o),l=To(o);e[i]=n;let c=!1,u;if(Array.isArray(n)){let p=n;u=p[1],(u===null||rl(p,u)>0)&&(c=!0)}else u=n;if(a)if(l!==0){let p=Fr(e[s+1]);e[i+1]=zl(p,s),p!==0&&(e[p+1]=Pu(e[p+1],i)),e[s+1]=zse(e[s+1],i)}else e[i+1]=zl(s,0),s!==0&&(e[s+1]=Pu(e[s+1],i)),s=i;else e[i+1]=zl(l,0),s===0?s=i:e[l+1]=Pu(e[l+1],i),l=i;c&&(e[i+1]=Qh(e[i+1])),Qg(e,u,i,!0),Qg(e,u,i,!1),Hse(t,u,e,i,r),o=zl(s,l),r?t.classBindings=o:t.styleBindings=o}function Hse(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&rl(r,t)>=0&&(n[i+1]=Xh(n[i+1]))}function Qg(e,t,n,i){let a=e[n+1],r=t===null,o=i?Fr(a):To(a),s=!1;for(;o!==0&&(s===!1||r);){let l=e[o],c=e[o+1];Use(l,t)&&(s=!0,e[o+1]=i?Xh(c):Qh(c)),o=i?Fr(c):To(c)}s&&(e[n+1]=i?Qh(a):Xh(a))}function Use(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?rl(e,t)>=0:!1}var Ma={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wse(e){return e.substring(Ma.key,Ma.keyEnd)}function qse(e){return Yse(e),Rx(e,Nx(e,0,Ma.textEnd))}function Rx(e,t){let n=Ma.textEnd;return n===t?-1:(t=Ma.keyEnd=Gse(e,Ma.key=t,n),Nx(e,t,n))}function Yse(e){Ma.key=0,Ma.keyEnd=0,Ma.value=0,Ma.valueEnd=0,Ma.textEnd=e.length}function Nx(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gse(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function W(e,t,n){let i=Fe(),a=cr();if(Qi(i,a,t)){let r=$t(),o=ll();Md(r,o,i,e,t,i[qt],n,!1)}return W}function Jh(e,t,n,i,a){let r=t.inputs,o=a?"class":"style";qm(e,n,r[o],o,i)}function Fn(e,t,n){return Mx(e,t,n,!1),Fn}function Te(e,t){return Mx(e,t,null,!0),Te}function ja(e){Lx(Jse,Px,e,!0)}function Px(e,t){for(let n=qse(t);n>=0;n=Rx(t,n))wd(e,Wse(t),!0)}function Mx(e,t,n,i){let a=Fe(),r=$t(),o=Sm(2);if(r.firstUpdatePass&&Vx(r,e,o,i),t!==Sa&&Qi(a,o,t)){let s=r.data[Mn()];zx(r,s,a,a[qt],e,a[o+1]=tle(t,n),i,o)}}function Lx(e,t,n,i){let a=$t(),r=Sm(2);a.firstUpdatePass&&Vx(a,null,r,i);let o=Fe();if(n!==Sa&&Qi(o,r,n)){let s=a.data[Mn()];if(Bx(s,i)&&!Fx(a,r)){let l=s.classesWithoutHost;l!==null&&(n=Ih(l,n||"")),Jh(a,s,o,n,i)}else ele(a,s,o,o[qt],o[r+1],o[r+1]=Xse(e,t,n),i,r)}}function Fx(e,t){return t>=e.expandoStartIndex}function Vx(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[Mn()],o=Fx(e,n);Bx(r,i)&&t===null&&!o&&(t=!1),t=$se(a,r,t,i),jse(a,r,t,n,o,i)}}function $se(e,t,n,i){let a=Dm(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Mu(null,e,t,n,i),n=Hs(n,t.attrs,i),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(n=Mu(a,e,t,n,i),r===null){let s=Kse(e,t,i);s!==void 0&&Array.isArray(s)&&(s=Mu(null,e,t,s[1],i),s=Hs(s,t.attrs,i),Zse(e,t,i,s))}else r=Qse(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function Kse(e,t,n){let i=n?t.classBindings:t.styleBindings;if(To(i)!==0)return e[Fr(i)]}function Zse(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[Fr(a)]=i}function Qse(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let o=e[r].hostAttrs;i=Hs(i,o,n)}return Hs(i,t.attrs,n)}function Mu(e,t,n,i,a){let r=null,o=n.directiveEnd,s=n.directiveStylingLast;for(s===-1?s=n.directiveStart:s++;s<o&&(r=t[s],i=Hs(i,r.hostAttrs,a),r!==e);)s++;return e!==null&&(n.directiveStylingLast=s),i}function Hs(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?a=o:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),wd(e,o,n?!0:t[++r]))}return e===void 0?null:e}function Xse(e,t,n){if(n==null||n==="")return na;let i=[],a=$n(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(i,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(i,r,a[r]);else typeof a=="string"&&t(i,a);return i}function Jse(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&wd(e,i,n)}function ele(e,t,n,i,a,r,o,s){a===Sa&&(a=na);let l=0,c=0,u=0<a.length?a[0]:null,p=0<r.length?r[0]:null;for(;u!==null||p!==null;){let g=l<a.length?a[l+1]:void 0,b=c<r.length?r[c+1]:void 0,x=null,y;u===p?(l+=2,c+=2,g!==b&&(x=p,y=b)):p===null||u!==null&&u<p?(l+=2,x=u):(c+=2,x=p,y=b),x!==null&&zx(e,t,n,i,x,y,o,s),u=l<a.length?a[l]:null,p=c<r.length?r[c]:null}}function zx(e,t,n,i,a,r,o,s){if(!(t.type&3))return;let l=e.data,c=l[s+1],u=Bse(c)?Xg(l,t,n,a,To(c),o):void 0;if(!Hc(u)){Hc(r)||Vse(c)&&(r=Xg(l,null,n,a,s,o));let p=$_(Mn(),n);$re(i,o,p,a,r)}}function Xg(e,t,n,i,a,r){let o=t===null,s;for(;a>0;){let l=e[a],c=Array.isArray(l),u=c?l[1]:l,p=u===null,g=n[a+1];g===Sa&&(g=p?na:void 0);let b=p?Cu(g,i):u===i?g:void 0;if(c&&!Hc(b)&&(b=Cu(l,i)),Hc(b)&&(s=b,o))return s;let x=e[a+1];a=o?Fr(x):To(x)}if(t!==null){let l=r?t.residualClasses:t.residualStyles;l!=null&&(s=Cu(l,i))}return s}function Hc(e){return e!==void 0}function tle(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=La($n(e)))),e}function Bx(e,t){return(e.flags&(t?8:16))!==0}function ile(e,t,n){let i=Fe(),a=Ox(i,e,t,n);Lx(wd,Px,a,!0)}var ale=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),i=Math.max(e,t),a=this.detach(i);if(i-n>1){let r=this.detach(n);this.attach(n,a),this.attach(i,r)}else this.attach(n,a)}move(e,t){this.attach(t,this.detach(e))}};function Lu(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function nle(e,t,n){let i,a,r=0,o=e.length-1;if(Array.isArray(t)){let s=t.length-1;for(;r<=o&&r<=s;){let l=e.at(r),c=t[r],u=Lu(r,l,r,c,n);if(u!==0){u<0&&e.updateValue(r,c),r++;continue}let p=e.at(o),g=t[s],b=Lu(o,p,s,g,n);if(b!==0){b<0&&e.updateValue(o,g),o--,s--;continue}let x=n(r,l),y=n(o,p),E=n(r,c);if(Object.is(E,y)){let N=n(s,g);Object.is(N,x)?(e.swap(r,o),e.updateValue(o,g),s--,o--):e.move(o,r),e.updateValue(r,c),r++;continue}if(i??(i=new tv),a??(a=ev(e,r,o,n)),ep(e,i,r,E))e.updateValue(r,c),r++,o++;else if(a.has(E))i.set(x,e.detach(r)),o--;else{let N=e.create(r,t[r]);e.attach(r,N),r++,o++}}for(;r<=s;)Jg(e,i,n,r,t[r]),r++}else if(t!=null){let s=t[Symbol.iterator](),l=s.next();for(;!l.done&&r<=o;){let c=e.at(r),u=l.value,p=Lu(r,c,r,u,n);if(p!==0)p<0&&e.updateValue(r,u),r++,l=s.next();else{i??(i=new tv),a??(a=ev(e,r,o,n));let g=n(r,u);if(ep(e,i,r,g))e.updateValue(r,u),r++,o++,l=s.next();else if(!a.has(g))e.attach(r,e.create(r,u)),r++,o++,l=s.next();else{let b=n(r,c);i.set(b,e.detach(r)),o--}}}for(;!l.done;)Jg(e,i,n,e.length,l.value),l=s.next()}for(;r<=o;)e.destroy(e.detach(o--));i==null||i.forEach(s=>{e.destroy(s)})}function ep(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function Jg(e,t,n,i,a){if(ep(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function ev(e,t,n,i){let a=new Set;for(let r=t;r<=n;r++)a.add(i(r,e.at(r)));return a}var tv=class{constructor(){this.kvMap=new Map,this._vMap=void 0}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 i=this._vMap;for(;i.has(n);)n=i.get(n);i.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 i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}};function $(e,t,n){Hr("NgControlFlow");let i=Fe(),a=cr(),r=tp(i,Si+e),o=0;if(Qi(i,a,t)){let s=rt(null);try{if(ax(r,o),t!==-1){let l=ip(i[Ue],Si+t),c=zs(r,l.tView.ssrId),u=Fd(i,l,n,{dehydratedView:c});Vd(r,u,o,Fs(l,c))}}finally{rt(s)}}else{let s=ix(r,o);s!==void 0&&(s[Bi]=n)}}var rle=class{constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-ji}};function Xi(e,t){return t}var ole=class{constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ui(e,t,n,i,a,r,o,s,l,c,u,p,g){Hr("NgControlFlow");let b=l!==void 0,x=Fe(),y=s?o.bind(x[xa][Bi]):o,E=new ole(b,y);x[Si+e]=E,z(e+1,t,n,i,a,r)}var sle=class extends ale{constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ji}at(e){return this.getLView(e)[Bi].$implicit}attach(e,t){let n=t[Co];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),Vd(this.lContainer,t,e,Fs(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),lle(this.lContainer,e)}create(e,t){let n=zs(this.lContainer,this.templateTNode.tView.ssrId);return Fd(this.hostLView,this.templateTNode,new rle(this.lContainer,t,e),{dehydratedView:n})}destroy(e){Od(e[Ue],e)}updateValue(e,t){this.getLView(e)[Bi].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Bi].$index=e}getLView(e){return cle(this.lContainer,e)}};function Wi(e){let t=rt(null),n=Mn();try{let i=Fe(),a=i[Ue],r=i[n];if(r.liveCollection===void 0){let s=n+1,l=tp(i,s),c=ip(a,s);r.liveCollection=new sle(l,i,c)}else r.liveCollection.reset();let o=r.liveCollection;if(nle(o,e,r.trackByFn),o.updateIndexes(),r.hasEmptyBlock){let s=cr(),l=o.length===0;if(Qi(i,s,l)){let c=n+2,u=tp(i,c);if(l){let p=ip(a,c),g=zs(u,p.tView.ssrId),b=Fd(i,p,void 0,{dehydratedView:g});Vd(u,b,0,Fs(p,g))}else ax(u,0)}}}finally{rt(t)}}function tp(e,t){return e[t]}function lle(e,t){return Ls(e,t)}function cle(e,t){return ix(e,t)}function ip(e,t){return xm(e,t)}function dle(e,t,n,i,a,r){let o=t.consts,s=Io(o,a),l=Uo(t,e,2,i,s);return Wm(t,n,l,Io(o,r)),l.attrs!==null&&jc(l,l.attrs,!1),l.mergedAttrs!==null&&jc(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function D(e,t,n,i){let a=Fe(),r=$t(),o=Si+e,s=a[qt],l=r.firstCreatePass?dle(o,r,a,t,n,i):r.data[o],c=ule(r,a,l,s,t);a[o]=c;let u=Cd(l);return Br(l,!0),jy(s,c,l),!Nse(l)&&Dd()&&Rd(r,a,c,l),Qae()===0&&ar(c,a),Xae(),u&&(jm(r,a,l),Bm(r,l,a)),i!==null&&Hm(a,l),D}function I(){let e=Li();Em()?Cm():(e=e.parent,Br(e,!1));let t=e;ene(t)&&tne(),Jae();let n=$t();return n.firstCreatePass&&(Ad(n,e),ym(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&vne(t)&&Jh(n,t,Fe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&bne(t)&&Jh(n,t,Fe(),t.stylesWithoutHost,!1),I}function te(e,t,n,i){return D(e,t,n,i),I(),te}var ule=(e,t,n,i,a,r)=>(Id(!0),Ry(i,a,pne()));function hle(e,t,n,i,a){let r=t.consts,o=Io(r,i),s=Uo(t,e,8,"ng-container",o);o!==null&&jc(s,o,!0);let l=Io(r,a);return Wm(t,n,s,l),t.queries!==null&&t.queries.elementStart(t,s),s}function ui(e,t,n){let i=Fe(),a=$t(),r=e+Si,o=a.firstCreatePass?hle(r,a,i,t,n):a.data[r];Br(o,!0);let s=ple(a,i);return i[r]=s,Dd()&&Rd(a,i,s,o),ar(s,i),Cd(o)&&(jm(a,i,o),Bm(a,o,i)),n!=null&&Hm(i,o),ui}function hi(){let e=Li(),t=$t();return Em()?Cm():(e=e.parent,Br(e,!1)),t.firstCreatePass&&(Ad(t,e),ym(e)&&t.queries.elementEnd(e)),hi}function Ki(e,t,n){return ui(e,t,n),hi(),Ki}var ple=(e,t,n,i)=>(Id(!0),Rre(t[qt],""));function Nt(){return Fe()}function Da(e,t,n){let i=Fe(),a=cr();if(Qi(i,a,t)){let r=$t(),o=ll();Md(r,o,i,e,t,i[qt],n,!0)}return Da}function jx(e,t,n){let i=Fe(),a=cr();if(Qi(i,a,t)){let r=$t(),o=ll(),s=Dm(r.data),l=Jy(s,o,i);Md(r,o,i,e,t,l,n,!0)}return jx}var mr=void 0;function mle(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var fle=["en",[["a","p"],["AM","PM"],mr],[["AM","PM"],mr,mr],[["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"]],mr,[["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"]],mr,[["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}",mr,"{1} 'at' {0}",mr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mle],ws={};function gle(e,t,n){typeof t!="string"&&(n=t,t=e[vi.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ws[t]=e,n&&(ws[t][vi.ExtraData]=n)}function Wa(e){let t=vle(e),n=iv(t);if(n)return n;let i=t.split("-")[0];if(n=iv(i),n)return n;if(i==="en")return fle;throw new ce(701,!1)}function iv(e){return e in ws||(ws[e]=en.ng&&en.ng.common&&en.ng.common.locales&&en.ng.common.locales[e]),ws[e]}var vi=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}(vi||{});function vle(e){return e.toLowerCase().replace(/_/g,"-")}var ap="en-US";function ble(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function ye(e,t,n,i){let a=Fe(),r=$t(),o=Li();return ef(r,a,a[qt],o,e,t,i),ye}function Hx(e,t){let n=Li(),i=Fe(),a=$t(),r=Dm(a.data),o=Jy(r,n,i);return ef(a,i,o,n,e,t),Hx}function _le(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let o=a[r];if(o===n&&a[r+1]===i){let s=t[Ns],l=a[r+2];return s.length>l?s[l]:null}typeof o=="string"&&(r+=2)}return null}function ef(e,t,n,i,a,r,o){let s=Cd(i),l=e.firstCreatePass&&Xy(e),c=t[Bi],u=Qy(t),p=!0;if(i.type&3||o){let x=Ca(i,t),y=o?o(x):x,E=u.length,N=o?U=>o(rn(U[i.index])):i.index,K=null;if(!o&&s&&(K=_le(e,t,a,i.index)),K!==null){let U=K.__ngLastListenerFn__||K;U.__ngNextListenerFn__=r,K.__ngLastListenerFn__=r,p=!1}else{r=nv(i,t,c,r);let U=n.listen(y,a,r);u.push(r,U),l&&l.push(a,N,E,E+1)}}else r=nv(i,t,c,r);let g=i.outputs,b;if(p&&g!==null&&(b=g[a])){let x=b.length;if(x)for(let y=0;y<x;y+=2){let E=b[y],N=b[y+1],K=t[E][N].subscribe(r),U=u.length;u.push(r,K),l&&l.push(a,i.index,U,-(U+1))}}}function av(e,t,n,i){let a=rt(null);try{return Y_(6,t,n),n(i)!==!1}catch(r){return ex(e,r),!1}finally{rt(a)}}function nv(e,t,n,i,a){return function r(o){if(o===Function)return i;let s=e.componentOffset>-1?sr(e.index,t):t;Gm(s);let l=av(t,n,i,o),c=r.__ngNextListenerFn__;for(;c;)l=av(t,n,c,o)&&l,c=c.__ngNextListenerFn__;return l}}function V(e=1){return dne(e)}function yle(e,t){let n=null,i=bae(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?I_(e,r,!0):xae(i,r))return a}return n}function Pt(e){let t=Fe()[xa][ha];if(!t.projection){let n=e?e.length:1,i=t.projection=cae(n,null),a=i.slice(),r=t.child;for(;r!==null;){let o=e?yle(r,e):0;o!==null&&(a[o]?a[o].projectionNext=r:i[o]=r,a[o]=r),r=r.next}}}function Ae(e,t=0,n){let i=Fe(),a=$t(),r=Uo(a,Si+e,16,null,null);r.projection===null&&(r.projection=t),Cm(),(!i[Co]||Q_())&&(r.flags&32)!==32&&Yre(a,i,r)}function lt(e,t,n,i){_se(e,t,n,i)}function gt(e,t,n){bse(e,t,n)}function be(e){let t=Fe(),n=$t(),i=J_();Im(i+1);let a=Qm(n,i);if(e.dirty&&Yae(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=wse(t,i);e.reset(r,Pne),e.notifyOnChanges()}return!0}return!1}function _e(){return vse(Fe(),J_())}function xle(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Ha(e){let t=ane();return sl(t,Si+e)}function P(e,t=""){let n=Fe(),i=$t(),a=e+Si,r=i.firstCreatePass?Uo(i,a,1,t,null):i.data[a],o=wle(i,n,r,t);n[a]=o,Dd()&&Rd(i,n,o,r),Br(r,!1)}var wle=(e,t,n,i,a)=>(Id(!0),Tre(t[qt],i));function pe(e){return ue("",e,""),pe}function ue(e,t,n){let i=Fe(),a=Ox(i,e,t,n);return a!==Sa&&tx(i,Mn(),a),ue}function qo(e,t,n,i,a){let r=Fe(),o=Fse(r,e,t,n,i,a);return o!==Sa&&tx(r,Mn(),o),qo}function Yo(e,t,n){Cx(t)&&(t=t());let i=Fe(),a=cr();if(Qi(i,a,t)){let r=$t(),o=ll();Md(r,o,i,e,t,i[qt],n,!1)}return Yo}function pl(e,t){let n=Cx(e);return n&&e.set(t),n}function Go(e,t){let n=Fe(),i=$t(),a=Li();return ef(i,n,n[qt],a,e,t),Go}function kle(e,t,n){let i=$t();if(i.firstCreatePass){let a=An(e);np(n,i.data,i.blueprint,a,!0),np(t,i.data,i.blueprint,a,!1)}}function np(e,t,n,i,a){if(e=$i(e),Array.isArray(e))for(let r=0;r<e.length;r++)np(e[r],t,n,i,a);else{let r=$t(),o=Fe(),s=Li(),l=Eo(e)?e:$i(e.provide),c=F_(e),u=s.providerIndexes&1048575,p=s.directiveStart,g=s.providerIndexes>>20;if(Eo(e)||!e.multi){let b=new dl(c,a,k),x=Vu(l,t,a?u:u+g,p);x===-1?(zh(Vc(s,o),r,l),Fu(r,e,t.length),t.push(l),s.directiveStart++,s.directiveEnd++,a&&(s.providerIndexes+=1048576),n.push(b),o.push(b)):(n[x]=b,o[x]=b)}else{let b=Vu(l,t,u+g,p),x=Vu(l,t,u,u+g),y=b>=0&&n[b],E=x>=0&&n[x];if(a&&!E||!a&&!y){zh(Vc(s,o),r,l);let N=Sle(a?Cle:Ele,n.length,a,i,c);!a&&E&&(n[x].providerFactory=N),Fu(r,e,t.length,0),t.push(l),s.directiveStart++,s.directiveEnd++,a&&(s.providerIndexes+=1048576),n.push(N),o.push(N)}else{let N=Ux(n[a?x:b],c,!a&&i);Fu(r,e,b>-1?b:x,N)}!a&&i&&E&&n[x].componentProviders++}}}function Fu(e,t,n,i){let a=Eo(t),r=Rae(t);if(a||r){let o=(r?$i(t.useClass):t).prototype.ngOnDestroy;if(o){let s=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let l=s.indexOf(n);l===-1?s.push(n,[i,o]):s[l+1].push(i,o)}else s.push(n,o)}}}function Ux(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vu(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function Ele(e,t,n,i){return rp(this.multi,[])}function Cle(e,t,n,i){let a=this.multi,r;if(this.providerFactory){let o=this.providerFactory.componentProviders,s=Lr(n,n[Ue],this.providerFactory.index,i);r=s.slice(0,o),rp(a,r);for(let l=o;l<s.length;l++)r.push(s[l])}else r=[],rp(a,r);return r}function rp(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function Sle(e,t,n,i,a){let r=new dl(e,n,k);return r.multi=[],r.index=t,r.componentProviders=0,Ux(r,a,i&&!n),r}function ht(e,t=[]){return n=>{n.providersResolver=(i,a)=>kle(i,a?a(e):e,t)}}var Dle=(()=>{const t=class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=P_(!1,i.type),r=a.length>0?Tse([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};t.ɵprov=J({token:t,providedIn:"environment",factory:()=>new t(F(Rr))});let e=t;return e})();function we(e){Hr("NgStandalone"),e.getStandaloneInjector=t=>t.get(Dle).getOrCreateStandaloneInjector(e)}function on(e,t,n){let i=lr()+e,a=Fe();return a[i]===Sa?Wo(a,i,t()):Ax(a,i)}function qa(e,t,n,i){return qx(Fe(),lr(),e,t,n,i)}function Wx(e,t,n,i,a){return Yx(Fe(),lr(),e,t,n,i,a)}function Ile(e,t,n,i,a,r,o,s){let l=lr()+e,c=Fe(),u=Tx(c,l,n,i,a,r);return Qi(c,l+4,o)||u?Wo(c,l+5,t(n,i,a,r,o)):Ax(c,l+5)}function jd(e,t){let n=e[t];return n===Sa?void 0:n}function qx(e,t,n,i,a,r){let o=t+n;return Qi(e,o,a)?Wo(e,o+1,r?i.call(r,a):i(a)):jd(e,o+1)}function Yx(e,t,n,i,a,r,o){let s=t+n;return js(e,s,a,r)?Wo(e,s+2,o?i.call(o,a,r):i(a,r)):jd(e,s+2)}function Ale(e,t,n,i,a,r,o,s){let l=t+n;return Rse(e,l,a,r,o)?Wo(e,l+3,s?i.call(s,a,r,o):i(a,r,o)):jd(e,l+3)}function Tle(e,t,n,i,a,r,o,s,l){let c=t+n;return Tx(e,c,a,r,o,s)?Wo(e,c+4,l?i.call(l,a,r,o,s):i(a,r,o,s)):jd(e,c+4)}function O(e,t){let n=$t(),i,a=e+Si;n.firstCreatePass?(i=Ole(t,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];let r=i.factory||(i.factory=Or(i.type)),o=ia(k);try{let s=Fc(!1),l=r();return Fc(s),xle(n,Fe(),a,l),l}finally{ia(o)}}function Ole(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function M(e,t,n){let i=e+Si,a=Fe(),r=sl(a,i);return Hd(a,i)?qx(a,lr(),t,r.transform,n,r):r.transform(n)}function ni(e,t,n,i){let a=e+Si,r=Fe(),o=sl(r,a);return Hd(r,a)?Yx(r,lr(),t,o.transform,n,i,o):o.transform(n,i)}function Rle(e,t,n,i,a){let r=e+Si,o=Fe(),s=sl(o,r);return Hd(o,r)?Ale(o,lr(),t,s.transform,n,i,a,s):s.transform(n,i,a)}function Tr(e,t,n,i,a,r){let o=e+Si,s=Fe(),l=sl(s,o);return Hd(s,o)?Tle(s,lr(),t,l.transform,n,i,a,r,l):l.transform(n,i,a,r)}function Hd(e,t){return e[Ue].data[t].pure}function Gx(e,t){return zd(e,t)}var Nle=new Z("");function tf(e){return!!e&&typeof e.then=="function"}function Ple(e){return!!e&&typeof e.subscribe=="function"}var Mle=new Z(""),$x=(()=>{const t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a}),this.appInits=q(Mle,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let o=r();if(tf(o))i.push(o);else if(Ple(o)){let s=new Promise((l,c)=>{o.subscribe({complete:l,error:c})});i.push(s)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(r=>{this.reject(r)}),i.length===0&&a(),this.initialized=!0}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Lle=new Z("");function Fle(){Mte(()=>{throw new ce(600,!1)})}function Vle(e){return e.isBoundToModule}function zle(e,t,n){try{let i=n();return tf(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var Ud=(()=>{const t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=q(gy),this.afterRenderEffectManager=q(hx),this.externalTestViews=new Set,this.beforeRender=new xe,this.afterTick=new xe,this.componentTypes=[],this.components=[],this.isStable=q(Bd).hasPendingTasks.pipe(Dt(i=>!i)),this._injector=q(Rr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,a){let r=i instanceof ux;if(!this._injector.get($x).done){!r&&Dae(i);let g=!1;throw new ce(405,g)}let o;r?o=i:o=this._injector.get(dr).resolveComponentFactory(i),this.componentTypes.push(o.componentType);let s=Vle(o)?void 0:this._injector.get(Zh),l=a||o.selector,c=o.create(Hi.NULL,[],l,s),u=c.location.nativeElement,p=c.injector.get(Nle,null);return p==null||p.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),zu(this.components,c),p==null||p.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(i){if(this._runningTick)throw new ce(101,!1);let a=rt(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(i)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,rt(a)}}detectChangesInAttachedViews(i){let a=0,r=this.afterRenderEffectManager;for(;;){if(a===rx)throw new ce(103,!1);if(i){let o=a===0;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:l}of this._views)Ble(s,o,l)}if(a++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>op(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>op(o))))break}}attachView(i){let a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){let a=i;zu(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);let a=this._injector.get(Lle,[]);[...this._bootstrapListeners,...a].forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>zu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ce(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function zu(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ble(e,t,n){!t&&!op(e)||jle(e,n,t)}function op(e){return km(e)}function jle(e,t,n){let i;n?(i=0,e[Ve]|=1024):e[Ve]&64?i=0:i=1,ox(e,t,i)}var Hle=(()=>{const t=class t{constructor(){this.zone=q(Pe),this.applicationRef=q(Ud)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;(i=this._onMicrotaskEmptySubscription)==null||i.unsubscribe()}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Ule(e){return[{provide:Pe,useFactory:e},{provide:Nc,multi:!0,useFactory:()=>{let t=q(Hle,{optional:!0});return()=>t.initialize()}},{provide:Nc,multi:!0,useFactory:()=>{let t=q(Gle);return()=>{t.initialize()}}},{provide:gy,useFactory:Wle}]}function Wle(){let e=q(Pe),t=q(Ua);return n=>e.runOutsideAngular(()=>t.handleError(n))}function qle(e){let t=Ule(()=>new Pe(Yle(e)));return hm([[],t])}function Yle(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Gle=(()=>{const t=class t{constructor(){this.subscription=new nt,this.initialized=!1,this.zone=q(Pe),this.pendingTasks=q(Bd)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Pe.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Pe.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function $le(){return typeof $localize<"u"&&$localize.locale||ap}var Wd=new Z("",{providedIn:"root",factory:()=>q(Wd,ct.Optional|ct.SkipSelf)||$le()}),Kx=new Z(""),yc=null;function Kle(e=[],t){return Hi.create({name:t,providers:[{provide:mm,useValue:"platform"},{provide:Kx,useValue:new Set([()=>yc=null])},...e]})}function Zle(e=[]){if(yc)return yc;let t=Kle(e);return yc=t,Fle(),Qle(t),t}function Qle(e){var t;(t=e.get(Ey,null))==null||t.forEach(n=>n())}function Xle(){return!1}var St=(()=>{const t=class t{};t.__NG_ELEMENT_ID__=Jle;let e=t;return e})();function Jle(e){return ece(Li(),Fe(),(e&16)===16)}function ece(e,t,n){if(Ed(e)&&!n){let i=sr(e.index,t);return new Vs(i,i)}else if(e.type&47){let i=t[xa];return new Vs(i,t)}return null}var tce=class{constructor(){}supports(e){return Ix(e)}create(e){return new ace(e)}},ice=(e,t)=>t,ace=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ice}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,a=null;for(;t||n;){let r=!n||t&&t.currentIndex<ov(n,i,a)?t:n,o=ov(r,i,a),s=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(t=t._next,r.previousIndex==null)i++;else{a||(a=[]);let l=o-i,c=s-i;if(l!=c){for(let p=0;p<l;p++){let g=p<a.length?a[p]:a[p]=0,b=g+p;c<=b&&b<l&&(a[p]=g+1)}let u=r.previousIndex;a[u]=c-l}}o!==s&&e(r,o,s)}}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=[]),!Ix(e))throw new ce(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,i,a,r;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)a=e[o],r=this._trackByFn(o,a),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,a,r,o),n=!0):(n&&(t=this._verifyReinsertion(t,a,r,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next}else i=0,Ose(e,o=>{r=this._trackByFn(i,o),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,o,r,i),n=!0):(n&&(t=this._verifyReinsertion(t,o,r,i)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next,i++}),this.length=i;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,i){let a;return e===null?a=this._itTail:(a=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,a,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,i)):e=this._addAfter(new nce(t,n),a,i)),e}_verifyReinsertion(e,t,n,i){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return a!==null?e=this._reinsertAfter(a,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),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 i=e._prevRemoved,a=e._nextRemoved;return i===null?this._removalsHead=a:i._nextRemoved=a,a===null?this._removalsTail=i:a._prevRemoved=i,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 i=t===null?this._itHead:t._next;return e._next=i,e._prev=t,i===null?this._itTail=e:i._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new rv),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 rv),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}},nce=class{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},rce=class{constructor(){this._head=null,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}},rv=class{constructor(){this.map=new Map}put(e){let t=e.trackById,n=this.map.get(t);n||(n=new rce,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,i=this.map.get(n);return i?i.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 ov(e,t,n){let i=e.previousIndex;if(i===null)return i;let a=0;return n&&i<n.length&&(a=n[i]),i+t+a}var oce=class{constructor(){}supports(e){return e instanceof Map||Jm(e)}create(){return new sce}},sce=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return 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||Jm(e)))throw new ce(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,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(i,n);t=this._insertBeforeOrAppend(t,a)}}),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 i=this._records.get(e);this._maybeAddToChanges(i,t);let a=i._prev,r=i._next;return a&&(a._next=r),r&&(r._prev=a),i._next=null,i._prev=null,i}let n=new lce(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))}},lce=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function sv(){return new $o([new tce])}var $o=(()=>{const t=class t{constructor(i){this.factories=i}static create(i,a){if(a!=null){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||sv()),deps:[[t,new Vo,new Fo]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a!=null)return a;throw new ce(901,!1)}};t.ɵprov=J({token:t,providedIn:"root",factory:sv});let e=t;return e})();function lv(){return new Zx([new oce])}var Zx=(()=>{const t=class t{constructor(i){this.factories=i}static create(i,a){if(a){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||lv()),deps:[[t,new Vo,new Fo]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new ce(901,!1)}};t.ɵprov=J({token:t,providedIn:"root",factory:lv});let e=t;return e})();function cce(e){try{let{rootComponent:t,appProviders:n,platformProviders:i}=e,a=Zle(i),r=[qle(),...n||[]],o=new Dx({providers:r,parent:a,debugName:"",runEnvironmentInitializers:!1}).injector,s=o.get(Pe);return s.run(()=>{o.resolveInjectorInitializers();let l=o.get(Ua,null),c;s.runOutsideAngular(()=>{c=s.onError.subscribe({next:g=>{l.handleError(g)}})});let u=()=>o.destroy(),p=a.get(Kx);return p.add(u),o.onDestroy(()=>{c.unsubscribe(),p.delete(u)}),zle(l,s,()=>{let g=o.get($x);return g.runInitializers(),g.donePromise.then(()=>{let b=o.get(Wd,ap);ble(b||ap);let x=o.get(Ud);return t!==void 0&&x.bootstrap(t),x})})})}catch(t){return Promise.reject(t)}}function ge(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Tn(e,t){return Hr("NgSignals"),Rte(e)}var dce=new Z("",{providedIn:"root",factory:()=>q(uce)}),uce=(()=>{const t=class t{};t.ɵprov=J({token:t,providedIn:"root",factory:()=>new hce});let e=t;return e})(),hce=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=q(Bd),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(e){let t=e.creationZone;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()}},pce=class{constructor(e,t,n,i,a,r){this.scheduler=e,this.effectFn=t,this.creationZone=n,this.injector=a,this.watcher=zte(o=>this.runEffect(o),()=>this.schedule(),r),this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}runEffect(e){var t;try{this.effectFn(e)}catch(n){(t=this.injector.get(Ua,null,{optional:!0}))==null||t.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){var e;this.watcher.destroy(),(e=this.unregisterOnDestroy)==null||e.call(this)}};function Qx(e,t){var o;Hr("NgSignals"),!(t!=null&&t.injector)&&vm();let n=(t==null?void 0:t.injector)??q(Hi),i=(t==null?void 0:t.manualCleanup)!==!0?n.get(Ba):null,a=new pce(n.get(dce),e,typeof Zone>"u"?null:Zone.current,i,n,(t==null?void 0:t.allowSignalWrites)??!1),r=n.get(St,null,{optional:!0});return!r||!(r._lView[Ve]&8)?a.watcher.notify():((o=r._lView)[po]??(o[po]=[])).push(a.watcher.notify),a}var Uc={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return Uc.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Uc.schedule(e,16);let t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};function mce(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function fce(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function gce(e){return typeof e=="function"}var Bu;function vce(e,t){if(!Bu){let n=Element.prototype;Bu=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Bu.call(e,t):!1}function bce(e,t){return e===t||e!==e&&t!==t}function _ce(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[mce(i)]=[n,a]}),t}function yce(e,t){return t.get(dr).resolveComponentFactory(e).inputs}function xce(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,o)=>r==="*"?(a=o,!0):!1);for(let r=0,o=n.length;r<o;++r){let s=n[r],l=wce(s,t,a);l!==-1&&i[l].push(s)}return i}function wce(e,t,n){let i=n;return fce(e)&&t.some((a,r)=>a!=="*"&&vce(e,a)?(i=r,!0):!1),i}var kce=10,Ece=class{constructor(e,t){this.componentFactory=t.get(dr).resolveComponentFactory(e)}create(e){return new Cce(this.componentFactory,e)}},Cce=class{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new _d(1),this.events=this.eventEmitters.pipe(ir(n=>mi(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(Pe),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=Uc.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},kce))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t,n){this.runInZone(()=>{var i;if(n&&(t=n.call((i=this.componentRef)==null?void 0:i.instance,t)),this.componentRef===null){this.initialInputValues.set(e,t);return}bce(t,this.getInputValue(e))&&!(t===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges())})}initializeComponent(e){let t=Hi.create({providers:[],parent:this.injector}),n=xce(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(St),this.implementsOnChanges=gce(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Ud).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:t})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),t)}),this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:i})=>e.instance[n].pipe(Dt(a=>({name:i,value:a}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Uc.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=t;return}let i=this.unchangedInputs.has(e),a=i?void 0:this.getInputValue(e);this.inputChanges[e]=new j_(a,t,i)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Sce=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Dce(e,t){let n=yce(e,t.injector),i=t.strategyFactory||new Ece(e,t.injector),a=_ce(n);const o=class o extends Sce{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let p=this[c];delete this[c],l.setInputValue(c,p,u)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,u,p){let[g,b]=a[l];this.ngElementStrategy.setInputValue(g,u,b)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};o.observedAttributes=Object.keys(a);let r=o;return 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 Xx=null;function ks(){return Xx}function Ice(e){Xx??(Xx=e)}var Ace=class{},Ye=new Z(""),Jx=(()=>{const t=class t{historyGo(i){throw new Error("")}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:()=>q(Tce),providedIn:"platform"});let e=t;return e})(),Tce=(()=>{const t=class t extends Jx{constructor(){super(),this._doc=q(Ye),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ks().getBaseHref(this._doc)}onPopState(i){let a=ks().getGlobalEventTarget(this._doc,"window");return a.addEventListener("popstate",i,!1),()=>a.removeEventListener("popstate",i)}onHashChange(i){let a=ks().getGlobalEventTarget(this._doc,"window");return a.addEventListener("hashchange",i,!1),()=>a.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,a,r){this._history.pushState(i,a,r)}replaceState(i,a,r){this._history.replaceState(i,a,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function e1(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function cv(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,i=n-(e[n-1]==="/"?1:0);return e.slice(0,i)+e.slice(n)}function Cr(e){return e&&e[0]!=="?"?"?"+e:e}var af=(()=>{const t=class t{historyGo(i){throw new Error("")}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:()=>q(Rce),providedIn:"root"});let e=t;return e})(),Oce=new Z(""),Rce=(()=>{const t=class t extends af{constructor(i,a){var r;super(),this._platformLocation=i,this._removeListenerFns=[],this._baseHref=a??this._platformLocation.getBaseHrefFromDOM()??((r=q(Ye).location)==null?void 0:r.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 e1(this._baseHref,i)}path(i=!1){let a=this._platformLocation.pathname+Cr(this._platformLocation.search),r=this._platformLocation.hash;return r&&i?`${a}${r}`:a}pushState(i,a,r,o){let s=this.prepareExternalUrl(r+Cr(o));this._platformLocation.pushState(i,a,s)}replaceState(i,a,r,o){let s=this.prepareExternalUrl(r+Cr(o));this._platformLocation.replaceState(i,a,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var a,r;(r=(a=this._platformLocation).historyGo)==null||r.call(a,i)}};t.ɵfac=function(i){return new(i||t)(F(Jx),F(Oce,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),nf=(()=>{const t=class t{constructor(i){this._subject=new ae,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=Mce(cv(dv(a))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var i;(i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,a=""){return this.path()==this.normalize(i+Cr(a))}normalize(i){return t.stripTrailingSlash(Pce(this._basePath,dv(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,a="",r=null){this._locationStrategy.pushState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Cr(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Cr(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",a){this._urlChangeListeners.forEach(r=>r(i,a))}subscribe(i,a,r){return this._subject.subscribe({next:i,error:a,complete:r})}};t.normalizeQueryParams=Cr,t.joinWithSlash=e1,t.stripTrailingSlash=cv,t.ɵfac=function(i){return new(i||t)(F(af))},t.ɵprov=J({token:t,factory:()=>Nce(),providedIn:"root"});let e=t;return e})();function Nce(){return new nf(F(af))}function Pce(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function dv(e){return e.replace(/\/index.html$/,"")}function Mce(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Gi=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Gi||{}),Rt=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Rt||{}),ra=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ra||{}),qd={MinusSign:5};function Lce(e){return Wa(e)[vi.LocaleId]}function Fce(e,t,n){let i=Wa(e),a=[i[vi.DayPeriodsFormat],i[vi.DayPeriodsStandalone]],r=wa(a,t);return wa(r,n)}function Vce(e,t,n){let i=Wa(e),a=[i[vi.DaysFormat],i[vi.DaysStandalone]],r=wa(a,t);return wa(r,n)}function zce(e,t,n){let i=Wa(e),a=[i[vi.MonthsFormat],i[vi.MonthsStandalone]],r=wa(a,t);return wa(r,n)}function Bce(e,t){let n=Wa(e)[vi.Eras];return wa(n,t)}function Bl(e,t){let n=Wa(e);return wa(n[vi.DateFormat],t)}function jl(e,t){let n=Wa(e);return wa(n[vi.TimeFormat],t)}function Hl(e,t){let n=Wa(e)[vi.DateTimeFormat];return wa(n,t)}function Yd(e,t){return Wa(e)[vi.NumberSymbols][t]}function t1(e){if(!e[vi.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[vi.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function jce(e){let t=Wa(e);return t1(t),(t[vi.ExtraData][2]||[]).map(n=>typeof n=="string"?ju(n):[ju(n[0]),ju(n[1])])}function Hce(e,t,n){let i=Wa(e);t1(i);let a=[i[vi.ExtraData][0],i[vi.ExtraData][1]],r=wa(a,t)||[];return wa(r,n)||[]}function wa(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 ju(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Uce=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Zr={},Wce=/((?:[^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]*)/,kn=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(kn||{}),xt=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(xt||{}),yt=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(yt||{});function qce(e,t,n,i){let a=ede(e);t=_n(n,t)||t;let r=[],o;for(;t;)if(o=Wce.exec(t),o){r=r.concat(o.slice(1));let c=r.pop();if(!c)break;t=c}else{r.push(t);break}let s=a.getTimezoneOffset();i&&(s=a1(i,s),a=Jce(a,i));let l="";return r.forEach(c=>{let u=Qce(c);l+=u?u(a,n,s):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Wc(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function _n(e,t){let n=Lce(e);if(Zr[n]??(Zr[n]={}),Zr[n][t])return Zr[n][t];let i="";switch(t){case"shortDate":i=Bl(e,ra.Short);break;case"mediumDate":i=Bl(e,ra.Medium);break;case"longDate":i=Bl(e,ra.Long);break;case"fullDate":i=Bl(e,ra.Full);break;case"shortTime":i=jl(e,ra.Short);break;case"mediumTime":i=jl(e,ra.Medium);break;case"longTime":i=jl(e,ra.Long);break;case"fullTime":i=jl(e,ra.Full);break;case"short":let a=_n(e,"shortTime"),r=_n(e,"shortDate");i=Ul(Hl(e,ra.Short),[a,r]);break;case"medium":let o=_n(e,"mediumTime"),s=_n(e,"mediumDate");i=Ul(Hl(e,ra.Medium),[o,s]);break;case"long":let l=_n(e,"longTime"),c=_n(e,"longDate");i=Ul(Hl(e,ra.Long),[l,c]);break;case"full":let u=_n(e,"fullTime"),p=_n(e,"fullDate");i=Ul(Hl(e,ra.Full),[u,p]);break}return i&&(Zr[n][t]=i),i}function Ul(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function Na(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let o=String(e);for(;o.length<t;)o="0"+o;return i&&(o=o.slice(o.length-t)),r+o}function Yce(e,t){return Na(e,3).substring(0,t)}function li(e,t,n=0,i=!1,a=!1){return function(r,o){let s=Gce(e,r);if((n>0||s>-n)&&(s+=n),e===xt.Hours)s===0&&n===-12&&(s=12);else if(e===xt.FractionalSeconds)return Yce(s,t);let l=Yd(o,qd.MinusSign);return Na(s,t,l,i,a)}}function Gce(e,t){switch(e){case xt.FullYear:return t.getFullYear();case xt.Month:return t.getMonth();case xt.Date:return t.getDate();case xt.Hours:return t.getHours();case xt.Minutes:return t.getMinutes();case xt.Seconds:return t.getSeconds();case xt.FractionalSeconds:return t.getMilliseconds();case xt.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Ft(e,t,n=Gi.Format,i=!1){return function(a,r){return $ce(a,r,e,t,n,i)}}function $ce(e,t,n,i,a,r){switch(n){case yt.Months:return zce(t,a,i)[e.getMonth()];case yt.Days:return Vce(t,a,i)[e.getDay()];case yt.DayPeriods:let o=e.getHours(),s=e.getMinutes();if(r){let c=jce(t),u=Hce(t,a,i),p=c.findIndex(g=>{if(Array.isArray(g)){let[b,x]=g,y=o>=b.hours&&s>=b.minutes,E=o<x.hours||o===x.hours&&s<x.minutes;if(b.hours<x.hours){if(y&&E)return!0}else if(y||E)return!0}else if(g.hours===o&&g.minutes===s)return!0;return!1});if(p!==-1)return u[p]}return Fce(t,a,i)[o<12?0:1];case yt.Eras:return Bce(t,i)[e.getFullYear()<=0?0:1];default:let l=n;throw new Error(`unexpected translation type ${l}`)}}function Wl(e){return function(t,n,i){let a=-1*i,r=Yd(n,qd.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case kn.Short:return(a>=0?"+":"")+Na(o,2,r)+Na(Math.abs(a%60),2,r);case kn.ShortGMT:return"GMT"+(a>=0?"+":"")+Na(o,1,r);case kn.Long:return"GMT"+(a>=0?"+":"")+Na(o,2,r)+":"+Na(Math.abs(a%60),2,r);case kn.Extended:return i===0?"Z":(a>=0?"+":"")+Na(o,2,r)+":"+Na(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Kce=0,xc=4;function Zce(e){let t=Wc(e,Kce,1).getDay();return Wc(e,0,1+(t<=xc?xc:xc+7)-t)}function i1(e){let t=e.getDay(),n=t===0?-3:xc-t;return Wc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Hu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();a=1+Math.floor((o+r)/7)}else{let r=i1(n),o=Zce(r.getFullYear()),s=r.getTime()-o.getTime();a=1+Math.round(s/6048e5)}return Na(a,e,Yd(i,qd.MinusSign))}}function ql(e,t=!1){return function(n,i){let a=i1(n).getFullYear();return Na(a,e,Yd(i,qd.MinusSign),t)}}var Uu={};function Qce(e){if(Uu[e])return Uu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Ft(yt.Eras,Rt.Abbreviated);break;case"GGGG":t=Ft(yt.Eras,Rt.Wide);break;case"GGGGG":t=Ft(yt.Eras,Rt.Narrow);break;case"y":t=li(xt.FullYear,1,0,!1,!0);break;case"yy":t=li(xt.FullYear,2,0,!0,!0);break;case"yyy":t=li(xt.FullYear,3,0,!1,!0);break;case"yyyy":t=li(xt.FullYear,4,0,!1,!0);break;case"Y":t=ql(1);break;case"YY":t=ql(2,!0);break;case"YYY":t=ql(3);break;case"YYYY":t=ql(4);break;case"M":case"L":t=li(xt.Month,1,1);break;case"MM":case"LL":t=li(xt.Month,2,1);break;case"MMM":t=Ft(yt.Months,Rt.Abbreviated);break;case"MMMM":t=Ft(yt.Months,Rt.Wide);break;case"MMMMM":t=Ft(yt.Months,Rt.Narrow);break;case"LLL":t=Ft(yt.Months,Rt.Abbreviated,Gi.Standalone);break;case"LLLL":t=Ft(yt.Months,Rt.Wide,Gi.Standalone);break;case"LLLLL":t=Ft(yt.Months,Rt.Narrow,Gi.Standalone);break;case"w":t=Hu(1);break;case"ww":t=Hu(2);break;case"W":t=Hu(1,!0);break;case"d":t=li(xt.Date,1);break;case"dd":t=li(xt.Date,2);break;case"c":case"cc":t=li(xt.Day,1);break;case"ccc":t=Ft(yt.Days,Rt.Abbreviated,Gi.Standalone);break;case"cccc":t=Ft(yt.Days,Rt.Wide,Gi.Standalone);break;case"ccccc":t=Ft(yt.Days,Rt.Narrow,Gi.Standalone);break;case"cccccc":t=Ft(yt.Days,Rt.Short,Gi.Standalone);break;case"E":case"EE":case"EEE":t=Ft(yt.Days,Rt.Abbreviated);break;case"EEEE":t=Ft(yt.Days,Rt.Wide);break;case"EEEEE":t=Ft(yt.Days,Rt.Narrow);break;case"EEEEEE":t=Ft(yt.Days,Rt.Short);break;case"a":case"aa":case"aaa":t=Ft(yt.DayPeriods,Rt.Abbreviated);break;case"aaaa":t=Ft(yt.DayPeriods,Rt.Wide);break;case"aaaaa":t=Ft(yt.DayPeriods,Rt.Narrow);break;case"b":case"bb":case"bbb":t=Ft(yt.DayPeriods,Rt.Abbreviated,Gi.Standalone,!0);break;case"bbbb":t=Ft(yt.DayPeriods,Rt.Wide,Gi.Standalone,!0);break;case"bbbbb":t=Ft(yt.DayPeriods,Rt.Narrow,Gi.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ft(yt.DayPeriods,Rt.Abbreviated,Gi.Format,!0);break;case"BBBB":t=Ft(yt.DayPeriods,Rt.Wide,Gi.Format,!0);break;case"BBBBB":t=Ft(yt.DayPeriods,Rt.Narrow,Gi.Format,!0);break;case"h":t=li(xt.Hours,1,-12);break;case"hh":t=li(xt.Hours,2,-12);break;case"H":t=li(xt.Hours,1);break;case"HH":t=li(xt.Hours,2);break;case"m":t=li(xt.Minutes,1);break;case"mm":t=li(xt.Minutes,2);break;case"s":t=li(xt.Seconds,1);break;case"ss":t=li(xt.Seconds,2);break;case"S":t=li(xt.FractionalSeconds,1);break;case"SS":t=li(xt.FractionalSeconds,2);break;case"SSS":t=li(xt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Wl(kn.Short);break;case"ZZZZZ":t=Wl(kn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Wl(kn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Wl(kn.Long);break;default:return null}return Uu[e]=t,t}function a1(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Xce(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Jce(e,t,n){let i=-1,a=e.getTimezoneOffset(),r=a1(t,a);return Xce(e,i*(r-a))}function ede(e){if(uv(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[a,r=1,o=1]=e.split("-").map(s=>+s);return Wc(a,r-1,o)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(Uce))return tde(i)}let t=new Date(e);if(!uv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function tde(e){let t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-n,s=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,o,s,l,c),t}function uv(e){return e instanceof Date&&!isNaN(e.valueOf())}function Gd(e,t,n){return gle(e,t,n)}function n1(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[a,r]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var Wu=/\s+/,hv=[],$d=(()=>{const t=class t{constructor(i,a){this._ngEl=i,this._renderer=a,this.initialClasses=hv,this.stateMap=new Map}set klass(i){this.initialClasses=i!=null?i.trim().split(Wu):hv}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(Wu):i}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let a of i)this._updateState(a,!0);else if(i!=null)for(let a of Object.keys(i))this._updateState(a,!!i[a]);this._applyStateDiff()}_updateState(i,a){let r=this.stateMap.get(i);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(i,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let a=i[0],r=i[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(i,a){i=i.trim(),i.length>0&&i.split(Wu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Km))},t.ɵdir=fe({type:t,selectors:[["","ngClass",""]],inputs:{klass:[R.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})(),r1=(()=>{const t=class t{constructor(i,a,r){this._ngEl=i,this._differs=a,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(i){this._ngStyle=i,!this._differ&&i&&(this._differ=this._differs.find(i).create())}ngDoCheck(){if(this._differ){let i=this._differ.diff(this._ngStyle);i&&this._applyChanges(i)}}_setStyle(i,a){let[r,o]=i.split("."),s=r.indexOf("-")===-1?void 0:Qn.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${a}${o}`:a,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(i){i.forEachRemovedItem(a=>this._setStyle(a.key,null)),i.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),i.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Zx),k(Km))},t.ɵdir=fe({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),o1=(()=>{const t=class t{constructor(i){this._viewContainerRef=i,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(i){if(this._shouldRecreateView(i)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(i,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};t.ɵfac=function(i){return new(i||t)(k(Fi))},t.ɵdir=fe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gt]});let e=t;return e})();function ide(e,t){return new ce(2100,!1)}var ade="mediumDate",nde=new Z(""),rde=new Z(""),ml=(()=>{const t=class t{constructor(i,a,r){this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,o){var s,l;if(i==null||i===""||i!==i)return null;try{let c=a??((s=this.defaultOptions)==null?void 0:s.dateFormat)??ade,u=r??((l=this.defaultOptions)==null?void 0:l.timezone)??this.defaultTimezone??void 0;return qce(i,c,o||this.locale,u)}catch(c){throw ide(t,c.message)}}};t.ɵfac=function(i){return new(i||t)(k(Wd,16),k(nde,24),k(rde,24))},t.ɵpipe=bi({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})(),fl=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({});let e=t;return e})(),s1="browser",ode="server";function sde(e){return e===s1}function l1(e){return e===ode}var c1=class{},sp;try{sp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{sp=!1}var Mt=(()=>{const t=class t{constructor(i){this._platformId=i,this.isBrowser=this._platformId?sde(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||sp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.ɵfac=function(i){return new(i||t)(F(Ho))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qr,pv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function mv(){if(Qr)return Qr;if(typeof document!="object"||!document)return Qr=new Set(pv),Qr;let e=document.createElement("input");return Qr=new Set(pv.filter(t=>(e.setAttribute("type",t),e.type===t))),Qr}var rs;function lde(){if(rs==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>rs=!0}))}finally{rs=rs||!1}return rs}function Vn(e){return lde()?e:!!e.capture}var Xa=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(Xa||{}),Yl,fr;function d1(){if(fr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return fr=!1,fr;if("scrollBehavior"in document.documentElement.style)fr=!0;else{let e=Element.prototype.scrollTo;e?fr=!/\{\s*\[native code\]\s*\}/.test(e.toString()):fr=!1}}return fr}function os(){if(typeof document!="object"||!document)return Xa.NORMAL;if(Yl==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"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Yl=Xa.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Yl=e.scrollLeft===0?Xa.NEGATED:Xa.INVERTED),e.remove()}return Yl}var qu;function cde(){if(qu==null){let e=typeof document<"u"?document.head:null;qu=!!(e&&(e.createShadowRoot||e.attachShadow))}return qu}function dde(e){if(cde()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Es(){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 lp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Zi(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function fo(e){return e!=null&&`${e}`!="false"}function cp(e,t=0){return u1(e)?Number(e):t}function u1(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function qc(e){return Array.isArray(e)?e:[e]}function di(e){return e==null?"":typeof e=="string"?e:`${e}px`}function In(e){return e instanceof Ce?e.nativeElement:e}function ude(e,t=/\s+/){let n=[];if(e!=null){let i=Array.isArray(e)?e:`${e}`.split(t);for(let a of i){let r=`${a}`.trim();r&&n.push(r)}}return n}function hde(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 h1=(()=>{const t=class t{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),pde=(()=>{const t=class t{constructor(i){this._mutationObserverFactory=i,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((i,a)=>this._cleanupObserver(a))}observe(i){let a=In(i);return new At(r=>{let o=this._observeElement(a).pipe(Dt(s=>s.filter(l=>!hde(l))),ki(s=>!!s.length)).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(a)}})}_observeElement(i){if(this._observedElements.has(i))this._observedElements.get(i).count++;else{let a=new xe,r=this._mutationObserverFactory.create(o=>a.next(o));r&&r.observe(i,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(i,{observer:r,stream:a,count:1})}return this._observedElements.get(i).stream}_unobserveElement(i){this._observedElements.has(i)&&(this._observedElements.get(i).count--,this._observedElements.get(i).count||this._cleanupObserver(i))}_cleanupObserver(i){if(this._observedElements.has(i)){let{observer:a,stream:r}=this._observedElements.get(i);a&&a.disconnect(),r.complete(),this._observedElements.delete(i)}}};t.ɵfac=function(i){return new(i||t)(F(h1))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mde=(()=>{const t=class t{get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(i){this._debounce=cp(i),this._subscribe()}constructor(i,a,r){this._contentObserver=i,this._elementRef=a,this._ngZone=r,this.event=new ae,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let i=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?i.pipe(rm(this.debounce)):i).subscribe(this.event)})}_unsubscribe(){var i;(i=this._currentSubscription)==null||i.unsubscribe()}};t.ɵfac=function(i){return new(i||t)(k(pde),k(Ce),k(Pe))},t.ɵdir=fe({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[R.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",ge],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[dt]});let e=t;return e})(),p1=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[h1]});let e=t;return e})(),fv=new Set,gr,fde=(()=>{const t=class t{constructor(i,a){this._platform=i,this._nonce=a,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):vde}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&gde(i,this._nonce),this._matchMedia(i)}};t.ɵfac=function(i){return new(i||t)(F(Mt),F(Nm,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function gde(e,t){if(!fv.has(e))try{gr||(gr=document.createElement("style"),t&&gr.setAttribute("nonce",t),gr.setAttribute("type","text/css"),document.head.appendChild(gr)),gr.sheet&&(gr.sheet.insertRule(`@media ${e} {body{ }}`,0),fv.add(e))}catch(n){console.error(n)}}function vde(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var bde=(()=>{const t=class t{constructor(i,a){this._mediaMatcher=i,this._zone=a,this._queries=new Map,this._destroySubject=new xe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return gv(qc(i)).some(a=>this._registerQuery(a).mql.matches)}observe(i){let a=gv(qc(i)).map(o=>this._registerQuery(o).observable),r=mc(a);return r=As(r.pipe(pi(1)),r.pipe(sm(1),rm(0))),r.pipe(Dt(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let a=this._mediaMatcher.matchMedia(i),r={observable:new At(o=>{let s=l=>this._zone.run(()=>o.next(l));return a.addListener(s),()=>{a.removeListener(s)}}).pipe(Ei(a),Dt(({matches:o})=>({query:i,matches:o})),ft(this._destroySubject)),mql:a};return this._queries.set(i,r),r}};t.ɵfac=function(i){return new(i||t)(F(fde),F(Pe))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function gv(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}var m1=" ";function f1(e,t,n){let i=Yc(e,t);n=n.trim(),!i.some(a=>a.trim()===n)&&(i.push(n),e.setAttribute(t,i.join(m1)))}function dp(e,t,n){let i=Yc(e,t);n=n.trim();let a=i.filter(r=>r!==n);a.length?e.setAttribute(t,a.join(m1)):e.removeAttribute(t)}function Yc(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var g1="cdk-describedby-message",Gl="cdk-describedby-host",up=0,_de=(()=>{const t=class t{constructor(i,a){this._platform=a,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${up++}`,this._document=i,this._id=q(Rm)+"-"+up++}describe(i,a,r){if(!this._canBeDescribed(i,a))return;let o=Yu(a,r);typeof a!="string"?(vv(a,this._id),this._messageRegistry.set(o,{messageElement:a,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(a,r),this._isElementDescribedByMessage(i,o)||this._addMessageReference(i,o)}removeDescription(i,a,r){var s;if(!a||!this._isElementNode(i))return;let o=Yu(a,r);if(this._isElementDescribedByMessage(i,o)&&this._removeMessageReference(i,o),typeof a=="string"){let l=this._messageRegistry.get(o);l&&l.referenceCount===0&&this._deleteMessageElement(o)}((s=this._messagesContainer)==null?void 0:s.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let i=this._document.querySelectorAll(`[${Gl}="${this._id}"]`);for(let r=0;r<i.length;r++)this._removeCdkDescribedByReferenceIds(i[r]),i[r].removeAttribute(Gl);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(i,a){let r=this._document.createElement("div");vv(r,this._id),r.textContent=i,a&&r.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Yu(i,a),{messageElement:r,referenceCount:0})}_deleteMessageElement(i){var a,r;(r=(a=this._messageRegistry.get(i))==null?void 0:a.messageElement)==null||r.remove(),this._messageRegistry.delete(i)}_createMessagesContainer(){if(this._messagesContainer)return;let i="cdk-describedby-message-container",a=this._document.querySelectorAll(`.${i}[platform="server"]`);for(let o=0;o<a.length;o++)a[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(i),r.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(i){let a=Yc(i,"aria-describedby").filter(r=>r.indexOf(g1)!=0);i.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(i,a){let r=this._messageRegistry.get(a);f1(i,"aria-describedby",r.messageElement.id),i.setAttribute(Gl,this._id),r.referenceCount++}_removeMessageReference(i,a){let r=this._messageRegistry.get(a);r.referenceCount--,dp(i,"aria-describedby",r.messageElement.id),i.removeAttribute(Gl)}_isElementDescribedByMessage(i,a){let r=Yc(i,"aria-describedby"),o=this._messageRegistry.get(a),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(i,a){if(!this._isElementNode(i))return!1;if(a&&typeof a=="object")return!0;let r=a==null?"":`${a}`.trim(),o=i.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(Mt))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Yu(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function vv(e,t){e.id||(e.id=`${g1}-${t}-${up++}`)}var v1=class{constructor(e,t){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new xe,this._typeaheadSubscription=nt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new xe,this.change=new xe,e instanceof Ao?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Kh(e)&&(this._effectRef=Qx(()=>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){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(_s(t=>this._pressedLetters.push(t)),rm(e),ki(()=>this._pressedLetters.length>0),Dt(()=>this._pressedLetters.join(""))).subscribe(t=>{let n=this._getItemsArray();for(let i=1;i<n.length+1;i++){let a=(this._activeItemIndex+i)%n.length,r=n[a];if(!this._skipPredicateFn(r)&&r.getLabel().toUpperCase().trim().indexOf(t)===0){this.setActiveItem(a);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],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){let t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!e[i]||this._allowedModifierKeys.indexOf(i)>-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 i=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let i=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(i<a?i:a-1,-1);break}else return;default:(n||Zi(e,"shiftKey"))&&(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)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._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){let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),i=t[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){var e,t;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_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 i=(this._activeItemIndex+e*n+t.length)%t.length,a=t[i];if(!this._skipPredicateFn(a)){this.setActiveItem(i);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 Kh(this._items)?this._items():this._items instanceof Ao?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let t=e.indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}}},yde=class extends v1{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},rf=class extends v1{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}},of=(()=>{const t=class t{constructor(i){this._platform=i}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return wde(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let a=xde(Tde(i));if(a&&(bv(a)===-1||!this.isVisible(a)))return!1;let r=i.nodeName.toLowerCase(),o=bv(i);return i.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Ide(i)?!1:r==="audio"?i.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,a){return Ade(i)&&!this.isDisabled(i)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(i))}};t.ɵfac=function(i){return new(i||t)(F(Mt))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function xde(e){try{return e.frameElement}catch{return null}}function wde(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function kde(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Ede(e){return Sde(e)&&e.type=="hidden"}function Cde(e){return Dde(e)&&e.hasAttribute("href")}function Sde(e){return e.nodeName.toLowerCase()=="input"}function Dde(e){return e.nodeName.toLowerCase()=="a"}function b1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function bv(e){if(!b1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Ide(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function Ade(e){return Ede(e)?!1:kde(e)||Cde(e)||e.hasAttribute("contenteditable")||b1(e)}function Tde(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Ode=class{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))}constructor(e,t,n,i,a=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}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._ngZone.isStable?e():this._ngZone.onStable.pipe(pi(1)).subscribe(e)}},sf=(()=>{const t=class t{constructor(i,a,r){this._checker=i,this._ngZone=a,this._document=r}create(i,a=!1){return new Ode(i,this._checker,this._ngZone,this._document,a)}};t.ɵfac=function(i){return new(i||t)(F(of),F(Pe),F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Rde=(()=>{const t=class t{get enabled(){var i;return((i=this.focusTrap)==null?void 0:i.enabled)||!1}set enabled(i){this.focusTrap&&(this.focusTrap.enabled=i)}constructor(i,a,r){this._elementRef=i,this._focusTrapFactory=a,this._previouslyFocusedElement=null,q(Mt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){var i;(i=this.focusTrap)==null||i.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var i;(i=this.focusTrap)==null||i.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(i){var r;let a=i.autoCapture;a&&!a.firstChange&&this.autoCapture&&((r=this.focusTrap)!=null&&r.hasAttached())&&this._captureFocus()}_captureFocus(){var i;this._previouslyFocusedElement=Es(),(i=this.focusTrap)==null||i.focusInitialElementWhenReady()}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(sf),k(Ye))},t.ɵdir=fe({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[R.HasDecoratorInputTransform,"cdkTrapFocus","enabled",ge],autoCapture:[R.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",ge]},exportAs:["cdkTrapFocus"],standalone:!0,features:[dt,Gt]});let e=t;return e})();function _1(e){return e.buttons===0||e.detail===0}function y1(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 Nde=new Z("cdk-input-modality-detector-options"),Pde={ignoreKeys:[18,17,224,91,16]},x1=650,Xr=Vn({passive:!0,capture:!0}),Mde=(()=>{const t=class t{get mostRecentModality(){return this._modality.value}constructor(i,a,r,o){this._platform=i,this._mostRecentTarget=null,this._modality=new Dr(null),this._lastTouchMs=0,this._onKeydown=s=>{var l,c;(c=(l=this._options)==null?void 0:l.ignoreKeys)!=null&&c.some(u=>u===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Dn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<x1||(this._modality.next(_1(s)?"keyboard":"mouse"),this._mostRecentTarget=Dn(s))},this._onTouchstart=s=>{if(y1(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Dn(s)},this._options=Se(Se({},Pde),o),this.modalityDetected=this._modality.pipe(sm(1)),this.modalityChanged=this.modalityDetected.pipe(om()),i.isBrowser&&a.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Xr),r.addEventListener("mousedown",this._onMousedown,Xr),r.addEventListener("touchstart",this._onTouchstart,Xr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Xr),document.removeEventListener("mousedown",this._onMousedown,Xr),document.removeEventListener("touchstart",this._onTouchstart,Xr))}};t.ɵfac=function(i){return new(i||t)(F(Mt),F(Pe),F(Ye),F(Nde,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Lde=new Z("liveAnnouncerElement",{providedIn:"root",factory:Fde});function Fde(){return null}var Vde=new Z("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),zde=0,Bde=(()=>{const t=class t{constructor(i,a,r,o){this._ngZone=a,this._defaultOptions=o,this._document=r,this._liveElement=i||this._createLiveElement()}announce(i,...a){let r=this._defaultOptions,o,s;return a.length===1&&typeof a[0]=="number"?s=a[0]:[o,s]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var l;this._liveElement.textContent=i,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),(l=this._currentResolve)==null||l.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var i,a;clearTimeout(this._previousTimeout),(i=this._liveElement)==null||i.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let i="cdk-live-announcer-element",a=this._document.getElementsByClassName(i),r=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return r.classList.add(i),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${zde++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(i){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let o=a[r],s=o.getAttribute("aria-owns");s?s.indexOf(i)===-1&&o.setAttribute("aria-owns",s+" "+i):o.setAttribute("aria-owns",i)}}};t.ɵfac=function(i){return new(i||t)(F(Lde,8),F(Pe),F(Ye),F(Vde,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),wc=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(wc||{}),jde=new Z("cdk-focus-monitor-default-options"),$l=Vn({passive:!0,capture:!0}),Ur=(()=>{const t=class t{constructor(i,a,r,o,s){this._ngZone=i,this._platform=a,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new xe,this._rootNodeFocusAndBlurListener=l=>{let c=Dn(l);for(let u=c;u;u=u.parentElement)l.type==="focus"?this._onFocus(l,u):this._onBlur(l,u)},this._document=o,this._detectionMode=(s==null?void 0:s.detectionMode)||wc.IMMEDIATE}monitor(i,a=!1){let r=In(i);if(!this._platform.isBrowser||r.nodeType!==1)return wt();let o=dde(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return a&&(s.checkChildren=!0),s.subject;let l={checkChildren:a,subject:new xe,rootNode:o};return this._elementInfo.set(r,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(i){let a=In(i),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(i,a,r){let o=In(i),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([l,c])=>this._originChanged(l,a,c)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((i,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===wc.EVENTUAL||!!(i!=null&&i.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(i,a){i.classList.toggle("cdk-focused",!!a),i.classList.toggle("cdk-touch-focused",a==="touch"),i.classList.toggle("cdk-keyboard-focused",a==="keyboard"),i.classList.toggle("cdk-mouse-focused",a==="mouse"),i.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(i,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&a,this._detectionMode===wc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?x1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(i,a){let r=this._elementInfo.get(a),o=Dn(i);!r||!r.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),r)}_onBlur(i,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&i.relatedTarget instanceof Node&&a.contains(i.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(i,a){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(a))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let a=i.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,$l),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,$l)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ft(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(i){let a=i.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let r=this._rootNodeFocusListenerCount.get(a);r>1?this._rootNodeFocusListenerCount.set(a,r-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$l),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$l),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,a,r){this._setClasses(i,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(i){let a=[];return this._elementInfo.forEach((r,o)=>{(o===i||r.checkChildren&&o.contains(i))&&a.push([o,r])}),a}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let o=i.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(a))return!0}return!1}};t.ɵfac=function(i){return new(i||t)(F(Pe),F(Mt),F(Mde),F(Ye,8),F(jde,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),lf=(()=>{const t=class t{constructor(i,a){this._elementRef=i,this._focusMonitor=a,this._focusOrigin=null,this.cdkFocusChange=new ae}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let i=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(i,i.nodeType===1&&i.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(a=>{this._focusOrigin=a,this.cdkFocusChange.emit(a)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Ur))},t.ɵdir=fe({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let e=t;return e})(),xr=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}(xr||{}),_v="cdk-high-contrast-black-on-white",yv="cdk-high-contrast-white-on-black",Gu="cdk-high-contrast-active",w1=(()=>{const t=class t{constructor(i,a){this._platform=i,this._document=a,this._breakpointSubscription=q(bde).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return xr.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(i):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(i.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return xr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return xr.BLACK_ON_WHITE}return xr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(Gu,_v,yv),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===xr.BLACK_ON_WHITE?i.add(Gu,_v):a===xr.WHITE_ON_BLACK&&i.add(Gu,yv)}}};t.ɵfac=function(i){return new(i||t)(F(Mt),F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hde=(()=>{const t=class t{constructor(i){i._applyBodyHighContrastModeCssClasses()}};t.ɵfac=function(i){return new(i||t)(F(w1))},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[p1]});let e=t;return e})(),Ude=new Z("cdk-dir-doc",{providedIn:"root",factory:Wde});function Wde(){return q(Ye)}var qde=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Yde(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?qde.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Pi=(()=>{const t=class t{constructor(i){if(this.value="ltr",this.change=new ae,i){let a=i.body?i.body.dir:null,r=i.documentElement?i.documentElement.dir:null;this.value=Yde(a||r||"ltr")}}ngOnDestroy(){this.change.complete()}};t.ɵfac=function(i){return new(i||t)(F(Ude,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Us=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({});let e=t;return e})(),Gde=class{};function $u(e){return e&&typeof e.connect=="function"&&!(e instanceof Qte)}var Cs=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(Cs||{}),hp=new Z("_ViewRepeater"),k1=class{applyChanges(e,t,n,i,a){e.forEachOperation((r,o,s)=>{let l,c;if(r.previousIndex==null){let u=n(r,o,s);l=t.createEmbeddedView(u.templateRef,u.context,u.index),c=Cs.INSERTED}else s==null?(t.remove(o),c=Cs.REMOVED):(l=t.get(o),t.move(l,s),c=Cs.MOVED);a&&a({context:l==null?void 0:l.context,operation:c,record:r})})}detach(){}},$de=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,t,n=!0,i){this._multiple=e,this._emitChanges=n,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new xe,t&&t.length&&(e?t.forEach(a=>this._markSelected(a)):this._markSelected(t[0]),this._selectedToEmit.length=0)}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);e.forEach(a=>this._markSelected(a)),t.filter(a=>!n.has(this._getConcreteValue(a,n))).forEach(a=>this._unmarkSelected(a));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}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}},E1=(()=>{const t=class t{constructor(){this._listeners=[]}notify(i,a){for(let r of this._listeners)r(i,a)}listen(i){return this._listeners.push(i),()=>{this._listeners=this._listeners.filter(a=>i!==a)}}ngOnDestroy(){this._listeners=[]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kde=20,C1=(()=>{const t=class t{constructor(i,a,r){this._ngZone=i,this._platform=a,this._scrolled=new xe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){let a=this.scrollContainers.get(i);a&&(a.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=Kde){return this._platform.isBrowser?new At(a=>{this._globalSubscription||this._addGlobalListener();let r=i>0?this._scrolled.pipe(o_(i)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):wt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((i,a)=>this.deregister(a)),this._scrolled.complete()}ancestorScrolled(i,a){let r=this.getAncestorScrollContainers(i);return this.scrolled(a).pipe(ki(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(i){let a=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,i)&&a.push(o)}),a}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,a){let r=In(a),o=i.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let i=this._getWindow();return Ir(i.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.ɵfac=function(i){return new(i||t)(F(Pe),F(Mt),F(Ye,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Zde=(()=>{const t=class t{constructor(i,a,r,o){this.elementRef=i,this.scrollDispatcher=a,this.ngZone=r,this.dir=o,this._destroyed=new xe,this._elementScrolled=new At(s=>this.ngZone.runOutsideAngular(()=>Ir(this.elementRef.nativeElement,"scroll").pipe(ft(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(i){let a=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";i.left==null&&(i.left=r?i.end:i.start),i.right==null&&(i.right=r?i.start:i.end),i.bottom!=null&&(i.top=a.scrollHeight-a.clientHeight-i.bottom),r&&os()!=Xa.NORMAL?(i.left!=null&&(i.right=a.scrollWidth-a.clientWidth-i.left),os()==Xa.INVERTED?i.left=i.right:os()==Xa.NEGATED&&(i.left=i.right?-i.right:i.right)):i.right!=null&&(i.left=a.scrollWidth-a.clientWidth-i.right),this._applyScrollToOptions(i)}_applyScrollToOptions(i){let a=this.elementRef.nativeElement;d1()?a.scrollTo(i):(i.top!=null&&(a.scrollTop=i.top),i.left!=null&&(a.scrollLeft=i.left))}measureScrollOffset(i){let a="left",r="right",o=this.elementRef.nativeElement;if(i=="top")return o.scrollTop;if(i=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return i=="start"?i=s?r:a:i=="end"&&(i=s?a:r),s&&os()==Xa.INVERTED?i==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&os()==Xa.NEGATED?i==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:i==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(C1),k(Pe),k(Pi,8))},t.ɵdir=fe({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let e=t;return e})(),Qde=20,Ko=(()=>{const t=class t{constructor(i,a,r){this._platform=i,this._change=new xe,this._changeListener=o=>{this._change.next(o)},this._document=r,a.runOutsideAngular(()=>{if(i.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){let i=this.getViewportScrollPosition(),{width:a,height:r}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+r,right:i.left+a,height:r,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let i=this._document,a=this._getWindow(),r=i.documentElement,o=r.getBoundingClientRect(),s=-o.top||i.body.scrollTop||a.scrollY||r.scrollTop||0,l=-o.left||i.body.scrollLeft||a.scrollX||r.scrollLeft||0;return{top:s,left:l}}change(i=Qde){return i>0?this._change.pipe(o_(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}};t.ɵfac=function(i){return new(i||t)(F(Mt),F(Pe),F(Ye,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Gc=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({});let e=t;return e})(),pp=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Us,Gc,Us,Gc]});let e=t;return e})(),cf=class{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}},Ws=class extends cf{constructor(e,t,n,i,a){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i,this.projectableNodes=a}},Zo=class extends cf{constructor(e,t,n,i){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Xde=class extends cf{constructor(e){super(),this.element=e instanceof Ce?e.nativeElement:e}},df=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Ws)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Zo)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Xde)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)}},Jde=class extends df{constructor(e,t,n,i,a){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let o=r.element;o.parentNode;let s=this._document.createComment("dom-portal");o.parentNode.insertBefore(s,o),this.outletElement.appendChild(o),this._attachedPortal=r,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(o,s)})},this._document=a}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||Hi.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(i=>this.outletElement.appendChild(i)),n.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(n);i!==-1&&t.remove(i)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},eue=(()=>{const t=class t extends Zo{constructor(i,a){super(i,a)}};t.ɵfac=function(i){return new(i||t)(k(gi),k(Fi))},t.ɵdir=fe({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[je]});let e=t;return e})(),On=(()=>{const t=class t extends df{constructor(i,a,r){super(),this._componentFactoryResolver=i,this._viewContainerRef=a,this._isInitialized=!1,this.attached=new ae,this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let l=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=r}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 a=i.viewContainerRef!=null?i.viewContainerRef:this._viewContainerRef,r=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component),o=a.createComponent(r,a.length,i.injector||a.injector,i.projectableNodes||void 0);return a!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=i,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(i){i.setAttachedHost(this);let a=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=a,this.attached.emit(a),a}_getRootNode(){let i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}};t.ɵfac=function(i){return new(i||t)(k(dr),k(Fi),k(Ye))},t.ɵdir=fe({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[R.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[je]});let e=t;return e})(),S1=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({});let e=t;return e})(),xv=d1(),tue=class{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,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=di(-this._previousScrollPosition.left),e.style.top=di(-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,i=t.style,a=n.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),xv&&(n.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xv&&(n.scrollBehavior=a,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},iue=class{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ki(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}},D1=class{enable(){}disable(){}attach(){}};function mp(e,t){return t.some(n=>{let i=e.bottom<n.top,a=e.top>n.bottom,r=e.right<n.left,o=e.left>n.right;return i||a||r||o})}function wv(e,t){return t.some(n=>{let i=e.top<n.top,a=e.bottom>n.bottom,r=e.left<n.left,o=e.right>n.right;return i||a||r||o})}var aue=class{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}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:i}=this._viewportRuler.getViewportSize();mp(t,[{width:n,height:i,bottom:i,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}},nue=(()=>{const t=class t{constructor(i,a,r,o){this._scrollDispatcher=i,this._viewportRuler=a,this._ngZone=r,this.noop=()=>new D1,this.close=s=>new iue(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new tue(this._viewportRuler,this._document),this.reposition=s=>new aue(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}};t.ɵfac=function(i){return new(i||t)(F(C1),F(Ko),F(Pe),F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kd=class{constructor(e){if(this.scrollStrategy=new D1,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let t=Object.keys(e);for(let n of t)e[n]!==void 0&&(this[n]=e[n])}}},rue=class{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}},I1=(()=>{const t=class t{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){let a=this._attachedOverlays.indexOf(i);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}};t.ɵfac=function(i){return new(i||t)(F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),oue=(()=>{const t=class t extends I1{constructor(i,a){super(i),this._ngZone=a,this._keydownListener=r=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let l=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(r)):l.next(r);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(Pe,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),sue=(()=>{const t=class t extends I1{constructor(i,a,r){super(i),this._platform=a,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Dn(o)},this._clickListener=o=>{let s=Dn(o),l=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){let p=c[u];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(l))break;let g=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(o)):g.next(o)}}}add(i){if(super.add(i),!this._isAttached){let a=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(a)):this._addEventListeners(a),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=a.style.cursor,a.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(Mt),F(Pe,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Zd=(()=>{const t=class t{constructor(i,a){this._platform=a,this._document=i}ngOnDestroy(){var i;(i=this._containerElement)==null||i.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let i="cdk-overlay-container";if(this._platform.isBrowser||lp()){let r=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let a=this._document.createElement("div");a.classList.add(i),lp()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(Mt))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qd=class{constructor(e,t,n,i,a,r,o,s,l,c=!1){this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=a,this._keyboardDispatcher=r,this._document=o,this._location=s,this._outsideClickDispatcher=l,this._animationsDisabled=c,this._backdropElement=null,this._backdropClick=new xe,this._attachments=new xe,this._detachments=new xe,this._locationChanges=nt.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new xe,this._outsidePointerEvents=new xe,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!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(),this._ngZone.onStable.pipe(pi(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),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._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(t=this._host)==null||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Se(Se({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ti(Se({},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=di(this._config.width),e.height=di(this._config.height),e.minWidth=di(this._config.minWidth),e.minHeight=di(this._config.minHeight),e.maxWidth=di(this._config.maxWidth),e.maxHeight=di(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,n){let i=qc(t||[]).filter(a=>!!a);i.length&&(n?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(ft(mi(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(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},kv="cdk-overlay-connected-position-bounding-box",lue=/([A-Za-z%]+)$/,A1=class{get positions(){return this._preferredPositions}constructor(e,t,n,i,a){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new xe,this._resizeSubscription=nt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(kv),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,i=this._containerRect,a=[],r;for(let o of this._preferredPositions){let s=this._getOriginPoint(e,i,o),l=this._getOverlayPoint(s,t,o),c=this._getOverlayFit(l,t,n,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,s);return}if(this._canFitWithFlexibleDimensions(c,l,n)){a.push({position:o,origin:s,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(s,o)});continue}(!r||r.overlayFit.visibleArea<c.visibleArea)&&(r={overlayFit:c,overlayPoint:l,originPoint:s,position:o,overlayRect:t})}if(a.length){let o=null,s=-1;for(let l of a){let c=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);c>s&&(s=c,o=l)}this._isPushed=!1,this._applyPosition(o.position,o.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&&vr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(kv),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 i;if(n.originX=="center")i=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;i=n.originX=="start"?r:o}t.left<0&&(i-=t.left);let a;return n.originY=="center"?a=e.top+e.height/2:a=n.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:i,y:a}}_getOverlayPoint(e,t,n){let i;n.overlayX=="center"?i=-t.width/2:n.overlayX==="start"?i=this._isRtl()?-t.width:0:i=this._isRtl()?0:-t.width;let a;return n.overlayY=="center"?a=-t.height/2:a=n.overlayY=="top"?0:-t.height,{x:e.x+i,y:e.y+a}}_getOverlayFit(e,t,n,i){let a=Cv(t),{x:r,y:o}=e,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(r+=s),l&&(o+=l);let c=0-r,u=r+a.width-n.width,p=0-o,g=o+a.height-n.height,b=this._subtractOverflows(a.width,c,u),x=this._subtractOverflows(a.height,p,g),y=b*x;return{visibleArea:y,isCompletelyWithinViewport:a.width*a.height===y,fitsInViewportVertically:x===a.height,fitsInViewportHorizontally:b==a.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){let i=n.bottom-t.y,a=n.right-t.x,r=Ev(this._overlayRef.getConfig().minHeight),o=Ev(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportVertically||r!=null&&r<=i,l=e.fitsInViewportHorizontally||o!=null&&o<=a;return s&&l}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 i=Cv(t),a=this._viewportRect,r=Math.max(e.x+i.width-a.width,0),o=Math.max(e.y+i.height-a.height,0),s=Math.max(a.top-n.top-e.y,0),l=Math.max(a.left-n.left-e.x,0),c=0,u=0;return i.width<=a.width?c=l||-r:c=e.x<this._viewportMargin?a.left-n.left-e.x:0,i.height<=a.height?u=s||-o:u=e.y<this._viewportMargin?a.top-n.top-e.y:0,this._previousPushAmount={x:c,y:u},{x:e.x+c,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||!cue(this._lastScrollVisibility,n)){let i=new rue(e,n);this._positionChanges.next(i)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,i=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(e,t){let n=this._viewportRect,i=this._isRtl(),a,r,o;if(t.overlayY==="top")r=e.y,a=n.height-r+this._viewportMargin;else if(t.overlayY==="bottom")o=n.height-e.y+this._viewportMargin*2,a=n.height-o+this._viewportMargin;else{let g=Math.min(n.bottom-e.y+n.top,e.y),b=this._lastBoundingBoxSize.height;a=g*2,r=e.y-g,a>b&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-b/2)}let s=t.overlayX==="start"&&!i||t.overlayX==="end"&&i,l=t.overlayX==="end"&&!i||t.overlayX==="start"&&i,c,u,p;if(l)p=n.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(s)u=e.x,c=n.right-e.x;else{let g=Math.min(n.right-e.x+n.left,e.x),b=this._lastBoundingBoxSize.width;c=g*2,u=e.x-g,c>b&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-b/2)}return{top:r,left:u,bottom:o,right:p,width:c,height:a}}_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 i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=di(n.height),i.top=di(n.top),i.bottom=di(n.bottom),i.width=di(n.width),i.left=di(n.left),i.right=di(n.right),t.overlayX==="center"?i.alignItems="center":i.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?i.justifyContent="center":i.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",a&&(i.maxHeight=di(a)),r&&(i.maxWidth=di(r))}this._lastBoundingBoxSize=n,vr(this._boundingBox.style,i)}_resetBoundingBoxStyles(){vr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let n={},i=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let c=this._viewportRuler.getViewportScrollPosition();vr(n,this._getExactOverlayY(t,e,c)),vr(n,this._getExactOverlayX(t,e,c))}else n.position="static";let o="",s=this._getOffset(t,"x"),l=this._getOffset(t,"y");s&&(o+=`translateX(${s}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=di(r.maxHeight):a&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=di(r.maxWidth):a&&(n.maxWidth="")),vr(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(a.y+this._overlayRect.height)}px`}else i.top=di(a.y);return i}_getExactOverlayX(e,t,n){let i={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let o=this._document.documentElement.clientWidth;i.right=`${o-(a.x+this._overlayRect.width)}px`}else i.left=di(a.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:wv(e,n),isOriginOutsideView:mp(e,n),isOverlayClipped:wv(t,n),isOverlayOutsideView:mp(t,n)}}_subtractOverflows(e,...t){return t.reduce((n,i)=>n-Math.max(i,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&&qc(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 Ce)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 vr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Ev(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(lue);return!n||n==="px"?parseFloat(t):null}return e||null}function Cv(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 cue(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Sv="cdk-global-overlay-wrapper",due=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",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(Sv),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:i,height:a,maxWidth:r,maxHeight:o}=n,s=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),l=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,u=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",g="",b="",x="";s?x="flex-start":c==="center"?(x="center",p?b=u:g=u):p?c==="left"||c==="end"?(x="flex-end",g=u):(c==="right"||c==="start")&&(x="flex-start",b=u):c==="left"||c==="start"?(x="flex-start",g=u):(c==="right"||c==="end")&&(x="flex-end",b=u),e.position=this._cssPosition,e.marginLeft=s?"0":g,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=s?"0":b,t.justifyContent=x,t.alignItems=l?"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(Sv),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},uue=(()=>{const t=class t{constructor(i,a,r,o){this._viewportRuler=i,this._document=a,this._platform=r,this._overlayContainer=o}global(){return new due}flexibleConnectedTo(i){return new A1(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.ɵfac=function(i){return new(i||t)(F(Ko),F(Ye),F(Mt),F(Zd))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),hue=0,pa=(()=>{const t=class t{constructor(i,a,r,o,s,l,c,u,p,g,b,x){this.scrollStrategies=i,this._overlayContainer=a,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=l,this._ngZone=c,this._document=u,this._directionality=p,this._location=g,this._outsideClickDispatcher=b,this._animationsModuleType=x}create(i){let a=this._createHostElement(),r=this._createPaneElement(a),o=this._createPortalOutlet(r),s=new Kd(i);return s.direction=s.direction||this._directionality.value,new Qd(o,a,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(i){let a=this._document.createElement("div");return a.id=`cdk-overlay-${hue++}`,a.classList.add("cdk-overlay-pane"),i.appendChild(a),a}_createHostElement(){let i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(Ud)),new Jde(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.ɵfac=function(i){return new(i||t)(F(nue),F(Zd),F(dr),F(uue),F(oue),F(Hi),F(Pe),F(Ye),F(Pi),F(nf),F(sue),F(Ti,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),pue=[{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"}],T1=new Z("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=q(pa);return()=>e.scrollStrategies.reposition()}}),$c=(()=>{const t=class t{constructor(i){this.elementRef=i}};t.ɵfac=function(i){return new(i||t)(k(Ce))},t.ɵdir=fe({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let e=t;return e})(),Dv=(()=>{const t=class t{get offsetX(){return this._offsetX}set offsetX(i){this._offsetX=i,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(i){this._offsetY=i,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(i){this._disposeOnNavigation=i}constructor(i,a,r,o,s){this._overlay=i,this._dir=s,this._backdropSubscription=nt.EMPTY,this._attachSubscription=nt.EMPTY,this._detachSubscription=nt.EMPTY,this._positionSubscription=nt.EMPTY,this._disposeOnNavigation=!1,this._ngZone=q(Pe),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new ae,this.positionChange=new ae,this.attach=new ae,this.detach=new ae,this.overlayKeydown=new ae,this.overlayOutsideClick=new ae,this._templatePortal=new Zo(a,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(i){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),i.origin&&this.open&&this._position.apply()),i.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=pue);let i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=i.detachments().subscribe(()=>this.detach.emit()),i.keydownEvents().subscribe(a=>{this.overlayKeydown.next(a),a.keyCode===27&&!this.disableClose&&!Zi(a)&&(a.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(a=>{let r=this._getOriginElement(),o=Dn(a);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(a)})}_buildConfig(){let i=this._position=this.positionStrategy||this._createPositionStrategy(),a=new Kd({direction:this._dir,positionStrategy:i,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(a.width=this.width),(this.height||this.height===0)&&(a.height=this.height),(this.minWidth||this.minWidth===0)&&(a.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}_updatePositionStrategy(i){let a=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 i.setOrigin(this._getOrigin()).withPositions(a).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let i=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(i),i}_getOrigin(){return this.origin instanceof $c?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof $c?this.origin.elementRef.nativeElement:this.origin instanceof Ce?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(i=>{this.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Bie(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};t.ɵfac=function(i){return new(i||t)(k(pa),k(gi),k(Fi),k(T1),k(Pi,8))},t.ɵdir=fe({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[R.None,"cdkConnectedOverlayOrigin","origin"],positions:[R.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[R.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[R.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[R.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[R.None,"cdkConnectedOverlayWidth","width"],height:[R.None,"cdkConnectedOverlayHeight","height"],minWidth:[R.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[R.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[R.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[R.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[R.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[R.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[R.None,"cdkConnectedOverlayOpen","open"],disableClose:[R.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[R.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[R.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ge],lockPosition:[R.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",ge],flexibleDimensions:[R.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ge],growAfterOpen:[R.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ge],push:[R.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",ge],disposeOnNavigation:[R.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ge]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[dt,Gt]});let e=t;return e})();function mue(e){return()=>e.scrollStrategies.reposition()}var fue={provide:T1,deps:[pa],useFactory:mue},O1=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[pa,fue],imports:[Us,S1,pp,pp]});let e=t;return e})(),gue=["text"],vue=[[["mat-icon"]],"*"],bue=["mat-icon","*"];function _ue(e,t){if(e&1&&te(0,"mat-pseudo-checkbox",1),e&2){let n=V();W("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function yue(e,t){if(e&1&&te(0,"mat-pseudo-checkbox",3),e&2){let n=V();W("disabled",n.disabled)}}function xue(e,t){if(e&1&&(D(0,"span",4),P(1),I()),e&2){let n=V();C(),ue("(",n.group.label,")")}}var wue=(()=>{const t=class t{};t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let e=t;return e})(),kue=(()=>{const t=class t{};t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms";let e=t;return e})();function Eue(){return!0}var Cue=new Z("mat-sanity-checks",{providedIn:"root",factory:Eue}),Yt=(()=>{const t=class t{constructor(i,a,r){this._sanityChecks=a,this._document=r,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return lp()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[i]}};t.ɵfac=function(i){return new(i||t)(F(w1),F(Cue,8),F(Ye))},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Us,Us]});let e=t;return e})(),uf=class{constructor(e,t,n,i,a){this._defaultMatcher=e,this.ngControl=t,this._parentFormGroup=n,this._parentForm=i,this._stateChanges=a,this.errorState=!1}updateErrorState(){let e=this.errorState,t=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,a=(n==null?void 0:n.isErrorState(i,t))??!1;a!==e&&(this.errorState=a,this._stateChanges.next())}},fp=new Z("MAT_DATE_LOCALE",{providedIn:"root",factory:Sue});function Sue(){return q(Wd)}var Jt=class{constructor(){this._localeChanges=new xe,this.localeChanges=this._localeChanges}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)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},Ya=new Z("mat-date-formats"),Due=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ku(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var R1=(()=>{const t=class t extends Jt{constructor(i){super(),this.useUtcForDisplay=!1,this._matDateLocale=q(fp,{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 a=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});return Ku(12,r=>this._format(a,new Date(2017,r,1)))}getDateNames(){let i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ku(31,a=>this._format(i,new Date(2017,0,a+1)))}getDayOfWeekNames(i){let a=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return Ku(7,r=>this._format(a,new Date(2017,0,r+1)))}getYearName(i){let a=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(a,i)}getFirstDayOfWeek(){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,a,r){let o=this._createDateWithOverflow(i,a,r);return o.getMonth()!=a,o}today(){return new Date}parse(i,a){return typeof i=="number"?new Date(i):i?new Date(Date.parse(i)):null}format(i,a){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,ti(Se({},a),{timeZone:"utc"}));return this._format(r,i)}addCalendarYears(i,a){return this.addCalendarMonths(i,a*12)}addCalendarMonths(i,a){let r=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+a,this.getDate(i));return this.getMonth(r)!=((this.getMonth(i)+a)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(i,a){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+a)}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(Due.test(i)){let a=new Date(i);if(this.isValid(a))return a}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(i,a,r){let o=new Date;return o.setFullYear(i,a,r),o.setHours(0,0,0,0),o}_2digit(i){return("00"+i).slice(-2)}_format(i,a){let r=new Date;return r.setUTCFullYear(a.getFullYear(),a.getMonth(),a.getDate()),r.setUTCHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),i.format(r)}};t.ɵfac=function(i){return new(i||t)(F(fp,8))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),Iue={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Aue=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[Tue()]});let e=t;return e})();function Tue(e=Iue){return[{provide:Jt,useClass:R1},{provide:Ya,useValue:e}]}var Qo=(()=>{const t=class t{isErrorState(i,a){return!!(i&&i.invalid&&(i.touched||a&&a.submitted))}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_a=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}(_a||{}),Oue=class{constructor(e,t,n,i=!1){this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=_a.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Iv=Vn({passive:!0,capture:!0}),Rue=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{var n;let t=Dn(e);t&&((n=this._events.get(e.type))==null||n.forEach((i,a)=>{(a===t||a.contains(t))&&i.forEach(r=>r.handleEvent(e))}))}}addHandler(e,t,n,i){let a=this._events.get(t);if(a){let r=a.get(n);r?r.add(i):a.set(n,new Set([i]))}else this._events.set(t,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Iv)})}removeHandler(e,t,n){let i=this._events.get(e);if(!i)return;let a=i.get(t);a&&(a.delete(n),a.size===0&&i.delete(t),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Iv)))}},Av={enterDuration:225,exitDuration:150},Nue=800,Tv=Vn({passive:!0,capture:!0}),Ov=["mousedown","touchstart"],Rv=["mouseup","mouseleave","touchend","touchcancel"],tr,Pue=(tr=class{constructor(t,n,i,a){this._target=t,this._ngZone=n,this._platform=a,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,a.isBrowser&&(this._containerElement=In(i))}fadeInRipple(t,n,i={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Se(Se({},Av),i.animation);i.centered&&(t=a.left+a.width/2,n=a.top+a.height/2);let o=i.radius||Mue(t,n,a),s=t-a.left,l=n-a.top,c=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${s-o}px`,u.style.top=`${l-o}px`,u.style.height=`${o*2}px`,u.style.width=`${o*2}px`,i.color!=null&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let p=window.getComputedStyle(u),g=p.transitionProperty,b=p.transitionDuration,x=g==="none"||b==="0s"||b==="0s, 0s"||a.width===0&&a.height===0,y=new Oue(this,u,i,x);u.style.transform="scale3d(1, 1, 1)",y.state=_a.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let E=null;return!x&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>this._finishRippleTransition(y),K=()=>this._destroyRipple(y);u.addEventListener("transitionend",N),u.addEventListener("transitioncancel",K),E={onTransitionEnd:N,onTransitionCancel:K}}),this._activeRipples.set(y,E),(x||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===_a.FADING_OUT||t.state===_a.HIDDEN)return;let n=t.element,i=Se(Se({},Av),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=_a.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=In(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Ov.forEach(i=>{tr._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Rv.forEach(n=>{this._triggerElement.addEventListener(n,this,Tv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===_a.FADING_IN?this._startFadeOutTransition(t):t.state===_a.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=_a.VISIBLE,!i&&(!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=_a.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel)),t.element.remove()}_onMousedown(t){let n=_1(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Nue;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!y1(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===_a.VISIBLE||t.config.terminateOnPointerUp&&t.state===_a.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Ov.forEach(n=>tr._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(Rv.forEach(n=>t.removeEventListener(n,this,Tv)),this._pointerUpEventsRegistered=!1))}},tr._eventManager=new Rue,tr);function Mue(e,t,n){let i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),a=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+a*a)}var hf=new Z("mat-ripple-global-options"),Xd=(()=>{const t=class t{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,a,r,o,s){this._elementRef=i,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Pue(this,a,i,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Se(Se(Se({},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(i,a=0,r){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,a,Se(Se({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Se(Se({},this.rippleConfig),i))}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Pe),k(Mt),k(hf,8),k(Ti,8))},t.ɵdir=fe({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,a){i&2&&Te("mat-ripple-unbounded",a.unbounded)},inputs:{color:[R.None,"matRippleColor","color"],unbounded:[R.None,"matRippleUnbounded","unbounded"],centered:[R.None,"matRippleCentered","centered"],radius:[R.None,"matRippleRadius","radius"],animation:[R.None,"matRippleAnimation","animation"],disabled:[R.None,"matRippleDisabled","disabled"],trigger:[R.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let e=t;return e})(),pf=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,Yt]});let e=t;return e})(),Lue=(()=>{const t=class t{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.ɵfac=function(i){return new(i||t)(k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,a){i&2&&Te("mat-pseudo-checkbox-indeterminate",a.state==="indeterminate")("mat-pseudo-checkbox-checked",a.state==="checked")("mat-pseudo-checkbox-disabled",a.disabled)("mat-pseudo-checkbox-minimal",a.appearance==="minimal")("mat-pseudo-checkbox-full",a.appearance==="full")("_mat-animation-noopable",a._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[we],decls:0,vars:0,template:function(i,a){},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)}.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)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);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)}.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);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)}.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)}.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)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let e=t;return e})(),Fue=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt]});let e=t;return e})(),N1=new Z("MAT_OPTION_PARENT_COMPONENT"),P1=new Z("MatOptgroup"),Vue=0,zue=class{constructor(e,t=!1){this.source=e,this.isUserInput=t}},M1=(()=>{const t=class t{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(i){this._disabled=i}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(i,a,r,o){this._element=i,this._changeDetectorRef=a,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Vue++}`,this.onSelectionChange=new ae,this._stateChanges=new xe}get active(){return this._active}get viewValue(){var i;return(((i=this._text)==null?void 0:i.nativeElement.textContent)||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,a){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(a)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!Zi(i)&&(this._selectViaInteraction(),i.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 i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new zue(this,i))}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(N1,8),k(P1,8))},t.ɵcmp=ve({type:t,selectors:[["mat-option"]],viewQuery:function(i,a){if(i&1&&gt(gue,7),i&2){let r;be(r=_e())&&(a._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,a){i&1&&ye("click",function(){return a._selectViaInteraction()})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(Da("id",a.id),ke("aria-selected",a.selected)("aria-disabled",a.disabled.toString()),Te("mdc-list-item--selected",a.selected)("mat-mdc-option-multiple",a.multiple)("mat-mdc-option-active",a.active)("mdc-list-item--disabled",a.disabled))},inputs:{value:"value",id:"id",disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[dt,we],ngContentSelectors:bue,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-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,a){i&1&&(Pt(vue),z(0,_ue,1,2,"mat-pseudo-checkbox",1),Ae(1),D(2,"span",2,0),Ae(4,1),I(),z(5,yue,1,1,"mat-pseudo-checkbox",3)(6,xue,2,1,"span",4),te(7,"div",5)),i&2&&($(0,a.multiple?0:-1),C(5),$(5,!a.multiple&&a.selected&&!a.hideSingleSelectionIndicator?5:-1),C(),$(6,a.group&&a.group._inert?6:-1),C(),W("matRippleTrigger",a._getHostElement())("matRippleDisabled",a.disabled||a.disableRipple))},dependencies:[Lue,Xd],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.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)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.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)}.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}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let e=t;return e})();function Bue(e,t,n){if(n.length){let i=t.toArray(),a=n.toArray(),r=0;for(let o=0;o<e+1;o++)i[o].group&&i[o].group===a[r]&&r++;return r}return 0}function jue(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}var Nv=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[pf,Yt,Fue]});let e=t;return e})(),Pv={capture:!0},Mv=["focus","click","mouseenter","touchstart"],Zu="mat-ripple-loader-uninitialized",Qu="mat-ripple-loader-class-name",Lv="mat-ripple-loader-centered",Kl="mat-ripple-loader-disabled",L1=(()=>{const t=class t{constructor(){this._document=q(Ye,{optional:!0}),this._animationMode=q(Ti,{optional:!0}),this._globalRippleOptions=q(hf,{optional:!0}),this._platform=q(Mt),this._ngZone=q(Pe),this._hosts=new Map,this._onInteraction=i=>{if(!(i.target instanceof HTMLElement))return;let a=i.target.closest(`[${Zu}]`);a&&this._createRipple(a)},this._ngZone.runOutsideAngular(()=>{var i;for(let a of Mv)(i=this._document)==null||i.addEventListener(a,this._onInteraction,Pv)})}ngOnDestroy(){var a;let i=this._hosts.keys();for(let r of i)this.destroyRipple(r);for(let r of Mv)(a=this._document)==null||a.removeEventListener(r,this._onInteraction,Pv)}configureRipple(i,a){i.setAttribute(Zu,""),(a.className||!i.hasAttribute(Qu))&&i.setAttribute(Qu,a.className||""),a.centered&&i.setAttribute(Lv,""),a.disabled&&i.setAttribute(Kl,"")}getRipple(i){return this._hosts.get(i)||this._createRipple(i)}setDisabled(i,a){let r=this._hosts.get(i);if(r){r.disabled=a;return}a?i.setAttribute(Kl,""):i.removeAttribute(Kl)}_createRipple(i){var s;if(!this._document)return;let a=this._hosts.get(i);if(a)return a;(s=i.querySelector(".mat-ripple"))==null||s.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",i.getAttribute(Qu)),i.append(r);let o=new Xd(new Ce(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=i,o.centered=i.hasAttribute(Lv),o.disabled=i.hasAttribute(Kl),this.attachRipple(i,o),o}attachRipple(i,a){i.removeAttribute(Zu),this._hosts.set(i,a)}destroyRipple(i){let a=this._hosts.get(i);a&&(a.ngOnDestroy(),this._hosts.delete(i))}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),F1=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],V1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Hue='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);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, 0);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, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.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)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.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);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.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);background-color:var(--mdc-protected-button-disabled-container-color)}.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)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.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);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._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;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',mf=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",z1=["*"],Uue='.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.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)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Wue=new Z("MAT_BUTTON_CONFIG"),que=[{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"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ff=(()=>{const t=class t{get ripple(){var i;return(i=this._rippleLoader)==null?void 0:i.getRipple(this._elementRef.nativeElement)}set ripple(i){var a;(a=this._rippleLoader)==null||a.attachRipple(this._elementRef.nativeElement,i)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=i,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._updateRippleDisabled()}constructor(i,a,r,o){var u;this._elementRef=i,this._platform=a,this._ngZone=r,this._animationMode=o,this._focusMonitor=q(Ur),this._rippleLoader=q(L1),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=q(Wue,{optional:!0}),l=i.nativeElement,c=l.classList;this.disabledInteractive=(s==null?void 0:s.disabledInteractive)??!1,(u=this._rippleLoader)==null||u.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:p,mdcClasses:g}of que)l.hasAttribute(p)&&c.add(...g)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var i;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement)}focus(i="program",a){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,a):this._elementRef.nativeElement.focus(a)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var i;(i=this._rippleLoader)==null||i.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.ɵfac=function(i){zm()},t.ɵdir=fe({type:t,inputs:{color:"color",disableRipple:[R.HasDecoratorInputTransform,"disableRipple","disableRipple",ge],disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],ariaDisabled:[R.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",ge],disabledInteractive:[R.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",ge]},features:[dt]});let e=t;return e})(),B1=(()=>{const t=class t extends ff{constructor(i,a,r,o){super(i,a,r,o),this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};t.ɵfac=function(i){zm()},t.ɵdir=fe({type:t,inputs:{tabIndex:[R.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?void 0:sn(i)]},features:[dt,je]});let e=t;return e})(),Wr=(()=>{const t=class t extends ff{constructor(i,a,r,o){super(i,a,r,o)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Mt),k(Pe),k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,a){i&2&&(ke("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),ja(a.color?"mat-"+a.color:""),Te("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[je,we],ngContentSelectors:V1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,a){i&1&&(Pt(F1),te(0,"span",0),Ae(1),D(2,"span",1),Ae(3,1),I(),Ae(4,2),te(5,"span",2)(6,"span",3)),i&2&&Te("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);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, 0);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, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.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)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.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);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.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);background-color:var(--mdc-protected-button-disabled-container-color)}.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)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.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);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._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;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let e=t;return e})(),j1=(()=>{const t=class t extends B1{constructor(i,a,r,o){super(i,a,r,o)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Mt),k(Pe),k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,a){i&2&&(ke("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getDisabledAttribute()),ja(a.color?"mat-"+a.color:""),Te("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[je,we],ngContentSelectors:V1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,a){i&1&&(Pt(F1),te(0,"span",0),Ae(1),D(2,"span",1),Ae(3,1),I(),Ae(4,2),te(5,"span",2)(6,"span",3)),i&2&&Te("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[Hue,mf],encapsulation:2,changeDetection:0});let e=t;return e})(),Jd=(()=>{const t=class t extends ff{constructor(i,a,r,o){super(i,a,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Mt),k(Pe),k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,a){i&2&&(ke("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),ja(a.color?"mat-"+a.color:""),Te("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[je,we],ngContentSelectors:z1,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,a){i&1&&(Pt(),te(0,"span",0),Ae(1),te(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.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)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',mf],encapsulation:2,changeDetection:0});let e=t;return e})(),Yue=(()=>{const t=class t extends B1{constructor(i,a,r,o){super(i,a,r,o)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Mt),k(Pe),k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(i,a){i&2&&(ke("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getDisabledAttribute()),ja(a.color?"mat-"+a.color:""),Te("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[je,we],ngContentSelectors:z1,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,a){i&1&&(Pt(),te(0,"span",0),Ae(1),te(2,"span",1)(3,"span",2))},styles:[Uue,mf],encapsulation:2,changeDetection:0});let e=t;return e})(),ma=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,pf,Yt]});let e=t;return e})(),He=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}(He||{}),En="*";function aa(e,t){return{type:He.Trigger,name:e,definitions:t,options:{}}}function ai(e,t=null){return{type:He.Animate,styles:t,timings:e}}function Gue(e,t=null){return{type:He.Sequence,steps:e,options:t}}function qe(e){return{type:He.Style,styles:e,offset:null}}function Zt(e,t,n){return{type:He.State,name:e,styles:t,options:n}}function lo(e){return{type:He.Keyframes,steps:e}}function Qt(e,t,n=null){return{type:He.Transition,expr:e,animation:t,options:n}}function H1(e=null){return{type:He.AnimateChild,options:e}}function U1(e,t,n=null){return{type:He.Query,selector:e,animation:t,options:n}}var qs=class{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=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}},W1=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==a&&this._onFinish()}),r.onDestroy(()=>{++n==a&&this._onDestroy()}),r.onStart(()=>{++i==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,o)=>Math.max(r,o.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 i=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(i)})}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}},gf="!",eu=new Z("");function nr(e){return e==null||(typeof e=="string"||Array.isArray(e))&&e.length===0}function q1(e){return e!=null&&typeof e.length=="number"}var gl=new Z(""),Y1=new Z(""),$ue=/^(?=.{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])?)*$/,Xo=class{static min(e){return Kue(e)}static max(e){return Zue(e)}static required(e){return Que(e)}static requiredTrue(e){return Xue(e)}static email(e){return Jue(e)}static minLength(e){return ehe(e)}static maxLength(e){return the(e)}static pattern(e){return ihe(e)}static nullValidator(e){return G1()}static compose(e){return J1(e)}static composeAsync(e){return ew(e)}};function Kue(e){return t=>{if(nr(t.value)||nr(e))return null;let n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function Zue(e){return t=>{if(nr(t.value)||nr(e))return null;let n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function Que(e){return nr(e.value)?{required:!0}:null}function Xue(e){return e.value===!0?null:{required:!0}}function Jue(e){return nr(e.value)||$ue.test(e.value)?null:{email:!0}}function ehe(e){return t=>nr(t.value)||!q1(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function the(e){return t=>q1(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function ihe(e){if(!e)return G1;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),i=>{if(nr(i.value))return null;let a=i.value;return t.test(a)?null:{pattern:{requiredPattern:n,actualValue:a}}}}function G1(e){return null}function $1(e){return e!=null}function K1(e){return tf(e)?Rn(e):e}function Z1(e){let t={};return e.forEach(n=>{t=n!=null?Se(Se({},t),n):t}),Object.keys(t).length===0?null:t}function Q1(e,t){return t.map(n=>n(e))}function ahe(e){return!e.validate}function X1(e){return e.map(t=>ahe(t)?t:n=>t.validate(n))}function J1(e){if(!e)return null;let t=e.filter($1);return t.length==0?null:function(n){return Z1(Q1(n,t))}}function vf(e){return e!=null?J1(X1(e)):null}function ew(e){if(!e)return null;let t=e.filter($1);return t.length==0?null:function(n){let i=Q1(n,t).map(K1);return am(i).pipe(Dt(Z1))}}function bf(e){return e!=null?ew(X1(e)):null}function Fv(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tw(e){return e._rawValidators}function iw(e){return e._rawAsyncValidators}function gp(e){return e?Array.isArray(e)?e:[e]:[]}function Kc(e,t){return Array.isArray(e)?e.includes(t):e===t}function Vv(e,t){let n=gp(t);return gp(e).forEach(i=>{Kc(n,i)||n.push(i)}),n}function zv(e,t){return gp(t).filter(n=>!Kc(e,n))}var aw=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=vf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=bf(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}},vl=class extends aw{get formDirective(){return null}get path(){return null}},_f=class extends aw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},nhe={"[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"};ti(Se({},nhe),{"[class.ng-submitted]":"isSubmitted"});var ss="VALID",Zl="INVALID",Jr="PENDING",ls="DISABLED";function nw(e){return(tu(e)?e.validators:e)||null}function rhe(e){return Array.isArray(e)?vf(e):e||null}function rw(e,t){return(tu(t)?t.asyncValidators:e)||null}function ohe(e){return Array.isArray(e)?bf(e):e||null}function tu(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function she(e,t,n){let i=e.controls;if(!Object.keys(i).length)throw new ce(1e3,"");if(!i[n])throw new ce(1001,"")}function lhe(e,t,n){e._forEachChild((i,a)=>{if(n[a]===void 0)throw new ce(1002,"")})}var ow=class{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ss}get invalid(){return this.status===Zl}get pending(){return this.status==Jr}get disabled(){return this.status===ls}get enabled(){return this.status!==ls}get dirty(){return!this.pristine}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(Vv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Vv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(zv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(zv(e,this._rawAsyncValidators))}hasValidator(e){return Kc(this._rawValidators,e)}hasAsyncValidator(e){return Kc(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Jr,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=ls,this.errors=null,this._forEachChild(n=>{n.disable(ti(Se({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ti(Se({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=ss,this._forEachChild(n=>{n.enable(ti(Se({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ti(Se({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ss||this.status===Jr)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ls:ss}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Jr,this._hasOwnPendingAsyncValidator=!0;let t=K1(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,i)=>n&&n._find(i),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){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new ae,this.statusChanges=new ae}_calculateStatus(){return this._allControlsDisabled()?ls:this.errors?Zl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Jr)?Jr:this._anyControlsHaveStatus(Zl)?Zl:ss}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){tu(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=rhe(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=ohe(this._rawAsyncValidators)}},Bv=class extends ow{constructor(e,t,n){super(nw(t),rw(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){lhe(this,!0,e),Object.keys(e).forEach(n=>{she(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,n)=>n._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,n]of Object.entries(this.controls))if(this.contains(t)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,n,i)=>((n.enabled||this.disabled)&&(t[i]=n.value),t))}_reduceChildren(e,t){let n=e;return this._forEachChild((i,a)=>{n=t(n,i,a)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},sw=new Z("CallSetDisabledState",{providedIn:"root",factory:()=>lw}),lw="always";function vp(e,t,n=lw){var i,a;yf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&((a=(i=t.valueAccessor).setDisabledState)==null||a.call(i,e.disabled)),dhe(e,t),hhe(e,t),uhe(e,t),che(e,t)}function jv(e,t,n=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Qc(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Zc(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function che(e,t){if(t.valueAccessor.setDisabledState){let n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function yf(e,t){let n=tw(e);t.validator!==null?e.setValidators(Fv(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let i=iw(e);t.asyncValidator!==null?e.setAsyncValidators(Fv(i,t.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let a=()=>e.updateValueAndValidity();Zc(t._rawValidators,a),Zc(t._rawAsyncValidators,a)}function Qc(e,t){let n=!1;if(e!==null){if(t.validator!==null){let a=tw(e);if(Array.isArray(a)&&a.length>0){let r=a.filter(o=>o!==t.validator);r.length!==a.length&&(n=!0,e.setValidators(r))}}if(t.asyncValidator!==null){let a=iw(e);if(Array.isArray(a)&&a.length>0){let r=a.filter(o=>o!==t.asyncValidator);r.length!==a.length&&(n=!0,e.setAsyncValidators(r))}}}let i=()=>{};return Zc(t._rawValidators,i),Zc(t._rawAsyncValidators,i),n}function dhe(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&cw(e,t)})}function uhe(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&cw(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function cw(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function hhe(e,t){let n=(i,a)=>{t.valueAccessor.writeValue(i),a&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function dw(e,t){yf(e,t)}function phe(e,t){return Qc(e,t)}function uw(e,t){e._syncPendingControls(),t.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function mhe(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var fhe={provide:vl,useExisting:Nn(()=>Jo)},cs=Promise.resolve(),Jo=(()=>{const t=class t extends vl{constructor(i,a,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ae,this.form=new Bv({},vf(i),bf(a))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){cs.then(()=>{let a=this._findContainer(i.path);i.control=a.registerControl(i.name,i.control),vp(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){cs.then(()=>{let a=this._findContainer(i.path);a&&a.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){cs.then(()=>{let a=this._findContainer(i.path),r=new Bv({});dw(r,i),a.registerControl(i.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){cs.then(()=>{let a=this._findContainer(i.path);a&&a.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,a){cs.then(()=>{this.form.get(i.path).setValue(a)})}setValue(i){this.control.setValue(i)}onSubmit(i){var a;return this.submitted=!0,uw(this.form,this._directives),this.ngSubmit.emit(i),((a=i==null?void 0:i.target)==null?void 0:a.method)==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_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}};t.ɵfac=function(i){return new(i||t)(k(gl,10),k(Y1,10),k(sw,8))},t.ɵdir=fe({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,a){i&1&&ye("submit",function(r){return a.onSubmit(r)})("reset",function(){return a.onReset()})},inputs:{options:[R.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ht([fhe]),je]});let e=t;return e})();function Hv(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Uv(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var ghe=class extends ow{constructor(e=null,t,n){super(nw(t),rw(n,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(Uv(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Hv(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Hv(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Uv(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},vhe=e=>e instanceof ghe,bhe={provide:vl,useExisting:Nn(()=>es)},es=(()=>{const t=class t extends vl{constructor(i,a,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ae,this._setValidators(i),this._setAsyncValidators(a)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qc(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 a=this.form.get(i.path);return vp(a,i,this.callSetDisabledState),a.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),a}getControl(i){return this.form.get(i.path)}removeControl(i){jv(i.control||null,i,!1),mhe(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,a){this.form.get(i.path).setValue(a)}onSubmit(i){var a;return this.submitted=!0,uw(this.form,this.directives),this.ngSubmit.emit(i),((a=i==null?void 0:i.target)==null?void 0:a.method)==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let a=i.control,r=this.form.get(i.path);a!==r&&(jv(a||null,i),vhe(r)&&(vp(r,i,this.callSetDisabledState),i.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let a=this.form.get(i.path);dw(a,i),a.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let a=this.form.get(i.path);a&&phe(a,i)&&a.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yf(this.form,this),this._oldForm&&Qc(this._oldForm,this)}_checkFormPresent(){this.form}};t.ɵfac=function(i){return new(i||t)(k(gl,10),k(Y1,10),k(sw,8))},t.ɵdir=fe({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,a){i&1&&ye("submit",function(r){return a.onSubmit(r)})("reset",function(){return a.onReset()})},inputs:{form:[R.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ht([bhe]),je,Gt]});let e=t;return e})(),_he=class{constructor(e){this._box=e,this._destroyed=new xe,this._resizeSubject=new xe,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new At(t=>{var i;let n=this._resizeSubject.subscribe(t);return(i=this._resizeObserver)==null||i.observe(e,{box:this._box}),()=>{var a;(a=this._resizeObserver)==null||a.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ki(t=>t.some(n=>n.target===e)),Dh({bufferSize:1,refCount:!0}),ft(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},yhe=(()=>{const t=class t{constructor(){this._observers=new Map,this._ngZone=q(Pe)}ngOnDestroy(){for(let[,i]of this._observers)i.destroy();this._observers.clear()}observe(i,a){let r=(a==null?void 0:a.box)||"content-box";return this._observers.has(r)||this._observers.set(r,new _he(r)),this._observers.get(r).observe(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),xhe=["notch"],whe=["*"],khe=["textField"],Ehe=["iconPrefixContainer"],Che=["textPrefixContainer"],She=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Dhe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Ihe(e,t){e&1&&te(0,"span",17)}function Ahe(e,t){if(e&1&&(D(0,"label",16),Ae(1,1),z(2,Ihe,1,0,"span",17),I()),e&2){let n=V(2);W("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),ke("for",n._control.disableAutomaticLabeling?null:n._control.id),C(2),$(2,!n.hideRequiredMarker&&n._control.required?2:-1)}}function The(e,t){if(e&1&&z(0,Ahe,3,5,"label",16),e&2){let n=V();$(0,n._hasFloatingLabel()?0:-1)}}function Ohe(e,t){e&1&&te(0,"div",5)}function Rhe(e,t){}function Nhe(e,t){if(e&1&&z(0,Rhe,0,0,"ng-template",11),e&2){V(2);let n=Ha(1);W("ngTemplateOutlet",n)}}function Phe(e,t){if(e&1&&(D(0,"div",7),z(1,Nhe,1,1,null,11),I()),e&2){let n=V();W("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),C(),$(1,n._forceDisplayInfixLabel()?-1:1)}}function Mhe(e,t){e&1&&(D(0,"div",8,2),Ae(2,2),I())}function Lhe(e,t){e&1&&(D(0,"div",9,3),Ae(2,3),I())}function Fhe(e,t){}function Vhe(e,t){if(e&1&&z(0,Fhe,0,0,"ng-template",11),e&2){V();let n=Ha(1);W("ngTemplateOutlet",n)}}function zhe(e,t){e&1&&(D(0,"div",12),Ae(1,4),I())}function Bhe(e,t){e&1&&(D(0,"div",13),Ae(1,5),I())}function jhe(e,t){e&1&&te(0,"div",14)}function Hhe(e,t){if(e&1&&(D(0,"div",18),Ae(1,6),I()),e&2){let n=V();W("@transitionMessages",n._subscriptAnimationState)}}function Uhe(e,t){if(e&1&&(D(0,"mat-hint",20),P(1),I()),e&2){let n=V(2);W("id",n._hintLabelId),C(),pe(n.hintLabel)}}function Whe(e,t){if(e&1&&(D(0,"div",19),z(1,Uhe,2,2,"mat-hint",20),Ae(2,7),te(3,"div",21),Ae(4,8),I()),e&2){let n=V();W("@transitionMessages",n._subscriptAnimationState),C(),$(1,n.hintLabel?1:-1)}}var Wv=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,selectors:[["mat-label"]],standalone:!0});let e=t;return e})(),qhe=new Z("MatError"),Yhe=0,qv=(()=>{const t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${Yhe++}`}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,a){i&2&&(Da("id",a.id),ke("align",null),Te("mat-mdc-form-field-hint-end",a.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let e=t;return e})(),Ghe=new Z("MatPrefix"),$he=new Z("MatSuffix"),hw=new Z("FloatingLabelParent"),Yv=(()=>{const t=class t{get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(i){this._elementRef=i,this._floating=!1,this._monitorResize=!1,this._resizeObserver=q(yhe),this._ngZone=q(Pe),this._parent=q(hw),this._resizeSubscription=new nt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Khe(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())})}};t.ɵfac=function(i){return new(i||t)(k(Ce))},t.ɵdir=fe({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,a){i&2&&Te("mdc-floating-label--float-above",a.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let e=t;return e})();function Khe(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 i=n.scrollWidth;return n.remove(),i}var Gv="mdc-line-ripple--active",Ql="mdc-line-ripple--deactivating",$v=(()=>{const t=class t{constructor(i,a){this._elementRef=i,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,s=o.contains(Ql);r.propertyName==="opacity"&&s&&o.remove(Gv,Ql)},a.runOutsideAngular(()=>{i.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let i=this._elementRef.nativeElement.classList;i.remove(Ql),i.add(Gv)}deactivate(){this._elementRef.nativeElement.classList.add(Ql)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Pe))},t.ɵdir=fe({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let e=t;return e})(),Kv=(()=>{const t=class t{constructor(i,a){this._elementRef=i,this._ngZone=a,this.open=!1}ngAfterViewInit(){let i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){!this.open||!i?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Pe))},t.ɵcmp=ve({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,a){if(i&1&&gt(xhe,5),i&2){let r;be(r=_e())&&(a._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,a){i&2&&Te("mdc-notched-outline--notched",a.open)},inputs:{open:[R.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[we],ngContentSelectors:whe,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,a){i&1&&(Pt(),te(0,"div",1),D(1,"div",2,0),Ae(3),I(),te(4,"div",3))},encapsulation:2,changeDetection:0});let e=t;return e})(),Zhe={transitionMessages:aa("transitionMessages",[Zt("enter",qe({opacity:1,transform:"translateY(0%)"})),Qt("void => enter",[qe({opacity:0,transform:"translateY(-5px)"}),ai("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},iu=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t});let e=t;return e})(),bl=new Z("MatFormField"),Qhe=new Z("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Zv=0,Qv="fill",Xhe="auto",Xv="fixed",Jhe="translateY(-50%)",pw=(()=>{const t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=fo(i)}get floatLabel(){var i;return this._floatLabel||((i=this._defaults)==null?void 0:i.floatLabel)||Xhe}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){var o;let a=this._appearance,r=i||((o=this._defaults)==null?void 0:o.appearance)||Qv;this._appearance=r,this._appearance==="outline"&&this._appearance!==a&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){var i;return this._subscriptSizing||((i=this._defaults)==null?void 0:i.subscriptSizing)||Xv}set subscriptSizing(i){var a;this._subscriptSizing=i||((a=this._defaults)==null?void 0:a.subscriptSizing)||Xv}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}constructor(i,a,r,o,s,l,c,u){this._elementRef=i,this._changeDetectorRef=a,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Qv,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Zv++}`,this._hintLabelId=`mat-mdc-hint-${Zv++}`,this._subscriptAnimationState="",this._destroyed=new xe,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!(l!=null&&l.hideRequiredMarker),l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${i.controlType}`),i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe(ft(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),mi(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 i,a,r;this._control.focused&&!this._isFocused?(this._isFocused=!0,(i=this._lineRipple)==null||i.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,(a=this._lineRipple)==null||a.deactivate()),(r=this._textField)==null||r.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ft(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ft(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(i){let a=this._control?this._control.ngControl:null;return a&&a[i]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var i,a;!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?(i=this._notchedOutline)==null||i._setNotchWidth(0):(a=this._notchedOutline)==null||a._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&i.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let a=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;a?i.push(a.id):this._hintLabel&&i.push(this._hintLabelId),r&&i.push(r.id)}else this._errorChildren&&i.push(...this._errorChildren.map(a=>a.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){var p,g;if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let i=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){i.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let a=(p=this._iconPrefixContainer)==null?void 0:p.nativeElement,r=(g=this._textPrefixContainer)==null?void 0:g.nativeElement,o=(a==null?void 0:a.getBoundingClientRect().width)??0,s=(r==null?void 0:r.getBoundingClientRect().width)??0,l=this._dir.value==="rtl"?"-1":"1",c=`${o+s}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;i.style.transform=`var(
19
- --mat-mdc-form-field-label-transform,
20
- ${Jhe} translateX(${u})
21
- )`}_isAttachedToDom(){let i=this._elementRef.nativeElement;if(i.getRootNode){let a=i.getRootNode();return a&&a!==i}return document.documentElement.contains(i)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(Pe),k(Pi),k(Mt),k(Qhe,8),k(Ti,8),k(Ye))},t.ɵcmp=ve({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,a,r){if(i&1&&(lt(r,Wv,5),lt(r,Wv,7),lt(r,iu,5),lt(r,Ghe,5),lt(r,$he,5),lt(r,qhe,5),lt(r,qv,5)),i&2){let o;be(o=_e())&&(a._labelChildNonStatic=o.first),be(o=_e())&&(a._labelChildStatic=o.first),be(o=_e())&&(a._formFieldControl=o.first),be(o=_e())&&(a._prefixChildren=o),be(o=_e())&&(a._suffixChildren=o),be(o=_e())&&(a._errorChildren=o),be(o=_e())&&(a._hintChildren=o)}},viewQuery:function(i,a){if(i&1&&(gt(khe,5),gt(Ehe,5),gt(Che,5),gt(Yv,5),gt(Kv,5),gt($v,5)),i&2){let r;be(r=_e())&&(a._textField=r.first),be(r=_e())&&(a._iconPrefixContainer=r.first),be(r=_e())&&(a._textPrefixContainer=r.first),be(r=_e())&&(a._floatingLabel=r.first),be(r=_e())&&(a._notchedOutline=r.first),be(r=_e())&&(a._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,a){i&2&&Te("mat-mdc-form-field-label-always-float",a._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",a._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",a._hasIconSuffix)("mat-form-field-invalid",a._control.errorState)("mat-form-field-disabled",a._control.disabled)("mat-form-field-autofilled",a._control.autofilled)("mat-form-field-no-animations",a._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",a.appearance=="fill")("mat-form-field-appearance-outline",a.appearance=="outline")("mat-form-field-hide-placeholder",a._hasFloatingLabel()&&!a._shouldLabelFloat())("mat-focused",a._control.focused)("mat-primary",a.color!=="accent"&&a.color!=="warn")("mat-accent",a.color==="accent")("mat-warn",a.color==="warn")("ng-untouched",a._shouldForward("untouched"))("ng-touched",a._shouldForward("touched"))("ng-pristine",a._shouldForward("pristine"))("ng-dirty",a._shouldForward("dirty"))("ng-valid",a._shouldForward("valid"))("ng-invalid",a._shouldForward("invalid"))("ng-pending",a._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ht([{provide:bl,useExisting:t},{provide:hw,useExisting:t}]),we],ngContentSelectors:Dhe,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[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"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,a){if(i&1){let r=Nt();Pt(She),z(0,The,1,1,"ng-template",null,0,Gx),D(2,"div",4,1),ye("click",function(o){return Oe(r),Re(a._control.onContainerClick(o))}),z(4,Ohe,1,0,"div",5),D(5,"div",6),z(6,Phe,2,2,"div",7)(7,Mhe,3,0,"div",8)(8,Lhe,3,0,"div",9),D(9,"div",10),z(10,Vhe,1,1,null,11),Ae(11),I(),z(12,zhe,2,0,"div",12)(13,Bhe,2,0,"div",13),I(),z(14,jhe,1,0,"div",14),I(),D(15,"div",15),z(16,Hhe,2,1)(17,Whe,5,2),I()}if(i&2){let r;C(2),Te("mdc-text-field--filled",!a._hasOutline())("mdc-text-field--outlined",a._hasOutline())("mdc-text-field--no-label",!a._hasFloatingLabel())("mdc-text-field--disabled",a._control.disabled)("mdc-text-field--invalid",a._control.errorState),C(2),$(4,!a._hasOutline()&&!a._control.disabled?4:-1),C(2),$(6,a._hasOutline()?6:-1),C(),$(7,a._hasIconPrefix?7:-1),C(),$(8,a._hasTextPrefix?8:-1),C(2),$(10,!a._hasOutline()||a._forceDisplayInfixLabel()?10:-1),C(2),$(12,a._hasTextSuffix?12:-1),C(),$(13,a._hasIconSuffix?13:-1),C(),$(14,a._hasOutline()?-1:14),C(),Te("mat-mdc-form-field-subscript-dynamic-size",a.subscriptSizing==="dynamic"),C(),$(16,(r=a._getDisplayedMessages())==="error"?16:r==="hint"?17:-1)}},dependencies:[Yv,Kv,o1,$v,qv],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-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-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.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:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.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)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.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)}.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)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.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)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.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:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.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)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.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);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.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);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/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) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.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);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-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)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-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)}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)}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)}.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)}[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)}.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)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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)}.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)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.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)}.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)}.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 .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Zhe.transitionMessages]},changeDetection:0});let e=t;return e})(),Ys=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,fl,p1,Yt]});let e=t;return e})(),Jv=Vn({passive:!0}),epe=(()=>{const t=class t{constructor(i,a){this._platform=i,this._ngZone=a,this._monitoredElements=new Map}monitor(i){if(!this._platform.isBrowser)return il;let a=In(i),r=this._monitoredElements.get(a);if(r)return r.subject;let o=new xe,s="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!a.classList.contains(s)?(a.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(s)&&(a.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{a.addEventListener("animationstart",l,Jv),a.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(a,{subject:o,unlisten:()=>{a.removeEventListener("animationstart",l,Jv)}}),o}stopMonitoring(i){let a=In(i),r=this._monitoredElements.get(a);r&&(r.unlisten(),r.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}ngOnDestroy(){this._monitoredElements.forEach((i,a)=>this.stopMonitoring(a))}};t.ɵfac=function(i){return new(i||t)(F(Mt),F(Pe))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),tpe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({});let e=t;return e})(),mw=new Z("MAT_INPUT_VALUE_ACCESSOR"),ipe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ape=0,npe=(()=>{const t=class t{get disabled(){return this._disabled}set disabled(i){this._disabled=fo(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(Xo.required))??!1}set required(i){this._required=fo(i)}get type(){return this._type}set type(i){this._type=i||"text",this._validateType(),!this._isTextarea&&mv().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._inputValueAccessor.value}set value(i){i!==this.value&&(this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=fo(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}constructor(i,a,r,o,s,l,c,u,p,g){this._elementRef=i,this._platform=a,this.ngControl=r,this._autofillMonitor=u,this._formField=g,this._uid=`mat-input-${ape++}`,this.focused=!1,this.stateChanges=new xe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(y=>mv().has(y)),this._iOSKeyupListener=y=>{let E=y.target;!E.value&&E.selectionStart===0&&E.selectionEnd===0&&(E.setSelectionRange(1,1),E.setSelectionRange(0,0))};let b=this._elementRef.nativeElement,x=b.nodeName.toLowerCase();this._inputValueAccessor=c||b,this._previousNativeValue=this.value,this.id=this.id,a.IOS&&p.runOutsideAngular(()=>{i.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new uf(l,r,s,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=x==="select",this._isTextarea=x==="textarea",this._isInFormField=!!g,this._isNativeSelect&&(this.controlType=b.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){i!==this.focused&&(this.focused=i,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let a=this._elementRef.nativeElement;this._previousPlaceholder=i,i?a.setAttribute("placeholder",i):a.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ipe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,a=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&a&&a.label)}else return this.focused||!this.empty}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Mt),k(_f,10),k(Jo,8),k(es,8),k(Qo),k(mw,10),k(epe),k(Pe),k(bl,8))},t.ɵdir=fe({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,a){i&1&&ye("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),i&2&&(Da("id",a.id)("disabled",a.disabled)("required",a.required),ke("name",a.name||null)("readonly",a.readonly&&!a._isNativeSelect||null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),Te("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[R.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[ht([{provide:iu,useExisting:t}]),Gt]});let e=t;return e})(),rpe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,Ys,Ys,tpe,Yt]});let e=t;return e})();function ope(e,t){if(e&1&&(D(0,"tr",0)(1,"td",3),P(2),I()()),e&2){let n=V();C(),Fn("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),ke("colspan",n.numCols),C(),ue(" ",n.label," ")}}function spe(e,t){if(e&1&&(D(0,"td",3),P(1),I()),e&2){let n=V(2);Fn("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),ke("colspan",n._firstRowOffset),C(),ue(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function lpe(e,t){if(e&1){let n=Nt();D(0,"td",6)(1,"button",7),ye("click",function(i){let a=Oe(n).$implicit,r=V(2);return Re(r._cellClicked(a,i))})("focus",function(i){let a=Oe(n).$implicit,r=V(2);return Re(r._emitActiveDateChange(a,i))}),D(2,"span",8),P(3),I(),te(4,"span",9),I()()}if(e&2){let n=t.$implicit,i=t.$index,a=V().$index,r=V();Fn("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ke("data-mat-row",a)("data-mat-col",i),C(),Te("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(a,i))("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,a,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,a,i))("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)),W("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),ke("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(),Te("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(),ue(" ",n.displayValue," ")}}function cpe(e,t){if(e&1&&(D(0,"tr",1),z(1,spe,2,6,"td",4),Ui(2,lpe,5,48,"td",5,Xi),I()),e&2){let n=t.$implicit,i=t.$index,a=V();C(),$(1,i===0&&a._firstRowOffset?1:-1),C(),Wi(n)}}function dpe(e,t){if(e&1&&(D(0,"th",2)(1,"span",6),P(2),I(),D(3,"span",3),P(4),I()()),e&2){let n=t.$implicit;C(2),pe(n.long),C(2),pe(n.narrow)}}var upe=["*"];function hpe(e,t){}function ppe(e,t){if(e&1){let n=Nt();D(0,"mat-month-view",2),Go("activeDateChange",function(i){Oe(n);let a=V();return pl(a.activeDate,i)||(a.activeDate=i),Re(i)}),ye("_userSelection",function(i){Oe(n);let a=V();return Re(a._dateSelected(i))})("dragStarted",function(i){Oe(n);let a=V();return Re(a._dragStarted(i))})("dragEnded",function(i){Oe(n);let a=V();return Re(a._dragEnded(i))}),I()}if(e&2){let n=V();Yo("activeDate",n.activeDate),W("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 mpe(e,t){if(e&1){let n=Nt();D(0,"mat-year-view",3),Go("activeDateChange",function(i){Oe(n);let a=V();return pl(a.activeDate,i)||(a.activeDate=i),Re(i)}),ye("monthSelected",function(i){Oe(n);let a=V();return Re(a._monthSelectedInYearView(i))})("selectedChange",function(i){Oe(n);let a=V();return Re(a._goToDateInView(i,"month"))}),I()}if(e&2){let n=V();Yo("activeDate",n.activeDate),W("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function fpe(e,t){if(e&1){let n=Nt();D(0,"mat-multi-year-view",4),Go("activeDateChange",function(i){Oe(n);let a=V();return pl(a.activeDate,i)||(a.activeDate=i),Re(i)}),ye("yearSelected",function(i){Oe(n);let a=V();return Re(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){Oe(n);let a=V();return Re(a._goToDateInView(i,"year"))}),I()}if(e&2){let n=V();Yo("activeDate",n.activeDate),W("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function gpe(e,t){}var vpe=["button"],bpe=[[["","matDatepickerToggleIcon",""]]],_pe=["[matDatepickerToggleIcon]"];function ype(e,t){e&1&&(cl(),D(0,"svg",2),te(1,"path",3),I())}var xpe=[[["input","matStartDate",""]],[["input","matEndDate",""]]],wpe=["input[matStartDate]","input[matEndDate]"],_l=(()=>{const t=class t{constructor(){this.changes=new xe,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),xf=class{constructor(e,t,n,i,a={},r=e,o){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=o}},kpe=1,eb=Vn({passive:!1,capture:!0}),Un=Vn({passive:!0,capture:!0}),Xl=Vn({passive:!0}),Oo=(()=>{const t=class t{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(i,a){this._elementRef=i,this._ngZone=a,this._platform=q(Mt),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new ae,this.previewChange=new ae,this.activeDateChange=new ae,this.dragStarted=new ae,this.dragEnded=new ae,this._didDragSinceMouseDown=!1,this._enterHandler=r=>{if(this._skipNextFocus&&r.type==="focus"){this._skipNextFocus=!1;return}if(r.target&&this.isRange){let o=this._getCellFromElement(r.target);o&&this._ngZone.run(()=>this.previewChange.emit({value:o.enabled?o:null,event:r}))}},this._touchmoveHandler=r=>{if(!this.isRange)return;let o=tb(r),s=o?this._getCellFromElement(o):null;o!==r.target&&(this._didDragSinceMouseDown=!0),Ju(r.target)&&r.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:s!=null&&s.enabled?s:null,event:r}))},this._leaveHandler=r=>{this.previewEnd!==null&&this.isRange&&(r.type!=="blur"&&(this._didDragSinceMouseDown=!0),r.target&&this._getCellFromElement(r.target)&&!(r.relatedTarget&&this._getCellFromElement(r.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:r})))},this._mousedownHandler=r=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let o=r.target&&this._getCellFromElement(r.target);!o||!this._isInRange(o.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:o.rawValue,event:r})})},this._mouseupHandler=r=>{if(!this.isRange)return;let o=Ju(r.target);if(!o){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:r})});return}o.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let s=this._getCellFromElement(o);this.dragEnded.emit({value:(s==null?void 0:s.rawValue)??null,event:r})})},this._touchendHandler=r=>{let o=tb(r);o&&this._mouseupHandler({target:o})},this._id=`mat-calendar-body-${kpe++}`,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,a.runOutsideAngular(()=>{let r=i.nativeElement;r.addEventListener("touchmove",this._touchmoveHandler,eb),r.addEventListener("mouseenter",this._enterHandler,Un),r.addEventListener("focus",this._enterHandler,Un),r.addEventListener("mouseleave",this._leaveHandler,Un),r.addEventListener("blur",this._leaveHandler,Un),r.addEventListener("mousedown",this._mousedownHandler,Xl),r.addEventListener("touchstart",this._mousedownHandler,Xl),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(i,a){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:a})}_emitActiveDateChange(i,a){i.enabled&&this.activeDateChange.emit({value:i.value,event:a})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){let a=i.numCols,{rows:r,numCols:o}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){let i=this._elementRef.nativeElement;i.removeEventListener("touchmove",this._touchmoveHandler,eb),i.removeEventListener("mouseenter",this._enterHandler,Un),i.removeEventListener("focus",this._enterHandler,Un),i.removeEventListener("mouseleave",this._leaveHandler,Un),i.removeEventListener("blur",this._leaveHandler,Un),i.removeEventListener("mousedown",this._mousedownHandler,Xl),i.removeEventListener("touchstart",this._mousedownHandler,Xl),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(i,a){let r=i*this.numCols+a;return i&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(i=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(pi(1)).subscribe(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(i||(this._skipNextFocus=!0),a.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return eh(i,this.startValue,this.endValue)}_isRangeEnd(i){return th(i,this.startValue,this.endValue)}_isInRange(i){return ih(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return eh(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let o=this.rows[a][r-1];if(!o){let s=this.rows[a-1];o=s&&s[s.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let o=this.rows[a][r+1];if(!o){let s=this.rows[a+1];o=s&&s[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(i){return th(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return ih(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return eh(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return th(i,this.previewStart,this.previewEnd)}_isInPreview(i){return ih(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){return this.isRange?this.startValue===i&&this.endValue===i?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===i?this._startDateLabelId:this.endValue===i?this._endDateLabelId:null:null}_getCellFromElement(i){let a=Ju(i);if(a){let r=a.getAttribute("data-mat-row"),o=a.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)][parseInt(o)]}return null}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Pe))},t.ɵcmp=ve({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"],standalone:!0,features:[Gt,we],decls:7,vars:5,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(i,a){i&1&&(z(0,ope,3,6,"tr",0),Ui(1,cpe,4,1,"tr",1,Xi),D(3,"label",2),P(4),I(),D(5,"label",2),P(6),I()),i&2&&($(0,a._firstRowOffset<a.labelMinRequiredCells?0:-1),C(),Wi(a.rows),C(2),W("id",a._startDateLabelId),C(),ue(" ",a.startDateAccessibleName,`
22
- `),C(),W("id",a._endDateLabelId),C(),ue(" ",a.endDateAccessibleName,`
23
- `))},dependencies:[$d],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)}.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);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.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)}.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)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-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)}@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)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.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)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.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) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 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) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 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)}.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)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0});let e=t;return e})();function Xu(e){return(e==null?void 0:e.nodeName)==="TD"}function Ju(e){var n;let t;return Xu(e)?t=e:Xu(e.parentNode)?t=e.parentNode:Xu((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 eh(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function th(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function ih(e,t,n,i){return i&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function tb(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var Ci=class{constructor(e,t){this.start=e,this.end=t}},rr=(()=>{const t=class t{constructor(i,a){this.selection=i,this._adapter=a,this._selectionChanged=new xe,this.selectionChanged=this._selectionChanged,this.selection=i}updateSelection(i,a){let r=this.selection;this.selection=i,this._selectionChanged.next({selection:i,source:a,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(i){return this._adapter.isDateInstance(i)&&this._adapter.isValid(i)}};t.ɵfac=function(i){zm()},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),Epe=(()=>{const t=class t extends rr{constructor(i){super(null,i)}add(i){super.updateSelection(i,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let i=new t(this._adapter);return i.updateSelection(this.selection,this),i}};t.ɵfac=function(i){return new(i||t)(F(Jt))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),Cpe=(()=>{const t=class t extends rr{constructor(i){super(new Ci(null,null),i)}add(i){let{start:a,end:r}=this.selection;a==null?a=i:r==null?r=i:(a=i,r=null),super.updateSelection(new Ci(a,r),this)}isValid(){let{start:i,end:a}=this.selection;return i==null&&a==null?!0:i!=null&&a!=null?this._isValidDateInstance(i)&&this._isValidDateInstance(a)&&this._adapter.compareDate(i,a)<=0:(i==null||this._isValidDateInstance(i))&&(a==null||this._isValidDateInstance(a))}isComplete(){return this.selection.start!=null&&this.selection.end!=null}clone(){let i=new t(this._adapter);return i.updateSelection(this.selection,this),i}};t.ɵfac=function(i){return new(i||t)(F(Jt))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function Spe(e,t){return e||new Epe(t)}var fw={provide:rr,deps:[[new Fo,new Vo,rr],Jt],useFactory:Spe};function Dpe(e,t){return e||new Cpe(t)}var Ipe={provide:rr,deps:[[new Fo,new Vo,rr],Jt],useFactory:Dpe},Gs=new Z("MAT_DATE_RANGE_SELECTION_STRATEGY"),Ape=(()=>{const t=class t{constructor(i){this._dateAdapter=i}selectionFinished(i,a){let{start:r,end:o}=a;return r==null?r=i:o==null&&i&&this._dateAdapter.compareDate(i,r)>=0?o=i:(r=i,o=null),new Ci(r,o)}createPreview(i,a){let r=null,o=null;return a.start&&!a.end&&i&&(r=a.start,o=i),new Ci(r,o)}createDrag(i,a,r){let o=a.start,s=a.end;if(!o||!s)return null;let l=this._dateAdapter,c=l.compareDate(o,s)!==0,u=l.getYear(r)-l.getYear(i),p=l.getMonth(r)-l.getMonth(i),g=l.getDate(r)-l.getDate(i);return c&&l.sameDate(i,a.start)?(o=r,l.compareDate(r,s)>0&&(s=l.addCalendarYears(s,u),s=l.addCalendarMonths(s,p),s=l.addCalendarDays(s,g))):c&&l.sameDate(i,a.end)?(s=r,l.compareDate(r,o)<0&&(o=l.addCalendarYears(o,u),o=l.addCalendarMonths(o,p),o=l.addCalendarDays(o,g))):(o=l.addCalendarYears(o,u),o=l.addCalendarMonths(o,p),o=l.addCalendarDays(o,g),s=l.addCalendarYears(s,u),s=l.addCalendarMonths(s,p),s=l.addCalendarDays(s,g)),new Ci(o,s)}};t.ɵfac=function(i){return new(i||t)(F(Jt))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function Tpe(e,t){return e||new Ape(t)}var Ope={provide:Gs,deps:[[new Fo,new Vo,Gs],Jt],useFactory:Tpe},ah=7,ib=(()=>{const t=class t{get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Ci?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,a,r,o,s){this._changeDetectorRef=i,this._dateFormats=a,this._dateAdapter=r,this._dir=o,this._rangeStrategy=s,this._rerenderSubscription=nt.EMPTY,this.activeDrag=null,this.selectedChange=new ae,this._userSelection=new ae,this.dragStarted=new ae,this.dragEnded=new ae,this.activeDateChange=new ae,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ei(null)).subscribe(()=>this._init())}ngOnChanges(i){let a=i.comparisonStart||i.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected),i.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(i){let a=i.value,r=this._getDateFromDayOfMonth(a),o,s;this._selected instanceof Ci?(o=this._getDateInCurrentMonth(this._selected.start),s=this._getDateInCurrentMonth(this._selected.end)):o=s=this._getDateInCurrentMonth(this._selected),(o!==a||s!==a)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:i.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.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=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=i.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)&&i.preventDefault();return;case 27:this._previewEnd!=null&&!Zi(i)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:i}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:i})),i.preventDefault(),i.stopPropagation());return;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:i}),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 i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(ah+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%ah,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:a}){var r,o;if(this._rangeStrategy){let s=a?a.rawValue:null,l=this._rangeStrategy.createPreview(s,this.selected,i);if(this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this.activeDrag&&s){let c=(o=(r=this._rangeStrategy).createDrag)==null?void 0:o.call(r,this.activeDrag.value,this.selected,s,i);c&&(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(i){var a,r;if(this.activeDrag)if(i.value){let o=(r=(a=this._rangeStrategy)==null?void 0:a.createDrag)==null?void 0:r.call(a,this.activeDrag.value,this.selected,i.value,i.event);this.dragEnded.emit({value:o??null,event:i.event})}else this.dragEnded.emit({value:null,event:i.event})}_getDateFromDayOfMonth(i){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i)}_initWeekdays(){let i=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((o,s)=>({long:o,narrow:a[s]}));this._weekdays=r.slice(i).concat(r.slice(0,i))}_createWeekCells(){let i=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,o=this._firstWeekOffset;r<i;r++,o++){o==ah&&(this._weeks.push([]),o=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),l=this._shouldEnableDate(s),c=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(s,"month"):void 0;this._weeks[this._weeks.length-1].push(new xf(r+1,a[r],c,l,u,this._getCellCompareValue(s),s))}}_shouldEnableDate(i){return!!i&&(!this.minDate||this._dateAdapter.compareDate(i,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(i,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(i))}_getDateInCurrentMonth(i){return i&&this._hasSameMonthAndYear(i,this.activeDate)?this._dateAdapter.getDate(i):null}_hasSameMonthAndYear(i,a){return!!(i&&a&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a)&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a))}_getCellCompareValue(i){if(i){let a=this._dateAdapter.getYear(i),r=this._dateAdapter.getMonth(i),o=this._dateAdapter.getDate(i);return new Date(a,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(i){i instanceof Ci?(this._rangeStart=this._getCellCompareValue(i.start),this._rangeEnd=this._getCellCompareValue(i.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(i),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(i){return!this.dateFilter||this.dateFilter(i)}_clearPreview(){this._previewStart=this._previewEnd=null}};t.ɵfac=function(i){return new(i||t)(k(St),k(Ya,8),k(Jt,8),k(Pi,8),k(Gs,8))},t.ɵcmp=ve({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,a){if(i&1&&gt(Oo,5),i&2){let r;be(r=_e())&&(a._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"],standalone:!0,features:[Gt,we],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(i,a){i&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),Ui(3,dpe,5,2,"th",2,Xi),I(),D(5,"tr",3),te(6,"th",4),I()(),D(7,"tbody",5),ye("selectedValueChange",function(r){return a._dateSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("previewChange",function(r){return a._previewChanged(r)})("dragStarted",function(r){return a.dragStarted.emit(r)})("dragEnded",function(r){return a._dragEnded(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),I()()),i&2&&(C(3),Wi(a._weekdays),C(4),W("label",a._monthLabel)("rows",a._weeks)("todayValue",a._todayDate)("startValue",a._rangeStart)("endValue",a._rangeEnd)("comparisonStart",a._comparisonRangeStart)("comparisonEnd",a._comparisonRangeEnd)("previewStart",a._previewStart)("previewEnd",a._previewEnd)("isRange",a._isRange)("labelMinRequiredCells",3)("activeCell",a._dateAdapter.getDate(a.activeDate)-1)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName))},dependencies:[Oo],encapsulation:2,changeDetection:0});let e=t;return e})(),an=24,ab=4,nb=(()=>{const t=class t{get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),gw(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Ci?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedYear(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,a,r){this._changeDetectorRef=i,this._dateAdapter=a,this._dir=r,this._rerenderSubscription=nt.EMPTY,this.selectedChange=new ae,this.yearSelected=new ae,this.activeDateChange=new ae,this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ei(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-ms(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,r=[];a<an;a++)r.push(i+a),r.length==ab&&(this._years.push(r.map(o=>this._createCellForYear(o))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){let a=i.value,r=this._dateAdapter.createDate(a,0,1),o=this._getDateFromYear(a);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromYear(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.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,ab);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ms(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,an-ms(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-24*10:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?an*10:an);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_getActiveCell(){return ms(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(i){let a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(i,a,1));return this._dateAdapter.createDate(i,a,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(i){let a=this._dateAdapter.createDate(i,0,1),r=this._dateAdapter.getYearName(a),o=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new xf(i,r,r,this._shouldEnableYear(i),o)}_shouldEnableYear(i){if(i==null||this.maxDate&&i>this._dateAdapter.getYear(this.maxDate)||this.minDate&&i<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let a=this._dateAdapter.createDate(i,0,1);for(let r=a;this._dateAdapter.getYear(r)==i;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(i){if(this._selectedYear=null,i instanceof Ci){let a=i.start||i.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else i&&(this._selectedYear=this._dateAdapter.getYear(i))}};t.ɵfac=function(i){return new(i||t)(k(St),k(Jt,8),k(Pi,8))},t.ɵcmp=ve({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,a){if(i&1&&gt(Oo,5),i&2){let r;be(r=_e())&&(a._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"],standalone:!0,features:[we],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(i,a){i&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),te(3,"th",2),I()(),D(4,"tbody",3),ye("selectedValueChange",function(r){return a._yearSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),I()()),i&2&&(C(4),W("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[Oo],encapsulation:2,changeDetection:0});let e=t;return e})();function gw(e,t,n,i,a){let r=e.getYear(t),o=e.getYear(n),s=vw(e,i,a);return Math.floor((r-s)/an)===Math.floor((o-s)/an)}function ms(e,t,n,i){let a=e.getYear(t);return Rpe(a-vw(e,n,i),an)}function vw(e,t,n){let i=0;return n?i=e.getYear(n)-an+1:t&&(i=e.getYear(t)),i}function Rpe(e,t){return(e%t+t)%t}var rb=(()=>{const t=class t{get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(i){i instanceof Ci?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedMonth(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,a,r,o){this._changeDetectorRef=i,this._dateFormats=a,this._dateAdapter=r,this._dir=o,this._rerenderSubscription=nt.EMPTY,this.selectedChange=new ae,this.monthSelected=new ae,this.activeDateChange=new ae,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ei(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(i){let a=i.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(r);let o=this._getDateFromMonth(a);this.selectedChange.emit(o)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.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,i.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let i=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(a=>a.map(r=>this._createCellForMonth(r,i[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(i){return i&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(i):null}_getDateFromMonth(i){let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),r=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(i,a){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(r,"year"):void 0;return new xf(i,a.toLocaleUpperCase(),o,this._shouldEnableMonth(i),s)}_shouldEnableMonth(i){let a=this._dateAdapter.getYear(this.activeDate);if(i==null||this._isYearAndMonthAfterMaxDate(a,i)||this._isYearAndMonthBeforeMinDate(a,i))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(a,i,1);for(let o=r;this._dateAdapter.getMonth(o)==i;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(i,a){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return i>r||i===r&&a>o}return!1}_isYearAndMonthBeforeMinDate(i,a){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return i<r||i===r&&a<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(i){i instanceof Ci?this._selectedMonth=this._getMonthInCurrentYear(i.start)||this._getMonthInCurrentYear(i.end):this._selectedMonth=this._getMonthInCurrentYear(i)}};t.ɵfac=function(i){return new(i||t)(k(St),k(Ya,8),k(Jt,8),k(Pi,8))},t.ɵcmp=ve({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,a){if(i&1&&gt(Oo,5),i&2){let r;be(r=_e())&&(a._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"],standalone:!0,features:[we],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(i,a){i&1&&(D(0,"table",0)(1,"thead",1)(2,"tr"),te(3,"th",2),I()(),D(4,"tbody",3),ye("selectedValueChange",function(r){return a._monthSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),I()()),i&2&&(C(4),W("label",a._yearLabel)("rows",a._months)("todayValue",a._todayMonth)("startValue",a._selectedMonth)("endValue",a._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._dateAdapter.getMonth(a.activeDate)))},dependencies:[Oo],encapsulation:2,changeDetection:0});let e=t;return e})(),Npe=1,bw=(()=>{const t=class t{constructor(i,a,r,o,s){this._intl=i,this.calendar=a,this._dateAdapter=r,this._dateFormats=o,this._id=`mat-calendar-header-${Npe++}`,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>s.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:an)}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(i,a){return this.calendar.currentView=="month"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a):this.calendar.currentView=="year"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a):gw(this._dateAdapter,i,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-ms(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+an-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return[r,o]}};t.ɵfac=function(i){return new(i||t)(k(_l),k(Nn(()=>bp)),k(Jt,8),k(Ya,8),k(St))},t.ɵcmp=ve({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[we],ngContentSelectors:upe,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(i,a){i&1&&(Pt(),D(0,"div",0)(1,"div",1)(2,"label",2),P(3),I(),D(4,"button",3),ye("click",function(){return a.currentPeriodClicked()}),D(5,"span",4),P(6),I(),cl(),D(7,"svg",5),te(8,"polygon",6),I()(),une(),te(9,"div",7),Ae(10),D(11,"button",8),ye("click",function(){return a.previousClicked()}),I(),D(12,"button",9),ye("click",function(){return a.nextClicked()}),I()()()),i&2&&(C(2),W("id",a._periodButtonLabelId),C(),pe(a.periodButtonDescription),C(),ke("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),C(2),pe(a.periodButtonText),C(),Te("mat-calendar-invert",a.calendar.currentView!=="month"),C(4),W("disabled",!a.previousEnabled()),ke("aria-label",a.prevButtonLabel),C(),W("disabled",!a.nextEnabled()),ke("aria-label",a.nextButtonLabel))},dependencies:[Wr,Jd],encapsulation:2,changeDetection:0});let e=t;return e})(),bp=(()=>{const t=class t{get startAt(){return this._startAt}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get selected(){return this._selected}set selected(i){i instanceof Ci?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get activeDate(){return this._clampedActiveDate}set activeDate(i){this._clampedActiveDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(i){let a=this._currentView!==i?i:null;this._currentView=i,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}constructor(i,a,r,o){this._dateAdapter=a,this._dateFormats=r,this._changeDetectorRef=o,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new ae,this.yearSelected=new ae,this.monthSelected=new ae,this.viewChanged=new ae(!0),this._userSelection=new ae,this._userDragDrop=new ae,this._activeDrag=null,this.stateChanges=new xe,this._intlChanges=i.changes.subscribe(()=>{o.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Ws(this.headerComponent||bw),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(i){let a=i.minDate&&!this._dateAdapter.sameDate(i.minDate.previousValue,i.minDate.currentValue)?i.minDate:void 0,r=i.maxDate&&!this._dateAdapter.sameDate(i.maxDate.previousValue,i.maxDate.currentValue)?i.maxDate:void 0,o=a||r||i.dateFilter;if(o&&!o.firstChange){let s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(i){let a=i.value;(this.selected instanceof Ci||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(i)}_yearSelectedInMultiYearView(i){this.yearSelected.emit(i)}_monthSelectedInYearView(i){this.monthSelected.emit(i)}_goToDateInView(i,a){this.activeDate=i,this.currentView=a}_dragStarted(i){this._activeDrag=i}_dragEnded(i){this._activeDrag&&(i.value&&this._userDragDrop.emit(i),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};t.ɵfac=function(i){return new(i||t)(k(_l),k(Jt,8),k(Ya,8),k(St))},t.ɵcmp=ve({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,a){if(i&1&&(gt(ib,5),gt(rb,5),gt(nb,5)),i&2){let r;be(r=_e())&&(a.monthView=r.first),be(r=_e())&&(a.yearView=r.first),be(r=_e())&&(a.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"],standalone:!0,features:[ht([fw]),Gt,we],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[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(i,a){if(i&1&&(z(0,hpe,0,0,"ng-template",0),D(1,"div",1),z(2,ppe,1,11)(3,mpe,1,6)(4,fpe,1,6),I()),i&2){let r;W("cdkPortalOutlet",a._calendarHeaderPortal),C(2),$(2,(r=a.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[On,lf,ib,rb,nb],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-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);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.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)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-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)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-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)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let e=t;return e})(),ob={transformPanel:aa("transformPanel",[Qt("void => enter-dropdown",ai("120ms cubic-bezier(0, 0, 0.2, 1)",lo([qe({opacity:0,transform:"scale(1, 0.8)"}),qe({opacity:1,transform:"scale(1, 1)"})]))),Qt("void => enter-dialog",ai("150ms cubic-bezier(0, 0, 0.2, 1)",lo([qe({opacity:0,transform:"scale(0.7)"}),qe({transform:"none",opacity:1})]))),Qt("* => void",ai("100ms linear",qe({opacity:0})))]),fadeInCalendar:aa("fadeInCalendar",[Zt("void",qe({opacity:0})),Zt("enter",qe({opacity:1})),Qt("void => *",ai("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},Ppe=0,_w=new Z("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=q(pa);return()=>e.scrollStrategies.reposition()}});function Mpe(e){return()=>e.scrollStrategies.reposition()}var Lpe={provide:_w,deps:[pa],useFactory:Mpe},yw=(()=>{const t=class t{constructor(i,a,r,o,s,l){this._elementRef=i,this._changeDetectorRef=a,this._globalModel=r,this._dateAdapter=o,this._rangeSelectionStrategy=s,this._subscriptions=new nt,this._animationDone=new xe,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=l.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){let a=this._model.selection,r=i.value,o=a instanceof Ci;if(o&&this._rangeSelectionStrategy){let s=this._rangeSelectionStrategy.selectionFinished(r,a,i.event);this._model.updateSelection(s,this)}else r&&(o||!this._dateAdapter.sameDate(r,a))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(i){this._isAnimating=i.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,a){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,a&&this._changeDetectorRef.detectChanges()}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(rr),k(Jt),k(Gs,8),k(_l))},t.ɵcmp=ve({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,a){if(i&1&&gt(bp,5),i&2){let r;be(r=_e())&&(a._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(i,a){i&1&&Hx("@transformPanel.start",function(r){return a._handleAnimationEvent(r)})("@transformPanel.done",function(r){return a._handleAnimationEvent(r)}),i&2&&(jx("@transformPanel",a._animationState),ja(a.color?"mat-"+a.color:""),Te("mat-datepicker-content-touch",a.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[we],decls:5,vars:27,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(i,a){if(i&1&&(D(0,"div",0)(1,"mat-calendar",1),ye("yearSelected",function(r){return a.datepicker._selectYear(r)})("monthSelected",function(r){return a.datepicker._selectMonth(r)})("viewChanged",function(r){return a.datepicker._viewChanged(r)})("_userSelection",function(r){return a._handleUserSelection(r)})("_userDragDrop",function(r){return a._handleUserDragDrop(r)}),I(),z(2,gpe,0,0,"ng-template",2),D(3,"button",3),ye("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),P(4),I()()),i&2){let r;Te("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),ke("aria-modal",!0)("aria-labelledby",(r=a._dialogLabelId)!==null&&r!==void 0?r:void 0),C(),ja(a.datepicker.panelClass),W("id",a.datepicker.id)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),C(),W("cdkPortalOutlet",a._actionsPortal),C(),Te("cdk-visually-hidden",!a._closeButtonFocused),W("color",a.color||"primary"),C(),pe(a._closeButtonText)}},dependencies:[Rde,bp,On,Wr],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[ob.transformPanel,ob.fadeInCalendar]},changeDetection:0});let e=t;return e})(),Xc=(()=>{const t=class t{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=ude(i)}get opened(){return this._opened}set opened(i){i?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(i,a,r,o,s,l,c){this._overlay=i,this._ngZone=a,this._viewContainerRef=r,this._dateAdapter=s,this._dir=l,this._model=c,this._inputStateChanges=nt.EMPTY,this._document=q(Ye),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new ae,this.monthSelected=new ae,this.viewChanged=new ae(!0),this.openedStream=new ae,this.closedStream=new ae,this._opened=!1,this.id=`mat-datepicker-${Ppe++}`,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new xe,this._dateAdapter,this._scrollStrategy=o}ngOnChanges(i){let a=i.xPosition||i.yPosition;if(a&&!a.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof A1&&(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(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){var a;this._actionsPortal,this._actionsPortal=i,(a=this._componentRef)==null||a.instance._assignActions(i,!0)}removeActions(i){var a;i===this._actionsPortal&&(this._actionsPortal=null,(a=this._componentRef)==null||a.instance._assignActions(null,!0))}open(){var i;this._opened||this.disabled||(i=this._componentRef)!=null&&i.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Es(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let i=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:o,location:s}=this._componentRef;o._startExitAnimation(),o._animationDone.pipe(pi(1)).subscribe(()=>{let l=this._document.activeElement;i&&(!l||l===this._document.activeElement||s.nativeElement.contains(l))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}i?setTimeout(a):a()}_applyPendingSelection(){var i,a;(a=(i=this._componentRef)==null?void 0:i.instance)==null||a._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let i=this.touchUi,a=new Ws(yw,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new Kd({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${i?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(o=>{o&&o.preventDefault(),this.close()}),r.keydownEvents().subscribe(o=>{let s=o.keyCode;(s===38||s===40||s===37||s===39||s===33||s===34)&&o.preventDefault()}),this._componentRef=r.attach(a),this._forwardContentValues(this._componentRef.instance),i||this._ngZone.onStable.pipe(pi(1)).subscribe(()=>r.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){let a=this.xPosition==="end"?"end":"start",r=a==="start"?"end":"start",o=this.yPosition==="above"?"bottom":"top",s=o==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:s,overlayX:a,overlayY:o},{originX:a,originY:o,overlayX:a,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:s}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return mi(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(ki(r=>r.keyCode===27&&!Zi(r)||this.datepickerInput&&Zi(r,"altKey")&&r.keyCode===38&&a.every(o=>!Zi(r,o)))))}};t.ɵfac=function(i){return new(i||t)(k(pa),k(Pe),k(Fi),k(_w),k(Jt,8),k(Pi,8),k(rr))},t.ɵdir=fe({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[R.HasDecoratorInputTransform,"touchUi","touchUi",ge],disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[R.HasDecoratorInputTransform,"restoreFocus","restoreFocus",ge],dateClass:"dateClass",panelClass:"panelClass",opened:[R.HasDecoratorInputTransform,"opened","opened",ge]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[dt,Gt]});let e=t;return e})(),Fpe=(()=>{const t=class t extends Xc{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[ht([fw,{provide:Xc,useExisting:t}]),je,we],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0});let e=t;return e})(),Jl=class{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}},xw=(()=>{const t=class t{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){let a=i,r=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let r=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Jl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Jl(this,this._elementRef.nativeElement))}})}constructor(i,a,r){this._elementRef=i,this._dateAdapter=a,this._dateFormats=r,this.dateChange=new ae,this.dateInput=new ae,this.stateChanges=new xe,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=nt.EMPTY,this._localeSubscription=nt.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=o=>{let s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!s||this._matchesFilter(s)?null:{matDatepickerFilter:!0}},this._minValidator=o=>{let s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),l=this._getMinDate();return!l||!s||this._dateAdapter.compareDate(l,s)<=0?null:{matDatepickerMin:{min:l,actual:s}}},this._maxValidator=o=>{let s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),l=this._getMaxDate();return!l||!s||this._dateAdapter.compareDate(l,s)>=0?null:{matDatepickerMax:{max:l,actual:s}}},this._lastValueValid=!1,this._localeSubscription=a.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){ww(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){let a=["ctrlKey","shiftKey","metaKey"];Zi(i,"altKey")&&i.keyCode===40&&a.every(r=>!Zi(i,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){let a=this._lastValueValid,r=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let o=!this._dateAdapter.sameDate(r,this.value);!r||o?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),o&&(this._assignValue(r),this.dateInput.emit(new Jl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Jl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=i!=null?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){let a=this._getDateFilter();return!a||a(i)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Jt,8),k(Ya,8))},t.ɵdir=fe({type:t,inputs:{value:"value",disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[dt,Gt]});let e=t;return e})();function ww(e,t){let n=Object.keys(e);for(let i of n){let{previousValue:a,currentValue:r}=e[i];if(t.isDateInstance(a)&&t.isDateInstance(r)){if(!t.sameDate(a,r))return!0}else return!0}return!1}var Vpe={provide:eu,useExisting:Nn(()=>wf),multi:!0},zpe={provide:gl,useExisting:Nn(()=>wf),multi:!0},wf=(()=>{const t=class t extends xw{set matDatepicker(i){i&&(this._datepicker=i,this._closedSubscription=i.closedStream.subscribe(()=>this._onTouched()),this._registerModel(i.registerInput(this)))}get min(){return this._min}set min(i){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._validatorOnChange())}get max(){return this._max}set max(i){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(i){let a=this._matchesFilter(this.value);this._dateFilter=i,this._matchesFilter(this.value)!==a&&this._validatorOnChange()}constructor(i,a,r,o){super(i,a,r),this._formField=o,this._closedSubscription=nt.EMPTY,this._validator=Xo.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_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}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Jt,8),k(Ya,8),k(bl,8))},t.ɵdir=fe({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,a){i&1&&ye("input",function(r){return a._onInput(r.target.value)})("change",function(){return a._onChange()})("blur",function(){return a._onBlur()})("keydown",function(r){return a._onKeydown(r)}),i&2&&(Da("disabled",a.disabled),ke("aria-haspopup",a._datepicker?"dialog":null)("aria-owns",(a._datepicker==null?null:a._datepicker.opened)&&a._datepicker.id||null)("min",a.min?a._dateAdapter.toIso8601(a.min):null)("max",a.max?a._dateAdapter.toIso8601(a.max):null)("data-mat-calendar",a._datepicker?a._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[R.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[ht([Vpe,zpe,{provide:mw,useExisting:t}]),je]});let e=t;return e})(),Bpe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});let e=t;return e})(),jpe=(()=>{const t=class t{get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=i}constructor(i,a,r){this._intl=i,this._changeDetectorRef=a,this._stateChanges=nt.EMPTY;let o=Number(r);this.tabIndex=o||o===0?o:null}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){let i=this.datepicker?this.datepicker.stateChanges:wt(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:wt(),r=this.datepicker?mi(this.datepicker.openedStream,this.datepicker.closedStream):wt();this._stateChanges.unsubscribe(),this._stateChanges=mi(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};t.ɵfac=function(i){return new(i||t)(k(_l),k(St),Bo("tabindex"))},t.ɵcmp=ve({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&lt(r,Bpe,5),i&2){let o;be(o=_e())&&(a._customIcon=o.first)}},viewQuery:function(i,a){if(i&1&&gt(vpe,5),i&2){let r;be(r=_e())&&(a._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,a){i&1&&ye("click",function(r){return a._open(r)}),i&2&&(ke("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),Te("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&a.datepicker.color==="accent")("mat-warn",a.datepicker&&a.datepicker.color==="warn"))},inputs:{datepicker:[R.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[R.None,"aria-label","ariaLabel"],disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[dt,Gt,we],ngContentSelectors:_pe,decls:4,vars:6,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(i,a){i&1&&(Pt(bpe),D(0,"button",1,0),z(2,ype,2,0,":svg:svg",2),Ae(3),I()),i&2&&(W("disabled",a.disabled)("disableRipple",a.disableRipple),ke("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex),C(2),$(2,a._customIcon?-1:2))},dependencies:[Jd],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0});let e=t;return e})();function Hpe(e){return _p(e,!0)}function sb(e){return e.nodeType===Node.ELEMENT_NODE}function Upe(e){return e.nodeName==="INPUT"}function Wpe(e){return e.nodeName==="TEXTAREA"}function _p(e,t){var n,i,a,r,o,s;if(sb(e)&&t){let l=(((i=(n=e.getAttribute)==null?void 0:n.call(e,"aria-labelledby"))==null?void 0:i.split(/\s+/g))||[]).reduce((c,u)=>{let p=document.getElementById(u);return p&&c.push(p),c},[]);if(l.length)return l.map(c=>_p(c,!1)).join(" ")}if(sb(e)){let l=(a=e.getAttribute("aria-label"))==null?void 0:a.trim();if(l)return l}if(Upe(e)||Wpe(e)){if((r=e.labels)!=null&&r.length)return Array.from(e.labels).map(u=>_p(u,!1)).join(" ");let l=(o=e.getAttribute("placeholder"))==null?void 0:o.trim();if(l)return l;let c=(s=e.getAttribute("title"))==null?void 0:s.trim();if(c)return c}return(e.textContent||"").replace(/\s+/g," ").trim()}var au=new Z("MAT_DATE_RANGE_INPUT_PARENT"),kw=(()=>{const t=class t extends xw{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}constructor(i,a,r,o,s,l,c,u){super(a,c,u),this._rangeInput=i,this._elementRef=a,this._defaultErrorStateMatcher=r,this._injector=o,this._parentForm=s,this._parentFormGroup=l,this._dir=q(Pi,{optional:!0}),this._errorStateTracker=new uf(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){let i=this._injector.get(_f,null,{optional:!0,self:!0});i&&(this.ngControl=i,this._errorStateTracker.ngControl=i)}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,a=i.value;return a.length>0?a: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 a;super._assignValueProgrammatically(i),(a=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)==null||a._validatorOnChange()}_getAccessibleName(){return Hpe(this._elementRef.nativeElement)}};t.ɵfac=function(i){return new(i||t)(k(au),k(Ce),k(Qo),k(Hi),k(Jo,8),k(es,8),k(Jt,8),k(Ya,8))},t.ɵdir=fe({type:t,inputs:{errorStateMatcher:"errorStateMatcher"},standalone:!0,features:[je]});let e=t;return e})(),Ew=(()=>{const t=class t extends kw{constructor(i,a,r,o,s,l,c,u){super(i,a,r,o,s,l,c,u),this._startValidator=p=>{let g=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(p.value)),b=this._model?this._model.selection.end:null;return!g||!b||this._dateAdapter.compareDate(g,b)<=0?null:{matStartDateInvalid:{end:b,actual:g}}},this._validator=Xo.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(i){return i.start}_shouldHandleChangeEvent(i){var a;return super._shouldHandleChangeEvent(i)?(a=i.oldValue)!=null&&a.start?!i.selection.start||!!this._dateAdapter.compareDate(i.oldValue.start,i.selection.start):!!i.selection.start:!1}_assignValueToModel(i){if(this._model){let a=new Ci(i,this._model.selection.end);this._model.updateSelection(a,this)}}_formatValue(i){super._formatValue(i),this._rangeInput._handleChildValueChange()}_onKeydown(i){var s;let a=this._rangeInput._endInput,r=this._elementRef.nativeElement,o=((s=this._dir)==null?void 0:s.value)!=="rtl";(i.keyCode===39&&o||i.keyCode===37&&!o)&&r.selectionStart===r.value.length&&r.selectionEnd===r.value.length?(i.preventDefault(),a._elementRef.nativeElement.setSelectionRange(0,0),a.focus()):super._onKeydown(i)}};t.ɵfac=function(i){return new(i||t)(k(au),k(Ce),k(Qo),k(Hi),k(Jo,8),k(es,8),k(Jt,8),k(Ya,8))},t.ɵdir=fe({type:t,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(i,a){i&1&&ye("input",function(r){return a._onInput(r.target.value)})("change",function(){return a._onChange()})("keydown",function(r){return a._onKeydown(r)})("blur",function(){return a._onBlur()}),i&2&&(Da("disabled",a.disabled),ke("aria-haspopup",a._rangeInput.rangePicker?"dialog":null)("aria-owns",(a._rangeInput.rangePicker==null?null:a._rangeInput.rangePicker.opened)&&a._rangeInput.rangePicker.id||null)("min",a._getMinDate()?a._dateAdapter.toIso8601(a._getMinDate()):null)("max",a._getMaxDate()?a._dateAdapter.toIso8601(a._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[ht([{provide:eu,useExisting:t,multi:!0},{provide:gl,useExisting:t,multi:!0}]),je]});let e=t;return e})(),Cw=(()=>{const t=class t extends kw{constructor(i,a,r,o,s,l,c,u){super(i,a,r,o,s,l,c,u),this._endValidator=p=>{let g=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(p.value)),b=this._model?this._model.selection.start:null;return!g||!b||this._dateAdapter.compareDate(g,b)>=0?null:{matEndDateInvalid:{start:b,actual:g}}},this._validator=Xo.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(i){return i.end}_shouldHandleChangeEvent(i){var a;return super._shouldHandleChangeEvent(i)?(a=i.oldValue)!=null&&a.end?!i.selection.end||!!this._dateAdapter.compareDate(i.oldValue.end,i.selection.end):!!i.selection.end:!1}_assignValueToModel(i){if(this._model){let a=new Ci(this._model.selection.start,i);this._model.updateSelection(a,this)}}_moveCaretToEndOfStartInput(){let i=this._rangeInput._startInput._elementRef.nativeElement,a=i.value;a.length>0&&i.setSelectionRange(a.length,a.length),i.focus()}_onKeydown(i){var o;let a=this._elementRef.nativeElement,r=((o=this._dir)==null?void 0:o.value)!=="rtl";i.keyCode===8&&!a.value?this._moveCaretToEndOfStartInput():(i.keyCode===37&&r||i.keyCode===39&&!r)&&a.selectionStart===0&&a.selectionEnd===0?(i.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(i)}};t.ɵfac=function(i){return new(i||t)(k(au),k(Ce),k(Qo),k(Hi),k(Jo,8),k(es,8),k(Jt,8),k(Ya,8))},t.ɵdir=fe({type:t,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(i,a){i&1&&ye("input",function(r){return a._onInput(r.target.value)})("change",function(){return a._onChange()})("keydown",function(r){return a._onKeydown(r)})("blur",function(){return a._onBlur()}),i&2&&(Da("disabled",a.disabled),ke("aria-haspopup",a._rangeInput.rangePicker?"dialog":null)("aria-owns",(a._rangeInput.rangePicker==null?null:a._rangeInput.rangePicker.opened)&&a._rangeInput.rangePicker.id||null)("min",a._getMinDate()?a._dateAdapter.toIso8601(a._getMinDate()):null)("max",a._getMaxDate()?a._dateAdapter.toIso8601(a._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[ht([{provide:eu,useExisting:t,multi:!0},{provide:gl,useExisting:t,multi:!0}]),je]});let e=t;return e})(),qpe=0,Ype=(()=>{const t=class t{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var r,o;let i=((r=this._startInput)==null?void 0:r._getPlaceholder())||"",a=((o=this._endInput)==null?void 0:o._getPlaceholder())||"";return i||a?`${i} ${this.separator} ${a}`:""}get rangePicker(){return this._rangePicker}set rangePicker(i){i&&(this._model=i.registerInput(this),this._rangePicker=i,this._closedSubscription.unsubscribe(),this._closedSubscription=i.closedStream.subscribe(()=>{var a,r;(a=this._startInput)==null||a._onTouched(),(r=this._endInput)==null||r._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(i){this._required=i}get dateFilter(){return this._dateFilter}set dateFilter(i){let a=this._startInput,r=this._endInput,o=a&&a._matchesFilter(a.value),s=r&&r._matchesFilter(a.value);this._dateFilter=i,a&&a._matchesFilter(a.value)!==o&&a._validatorOnChange(),r&&r._matchesFilter(r.value)!==s&&r._validatorOnChange()}get min(){return this._min}set min(i){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._revalidate())}get max(){return this._max}set max(i){let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(i){i!==this._groupDisabled&&(this._groupDisabled=i,this.stateChanges.next(void 0))}get errorState(){return this._startInput&&this._endInput?this._startInput.errorState||this._endInput.errorState:!1}get empty(){let i=this._startInput?this._startInput.isEmpty():!1,a=this._endInput?this._endInput.isEmpty():!1;return i&&a}constructor(i,a,r,o,s){this._changeDetectorRef=i,this._elementRef=a,this._dateAdapter=o,this._formField=s,this._closedSubscription=nt.EMPTY,this.id=`mat-date-range-input-${qpe++}`,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="–",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new xe,this.disableAutomaticLabeling=!0,s!=null&&s._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&a.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=r}setDescribedByIds(i){this._ariaDescribedBy=i.length?i.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),mi(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(i){ww(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(i){let a=i==="start"?this._startInput:this._endInput;return a?a.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 i=this._formField;return i&&i._hasFloatingLabel()?i._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(i){this.focused=i!==null,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(i){this._startInput&&this._startInput._registerModel(i),this._endInput&&this._endInput._registerModel(i)}_isTargetRequired(i){var a,r;return(r=(a=i==null?void 0:i.ngControl)==null?void 0:a.control)==null?void 0:r.hasValidator(Xo.required)}};t.ɵfac=function(i){return new(i||t)(k(St),k(Ce),k(vl,10),k(Jt,8),k(bl,8))},t.ɵcmp=ve({type:t,selectors:[["mat-date-range-input"]],contentQueries:function(i,a,r){if(i&1&&(lt(r,Ew,5),lt(r,Cw,5)),i&2){let o;be(o=_e())&&(a._startInput=o.first),be(o=_e())&&(a._endInput=o.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(i,a){i&2&&(ke("id",a.id)("aria-labelledby",a._getAriaLabelledby())("aria-describedby",a._ariaDescribedBy)("data-mat-calendar",a.rangePicker?a.rangePicker.id:null),Te("mat-date-range-input-hide-placeholders",a._shouldHidePlaceholders())("mat-date-range-input-required",a.required))},inputs:{rangePicker:"rangePicker",required:[R.HasDecoratorInputTransform,"required","required",ge],dateFilter:"dateFilter",min:"min",max:"max",disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],standalone:!0,features:[ht([{provide:iu,useExisting:t},{provide:au,useExisting:t}]),dt,Gt,we],ngContentSelectors:wpe,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(i,a){i&1&&(Pt(xpe),D(0,"div",0),ye("cdkFocusChange",function(r){return a._updateFocus(r)}),D(1,"div",1),Ae(2),D(3,"span",2),P(4),I()(),D(5,"span",3),P(6),I(),D(7,"div",4),Ae(8,1),D(9,"span",2),P(10),I()()()),i&2&&(C(4),pe(a._getInputMirrorValue("start")),C(),Te("mat-date-range-input-separator-hidden",a._shouldHideSeparator()),C(),pe(a.separator),C(4),pe(a._getInputMirrorValue("end")))},dependencies:[lf],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)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._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)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0});let e=t;return e})(),Gpe=(()=>{const t=class t extends Xc{_forwardContentValues(i){super._forwardContentValues(i);let a=this.datepickerInput;a&&(i.comparisonStart=a.comparisonStart,i.comparisonEnd=a.comparisonEnd,i.startDateAccessibleName=a._getStartDateAccessibleName(),i.endDateAccessibleName=a._getEndDateAccessibleName())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],standalone:!0,features:[ht([Ipe,Ope,{provide:Xc,useExisting:t}]),je,we],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0});let e=t;return e})(),$pe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[_l,Lpe],imports:[fl,ma,O1,Hde,S1,Yt,yw,jpe,bw,Gc]});let e=t;return e})(),kf=class{},Sw=class{},Ro=class kc{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
24
- `).forEach(n=>{let i=n.indexOf(":");if(i>0){let a=n.slice(0,i),r=a.toLowerCase(),o=n.slice(i+1).trim();this.maybeSetNormalizedName(a,r),this.headers.has(r)?this.headers.get(r).push(o):this.headers.set(r,[o])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.setHeaderEntries(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}: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 kc?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 kc;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof kc?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 i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let a=(t.op==="a"?this.headers.get(n):void 0)||[];a.push(...i),this.headers.set(n,a);break;case"d":let r=t.value;if(!r)this.headers.delete(n),this.normalizedNames.delete(n);else{let o=this.headers.get(n);if(!o)return;o=o.filter(s=>r.indexOf(s)===-1),o.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}break}}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,i),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}},Kpe=class{encodeKey(e){return lb(e)}encodeValue(e){return lb(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Zpe(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let a=i.indexOf("="),[r,o]=a==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,a)),t.decodeValue(i.slice(a+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}var Qpe=/%(\d[a-f0-9])/gi,Xpe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lb(e){return encodeURIComponent(e).replace(Qpe,(t,n)=>Xpe[n]??t)}function ec(e){return`${e}`}var go=class Dw{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Kpe,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Zpe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],a=Array.isArray(i)?i.map(ec):[ec(i)];this.map.set(n,a)})):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(i=>{let a=t[i];Array.isArray(a)?a.forEach(r=>{n.push({param:i,value:r,op:"a"})}):n.push({param:i,value:a,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(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new Dw({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(ec(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],a=i.indexOf(ec(t.value));a!==-1&&i.splice(a,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Jpe=class{constructor(){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 eme(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function cb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function db(e){return typeof Blob<"u"&&e instanceof Blob}function ub(e){return typeof FormData<"u"&&e instanceof FormData}function tme(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var nh=class Iw{constructor(t,n,i,a){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let r;if(eme(this.method)||a?(this.body=i!==void 0?i:null,r=a):r=i,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 Ro),this.context??(this.context=new Jpe),!this.params)this.params=new go,this.urlWithParams=n;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=n;else{let s=n.indexOf("?"),l=s===-1?"?":s<n.length-1?"&":"";this.urlWithParams=n+l+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||cb(this.body)||db(this.body)||ub(this.body)||tme(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||ub(this.body)?null:db(this.body)?this.body.type||null:cb(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof go?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,s=t.withCredentials??this.withCredentials,l=t.reportProgress??this.reportProgress,c=t.headers||this.headers,u=t.params||this.params,p=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((g,b)=>g.set(b,t.setHeaders[b]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((g,b)=>g.set(b,t.setParams[b]),u)),new Iw(n,i,o,{params:u,headers:c,context:p,reportProgress:l,responseType:a,withCredentials:s,transferCache:r})}},vo=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}(vo||{}),Ef=class{constructor(e,t=Jc.Ok,n="OK"){this.headers=e.headers||new Ro,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}},ime=class Aw extends Ef{constructor(t={}){super(t),this.type=vo.ResponseHeader}clone(t={}){return new Aw({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Tw=class Ow extends Ef{constructor(t={}){super(t),this.type=vo.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new Ow({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},hb=class extends Ef{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Jc=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Jc||{});function rh(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 Cf=(()=>{const t=class t{constructor(i){this.handler=i}request(i,a,r={}){let o;if(i instanceof nh)o=i;else{let c;r.headers instanceof Ro?c=r.headers:c=new Ro(r.headers);let u;r.params&&(r.params instanceof go?u=r.params:u=new go({fromObject:r.params})),o=new nh(i,a,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:u,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=wt(o).pipe(s_(c=>this.handler.handle(c)));if(i instanceof nh||r.observe==="events")return s;let l=s.pipe(ki(c=>c instanceof Tw));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(Dt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(Dt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(Dt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(Dt(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(i,a={}){return this.request("DELETE",i,a)}get(i,a={}){return this.request("GET",i,a)}head(i,a={}){return this.request("HEAD",i,a)}jsonp(i,a){return this.request("JSONP",i,{params:new go().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,a={}){return this.request("OPTIONS",i,a)}patch(i,a,r={}){return this.request("PATCH",i,rh(r,a))}post(i,a,r={}){return this.request("POST",i,rh(r,a))}put(i,a,r={}){return this.request("PUT",i,rh(r,a))}};t.ɵfac=function(i){return new(i||t)(F(kf))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function ame(e,t){return t(e)}function nme(e,t,n){return(i,a)=>V_(n,()=>t(i,r=>e(r,a)))}var Sf=new Z(""),rme=new Z(""),ome=new Z(""),pb=(()=>{const t=class t extends kf{constructor(i,a){super(),this.backend=i,this.injector=a,this.chain=null,this.pendingTasks=q(Bd);let r=q(ome,{optional:!0});this.backend=r??i}handle(i){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Sf),...this.injector.get(rme,[])]));this.chain=r.reduceRight((o,s)=>nme(o,s,this.injector),ame)}let a=this.pendingTasks.add();return this.chain(i,r=>this.backend.handle(r)).pipe(l_(()=>this.pendingTasks.remove(a)))}};t.ɵfac=function(i){return new(i||t)(F(Sw),F(Rr))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),sme=/^\)\]\}',?\n/;function lme(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var mb=(()=>{const t=class t{constructor(i){this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new ce(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?Rn(a.ɵloadImpl()):wt(null)).pipe(ir(()=>new At(r=>{let o=a.build();if(o.open(i.method,i.urlWithParams),i.withCredentials&&(o.withCredentials=!0),i.headers.forEach((y,E)=>o.setRequestHeader(y,E.join(","))),i.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){let y=i.detectContentTypeHeader();y!==null&&o.setRequestHeader("Content-Type",y)}if(i.responseType){let y=i.responseType.toLowerCase();o.responseType=y!=="json"?y:"text"}let s=i.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=o.statusText||"OK",E=new Ro(o.getAllResponseHeaders()),N=lme(o)||i.url;return l=new ime({headers:E,status:o.status,statusText:y,url:N}),l},u=()=>{let{headers:y,status:E,statusText:N,url:K}=c(),U=null;E!==Jc.NoContent&&(U=typeof o.response>"u"?o.responseText:o.response),E===0&&(E=U?Jc.Ok:0);let Ne=E>=200&&E<300;if(i.responseType==="json"&&typeof U=="string"){let Xe=U;U=U.replace(sme,"");try{U=U!==""?JSON.parse(U):null}catch(tt){U=Xe,Ne&&(Ne=!1,U={error:tt,text:U})}}Ne?(r.next(new Tw({body:U,headers:y,status:E,statusText:N,url:K||void 0})),r.complete()):r.error(new hb({error:U,headers:y,status:E,statusText:N,url:K||void 0}))},p=y=>{let{url:E}=c(),N=new hb({error:y,status:o.status||0,statusText:o.statusText||"Unknown Error",url:E||void 0});r.error(N)},g=!1,b=y=>{g||(r.next(c()),g=!0);let E={type:vo.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(E.total=y.total),i.responseType==="text"&&o.responseText&&(E.partialText=o.responseText),r.next(E)},x=y=>{let E={type:vo.UploadProgress,loaded:y.loaded};y.lengthComputable&&(E.total=y.total),r.next(E)};return o.addEventListener("load",u),o.addEventListener("error",p),o.addEventListener("timeout",p),o.addEventListener("abort",p),i.reportProgress&&(o.addEventListener("progress",b),s!==null&&o.upload&&o.upload.addEventListener("progress",x)),o.send(s),r.next({type:vo.Sent}),()=>{o.removeEventListener("error",p),o.removeEventListener("abort",p),o.removeEventListener("load",u),o.removeEventListener("timeout",p),i.reportProgress&&(o.removeEventListener("progress",b),s!==null&&o.upload&&o.upload.removeEventListener("progress",x)),o.readyState!==o.DONE&&o.abort()}})))}};t.ɵfac=function(i){return new(i||t)(F(c1))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),Rw=new Z(""),cme="XSRF-TOKEN",dme=new Z("",{providedIn:"root",factory:()=>cme}),ume="X-XSRF-TOKEN",hme=new Z("",{providedIn:"root",factory:()=>ume}),Nw=class{},pme=(()=>{const t=class t{constructor(i,a,r){this.doc=i,this.platform=a,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=n1(i,this.cookieName),this.lastCookieString=i),this.lastToken}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(Ho),F(dme))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function mme(e,t){let n=e.url.toLowerCase();if(!q(Rw)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let i=q(Nw).getToken(),a=q(hme);return i!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,i)})),t(e)}var Pw=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}(Pw||{});function fme(e,t){return{ɵkind:e,ɵproviders:t}}function gme(...e){let t=[Cf,mb,pb,{provide:kf,useExisting:pb},{provide:Sw,useExisting:mb},{provide:Sf,useValue:mme,multi:!0},{provide:Rw,useValue:!0},{provide:Nw,useClass:pme}];for(let n of e)t.push(...n.ɵproviders);return hm(t)}function vme(e){return fme(Pw.Interceptors,e.map(t=>({provide:Sf,useValue:t,multi:!0})))}var bme=class extends Ace{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_me=class Mw extends bme{static makeCurrent(){Ice(new Mw)}onAndCancel(t,n,i){return t.addEventListener(n,i),()=>{t.removeEventListener(n,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=yme();return n==null?null:xme(n)}resetBaseElement(){fs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return n1(document.cookie,t)}},fs=null;function yme(){return fs=fs||document.querySelector("base"),fs?fs.getAttribute("href"):null}function xme(e){return new URL(e,document.baseURI).pathname}var wme=(()=>{const t=class t{build(){return new XMLHttpRequest}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),yp=new Z(""),Lw=(()=>{const t=class t{constructor(i,a){this._zone=a,this._eventNameToPlugin=new Map,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r){return this._findPluginFor(a).addEventListener(i,a,r)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(r=>r.supports(i)),!a)throw new ce(5101,!1);return this._eventNameToPlugin.set(i,a),a}};t.ɵfac=function(i){return new(i||t)(F(yp),F(Pe))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),Fw=class{constructor(e){this._doc=e}},oh="ng-app-id",Vw=(()=>{const t=class t{constructor(i,a,r,o={}){this.doc=i,this.appId=a,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=l1(o),this.resetHostNodes()}addStyles(i){for(let a of i)this.changeUsageCount(a,1)===1&&this.onStyleAdded(a)}removeStyles(i){for(let a of i)this.changeUsageCount(a,-1)<=0&&this.onStyleRemoved(a)}ngOnDestroy(){let i=this.styleNodesInDOM;i&&(i.forEach(a=>a.remove()),i.clear());for(let a of this.getAllStyles())this.onStyleRemoved(a);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(let a of this.getAllStyles())this.addStyleToHost(i,a)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(let a of this.hostNodes)this.addStyleToHost(a,i)}onStyleRemoved(i){var r,o;let a=this.styleRef;(o=(r=a.get(i))==null?void 0:r.elements)==null||o.forEach(s=>s.remove()),a.delete(i)}collectServerRenderedStyles(){var a;let i=(a=this.doc.head)==null?void 0:a.querySelectorAll(`style[${oh}="${this.appId}"]`);if(i!=null&&i.length){let r=new Map;return i.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(i,a){let r=this.styleRef;if(r.has(i)){let o=r.get(i);return o.usage+=a,o.usage}return r.set(i,{usage:a,elements:[]}),a}getStyleElement(i,a){let r=this.styleNodesInDOM,o=r==null?void 0:r.get(a);if((o==null?void 0:o.parentNode)===i)return r.delete(a),o.removeAttribute(oh),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=a,this.platformIsServer&&s.setAttribute(oh,this.appId),i.appendChild(s),s}}addStyleToHost(i,a){var l;let r=this.getStyleElement(i,a),o=this.styleRef,s=(l=o.get(a))==null?void 0:l.elements;s?s.push(r):o.set(a,{elements:[r],usage:1})}resetHostNodes(){let i=this.hostNodes;i.clear(),i.add(this.doc.head)}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(Rm),F(Nm,8),F(Ho))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),sh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Df=/%COMP%/g,zw="%COMP%",kme=`_nghost-${zw}`,Eme=`_ngcontent-${zw}`,Cme=!0,Sme=new Z("",{providedIn:"root",factory:()=>Cme});function Dme(e){return Eme.replace(Df,e)}function Ime(e){return kme.replace(Df,e)}function Bw(e,t){return t.map(n=>n.replace(Df,e))}var xp=(()=>{const t=class t{constructor(i,a,r,o,s,l,c,u=null){this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=l1(l),this.defaultRenderer=new If(i,s,c,this.platformIsServer)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===wn.ShadowDom&&(a=ti(Se({},a),{encapsulation:wn.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof gb?r.applyToHost(i):r instanceof wp&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,o=r.get(a.id);if(!o){let s=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(a.encapsulation){case wn.Emulated:o=new gb(c,u,a,this.appId,p,s,l,g);break;case wn.ShadowDom:return new Ame(c,u,i,a,s,l,this.nonce,g);default:o=new wp(c,u,a,p,s,l,g);break}r.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};t.ɵfac=function(i){return new(i||t)(F(Lw),F(Vw),F(Rm),F(Sme),F(Ye),F(Ho),F(Pe),F(Nm))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),If=class{constructor(e,t,n,i){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(sh[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(fb(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(fb(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new ce(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;let a=sh[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=sh[n];i?e.removeAttributeNS(i,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,i){i&(Qn.DashCase|Qn.Important)?e.style.setProperty(t,n,i&Qn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Qn.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){if(typeof e=="string"&&(e=ks().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(n))}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function fb(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ame=class extends If{constructor(e,t,n,i,a,r,o,s){super(e,a,r,s),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Bw(i.id,i.styles);for(let c of l){let u=document.createElement("style");o&&u.setAttribute("nonce",o),u.textContent=c,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},wp=class extends If{constructor(e,t,n,i,a,r,o,s){super(e,a,r,o),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=s?Bw(s,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},gb=class extends wp{constructor(e,t,n,i,a,r,o,s){let l=i+"-"+n.id;super(e,t,n,a,r,o,s,l),this.contentAttr=Dme(l),this.hostAttr=Ime(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}},Tme=(()=>{const t=class t extends Fw{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r){return i.addEventListener(a,r,!1),()=>this.removeEventListener(i,a,r)}removeEventListener(i,a,r){return i.removeEventListener(a,r)}};t.ɵfac=function(i){return new(i||t)(F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),vb=["alt","control","meta","shift"],Ome={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Rme={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Nme=(()=>{const t=class t extends Fw{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r){let o=t.parseEventName(a),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ks().onAndCancel(i,o.domEventName,s))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(a.pop()),s="",l=a.indexOf("code");if(l>-1&&(a.splice(l,1),s="code."),vb.forEach(u=>{let p=a.indexOf(u);p>-1&&(a.splice(p,1),s+=u+".")}),s+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(i,a){let r=Ome[i.key]||i.key,o="";return a.indexOf("code.")>-1&&(r=i.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),vb.forEach(s=>{if(s!==r){let l=Rme[s];l(i)&&(o+=s+".")}}),o+=r,o===a)}static eventCallback(i,a,r){return o=>{t.matchEventFullKeyCode(o,i)&&r.runGuarded(()=>a(o))}}static _normalizeKey(i){return i==="esc"?"escape":i}};t.ɵfac=function(i){return new(i||t)(F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function Pme(e){return cce(Mme(e))}function Mme(e){return{appProviders:[...Bme,...(e==null?void 0:e.providers)??[]],platformProviders:zme}}function Lme(){_me.makeCurrent()}function Fme(){return new Ua}function Vme(){return jne(document),document}var zme=[{provide:Ho,useValue:s1},{provide:Ey,useValue:Lme,multi:!0},{provide:Ye,useFactory:Vme,deps:[]}],Bme=[{provide:mm,useValue:"root"},{provide:Ua,useFactory:Fme,deps:[]},{provide:yp,useClass:Tme,multi:!0,deps:[Ye,Pe,Ho]},{provide:yp,useClass:Nme,multi:!0,deps:[Ye]},xp,Vw,Lw,{provide:$m,useExisting:xp},{provide:c1,useClass:wme,deps:[]},[]],jw=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:function(i){let a=null;return i?a=new(i||t):a=F(jme),a},providedIn:"root"});let e=t;return e})(),jme=(()=>{const t=class t extends jw{constructor(i){super(),this._doc=i}sanitize(i,a){if(a==null)return null;switch(i){case ca.NONE:return a;case ca.HTML:return io(a,"HTML")?$n(a):wre(this._doc,String(a)).toString();case ca.STYLE:return io(a,"Style")?$n(a):a;case ca.SCRIPT:if(io(a,"Script"))return $n(a);throw new ce(5200,!1);case ca.URL:return io(a,"URL")?$n(a):Mm(String(a));case ca.RESOURCE_URL:if(io(a,"ResourceURL"))return $n(a);throw new ce(5201,!1);default:throw new ce(5202,!1)}}bypassSecurityTrustHtml(i){return Jne(i)}bypassSecurityTrustStyle(i){return ere(i)}bypassSecurityTrustScript(i){return tre(i)}bypassSecurityTrustUrl(i){return ire(i)}bypassSecurityTrustResourceUrl(i){return are(i)}};t.ɵfac=function(i){return new(i||t)(F(Ye))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hme=(()=>{const t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(i){this._vertical=fo(i)}get inset(){return this._inset}set inset(i){this._inset=fo(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,a){i&2&&(ke("aria-orientation",a.vertical?"vertical":"horizontal"),Te("mat-divider-vertical",a.vertical)("mat-divider-horizontal",!a.vertical)("mat-divider-inset",a.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[we],decls:0,vars:0,template:function(i,a){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let e=t;return e})(),No=class{},bb=(()=>{const t=class t extends No{getTranslation(i){return wt({})}};H(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})()),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})(),kp=class{},_b=(()=>{const t=class t{handle(i){return i.key}};H(t,"ɵfac",function(i){return new(i||t)}),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})();function ed(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,i=typeof t,a,r,o;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!ed(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(r in e){if(!ed(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&typeof t[r]<"u")return!1;return!0}return!1}function Xn(e){return typeof e<"u"&&e!==null}function lh(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Hw(e,t){let n=Object.assign({},e);return lh(e)&&lh(t)&&Object.keys(t).forEach(i=>{lh(t[i])?i in e?n[i]=Hw(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}var td=class{},yb=(()=>{const t=class t extends td{constructor(){super(...arguments);H(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){let o;return typeof a=="string"?o=this.interpolateString(a,r):typeof a=="function"?o=this.interpolateFunction(a,r):o=a,o}getValue(a,r){let o=typeof r=="string"?r.split("."):[r];r="";do r+=o.shift(),Xn(a)&&Xn(a[r])&&(typeof a[r]=="object"||!o.length)?(a=a[r],r=""):o.length?r+=".":a=void 0;while(o.length);return a}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(o,s)=>{let l=this.getValue(r,s);return Xn(l)?l:o}):a}};H(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Xt(t)))(r||t)}})()),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})(),Po=class{},xb=(()=>{const t=class t extends Po{compile(i,a){return i}compileTranslations(i,a){return i}};H(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})()),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})(),Uw=class{constructor(){H(this,"defaultLang");H(this,"currentLang",this.defaultLang);H(this,"translations",{});H(this,"langs",[]);H(this,"onTranslationChange",new ae);H(this,"onLangChange",new ae);H(this,"onDefaultLangChange",new ae)}},Ep=new Z("USE_STORE"),Cp=new Z("USE_DEFAULT_LANG"),Sp=new Z("DEFAULT_LANGUAGE"),Dp=new Z("USE_EXTEND"),Ii=(()=>{const t=class t{constructor(i,a,r,o,s,l=!0,c=!1,u=!1,p){H(this,"store");H(this,"currentLoader");H(this,"compiler");H(this,"parser");H(this,"missingTranslationHandler");H(this,"useDefaultLang");H(this,"isolate");H(this,"extend");H(this,"loadingTranslations");H(this,"pending",!1);H(this,"_onTranslationChange",new ae);H(this,"_onLangChange",new ae);H(this,"_onDefaultLangChange",new ae);H(this,"_defaultLang");H(this,"_currentLang");H(this,"_langs",[]);H(this,"_translations",{});H(this,"_translationRequests",{});this.store=i,this.currentLoader=a,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=c,this.extend=u,p&&this.setDefaultLang(p)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}setDefaultLang(i){if(i===this.defaultLang)return;let a=this.retrieveTranslations(i);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=i),a.pipe(pi(1)).subscribe(r=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return wt(this.translations[i]);let a=this.retrieveTranslations(i);return typeof a<"u"?(this.currentLang||(this.currentLang=i),a.pipe(pi(1)).subscribe(r=>{this.changeLang(i)}),a):(this.changeLang(i),wt(this.translations[i]))}retrieveTranslations(i){let a;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),a=this._translationRequests[i]),a}getTranslation(i){this.pending=!0;let a=this.currentLoader.getTranslation(i).pipe(Dh(1),pi(1));return this.loadingTranslations=a.pipe(Dt(r=>this.compiler.compileTranslations(r,i)),Dh(1),pi(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?Se(Se({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(i,a,r=!1){a=this.compiler.compileTranslations(a,i),(r||this.extend)&&this.translations[i]?this.translations[i]=Hw(this.translations[i],a):this.translations[i]=a,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(a=>{this.langs.indexOf(a)===-1&&this.langs.push(a)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,a,r){let o;if(a instanceof Array){let s={},l=!1;for(let c of a)s[c]=this.getParsedResult(i,c,r),Yn(s[c])&&(l=!0);if(l){let c=a.map(u=>Yn(s[u])?s[u]:wt(s[u]));return am(c).pipe(Dt(u=>{let p={};return u.forEach((g,b)=>{p[a[b]]=g}),p}))}return s}if(i&&(o=this.parser.interpolate(this.parser.getValue(i,a),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),r)),typeof o>"u"){let s={key:a,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return typeof o<"u"?o:a}get(i,a){if(!Xn(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(s_(r=>(r=this.getParsedResult(r,i,a),Yn(r)?r:wt(r))));{let r=this.getParsedResult(this.translations[this.currentLang],i,a);return Yn(r)?r:wt(r)}}getStreamOnTranslationChange(i,a){if(!Xn(i)||!i.length)throw new Error('Parameter "key" required');return As(Ts(()=>this.get(i,a)),this.onTranslationChange.pipe(ir(r=>{let o=this.getParsedResult(r.translations,i,a);return typeof o.subscribe=="function"?o:wt(o)})))}stream(i,a){if(!Xn(i)||!i.length)throw new Error('Parameter "key" required');return As(Ts(()=>this.get(i,a)),this.onLangChange.pipe(ir(r=>{let o=this.getParsedResult(r.translations,i,a);return Yn(o)?o:wt(o)})))}instant(i,a){if(!Xn(i)||!i.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],i,a);if(Yn(r)){if(i instanceof Array){let o={};return i.forEach((s,l)=>{o[i[l]]=i[l]}),o}return i}else return r}set(i,a,r=this.currentLang){this.translations[r][i]=this.compiler.compile(a,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}};H(t,"ɵfac",function(i){return new(i||t)(F(Uw),F(No),F(Po),F(td),F(kp),F(Cp),F(Ep),F(Dp),F(Sp))}),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})(),_i=(()=>{const t=class t{constructor(i,a){H(this,"translate");H(this,"_ref");H(this,"value","");H(this,"lastKey",null);H(this,"lastParams",[]);H(this,"onTranslationChange");H(this,"onLangChange");H(this,"onDefaultLangChange");this.translate=i,this._ref=a}updateValue(i,a,r){let o=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,i,a);Yn(s.subscribe)?s.subscribe(o):o(s)}this.translate.get(i,a).subscribe(o)}transform(i,...a){if(!i||!i.length)return i;if(ed(i,this.lastKey)&&ed(a,this.lastParams))return this.value;let r;if(Xn(a[0])&&a.length)if(typeof a[0]=="string"&&a[0].length){let o=a[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else typeof a[0]=="object"&&!Array.isArray(a[0])&&(r=a[0]);return this.lastKey=i,this.lastParams=a,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,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()}};H(t,"ɵfac",function(i){return new(i||t)(k(Ii,16),k(St,16))}),H(t,"ɵpipe",bi({name:"translate",type:t,pure:!1})),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})(),ri=(()=>{const t=class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:No,useClass:bb},i.compiler||{provide:Po,useClass:xb},i.parser||{provide:td,useClass:yb},i.missingTranslationHandler||{provide:kp,useClass:_b},Uw,{provide:Ep,useValue:i.isolate},{provide:Cp,useValue:i.useDefaultLang},{provide:Dp,useValue:i.extend},{provide:Sp,useValue:i.defaultLanguage},Ii]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:No,useClass:bb},i.compiler||{provide:Po,useClass:xb},i.parser||{provide:td,useClass:yb},i.missingTranslationHandler||{provide:kp,useClass:_b},{provide:Ep,useValue:i.isolate},{provide:Cp,useValue:i.useDefaultLang},{provide:Dp,useValue:i.extend},{provide:Sp,useValue:i.defaultLanguage},Ii]}}};H(t,"ɵfac",function(i){return new(i||t)}),H(t,"ɵmod",Ot({type:t})),H(t,"ɵinj",Tt({}));let e=t;return e})(),Ww=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}(Ww||{}),et=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}(et||{}),Ec=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.DELIVERED_MEDICATIONS="deliveredMedications",e}(Ec||{}),Vt=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}(Vt||{}),Qe=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}(Qe||{}),va=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(va||{}),d=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(d||{}),ie=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}(ie||{}),Yi=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}(Yi||{}),Af=function(e){return e.ascending="asc",e.descending="desc",e}(Af||{}),Pa=function(e){return e.ACUTE="acute",e.CHRONIC="chronic",e.ONESHOT="oneshot",e.REACTIVATION="reactivation",e.REMISSION="remission",e.SUBACUTE="subacute",e}(Pa||{});d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE;var tc={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}};function nu(e){e||(vm(),e=q(Ba));let t=new At(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(ft(t))}function qw(e,t){var o;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&vm();let i=n?((o=t==null?void 0:t.injector)==null?void 0:o.get(Ba))??q(Ba):null,a;t!=null&&t.requireSync?a=Bs({kind:0}):a=Bs({kind:1,value:t==null?void 0:t.initialValue});let r=e.subscribe({next:s=>a.set({kind:1,value:s}),error:s=>{if(t!=null&&t.rejectErrors)throw s;a.set({kind:2,error:s})}});return i==null||i.onDestroy(r.unsubscribe.bind(r)),Tn(()=>{let s=a();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new ce(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var Yw={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(Yw);var Ume=Yw,Gw={"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(Gw);var Wme=Gw,ga=function(e,t,n,i){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"?i:n==="a"?i.call(e):i?i.value:t.get(e)},ao,gs,wr,qme=class{constructor(...e){ao.set(this,new Map),gs.set(this,new Map),wr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(o=>o.toLowerCase()),ga(this,wr,"f").has(n)||ga(this,wr,"f").set(n,new Set);let a=ga(this,wr,"f").get(n),r=!0;for(let o of i){let s=o.startsWith("*");if(o=s?o.slice(1):o,a==null||a.add(o),r&&ga(this,gs,"f").set(n,o),r=!1,s)continue;let l=ga(this,ao,"f").get(o);if(l&&l!=n&&!t)throw new Error(`"${n} -> ${o}" conflicts with "${l} -> ${o}". Pass \`force=true\` to override this definition.`);ga(this,ao,"f").set(o,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:ga(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&&ga(this,gs,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:ga(this,wr,"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 ga(this,wr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:ga(this,ao,"f"),extensions:ga(this,gs,"f")}}};ao=new WeakMap,gs=new WeakMap,wr=new WeakMap;var Yme=qme;new Yme(Wme,Ume)._freeze();var Gme=(()=>{const t=class t{transform(i){return i?"":"no"}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"canTranslateForAttr",type:t,pure:!0,standalone:!0});let e=t;return e})(),Ga=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,o)=>{o===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"firstLetterUppercase",type:t,pure:!0,standalone:!0});let e=t;return e})();function $me(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var $w={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function yl(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let n of $w[t]){let i=e.find(a=>a.lang===n);if(i)return i.value}return e.length>0?e[0].value:"Missing translation"}}function Kme(e,t){if(!(!e||Object.keys(e).length<1)){t=t==null?void 0:t.substring(0,2);for(let n of $w[t]){let i=e.find(a=>a.lang===n);if(i)return i}return e.length>0?e[0]:void 0}}var Zme=["trigger"],Qme=["panel"],Xme=[[["mat-select-trigger"]],"*"],Jme=["mat-select-trigger","*"];function efe(e,t){if(e&1&&(D(0,"span",4),P(1),I()),e&2){let n=V();C(),pe(n.placeholder)}}function tfe(e,t){e&1&&Ae(0)}function ife(e,t){if(e&1&&(D(0,"span",11),P(1),I()),e&2){let n=V(2);C(),pe(n.triggerValue)}}function afe(e,t){if(e&1&&(D(0,"span",10),z(1,tfe,1,0)(2,ife,2,1),I()),e&2){let n=V();C(),$(1,n.customTrigger?1:2)}}function nfe(e,t){if(e&1){let n=Nt();D(0,"div",12,1),ye("@transformPanel.done",function(i){Oe(n);let a=V();return Re(a._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){Oe(n);let a=V();return Re(a._handleKeydown(i))}),Ae(2,1),I()}if(e&2){let n=V();ile("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),W("ngClass",n.panelClass)("@transformPanel","showing"),ke("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var rfe={transformPanelWrap:aa("transformPanelWrap",[Qt("* => void",U1("@transformPanel",[H1()],{optional:!0}))]),transformPanel:aa("transformPanel",[Zt("void",qe({opacity:0,transform:"scale(1, 0.8)"})),Qt("void => showing",ai("120ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:1,transform:"scale(1, 1)"}))),Qt("* => void",ai("100ms linear",qe({opacity:0})))])},wb=0,Kw=new Z("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=q(pa);return()=>e.scrollStrategies.reposition()}});function ofe(e){return()=>e.scrollStrategies.reposition()}var sfe=new Z("MAT_SELECT_CONFIG"),lfe={provide:Kw,deps:[pa],useFactory:ofe},cfe=new Z("MatSelectTrigger"),dfe=class{constructor(e,t){this.source=e,this.value=t}},ufe=(()=>{const t=class t{_scrollOptionIntoView(i){let a=this.options.toArray()[i];if(a){let r=this.panel.nativeElement,o=Bue(i,this.options,this.optionGroups),s=a._getHostElement();i===0&&o===1?r.scrollTop=0:r.scrollTop=jue(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(i){return new dfe(this,i)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(Xo.required))??!1}set required(i){this._required=i,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._selectionModel,this._multiple=i}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}constructor(i,a,r,o,s,l,c,u,p,g,b,x,y,E){var N,K,U;this._viewportRuler=i,this._changeDetectorRef=a,this._elementRef=s,this._dir=l,this._parentFormField=p,this.ngControl=g,this._liveAnnouncer=y,this._defaultOptions=E,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"}],this._panelOpen=!1,this._compareWith=(Ne,Xe)=>Ne===Xe,this._uid=`mat-select-${wb++}`,this._triggerAriaLabelledBy=null,this._destroy=new xe,this.stateChanges=new xe,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${wb++}`,this._panelDoneAnimatingStream=new xe,this._overlayPanelClass=((N=this._defaultOptions)==null?void 0:N.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=((K=this._defaultOptions)==null?void 0:K.hideSingleSelectionIndicator)??!1,this._multiple=!1,this.disableOptionCentering=((U=this._defaultOptions)==null?void 0:U.disableOptionCentering)??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new xe,this.optionSelectionChanges=Ts(()=>{let Ne=this.options;return Ne?Ne.changes.pipe(Ei(Ne),ir(()=>mi(...Ne.map(Xe=>Xe.onSelectionChange)))):this._initialized.pipe(ir(()=>this.optionSelectionChanges))}),this.openedChange=new ae,this._openedStream=this.openedChange.pipe(ki(Ne=>Ne),Dt(()=>{})),this._closedStream=this.openedChange.pipe(ki(Ne=>!Ne),Dt(()=>{})),this.selectionChange=new ae,this.valueChange=new ae,this._trackedModal=null,this._skipPredicate=Ne=>this.panelOpen?!1:Ne.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),(E==null?void 0:E.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=E.typeaheadDebounceInterval),this._errorStateTracker=new uf(o,g,u,c,this.stateChanges),this._scrollStrategyFactory=x,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(b)||0,this.id=this.id}ngOnInit(){this._selectionModel=new $de(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(om(),ft(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(ft(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(ft(this._destroy)).subscribe(i=>{i.added.forEach(a=>a.select()),i.removed.forEach(a=>a.deselect())}),this.options.changes.pipe(Ei(null),ft(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let i=this._getTriggerAriaLabelledby(),a=this.ngControl;if(i!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?r.setAttribute("aria-labelledby",i):r.removeAttribute("aria-labelledby")}a&&(this._previousControl!==a.control&&(this._previousControl!==void 0&&a.disabled!==null&&a.disabled!==this.disabled&&(this.disabled=a.disabled),this._previousControl=a.control),this.updateErrorState())}ngOnChanges(i){(i.disabled||i.userAriaDescribedBy)&&this.stateChanges.next(),i.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var i;(i=this._keyManager)==null||i.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let i=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;let a=`${this.id}-panel`;this._trackedModal&&dp(this._trackedModal,"aria-owns",a),f1(i,"aria-owns",a),this._trackedModal=i}_clearFromModal(){if(!this._trackedModal)return;let i=`${this.id}-panel`;dp(this._trackedModal,"aria-owns",i),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var i,a;return this.multiple?((i=this._selectionModel)==null?void 0:i.selected)||[]:(a=this._selectionModel)==null?void 0:a.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let i=this._selectionModel.selected.map(a=>a.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){let a=i.keyCode,r=a===40||a===38||a===37||a===39,o=a===13||a===32,s=this._keyManager;if(!s.isTyping()&&o&&!Zi(i)||(this.multiple||i.altKey)&&r)i.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;s.onKeydown(i);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(i){let a=this._keyManager,r=i.keyCode,o=r===40||r===38,s=a.isTyping();if(o&&i.altKey)i.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&a.activeItem&&!Zi(i))i.preventDefault(),a.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&i.ctrlKey){i.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=a.activeItemIndex;a.onKeydown(i),this._multiple&&o&&i.shiftKey&&a.activeItem&&a.activeItemIndex!==l&&a.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var i;this._focused=!1,(i=this._keyManager)==null||i.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(pi(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(i){if(this.options.forEach(a=>a.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)i.forEach(a=>this._selectOptionByValue(a)),this._sortValues();else{let a=this._selectOptionByValue(i);a?this._keyManager.updateActiveItem(a):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){let a=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,i)}catch{return!1}});return a&&this._selectionModel.select(a),a}_assignValue(i){return i!==this._value||this._multiple&&Array.isArray(i)?(this.options&&this._setSelectionByValue(i),this._value=i,!0):!1}_getOverlayWidth(i){return this.panelWidth==="auto"?(i instanceof $c?i.elementRef:i||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let i of this.options)i._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new yde(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 i=mi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ft(i)).subscribe(a=>{this._onSelect(a.source,a.isUserInput),a.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),mi(...this.options.map(a=>a._stateChanges)).pipe(ft(i)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(i,a){let r=this._selectionModel.isSelected(i);i.value==null&&!this._multiple?(i.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(i.value)):(r!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),a&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),a&&this.focus())),r!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let i=this.options.toArray();this._selectionModel.sort((a,r)=>this.sortComparator?this.sortComparator(a,r,i):i.indexOf(a)-i.indexOf(r)),this.stateChanges.next()}}_propagateChanges(i){let a;this.multiple?a=this.selected.map(r=>r.value):a=this.selected?this.selected.value:i,this._value=a,this.valueChange.emit(a),this._onChange(a),this.selectionChange.emit(this._getChangeEvent(a)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let i=-1;for(let a=0;a<this.options.length;a++)if(!this.options.get(a).disabled){i=a;break}this._keyManager.setActiveItem(i)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){var i;return!this._panelOpen&&!this.disabled&&((i=this.options)==null?void 0:i.length)>0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){var r;if(this.ariaLabel)return null;let i=(r=this._parentFormField)==null?void 0:r.getLabelId(),a=i?i+" ":"";return this.ariaLabelledby?a+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var r;if(this.ariaLabel)return null;let i=(r=this._parentFormField)==null?void 0:r.getLabelId(),a=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(a+=" "+this.ariaLabelledby),a}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};t.ɵfac=function(i){return new(i||t)(k(Ko),k(St),k(Pe),k(Qo),k(Ce),k(Pi,8),k(Jo,8),k(es,8),k(bl,8),k(_f,10),Bo("tabindex"),k(Kw),k(Bde),k(sfe,8))},t.ɵcmp=ve({type:t,selectors:[["mat-select"]],contentQueries:function(i,a,r){if(i&1&&(lt(r,cfe,5),lt(r,M1,5),lt(r,P1,5)),i&2){let o;be(o=_e())&&(a.customTrigger=o.first),be(o=_e())&&(a.options=o),be(o=_e())&&(a.optionGroups=o)}},viewQuery:function(i,a){if(i&1&&(gt(Zme,5),gt(Qme,5),gt(Dv,5)),i&2){let r;be(r=_e())&&(a.trigger=r.first),be(r=_e())&&(a.panel=r.first),be(r=_e())&&(a._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,a){i&1&&ye("keydown",function(r){return a._handleKeydown(r)})("focus",function(){return a._onFocus()})("blur",function(){return a._onBlur()}),i&2&&(ke("id",a.id)("tabindex",a.disabled?-1:a.tabIndex)("aria-controls",a.panelOpen?a.id+"-panel":null)("aria-expanded",a.panelOpen)("aria-label",a.ariaLabel||null)("aria-required",a.required.toString())("aria-disabled",a.disabled.toString())("aria-invalid",a.errorState)("aria-activedescendant",a._getAriaActiveDescendant()),Te("mat-mdc-select-disabled",a.disabled)("mat-mdc-select-invalid",a.errorState)("mat-mdc-select-required",a.required)("mat-mdc-select-empty",a.empty)("mat-mdc-select-multiple",a.multiple))},inputs:{userAriaDescribedBy:[R.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],disableRipple:[R.HasDecoratorInputTransform,"disableRipple","disableRipple",ge],tabIndex:[R.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?0:sn(i)],hideSingleSelectionIndicator:[R.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ge],placeholder:"placeholder",required:[R.HasDecoratorInputTransform,"required","required",ge],multiple:[R.HasDecoratorInputTransform,"multiple","multiple",ge],disableOptionCentering:[R.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",ge],compareWith:"compareWith",value:"value",ariaLabel:[R.None,"aria-label","ariaLabel"],ariaLabelledby:[R.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[R.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",sn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ht([{provide:iu,useExisting:t},{provide:N1,useExisting:t}]),dt,Gt,we],ngContentSelectors:Jme,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,a){if(i&1){let r=Nt();Pt(Xme),D(0,"div",2,0),ye("click",function(){return Oe(r),Re(a.open())}),D(3,"div",3),z(4,efe,2,1,"span",4)(5,afe,3,1),I(),D(6,"div",5)(7,"div",6),cl(),D(8,"svg",7),te(9,"path",8),I()()()(),z(10,nfe,3,9,"ng-template",9),ye("backdropClick",function(){return Oe(r),Re(a.close())})("attach",function(){return Oe(r),Re(a._onAttached())})("detach",function(){return Oe(r),Re(a.close())})}if(i&2){let r=Ha(1);C(3),ke("id",a._valueId),C(),$(4,a.empty?4:5),C(6),W("cdkConnectedOverlayPanelClass",a._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",a._scrollStrategy)("cdkConnectedOverlayOrigin",a._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",a.panelOpen)("cdkConnectedOverlayPositions",a._positions)("cdkConnectedOverlayWidth",a._overlayWidth)}},dependencies:[$c,Dv,$d],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.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)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._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)}'],encapsulation:2,data:{animation:[rfe.transformPanel]},changeDetection:0});let e=t;return e})(),hfe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[lfe],imports:[fl,O1,Nv,Yt,Gc,Ys,Nv,Yt]});let e=t;return e})(),Zw=(()=>{const t=class t{constructor(){this.changes=new xe,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(i,a,r)=>{if(r==0||a==0)return`0 of ${r}`;r=Math.max(r,0);let o=i*a,s=o<r?Math.min(o+a,r):o+a;return`${o+1} – ${s} of ${r}`}}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function kb(e){return new ce(3e3,!1)}function pfe(){return new ce(3100,!1)}function mfe(){return new ce(3101,!1)}function ffe(e){return new ce(3001,!1)}function gfe(e){return new ce(3003,!1)}function vfe(e){return new ce(3004,!1)}function bfe(e,t){return new ce(3005,!1)}function _fe(){return new ce(3006,!1)}function yfe(){return new ce(3007,!1)}function xfe(e,t){return new ce(3008,!1)}function wfe(e){return new ce(3002,!1)}function kfe(e,t,n,i,a){return new ce(3010,!1)}function Efe(){return new ce(3011,!1)}function Cfe(){return new ce(3012,!1)}function Sfe(){return new ce(3200,!1)}function Dfe(){return new ce(3202,!1)}function Ife(){return new ce(3013,!1)}function Afe(e){return new ce(3014,!1)}function Tfe(e){return new ce(3015,!1)}function Ofe(e){return new ce(3016,!1)}function Rfe(e,t){return new ce(3404,!1)}function Nfe(e){return new ce(3502,!1)}function Pfe(e){return new ce(3503,!1)}function Mfe(){return new ce(3300,!1)}function Lfe(e){return new ce(3504,!1)}function Ffe(e){return new ce(3301,!1)}function Vfe(e,t){return new ce(3302,!1)}function zfe(e){return new ce(3303,!1)}function Bfe(e,t){return new ce(3400,!1)}function jfe(e){return new ce(3401,!1)}function Hfe(e){return new ce(3402,!1)}function Ufe(e,t){return new ce(3505,!1)}function Kn(e){switch(e.length){case 0:return new qs;case 1:return e[0];default:return new W1(e)}}function Qw(e,t,n=new Map,i=new Map){let a=[],r=[],o=-1,s=null;if(t.forEach(l=>{let c=l.get("offset"),u=c==o,p=u&&s||new Map;l.forEach((g,b)=>{let x=b,y=g;if(b!=="offset")switch(x=e.normalizePropertyName(x,a),y){case gf:y=n.get(b);break;case En:y=i.get(b);break;default:y=e.normalizeStyleValue(b,x,y,a);break}p.set(x,y)}),u||r.push(p),s=p,o=c}),a.length)throw Nfe();return r}function Tf(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&ch(n,"start",e)));break;case"done":e.onDone(()=>i(n&&ch(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&ch(n,"destroy",e)));break}}function ch(e,t,n){let i=n.totalTime,a=!!n.disabled,r=Of(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,i??e.totalTime,a),o=e._data;return o!=null&&(r._data=o),r}function Of(e,t,n,i,a="",r=0,o){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!o}}function da(e,t,n){let i=e.get(t);return i||e.set(t,i=n),i}function Eb(e){let t=e.indexOf(":"),n=e.substring(1,t),i=e.slice(t+1);return[n,i]}var Wfe=typeof document>"u"?null:document.documentElement;function Rf(e){let t=e.parentNode||e.host||null;return t===Wfe?null:t}function qfe(e){return e.substring(1,6)=="ebkit"}var br=null,Cb=!1;function Yfe(e){br||(br=Gfe()||{},Cb=br.style?"WebkitAppearance"in br.style:!1);let t=!0;return br.style&&!qfe(e)&&(t=e in br.style,!t&&Cb&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in br.style)),t}function Gfe(){return typeof document<"u"?document.body:null}function Xw(e,t){for(;t;){if(t===e)return!0;t=Rf(t)}return!1}function Jw(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let i=e.querySelector(t);return i?[i]:[]}var $fe=(()=>{const t=class t{validateStyleProperty(i){return Yfe(i)}matchesElement(i,a){return!1}containsElement(i,a){return Xw(i,a)}getParentElement(i){return Rf(i)}query(i,a,r){return Jw(i,a,r)}computeStyle(i,a,r){return r||""}animate(i,a,r,o,s,l=[],c){return new qs(r,o)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),bo,ek=(bo=class{},bo.NOOP=new $fe,bo),Nf=class{},Kfe=1e3,tk="{{",Zfe="}}",ik="ng-enter",Ip="ng-leave",ic="ng-trigger",id=".ng-trigger",Sb="ng-animating",Ap=".ng-animating";function yn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Tp(parseFloat(t[1]),t[2])}function Tp(e,t){switch(t){case"s":return e*Kfe;default:return e}}function ad(e,t,n){return e.hasOwnProperty("duration")?e:Qfe(e,t,n)}function Qfe(e,t,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,o="";if(typeof e=="string"){let s=e.match(i);if(s===null)return t.push(kb()),{duration:0,delay:0,easing:""};a=Tp(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(r=Tp(parseFloat(l),s[4]));let c=s[5];c&&(o=c)}else a=e;if(!n){let s=!1,l=t.length;a<0&&(t.push(pfe()),s=!0),r<0&&(t.push(mfe()),s=!0),s&&t.splice(l,0,kb())}return{duration:a,delay:r,easing:o}}function Xfe(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Ja(e,t,n){t.forEach((i,a)=>{let r=Pf(a);n&&!n.has(a)&&n.set(a,e.style[r]),e.style[r]=i})}function Sr(e,t){t.forEach((n,i)=>{let a=Pf(i);e.style[a]=""})}function ds(e){return Array.isArray(e)?e.length==1?e[0]:Gue(e):e}function Jfe(e,t,n){let i=t.params||{},a=ak(e);a.length&&a.forEach(r=>{i.hasOwnProperty(r)||n.push(ffe())})}var Op=new RegExp(`${tk}\\s*(.+?)\\s*${Zfe}`,"g");function ak(e){let t=[];if(typeof e=="string"){let n;for(;n=Op.exec(e);)t.push(n[1]);Op.lastIndex=0}return t}function $s(e,t,n){let i=`${e}`,a=i.replace(Op,(r,o)=>{let s=t[o];return s==null&&(n.push(gfe()),s=""),s.toString()});return a==i?e:a}var ege=/-+([a-z0-9])/g;function Pf(e){return e.replace(ege,(...t)=>t[1].toUpperCase())}function tge(e,t){return e===0||t===0}function ige(e,t,n){if(n.size&&t.length){let i=t[0],a=[];if(n.forEach((r,o)=>{i.has(o)||a.push(o),i.set(o,r)}),a.length)for(let r=1;r<t.length;r++){let o=t[r];a.forEach(s=>o.set(s,Mf(e,s)))}}return t}function la(e,t,n){switch(t.type){case He.Trigger:return e.visitTrigger(t,n);case He.State:return e.visitState(t,n);case He.Transition:return e.visitTransition(t,n);case He.Sequence:return e.visitSequence(t,n);case He.Group:return e.visitGroup(t,n);case He.Animate:return e.visitAnimate(t,n);case He.Keyframes:return e.visitKeyframes(t,n);case He.Style:return e.visitStyle(t,n);case He.Reference:return e.visitReference(t,n);case He.AnimateChild:return e.visitAnimateChild(t,n);case He.AnimateRef:return e.visitAnimateRef(t,n);case He.Query:return e.visitQuery(t,n);case He.Stagger:return e.visitStagger(t,n);default:throw vfe(t.type)}}function Mf(e,t){return window.getComputedStyle(e)[t]}var age=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"]),nge=class extends Nf{normalizePropertyName(e,t){return Pf(e)}normalizeStyleValue(e,t,n,i){let a="",r=n.toString().trim();if(age.has(t)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(bfe())}return r+a}},nd="*";function rge(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(i=>oge(i,n,t)):n.push(e),n}function oge(e,t,n){if(e[0]==":"){let l=sge(e,n);if(typeof l=="function"){t.push(l);return}e=l}let i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return n.push(Tfe()),t;let a=i[1],r=i[2],o=i[3];t.push(Db(a,o));let s=a==nd&&o==nd;r[0]=="<"&&!s&&t.push(Db(o,a))}function sge(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,i)=>parseFloat(i)>parseFloat(n);case":decrement":return(n,i)=>parseFloat(i)<parseFloat(n);default:return t.push(Ofe()),"* => *"}}var ac=new Set(["true","1"]),nc=new Set(["false","0"]);function Db(e,t){let n=ac.has(e)||nc.has(e),i=ac.has(t)||nc.has(t);return(a,r)=>{let o=e==nd||e==a,s=t==nd||t==r;return!o&&n&&typeof a=="boolean"&&(o=a?ac.has(e):nc.has(e)),!s&&i&&typeof r=="boolean"&&(s=r?ac.has(t):nc.has(t)),o&&s}}var nk=":self",lge=new RegExp(`s*${nk}s*,?`,"g");function rk(e,t,n,i){return new cge(e).build(t,n,i)}var Ib="",cge=class{constructor(e){this._driver=e}build(e,t,n){let i=new hge(t);return this._resetContextStyleTimingState(i),la(this,ds(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=Ib,e.collectedStyles=new Map,e.collectedStyles.set(Ib,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0,a=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(_fe()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==He.State){let s=o,l=s.name;l.toString().split(/\s*,\s*/).forEach(c=>{s.name=c,a.push(this.visitState(s,t))}),s.name=l}else if(o.type==He.Transition){let s=this.visitTransition(o,t);n+=s.queryCount,i+=s.depCount,r.push(s)}else t.errors.push(yfe())}),{type:He.Trigger,name:e.name,states:a,transitions:r,queryCount:n,depCount:i,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let a=new Set,r=i||{};n.styles.forEach(o=>{o instanceof Map&&o.forEach(s=>{ak(s).forEach(l=>{r.hasOwnProperty(l)||a.add(l)})})}),a.size&&t.errors.push(xfe(e.name,[...a.values()]))}return{type:He.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=la(this,ds(e.animation),t),i=rge(e.expr,t.errors);return{type:He.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:_r(e.options)}}visitSequence(e,t){return{type:He.Sequence,steps:e.steps.map(n=>la(this,n,t)),options:_r(e.options)}}visitGroup(e,t){let n=t.currentTime,i=0,a=e.steps.map(r=>{t.currentTime=n;let o=la(this,r,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:He.Group,steps:a,options:_r(e.options)}}visitAnimate(e,t){let n=mge(e.timings,t.errors);t.currentAnimateTimings=n;let i,a=e.styles?e.styles:qe({});if(a.type==He.Keyframes)i=this.visitKeyframes(a,t);else{let r=e.styles,o=!1;if(!r){o=!0;let l={};n.easing&&(l.easing=n.easing),r=qe(l)}t.currentTime+=n.duration+n.delay;let s=this.visitStyle(r,t);s.isEmptyStep=o,i=s}return t.currentAnimateTimings=null,{type:He.Animate,timings:n,style:i,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===En?n.push(o):t.errors.push(wfe()):n.push(new Map(Object.entries(o)));let a=!1,r=null;return n.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(r=o.get("easing"),o.delete("easing")),!a)){for(let s of o.values())if(s.toString().indexOf(tk)>=0){a=!0;break}}}),{type:He.Style,styles:n,easing:r,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,i=t.currentTime,a=t.currentTime;n&&a>0&&(a-=n.duration+n.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,s)=>{let l=t.collectedStyles.get(t.currentQuerySelector),c=l.get(s),u=!0;c&&(a!=i&&a>=c.startTime&&i<=c.endTime&&(t.errors.push(kfe(s,c.startTime,c.endTime)),u=!1),a=c.startTime),u&&l.set(s,{startTime:a,endTime:i}),t.options&&Jfe(o,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:He.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Efe()),n;let i=1,a=0,r=[],o=!1,s=!1,l=0,c=e.steps.map(E=>{let N=this._makeStyleAst(E,t),K=N.offset!=null?N.offset:pge(N.styles),U=0;return K!=null&&(a++,U=N.offset=K),s=s||U<0||U>1,o=o||U<l,l=U,r.push(U),N});s&&t.errors.push(Cfe()),o&&t.errors.push(Sfe());let u=e.steps.length,p=0;a>0&&a<u?t.errors.push(Dfe()):a==0&&(p=i/(u-1));let g=u-1,b=t.currentTime,x=t.currentAnimateTimings,y=x.duration;return c.forEach((E,N)=>{let K=p>0?N==g?1:p*N:r[N],U=K*y;t.currentTime=b+x.delay+U,x.duration=U,this._validateStyleAst(E,t),E.offset=K,n.styles.push(E)}),n}visitReference(e,t){return{type:He.Reference,animation:la(this,ds(e.animation),t),options:_r(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:He.AnimateChild,options:_r(e.options)}}visitAnimateRef(e,t){return{type:He.AnimateRef,animation:this.visitReference(e.animation,t),options:_r(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=dge(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,da(t.collectedStyles,t.currentQuerySelector,new Map);let o=la(this,ds(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:He.Query,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:e.selector,options:_r(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Ife());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ad(e.timings,t.errors,!0);return{type:He.Stagger,animation:la(this,ds(e.animation),t),timings:n,options:null}}};function dge(e){let t=!!e.split(/\s*,\s*/).find(n=>n==nk);return t&&(e=e.replace(lge,"")),e=e.replace(/@\*/g,id).replace(/@\w+/g,n=>id+"-"+n.slice(1)).replace(/:animating/g,Ap),[e,t]}function uge(e){return e?Se({},e):null}var hge=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function pge(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 i=n;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function mge(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=ad(e,t).duration;return dh(a,0,"")}let n=e;if(n.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=dh(0,0,"");return a.dynamic=!0,a.strValue=n,a}let i=ad(n,t);return dh(i.duration,i.delay,i.easing)}function _r(e){return e?(e=Se({},e),e.params&&(e.params=uge(e.params))):e={},e}function dh(e,t,n){return{duration:e,delay:t,easing:n}}function Lf(e,t,n,i,a,r,o=null,s=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:s}}var Ff=class{constructor(){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()}},fge=1,gge=":enter",vge=new RegExp(gge,"g"),bge=":leave",_ge=new RegExp(bge,"g");function ok(e,t,n,i,a,r=new Map,o=new Map,s,l,c=[]){return new yge().buildKeyframes(e,t,n,i,a,r,o,s,l,c)}var yge=class{buildKeyframes(e,t,n,i,a,r,o,s,l,c=[]){l=l||new Ff;let u=new xge(e,t,l,i,a,c,[]);u.options=s;let p=s.delay?yn(s.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([r],null,u.errors,s),la(this,n,u);let g=u.timelines.filter(b=>b.containsAnimation());if(g.length&&o.size){let b;for(let x=g.length-1;x>=0;x--){let y=g[x];if(y.element===t){b=y;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([o],null,u.errors,s)}return g.length?g.map(b=>b.buildKeyframes()):[Lf(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 i=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=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 i of e){let a=i==null?void 0:i.delay;if(a){let r=typeof a=="number"?a:yn($s(a,(i==null?void 0:i.params)??{},t.errors));n.delayNextStep(r)}}}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime,a=n.duration!=null?yn(n.duration):null,r=n.delay!=null?yn(n.delay):null;return a!==0&&e.forEach(o=>{let s=t.appendInstructionToTimeline(o,a,r);i=Math.max(i,s.duration+s.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),la(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,i=t,a=e.options;if(a&&(a.params||a.delay)&&(i=t.createSubContext(a),i.transformIntoNewTimeline(),a.delay!=null)){i.previousNode.type==He.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=rd);let r=yn(a.delay);i.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>la(this,r,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],i=t.currentTimeline.currentTime,a=e.options&&e.options.delay?yn(e.options.delay):0;e.steps.forEach(r=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),la(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,i=t.params?$s(n,t.params,t.errors):n;return ad(i,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),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());let a=e.style;a.type==He.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let a=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,i=t.currentTimeline.duration,a=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(o=>{let s=o.offset||0;r.forwardTime(s*a),r.setStyles(o.styles,o.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(i+a),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?yn(i.delay):0;a&&(t.previousNode.type===He.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=rd);let r=n,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let s=null;o.forEach((l,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,l);a&&u.delayNextStep(a),l===t.element&&(s=u.currentTimeline),la(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),s&&(t.currentTimeline.mergeTimelineCollectedStyles(s),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,i=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),o=r*(t.currentQueryTotal-1),s=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime;break}let l=t.currentTimeline;s&&l.delayNextStep(s);let c=l.currentTime;la(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}},rd={},xge=class sk{constructor(t,n,i,a,r,o,s,l){this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=rd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new lk(this._driver,n,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let i=t,a=this.options;i.duration!=null&&(a.duration=yn(i.duration)),i.delay!=null&&(a.delay=yn(i.delay));let r=i.params;if(r){let o=a.params;o||(o=this.options.params={}),Object.keys(r).forEach(s=>{(!n||!o.hasOwnProperty(s))&&(o[s]=$s(r[s],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let i=t.params={};Object.keys(n).forEach(a=>{i[a]=n[a]})}}return t}createSubContext(t=null,n,i){let a=n||this.element,r=new sk(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||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=rd,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,i){let a={duration:n??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new wge(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(r),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,i,a,r,o){let s=[];if(a&&s.push(this.element),t.length>0){t=t.replace(vge,"."+this._enterClassName),t=t.replace(_ge,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,t,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!r&&s.length==0&&o.push(Afe()),s}},lk=class ck{constructor(t,n,i,a){this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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 ck(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+=fge,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,i]of this._globalTimelineStyles)this._backFill.set(n,i||En),this._currentKeyframe.set(n,En);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,i,a){n&&this._previousKeyframe.set("easing",n);let r=a&&a.params||{},o=kge(t,this._globalTimelineStyles);for(let[s,l]of o){let c=$s(l,r,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??En),this._updateStyle(s,c)}}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,i)=>{let a=this._styleSummary.get(i);(!a||n.time>a.time)&&this._updateStyle(i,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,i=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((u,p)=>{u===gf?t.add(p):u===En&&n.add(p)}),i||c.set("offset",l/this.duration),a.push(c)});let r=[...t.values()],o=[...n.values()];if(i){let s=a[0],l=new Map(s);s.set("offset",0),l.set("offset",1),a=[s,l]}return Lf(this.element,a,r,o,this.duration,this.startTime,this.easing,!1)}},wge=class extends lk{constructor(e,t,n,i,a,r,o=!1){super(e,t,r.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=a,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let a=[],r=n+t,o=t/r,s=new Map(e[0]);s.set("offset",0),a.push(s);let l=new Map(e[0]);l.set("offset",Ab(o)),a.push(l);let c=e.length-1;for(let u=1;u<=c;u++){let p=new Map(e[u]),g=p.get("offset"),b=t+g*n;p.set("offset",Ab(b/r)),a.push(p)}n=r,t=0,i="",e=a}return Lf(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}};function Ab(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function kge(e,t){let n=new Map,i;return e.forEach(a=>{if(a==="*"){i??(i=t.keys());for(let r of i)n.set(r,En)}else for(let[r,o]of a)n.set(r,o)}),n}function Tb(e,t,n,i,a,r,o,s,l,c,u,p,g){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:p,errors:g}}var uh={},dk=class{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return Ege(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(t,n):new Map}build(e,t,n,i,a,r,o,s,l,c){var oi;let u=[],p=this.ast.options&&this.ast.options.params||uh,g=o&&o.params||uh,b=this.buildStyles(n,g,u),x=s&&s.params||uh,y=this.buildStyles(i,x,u),E=new Set,N=new Map,K=new Map,U=i==="void",Ne={params:uk(x,p),delay:(oi=this.ast.options)==null?void 0:oi.delay},Xe=c?[]:ok(e,t,this.ast.animation,a,r,b,y,Ne,l,u),tt=0;return Xe.forEach(yi=>{tt=Math.max(yi.duration+yi.delay,tt)}),u.length?Tb(t,this._triggerName,n,i,U,b,y,[],[],N,K,tt,u):(Xe.forEach(yi=>{let Ht=yi.element,Oi=da(N,Ht,new Set);yi.preStyleProps.forEach(re=>Oi.add(re));let he=da(K,Ht,new Set);yi.postStyleProps.forEach(re=>he.add(re)),Ht!==t&&E.add(Ht)}),Tb(t,this._triggerName,n,i,U,b,y,Xe,[...E.values()],N,K,tt))}};function Ege(e,t,n,i,a){return e.some(r=>r(t,n,i,a))}function uk(e,t){let n=Se({},t);return Object.entries(e).forEach(([i,a])=>{a!=null&&(n[i]=a)}),n}var Cge=class{constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,i=uk(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,o)=>{r&&(r=$s(r,i,t));let s=this.normalizer.normalizePropertyName(o,t);r=this.normalizer.normalizeStyleValue(o,s,r,t),n.set(o,r)})}),n}};function Sge(e,t,n){return new Dge(e,t,n)}var Dge=class{constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let a=i.options&&i.options.params||{};this.states.set(i.name,new Cge(i.style,a,n))}),Ob(this.states,"true","1"),Ob(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new dk(e,i,this.states))}),this.fallbackTransition=Ige(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(a=>a.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function Ige(e,t,n){let i=[(o,s)=>!0],a={type:He.Sequence,steps:[],options:null},r={type:He.Transition,animation:a,matchers:i,options:null,queryCount:0,depCount:0};return new dk(e,r,t)}function Ob(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 Age=new Ff,Tge=class{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let n=[],i=[],a=rk(this._driver,t,n,i);if(n.length)throw Pfe();i.length,this._animations.set(e,a)}_buildPlayer(e,t,n){let i=e.element,a=Qw(this._normalizer,e.keyframes,t,n);return this._driver.animate(i,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let i=[],a=this._animations.get(e),r,o=new Map;if(a?(r=ok(this._driver,t,a,ik,Ip,new Map,new Map,n,Age,i),r.forEach(c=>{let u=da(o,c.element,new Map);c.postStyleProps.forEach(p=>u.set(p,null))})):(i.push(Mfe()),r=[]),i.length)throw Lfe();o.forEach((c,u)=>{c.forEach((p,g)=>{c.set(g,this._driver.computeStyle(u,g,En))})});let s=r.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),l=Kn(s);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}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 Ffe();return t}listen(e,t,n,i){let a=Of(t,"","","");return Tf(this._getPlayer(e),n,a,i),()=>{}}command(e,t,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let r=i[0]||{};this.create(e,t,r);return}let a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Rb="ng-animate-queued",Oge=".ng-animate-queued",hh="ng-animate-disabled",Rge=".ng-animate-disabled",Nge="ng-star-inserted",Pge=".ng-star-inserted",Mge=[],hk={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Lge={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ra="__ng_removed",Rp=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=Bge(i),n){let a=e,{value:r}=a,o=Yee(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(i=>{n[i]==null&&(n[i]=t[i])})}}},Ss="void",ph=new Rp(Ss),Fge=class{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,ya(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.has(t))throw Vfe();if(n==null||n.length==0)throw zfe();if(!jge(n))throw Bfe();let a=da(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};a.push(r);let o=da(this._engine.statesByElement,e,new Map);return o.has(t)||(ya(e,ic),ya(e,ic+"-"+t),o.set(t,ph)),()=>{this._engine.afterFlush(()=>{let s=a.indexOf(r);s>=0&&a.splice(s,1),this._triggers.has(t)||o.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 jfe();return t}trigger(e,t,n,i=!0){let a=this._getTrigger(t),r=new Np(this.id,t,e),o=this._engine.statesByElement.get(e);o||(ya(e,ic),ya(e,ic+"-"+t),this._engine.statesByElement.set(e,o=new Map));let s=o.get(t),l=new Rp(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),o.set(t,l),s||(s=ph),l.value!==Ss&&s.value===l.value){if(!Wge(s.params,l.params)){let g=[],b=a.matchStyles(s.value,s.params,g),x=a.matchStyles(l.value,l.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Sr(e,b),Ja(e,x)})}return}let c=da(this._engine.playersByElement,e,[]);c.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let u=a.matchTransition(s.value,l.value,e,l.params),p=!1;if(!u){if(!i)return;u=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:s,toState:l,player:r,isFallbackTransition:p}),p||(ya(e,Rb),r.onStart(()=>{no(e,Rb)})),r.onDone(()=>{let g=this.players.indexOf(r);g>=0&&this.players.splice(g,1);let b=this._engine.playersByElement.get(e);if(b){let x=b.indexOf(r);x>=0&&b.splice(x,1)}}),this.players.push(r),c.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(i=>i.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,id,!0);n.forEach(i=>{if(i[Ra])return;let a=this._engine.fetchNamespacesByElement(i);a.size?a.forEach(r=>r.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,n,i){let a=this._engine.statesByElement.get(e),r=new Map;if(a){let o=[];if(a.forEach((s,l)=>{if(r.set(l,s.value),this._triggers.has(l)){let c=this.trigger(e,l,Ss,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&Kn(o).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 i=new Set;t.forEach(a=>{let r=a.name;if(i.has(r))return;i.add(r);let o=this._triggers.get(r).fallbackTransition,s=n.get(r)||ph,l=new Rp(Ss),c=new Np(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,fromState:s,toState:l,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){let a=n.players.length?n.playersByQueriedElement.get(e):[];if(a&&a.length)i=!0;else{let r=e;for(;r=r.parentNode;)if(n.statesByElement.get(r)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{let a=e[Ra];(!a||a===hk)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){ya(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let a=n.element,r=this._elementListeners.get(a);r&&r.forEach(o=>{if(o.name==n.triggerName){let s=Of(a,n.triggerName,n.fromState.value,n.toState.value);s._data=e,Tf(n.player,o.phase,s,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((n,i)=>{let a=n.transition.ast.depCount,r=i.transition.ast.depCount;return a==0||r==0?a-r:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Vge=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n,i){this.bodyNode=e,this.driver=t,this._normalizer=n,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(a,r)=>{}}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 Fge(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,i=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,r=this.driver.getParentElement(t);for(;r;){let o=i.get(r);if(o){let s=n.indexOf(o);n.splice(s+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||n.unshift(e)}else n.push(e);return i.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 i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,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 i of n.values())if(i.namespaceId){let a=this._fetchNamespace(i.namespaceId);a&&t.add(a)}}return t}trigger(e,t,n,i){if(rc(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!rc(t))return;let a=t[Ra];if(a&&a.setForRemoval){a.setForRemoval=!1,a.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)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ya(e,hh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),no(e,hh))}removeNode(e,t,n){var i;if(rc(t)){(i=this.scheduler)==null||i.notify();let a=e?this._fetchNamespace(e):null;a?a.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,i,a){this.collectedLeaveElements.push(t),t[Ra]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,n,i,a){return rc(t)?this._fetchNamespace(e).listen(t,n,i,a):()=>{}}_buildInstruction(e,t,n,i,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,id,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ap,!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 Kn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[Ra];if(t&&t.setForRemoval){if(e[Ra]=hk,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(n=e.classList)!=null&&n.contains(hh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Rge,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];ya(i,Nge)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}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?Kn(t).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw Hfe()}_flushAnimations(e,t){let n=new Ff,i=[],a=new Map,r=[],o=new Map,s=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(G=>{c.add(G);let X=this.driver.query(G,Oge,!0);for(let le=0;le<X.length;le++)c.add(X[le])});let u=this.bodyNode,p=Array.from(this.statesByElement.keys()),g=Mb(p,this.collectedEnterElements),b=new Map,x=0;g.forEach((G,X)=>{let le=ik+x++;b.set(X,le),G.forEach(it=>ya(it,le))});let y=[],E=new Set,N=new Set;for(let G=0;G<this.collectedLeaveElements.length;G++){let X=this.collectedLeaveElements[G],le=X[Ra];le&&le.setForRemoval&&(y.push(X),E.add(X),le.hasAnimation?this.driver.query(X,Pge,!0).forEach(it=>E.add(it)):N.add(X))}let K=new Map,U=Mb(p,Array.from(E));U.forEach((G,X)=>{let le=Ip+x++;K.set(X,le),G.forEach(it=>ya(it,le))}),e.push(()=>{g.forEach((G,X)=>{let le=b.get(X);G.forEach(it=>no(it,le))}),U.forEach((G,X)=>{let le=K.get(X);G.forEach(it=>no(it,le))}),y.forEach(G=>{this.processLeaveNode(G)})});let Ne=[],Xe=[];for(let G=this._namespaceList.length-1;G>=0;G--)this._namespaceList[G].drainQueuedTransitions(t).forEach(X=>{let le=X.player,it=X.element;if(Ne.push(le),this.collectedEnterElements.length){let zt=it[Ra];if(zt&&zt.setForMove){if(zt.previousTriggersValues&&zt.previousTriggersValues.has(X.triggerName)){let zi=zt.previousTriggersValues.get(X.triggerName),xi=this.statesByElement.get(X.element);if(xi&&xi.has(X.triggerName)){let $a=xi.get(X.triggerName);$a.value=zi,xi.set(X.triggerName,$a)}}le.destroy();return}}let Lt=!u||!this.driver.containsElement(u,it),Vi=K.get(it),ot=b.get(it),mt=this._buildInstruction(X,n,ot,Vi,Lt);if(mt.errors&&mt.errors.length){Xe.push(mt);return}if(Lt){le.onStart(()=>Sr(it,mt.fromStyles)),le.onDestroy(()=>Ja(it,mt.toStyles)),i.push(le);return}if(X.isFallbackTransition){le.onStart(()=>Sr(it,mt.fromStyles)),le.onDestroy(()=>Ja(it,mt.toStyles)),i.push(le);return}let Kt=[];mt.timelines.forEach(zt=>{zt.stretchStartingKeyframe=!0,this.disabledNodes.has(zt.element)||Kt.push(zt)}),mt.timelines=Kt,n.append(it,mt.timelines);let Ia={instruction:mt,player:le,element:it};r.push(Ia),mt.queriedElements.forEach(zt=>da(o,zt,[]).push(le)),mt.preStyleProps.forEach((zt,zi)=>{if(zt.size){let xi=s.get(zi);xi||s.set(zi,xi=new Set),zt.forEach(($a,Bn)=>xi.add(Bn))}}),mt.postStyleProps.forEach((zt,zi)=>{let xi=l.get(zi);xi||l.set(zi,xi=new Set),zt.forEach(($a,Bn)=>xi.add(Bn))})});if(Xe.length){let G=[];Xe.forEach(X=>{G.push(Ufe(X.triggerName,X.errors))}),Ne.forEach(X=>X.destroy()),this.reportError(G)}let tt=new Map,oi=new Map;r.forEach(G=>{let X=G.element;n.has(X)&&(oi.set(X,X),this._beforeAnimationBuild(G.player.namespaceId,G.instruction,tt))}),i.forEach(G=>{let X=G.element;this._getPreviousPlayers(X,!1,G.namespaceId,G.triggerName,null).forEach(le=>{da(tt,X,[]).push(le),le.destroy()})});let yi=y.filter(G=>Lb(G,s,l)),Ht=new Map;Pb(Ht,this.driver,N,l,En).forEach(G=>{Lb(G,s,l)&&yi.push(G)});let Oi=new Map;g.forEach((G,X)=>{Pb(Oi,this.driver,new Set(G),s,gf)}),yi.forEach(G=>{let X=Ht.get(G),le=Oi.get(G);Ht.set(G,new Map([...(X==null?void 0:X.entries())??[],...(le==null?void 0:le.entries())??[]]))});let he=[],re=[],$e={};r.forEach(G=>{let{element:X,player:le,instruction:it}=G;if(n.has(X)){if(c.has(X)){le.onDestroy(()=>Ja(X,it.toStyles)),le.disabled=!0,le.overrideTotalTime(it.totalTime),i.push(le);return}let Lt=$e;if(oi.size>1){let ot=X,mt=[];for(;ot=ot.parentNode;){let Kt=oi.get(ot);if(Kt){Lt=Kt;break}mt.push(ot)}mt.forEach(Kt=>oi.set(Kt,Lt))}let Vi=this._buildAnimation(le.namespaceId,it,tt,a,Oi,Ht);if(le.setRealPlayer(Vi),Lt===$e)he.push(le);else{let ot=this.playersByElement.get(Lt);ot&&ot.length&&(le.parentPlayer=Kn(ot)),i.push(le)}}else Sr(X,it.fromStyles),le.onDestroy(()=>Ja(X,it.toStyles)),re.push(le),c.has(X)&&i.push(le)}),re.forEach(G=>{let X=a.get(G.element);if(X&&X.length){let le=Kn(X);G.setRealPlayer(le)}}),i.forEach(G=>{G.parentPlayer?G.syncPlayerEvents(G.parentPlayer):G.destroy()});for(let G=0;G<y.length;G++){let X=y[G],le=X[Ra];if(no(X,Ip),le&&le.hasAnimation)continue;let it=[];if(o.size){let Vi=o.get(X);Vi&&Vi.length&&it.push(...Vi);let ot=this.driver.query(X,Ap,!0);for(let mt=0;mt<ot.length;mt++){let Kt=o.get(ot[mt]);Kt&&Kt.length&&it.push(...Kt)}}let Lt=it.filter(Vi=>!Vi.destroyed);Lt.length?Hge(this,X,Lt):this.processLeaveNode(X)}return y.length=0,he.forEach(G=>{this.players.push(G),G.onDone(()=>{G.destroy();let X=this.players.indexOf(G);this.players.splice(X,1)}),G.play()}),he}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,a){let r=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(r=o)}else{let o=this.playersByElement.get(e);if(o){let s=!a||a==Ss;o.forEach(l=>{l.queued||!s&&l.triggerName!=i||r.push(l)})}}return(n||i)&&(r=r.filter(o=>!(n&&n!=o.namespaceId||i&&i!=o.triggerName))),r}_beforeAnimationBuild(e,t,n){let i=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let s of t.timelines){let l=s.element,c=l!==a,u=da(n,l,[]);this._getPreviousPlayers(l,c,r,o,t.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),u.push(p)})}Sr(a,t.fromStyles)}_buildAnimation(e,t,n,i,a,r){let o=t.triggerName,s=t.element,l=[],c=new Set,u=new Set,p=t.timelines.map(b=>{let x=b.element;c.add(x);let y=x[Ra];if(y&&y.removedBeforeQueried)return new qs(b.duration,b.delay);let E=x!==s,N=Uge((n.get(x)||Mge).map(tt=>tt.getRealPlayer())).filter(tt=>{let oi=tt;return oi.element?oi.element===x:!1}),K=a.get(x),U=r.get(x),Ne=Qw(this._normalizer,b.keyframes,K,U),Xe=this._buildPlayer(b,Ne,N);if(b.subTimeline&&i&&u.add(x),E){let tt=new Np(e,o,x);tt.setRealPlayer(Xe),l.push(tt)}return Xe});l.forEach(b=>{da(this.playersByQueriedElement,b.element,[]).push(b),b.onDone(()=>zge(this.playersByQueriedElement,b.element,b))}),c.forEach(b=>ya(b,Sb));let g=Kn(p);return g.onDestroy(()=>{c.forEach(b=>no(b,Sb)),Ja(s,t.toStyles)}),u.forEach(b=>{da(i,b,[]).push(g)}),g}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new qs(e.duration,e.delay)}},Np=class{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new qs,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(i=>Tf(e,n,void 0,i))}),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){da(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 zge(e,t,n){let i=e.get(t);if(i){if(i.length){let a=i.indexOf(n);i.splice(a,1)}i.length==0&&e.delete(t)}return i}function Bge(e){return e??null}function rc(e){return e&&e.nodeType===1}function jge(e){return e=="start"||e=="done"}function Nb(e,t){let n=e.style.display;return e.style.display=t??"none",n}function Pb(e,t,n,i,a){let r=[];n.forEach(l=>r.push(Nb(l)));let o=[];i.forEach((l,c)=>{let u=new Map;l.forEach(p=>{let g=t.computeStyle(c,p,a);u.set(p,g),(!g||g.length==0)&&(c[Ra]=Lge,o.push(c))}),e.set(c,u)});let s=0;return n.forEach(l=>Nb(l,r[s++])),o}function Mb(e,t){let n=new Map;if(e.forEach(s=>n.set(s,[])),t.length==0)return n;let i=1,a=new Set(t),r=new Map;function o(s){if(!s)return i;let l=r.get(s);if(l)return l;let c=s.parentNode;return n.has(c)?l=c:a.has(c)?l=i:l=o(c),r.set(s,l),l}return t.forEach(s=>{let l=o(s);l!==i&&n.get(l).push(s)}),n}function ya(e,t){var n;(n=e.classList)==null||n.add(t)}function no(e,t){var n;(n=e.classList)==null||n.remove(t)}function Hge(e,t,n){Kn(n).onDone(()=>e.processLeaveNode(t))}function Uge(e){let t=[];return pk(e,t),t}function pk(e,t){for(let n=0;n<e.length;n++){let i=e[n];i instanceof W1?pk(i.players,t):t.push(i)}}function Wge(e,t){let n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let a=0;a<n.length;a++){let r=n[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function Lb(e,t,n){let i=n.get(e);if(!i)return!1;let a=t.get(e);return a?i.forEach(r=>a.add(r)):t.set(e,i),n.delete(e),!0}var Pp=class{constructor(e,t,n,i){this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(a,r)=>{},this._transitionEngine=new Vge(e.body,t,n,i),this._timelineEngine=new Tge(e.body,t,n),this._transitionEngine.onRemovalComplete=(a,r)=>this.onRemovalComplete(a,r)}registerTrigger(e,t,n,i,a){let r=e+"-"+i,o=this._triggerCache[r];if(!o){let s=[],l=[],c=rk(this._driver,a,s,l);if(s.length)throw Rfe();l.length,o=Sge(i,c,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if(n.charAt(0)=="@"){let[a,r]=Eb(n),o=i;this._timelineEngine.command(a,t,r,o)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,a){if(n.charAt(0)=="@"){let[r,o]=Eb(n);return this._timelineEngine.listen(r,t,o,a)}return this._transitionEngine.listen(e,t,n,i,a)}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 qge(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=mh(t[0]),t.length>1&&(i=mh(t[t.length-1]))):t instanceof Map&&(n=mh(t)),n||i?new Yge(e,n,i):null}var Cn,Yge=(Cn=class{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let a=Cn.initialStylesByElement.get(t);a||Cn.initialStylesByElement.set(t,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Ja(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ja(this._element,this._initialStyles),this._endStyles&&(Ja(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Cn.initialStylesByElement.delete(this._element),this._startStyles&&(Sr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Sr(this._element,this._endStyles),this._endStyles=null),Ja(this._element,this._initialStyles),this._state=3)}},Cn.initialStylesByElement=new WeakMap,Cn);function mh(e){let t=null;return e.forEach((n,i)=>{Gge(i)&&(t=t||new Map,t.set(i,n))}),t}function Gge(e){return e==="display"||e==="position"}var Fb=class{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=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:Mf(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},$ge=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return Xw(e,t)}getParentElement(e){return Rf(e)}query(e,t,n){return Jw(e,t,n)}computeStyle(e,t,n){return Mf(e,t)}animate(e,t,n,i,a,r=[]){let o=i==0?"both":"forwards",s={duration:n,delay:i,fill:o};a&&(s.easing=a);let l=new Map,c=r.filter(g=>g instanceof Fb);tge(n,i)&&c.forEach(g=>{g.currentSnapshot.forEach((b,x)=>l.set(x,b))});let u=Xfe(t).map(g=>new Map(g));u=ige(e,u,l);let p=qge(e,u);return new Fb(e,u,s,p)}},Cc="@",mk="@.disabled",fk=class{constructor(e,t,n,i){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=i,this.ɵtype=0}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,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){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,i){this.delegate.setAttribute(e,t,n,i)}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,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Cc&&t==mk?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Kge=class extends fk{constructor(e,t,n,i,a){super(t,n,i,a),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Cc?t.charAt(1)=="."&&t==mk?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Cc){let i=Zge(e),a=t.slice(1),r="";return a.charAt(0)!=Cc&&([a,r]=Qge(a)),this.engine.listen(this.namespaceId,i,a,r,o=>{let s=o._data||-1;this.factory.scheduleListenerCallback(s,n,o)})}return this.delegate.listen(e,t,n)}};function Zge(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Qge(e){let t=e.indexOf("."),n=e.substring(0,t),i=e.slice(t+1);return[n,i]}var Xge=class{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,a)=>{let r=a==null?void 0:a.parentNode(i);r&&a.removeChild(r,i)}}createRenderer(e,t){var s;let n="",i=this.delegate.createRenderer(e,t);if(!e||!((s=t==null?void 0:t.data)!=null&&s.animation)){let l=this._rendererCache,c=l.get(i);if(!c){let u=()=>l.delete(i);c=new fk(n,i,this.engine,u),l.set(i,c)}return c}let a=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let o=l=>{Array.isArray(l)?l.forEach(o):this.engine.registerTrigger(a,r,e,l.name,l)};return t.data.animation.forEach(o),new Kge(this,r,i,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 i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(a=>{let[r,o]=a;r(o)}),this._animationCallbacksBuffer=[]})}),i.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()}},Jge=(()=>{const t=class t extends Pp{constructor(i,a,r){super(i,a,r,q(dx,{optional:!0}))}ngOnDestroy(){this.flush()}};t.ɵfac=function(i){return new(i||t)(F(Ye),F(ek),F(Nf))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function eve(){return new nge}function tve(e,t,n){return new Xge(e,t,n)}var ive=[{provide:Nf,useFactory:eve},{provide:Pp,useClass:Jge},{provide:$m,useFactory:tve,deps:[xp,Pp,Pe]}],ave=[{provide:ek,useFactory:()=>new $ge},{provide:Ti,useValue:"BrowserAnimations"},...ive];function nve(){return Hr("NgEagerAnimations"),[...ave]}var rve=(()=>{const t=class t extends Zw{constructor(i){super(),this.translate=i,this.getRangeLabel=(a,r,o)=>{if(o===0||r===0)return`0 / ${o}`;o=Math.max(o,0);let s=a*r,l=s<o?Math.min(s+r,o):s+r;return`${s+1} - ${l} / ${o}`},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(i){return new(i||t)(F(Ii))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),T=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}(T||{}),Vf=new Z("ngx-mask config"),gk=new Z("new ngx-mask config"),vk=new Z("initial ngx-mask config"),ove={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 ae,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")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var sve=(()=>{const t=class t{constructor(){H(this,"_config",q(Vf));H(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);H(this,"hiddenInput",this._config.hiddenInput);H(this,"showTemplate");H(this,"clearIfNotMatch",this._config.clearIfNotMatch);H(this,"specialCharacters",this._config.specialCharacters);H(this,"patterns",this._config.patterns);H(this,"prefix",this._config.prefix);H(this,"suffix",this._config.suffix);H(this,"thousandSeparator",this._config.thousandSeparator);H(this,"decimalMarker",this._config.decimalMarker);H(this,"customPattern");H(this,"showMaskTyped",this._config.showMaskTyped);H(this,"placeHolderCharacter",this._config.placeHolderCharacter);H(this,"validation",this._config.validation);H(this,"separatorLimit",this._config.separatorLimit);H(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);H(this,"leadZeroDateTime",this._config.leadZeroDateTime);H(this,"leadZero",this._config.leadZero);H(this,"apm",this._config.apm);H(this,"inputTransformFn",this._config.inputTransformFn);H(this,"outputTransformFn",this._config.outputTransformFn);H(this,"keepCharacterPositions",this._config.keepCharacterPositions);H(this,"_shift",new Set);H(this,"plusOnePosition",!1);H(this,"maskExpression","");H(this,"actualValue","");H(this,"showKeepCharacterExp","");H(this,"shownMaskExpression","");H(this,"deletedSpecialCharacter",!1);H(this,"ipError");H(this,"cpfCnpjError");H(this,"_formatWithSeparators",(i,a,r,o)=>{var b;let s=[],l="";if(Array.isArray(r)){let x=new RegExp(r.map(y=>"[\\^$.|?*+()".indexOf(y)>=0?`\\${y}`:y).join("|"));s=i.split(x),l=((b=i.match(x))==null?void 0:b[0])??T.EMPTY_STRING}else s=i.split(r),l=r;let c=s.length>1?`${l}${s[1]}`:T.EMPTY_STRING,u=s[0]??T.EMPTY_STRING,p=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);p&&+p&&(u[0]===T.MINUS?u=`-${u.slice(1,u.length).slice(0,p.length)}`:u=u.slice(0,p.length));let g=/(\d+)(\d{3})/;for(;a&&g.test(u);)u=u.replace(g,"$1"+a+"$2");return typeof o>"u"?u+c:o===0?u:u+c.substring(0,o+1)});H(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(T.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});H(this,"getPrecision",i=>{let a=i.split(T.DOT);return a.length>1?Number(a[a.length-1]):1/0});H(this,"checkAndRemoveSuffix",i=>{var a,r,o,s;for(let l=((a=this.suffix)==null?void 0:a.length)-1;l>=0;l--){let c=this.suffix.substring(l,(r=this.suffix)==null?void 0:r.length);if(i.includes(c)&&l!==((o=this.suffix)==null?void 0:o.length)-1&&(l-1<0||!i.includes(this.suffix.substring(l-1,(s=this.suffix)==null?void 0:s.length))))return i.replace(c,T.EMPTY_STRING)}return i});H(this,"checkInputPrecision",(i,a,r)=>{var l;let o=i,s=r;if(a<1/0){Array.isArray(s)&&(s=s.find(b=>b!==this.thousandSeparator)||s[0]);let c=new RegExp(this._charToRegExpExpression(s)+`\\d{${a}}.*$`),u=o.match(c),p=(u&&((l=u[0])==null?void 0:l.length))??0;if(p-1>a){let g=p-1-a;o=o.substring(0,o.length-g)}a===0&&this._compareOrIncludes(o[o.length-1],s,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(i,a){let[r,o]=a;return this.customPattern=o,this.applyMask(i,r)}applyMask(i,a,r=0,o=!1,s=!1,l=()=>{}){var yi,Ht,Oi;if(!a||typeof i!="string")return T.EMPTY_STRING;let c=0,u="",p=!1,g=!1,b=1,x=!1,y=i,E=r;y.slice(0,this.prefix.length)===this.prefix&&(y=y.slice(this.prefix.length,y.length)),this.suffix&&y.length>0&&(y=this.checkAndRemoveSuffix(y)),y==="("&&this.prefix&&(y="");let N=y.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&y.slice(c,c+1)===T.MINUS&&(u+=y.slice(c,c+1)),a===T.IP){let he=y.split(T.DOT);this.ipError=this._validIP(he),a="099.099.099.099"}let K=[];for(let he=0;he<y.length;he++)(yi=y[he])!=null&&yi.match("\\d")&&K.push(y[he]??T.EMPTY_STRING);if(a===T.CPF_CNPJ&&(this.cpfCnpjError=K.length!==11&&K.length!==14,K.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(T.PERCENT)){if(y.match("[a-z]|[A-Z]")||y.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!s){y=this._stripToDecimal(y);let $e=this.getPrecision(a);y=this.checkInputPrecision(y,$e,this.decimalMarker)}let he=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(y.indexOf(he)>0&&!this.percentage(y.substring(0,y.indexOf(he)))){let $e=y.substring(0,y.indexOf(he)-1);this.allowNegativeNumbers&&y.slice(c,c+1)===T.MINUS&&!s&&($e=y.substring(0,y.indexOf(he))),y=`${$e}${y.substring(y.indexOf(he),y.length)}`}let re="";this.allowNegativeNumbers&&y.slice(c,c+1)===T.MINUS?re=`${T.MINUS}${y.slice(c+1,c+y.length)}`:re=y,this.percentage(re)?u=this._splitPercentZero(y):u=this._splitPercentZero(y.substring(0,y.length-1))}else if(a.startsWith(T.SEPARATOR)){(y.match("[wа-яА-Я]")||y.match("[ЁёА-я]")||y.match("[a-z]|[A-Z]")||y.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||y.match("[^A-Za-z0-9,]"))&&(y=this._stripToDecimal(y));let he=this.getPrecision(a),re=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(he===0?y=this.allowNegativeNumbers?y.length>2&&y[0]===T.MINUS&&y[1]===T.NUMBER_ZERO&&y[2]!==this.thousandSeparator&&y[2]!==T.COMMA&&y[2]!==T.DOT?"-"+y.slice(2,y.length):y[0]===T.NUMBER_ZERO&&y.length>1&&y[1]!==this.thousandSeparator&&y[1]!==T.COMMA&&y[1]!==T.DOT?y.slice(1,y.length):y:y.length>1&&y[0]===T.NUMBER_ZERO&&y[1]!==this.thousandSeparator&&y[1]!==T.COMMA&&y[1]!==T.DOT?y.slice(1,y.length):y:(y[0]===re&&y.length>1&&(y=T.NUMBER_ZERO+y.slice(0,y.length+1),this.plusOnePosition=!0),y[0]===T.NUMBER_ZERO&&y[1]!==re&&y[1]!==this.thousandSeparator&&(y=y.length>1?y.slice(0,1)+re+y.slice(1,y.length+1):y,this.plusOnePosition=!0),this.allowNegativeNumbers&&y[0]===T.MINUS&&(y[1]===re||y[1]===T.NUMBER_ZERO)&&(y=y[1]===re&&y.length>2?y.slice(0,1)+T.NUMBER_ZERO+y.slice(1,y.length):y[1]===T.NUMBER_ZERO&&y.length>2&&y[2]!==re?y.slice(0,2)+re+y.slice(2,y.length):y,this.plusOnePosition=!0)),s){let ot=y.slice(this._findFirstNonZeroDigitIndex(y),y.length),mt=y[E]===T.NUMBER_ZERO||y[E]===re,Kt=y[0]===T.NUMBER_ZERO,Ia=y[0]===T.MINUS,zt=y[0]===this.thousandSeparator,zi=y[1]===re,xi=y[1]===T.NUMBER_ZERO,$a=y[2]===re;Kt&&zi&&mt&&E<2&&(y=ot),Ia&&xi&&$a&&mt&&E<3&&(y=T.MINUS+ot),ot!==T.MINUS&&(E===0&&(Kt||zt)||this.allowNegativeNumbers&&E===1&&Ia&&!xi)&&(y=Ia?T.MINUS+ot:ot)}let $e=this._charToRegExpExpression(this.thousandSeparator),G='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace($e,"");if(Array.isArray(this.decimalMarker))for(let ot of this.decimalMarker)G=G.replace(this._charToRegExpExpression(ot),T.EMPTY_STRING);else G=G.replace(this._charToRegExpExpression(this.decimalMarker),"");let X=new RegExp("["+G+"]");y.match(X)&&(y=y.substring(0,y.length-1)),y=this.checkInputPrecision(y,he,this.decimalMarker);let le=y.replace(new RegExp($e,"g"),"");u=this._formatWithSeparators(le,this.thousandSeparator,this.decimalMarker,he);let it=u.indexOf(T.COMMA)-y.indexOf(T.COMMA),Lt=u.length-y.length,Vi=s&&u.length<i.length&&this.separatorLimit;if((u[E-1]===this.thousandSeparator||u[E-this.prefix.length])&&this.prefix&&s)E=E-1;else if(Lt>0&&u[E]!==this.thousandSeparator||Vi){g=!0;let ot=0;do this._shift.add(E+ot),ot++;while(ot<Lt)}else u[E-1]===this.thousandSeparator||Lt===-4||Lt===-3||u[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):it!==0&&E>0&&!(u.indexOf(T.COMMA)>=E&&E>3)||!(u.indexOf(T.DOT)>=E&&E>3)&&Lt<=0?(this._shift.clear(),g=!0,b=Lt,E+=Lt,this._shift.add(E)):this._shift.clear()}else for(let he=0,re=N[0];he<N.length&&c!==a.length;he++,re=N[he]??T.EMPTY_STRING){let $e=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(re,a[c]??T.EMPTY_STRING)&&a[c+1]===T.SYMBOL_QUESTION)u+=re,c+=2;else if(a[c+1]===T.SYMBOL_STAR&&p&&this._checkSymbolMask(re,a[c+2]??T.EMPTY_STRING))u+=re,c+=3,p=!1;else if(this._checkSymbolMask(re,a[c]??T.EMPTY_STRING)&&a[c+1]===T.SYMBOL_STAR&&!$e)u+=re,p=!0;else if(a[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(re,a[c+2]??T.EMPTY_STRING))u+=re,c+=3;else if(this._checkSymbolMask(re,a[c]??T.EMPTY_STRING)){if(a[c]===T.HOURS&&(this.apm?Number(re)>9:Number(re)>2)){E=this.leadZeroDateTime?E:E+1,c+=1,this._shiftStep(a,c,N.length),he--,this.leadZeroDateTime&&(u+="0");continue}if(a[c]===T.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(re)>2||y.slice(c-1,c).length===1&&Number(y.slice(c-1,c))>2||y.slice(c-1,c)==="1"&&Number(re)>2:u==="2"&&Number(re)>3||(u.slice(c-2,c)==="2"||u.slice(c-3,c)==="2"||u.slice(c-4,c)==="2"||u.slice(c-1,c)==="2")&&Number(re)>3&&c>10)){E=E+1,c+=1,he--;continue}if((a[c]===T.MINUTE||a[c]===T.SECOND)&&Number(re)>5){E=this.leadZeroDateTime?E:E+1,c+=1,this._shiftStep(a,c,N.length),he--,this.leadZeroDateTime&&(u+="0");continue}let G=31,X=y[c],le=y[c+1],it=y[c+2],Lt=y[c-1],Vi=y[c-2],ot=y.slice(c-3,c-1),mt=y.slice(c-1,c+1),Kt=y.slice(c,c+2),Ia=y.slice(c-2,c);if(a[c]===T.DAY){let zt=a.slice(0,2)===T.MONTHS,zi=a.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Vi);if(Number(re)>3&&this.leadZeroDateTime||!zt&&(Number(Kt)>G||Number(mt)>G||this.specialCharacters.includes(le))||(zi?Number(mt)>G||!this.specialCharacters.includes(X)&&this.specialCharacters.includes(it)||this.specialCharacters.includes(X):Number(Kt)>G||this.specialCharacters.includes(le)&&!s)){E=this.leadZeroDateTime?E:E+1,c+=1,this._shiftStep(a,c,N.length),he--,this.leadZeroDateTime&&(u+="0");continue}}if(a[c]===T.MONTH){let zt=c===0&&(Number(re)>2||Number(Kt)>12||this.specialCharacters.includes(le)&&!s),zi=a.slice(c+2,c+3),xi=ot.includes(zi)&&a.includes("d0")&&(this.specialCharacters.includes(Vi)&&Number(mt)>12&&!this.specialCharacters.includes(X)||this.specialCharacters.includes(X)),$a=Number(ot)<=G&&!this.specialCharacters.includes(ot)&&this.specialCharacters.includes(Lt)&&(Number(Kt)>12||this.specialCharacters.includes(le)),Bn=Number(Kt)>12&&c===5||this.specialCharacters.includes(le)&&c===5,Cl=Number(ot)>G&&!this.specialCharacters.includes(ot)&&!this.specialCharacters.includes(Ia)&&Number(Ia)>12&&a.includes("d0"),Sl=Number(ot)<=G&&!this.specialCharacters.includes(ot)&&!this.specialCharacters.includes(Lt)&&Number(mt)>12;if(Number(re)>1&&this.leadZeroDateTime||zt||xi||Sl||Cl||$a||Bn&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,c+=1,this._shiftStep(a,c,N.length),he--,this.leadZeroDateTime&&(u+="0");continue}}u+=re,c++}else this.specialCharacters.includes(re)&&a[c]===re?(u+=re,c++):this.specialCharacters.indexOf(a[c]??T.EMPTY_STRING)!==-1?(u+=a[c],c++,this._shiftStep(a,c,N.length),he--):a[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,c,N.length):this.patterns[a[c]??T.EMPTY_STRING]&&((Ht=this.patterns[a[c]??T.EMPTY_STRING])!=null&&Ht.optional)?(N[c]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Oi=this.patterns[a[c]??T.EMPTY_STRING])!=null&&Oi.optional)&&(u+=N[c]),a.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&a.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,he--):this.maskExpression[c+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(re)===this.maskExpression[c+2]&&p||this.maskExpression[c+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(re)===this.maskExpression[c+2]&&p?(c+=3,u+=re):this.showMaskTyped&&this.specialCharacters.indexOf(re)<0&&re!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??T.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let U=E+1;for(;this._shift.has(U);)b++,U++;let Ne=o&&!a.startsWith(T.SEPARATOR)?c:this._shift.has(E)?b:0;x&&Ne--,l(Ne,g),b<0&&this._shift.clear();let Xe=!1;s&&(Xe=N.every(he=>this.specialCharacters.includes(he)));let tt=`${this.prefix}${Xe?T.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(tt=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let oi=y.length===1&&this.specialCharacters.includes(a[0])&&y!==a[0];if(!this._checkSymbolMask(y,a[1])&&oi)return"";if(u.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(s&&u===T.MINUS)return"";tt=`${T.MINUS}${this.prefix}${u.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return tt}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(a=>a===i)}_checkSymbolMask(i,a){var r,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(T.EMPTY_STRING).filter((a,r)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===T.MINUS&&r===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let o=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(o=>o!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===T.EMPTY_STRING||Number(a)>255:a===T.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===T.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(T.DOT),r=this.allowNegativeNumbers&&i.includes(T.MINUS)?"-":"";if(a===-1){let o=parseInt(r?i.slice(1,i.length):i,10);return isNaN(o)?T.EMPTY_STRING:`${r}${o}`}else{let o=parseInt(i.replace("-","").substring(0,a),10),s=i.substring(a+1),l=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return l===T.EMPTY_STRING?T.EMPTY_STRING:`${r}${l}${c}${s}`}}_findFirstNonZeroDigitIndex(i){for(let a=0;a<i.length;a++){let r=i[a];if(r&&r>="1"&&r<="9")return a}return-1}};H(t,"ɵfac",function(i){return new(i||t)}),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})(),lve=(()=>{const t=class t extends sve{constructor(){super(...arguments);H(this,"isNumberValue",!1);H(this,"maskIsShown","");H(this,"selStart",null);H(this,"selEnd",null);H(this,"writingValue",!1);H(this,"maskChanged",!1);H(this,"_maskExpressionArray",[]);H(this,"triggerOnMaskChange",!1);H(this,"_previousValue","");H(this,"_currentValue","");H(this,"_emitValue",!1);H(this,"_start");H(this,"_end");H(this,"onChange",a=>{});H(this,"_elementRef",q(Ce,{optional:!0}));H(this,"document",q(Ye));H(this,"_config",q(Vf));H(this,"_renderer",q(Km,{optional:!0}))}applyMask(a,r,o=0,s=!1,l=!1,c=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=a&&typeof this.selStart=="number"?a[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,p="",g=o;if(this.hiddenInput!==null&&!this.writingValue){let E=a&&a.length===1?a.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==T.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>E.length?E.splice(this.selStart,0,u):a.length<E.length&&(E.length-a.length===1?l?E.splice(this.selStart-1,1):E.splice(a.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(p=this.removeMask(a)),p=this.actualValue.length&&E.length<=a.length?this.shiftTypedSymbols(E.join(T.EMPTY_STRING)):a}if(s&&(this.hiddenInput||!this.hiddenInput)&&(p=a),l&&this.specialCharacters.indexOf(this.maskExpression[g]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(p=this._currentValue),this.deletedSpecialCharacter&&g&&(this.specialCharacters.includes(this.actualValue.slice(g,g+1))?g=g+1:r.slice(g-1,g+1)!==T.MONTHS&&(g=g-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(p=this.removeMask(a)),this.maskChanged?p=a:p=p&&p.length?p:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!s&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let b=super.applyMask(p,r,g,s,l,c);if(this.actualValue=this.getActualValue(b),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(E=>!this._compareOrIncludes(E,this.decimalMarker,this.thousandSeparator))),(b||b==="")&&(this._previousValue=this._currentValue,this._currentValue=b,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&s),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(b)):this.formControlResult(b)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?l?this.hideInput(b,this.maskExpression):`${this.hideInput(b,this.maskExpression)}${this.maskIsShown.slice(b.length)}`:b;let x=b.length,y=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let E=this._numberSkipedSymbols(b);return`${b}${y.slice(x+E)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${b}${y}`;return`${b}${y.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,o=r.exec(a),s=0;for(;o!=null;)s+=1,o=r.exec(a);return s}applyValueChanges(a,r,o,s=()=>{}){var c;let l=(c=this._elementRef)==null?void 0:c.nativeElement;l&&(l.value=this.applyMask(l.value,this.maskExpression,a,r,o,s),l!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(T.EMPTY_STRING).map((o,s)=>{var l,c;return this.patterns&&this.patterns[r[s]??T.EMPTY_STRING]&&((l=this.patterns[r[s]??T.EMPTY_STRING])!=null&&l.symbol)?(c=this.patterns[r[s]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(a){let r=a.split(T.EMPTY_STRING).filter((o,s)=>{let l=this.maskExpression[s]??T.EMPTY_STRING;return this._checkSymbolMask(o,l)||this.specialCharacters.includes(l)&&o===l});return r.join(T.EMPTY_STRING)===a?r.join(T.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(T.EMPTY_STRING).map((o,s)=>{if(this.specialCharacters.includes(a[s+1]??T.EMPTY_STRING)&&a[s+1]!==this.maskExpression[s+1])return r=o,a[s+1];if(r.length){let l=r;return r=T.EMPTY_STRING,l}return o})||[]).join(T.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(a){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(a){if(this.maskExpression===T.IP)return this._checkForIp(a);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,s;return(s=this._renderer)==null?void 0:s.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(T.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<a.length;o++){let s=a[o]??T.EMPTY_STRING;s&&s.match("\\d")&&r.push(s)}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(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${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(a===T.HASH)return r;let s=[];for(let l=0;l<a.length;l++){let c=a[l]??T.EMPTY_STRING;c&&c.match("\\d")&&s.push(c)}return s.length<=3?r.slice(s.length,r.length):s.length>3&&s.length<=6?r.slice(s.length+1,r.length):s.length>6&&s.length<=9?r.slice(s.length+2,r.length):s.length>9&&s.length<11?r.slice(s.length+3,r.length):s.length===11?"":s.length===12?a.length===17?o.slice(16,o.length):o.slice(15,o.length):s.length>12&&s.length<=14?o.slice(s.length+4,o.length):""}_getActiveElement(a=this.document){var o;let r=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){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(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(r)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(T.PERCENT)&&a.includes(T.DOT)?a:a&&a.replace(this._regExpForRemove(r),T.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,T.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,T.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(r=r.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),T.DOT)}_checkSymbols(a){let r=a;if(r===T.EMPTY_STRING)return r;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(r=r.replace(T.COMMA,T.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),s=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&o?r===this.decimalMarker?null:s.length>14?String(s):this._checkPrecision(this.maskExpression,s):s}_checkPatternForSpace(){var a,r,o;for(let s in this.patterns)if(this.patterns[s]&&((a=this.patterns[s])!=null&&a.hasOwnProperty("pattern"))){let l=(r=this.patterns[s])==null?void 0:r.pattern.toString(),c=(o=this.patterns[s])==null?void 0:o.pattern;if(l!=null&&l.includes(T.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let o=this.getPrecision(a),s=r;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(s=s.replace(",",".")),this.leadZero?Number(s).toFixed(Number(o)):Number(s).toFixed(2)):this.numberToString(s)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(T.EMPTY_STRING).reduce((r,o,s)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?s:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?r+o:r;this._end=s;let l=Number(a.slice(this._start+1,this._end)),c=new Array(l+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(T.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(T.CURLY_BRACKETS_LEFT)?r+c:u+r+c}else return r+c},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};H(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Xt(t)))(r||t)}})()),H(t,"ɵprov",J({token:t,factory:t.ɵfac}));let e=t;return e})();function cve(){let e=q(vk),t=q(gk);return t instanceof Function?Se(Se({},e),t()):Se(Se({},e),t)}function dve(e){return[{provide:gk,useValue:e},{provide:vk,useValue:ove},{provide:Vf,useFactory:cve},lve]}function uve(e){return hm(dve(e))}var vs=class extends Error{};vs.prototype.name="InvalidTokenError";function hve(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function pve(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 hve(t)}catch{return atob(t)}}function mve(e,t){if(typeof e!="string")throw new vs("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new vs(`Invalid token specified: missing part #${n+1}`);let a;try{a=pve(i)}catch(r){throw new vs(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new vs(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}function fve(e){var t,n,i,a;return((n=(t=e.userProfile)==null?void 0:t.children)==null?void 0:n.length)>0?e.userProfile.children[0].ssin:((a=(i=e.userProfile)==null?void 0:i.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var gve=(()=>{const t=class t{registerAccessToken(i){this.getLocalAccessToken=i}getAccessToken(){return Rn(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return xn(this,null,function*(){let i=yield this.decodedToken();return fve(i)})}getPatientInfo(){return xn(this,null,function*(){return(yield this.decodedToken()).userProfile})}isMandator(){return xn(this,null,function*(){var i,a;return((a=(i=(yield this.decodedToken()).userProfile)==null?void 0:i.mandators)==null?void 0:a.length)>0})}decodedToken(){return xn(this,null,function*(){return mve(yield this.getLocalAccessToken("nihii-vidis"))})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),vve=(()=>{const t=class t{getAccessToken(){return wt("demo token")}getSsin(){return xn(this,null,function*(){return Promise.resolve("00000000097")})}getPatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}isMandator(){return xn(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(i){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bve="1.3",Sc=bve,Zn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Zn||{}),_ve={variables:{demo:{env:Zn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",keycloakAuthServerUrl:"http://vasiam.test.paas.vasdc.be/auth",keycloakRealm:"MOOSE_NIHII",keycloakClientId:"nihdi-vidis",env:Zn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",keycloakAuthServerUrl:"https://api-acpt.ehealth.fgov.be/auth/",keycloakRealm:"healthcare",keycloakClientId:"nihdi-vidis-dev",env:Zn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",keycloakAuthServerUrl:"https://api-acpt.ehealth.fgov.be/auth/",keycloakRealm:"healthcare",keycloakClientId:"nihdi-vidis-dev",env:Zn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Zn.PROD}}},ru=(()=>{const t=class t{setEnvironment(i){this.configVariables=_ve.variables[Zn[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),zf=(()=>{const t=class t{constructor(){this.config=q(ru),this.injector=q(Hi),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(vve):this.injector.get(gve)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yve=(()=>{const t=class t{constructor(){H(this,"version");H(this,"language");H(this,"configName");H(this,"services");H(this,"onError",new ae);H(this,"initialized",!1);H(this,"_ngInitDone",!1);H(this,"_ngFirstChangesDone",!1)}validateVersion(){let i=Sc.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));if(a.length!==2)throw new Error(`The given version (${this.version}) has the wrong format <major>.<minor>!`);if(a[0]!==i[0])throw new Error(`The given version (${this.version})'s major is not compatible with this component's major version (${Sc})!`)}validateInputs(){console.log("[BaseWebComponent] validating inputs..."),this.validateVersion();let i=this;if(["language","configName","services"].forEach(a=>{if(i[a]===void 0)throw new Error(`Missing required component input "${a}"!`)}),this.services.cache==null)throw new Error("The given services input does not contain a cache service!");if(this.services.getAccessToken==null)throw new Error("The given services input does not contain a getAccessToken() function!");if(this.services.registerRefreshCallback==null)throw new Error("The given services input does not contain a registerRefreshCallack() function!");console.log("[BaseWebComponent] all inputs validated ok!")}finalizeInitialization(){!this._ngInitDone||!this._ngFirstChangesDone||(this.validateInputs(),console.log(`[BaseWebComponent] host version = [${this.version}], our version = [${Sc}]`),this.onInitialized(),this.initialized=!0)}ngOnInit(){console.log("[BaseWebComponent] onInit"),this._ngInitDone||(this._ngInitDone=!0,this.finalizeInitialization())}ngOnChanges(i){console.log("[BaseWebComponent] onChange: ",i),this._ngFirstChangesDone?this.onPropsChanged(i):(this._ngFirstChangesDone=!0,this.finalizeInitialization())}isInitialized(){return this.initialized}onInitialized(){}onPropsChanged(i){}fireError(i,a){this.onError.emit({title:i,text:a})}};H(t,"ɵfac",function(i){return new(i||t)}),H(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onError:"onError"},features:[Gt],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),xve=()=>{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)},wve=(e,t)=>{let n=q(zf),i=q(ru).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http"))return t(e);let a=e.headers||new Ro;return n.getInstance().getAccessToken().pipe(yo(r=>t(e.clone({url:`${i}${e.url}`,headers:a.set("Authorization",tc.getAuthorizationHeader(r)).set("user-type",tc.getUserType({isProfessional:!1})).set("client-type",xve()?tc.clientType.mobileApp:tc.clientType.webApp)}))))};function kve(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Eve=["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",kve];function Cve(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Sve=["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",Cve];function Dve(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:i===0&&t!==0&&t%1e6===0&&n===0||!(i>=0&&i<=5)?4:5}var Ive=["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",Dve];function Ave(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Tve=["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",Ave];Gd(Eve,"de");Gd(Tve,"nl");Gd(Ive,"fr");Gd(Sve,"en");var Ove=class{handleError(e){throw new Error(e)}},Rve=class extends R1{getFirstDayOfWeek(){return 1}},Nve={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Pve=[nve(),gme(vme([wve])),uve(),{provide:Ua,useClass:Ove},{provide:Jt,useClass:Rve,deps:[fp]},{provide:Ya,useValue:Nve},{provide:Zw,useClass:rve}],Bf=(()=>{const t=class t{transform(i){return $me(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"fullname",type:t,pure:!0,standalone:!0});let e=t;return e})(),Mve=(()=>{const t=class t{constructor(){this.translate=q(Ii)}transform(i){return i||this.translate.currentLang}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"getLangForAttrLang",type:t,pure:!0,standalone:!0});let e=t;return e})(),jf=(()=>{const t=class t{transform(i){if(i){let a=i%1,r=Math.floor(i)>0?`${Math.floor(i)} + `:"";return a===.25?`${r}¼`:a===.5?`${r}½`:a===.75?`${r}¾`:i.toString()}return""}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"quantity",type:t,pure:!0,standalone:!0});let e=t;return e})(),Lve=(()=>{const t=class t{constructor(){this.translate=q(Ii)}transform(i){return Kme(i,this.translate.currentLang)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"translateObject",type:t,pure:!0,standalone:!0});let e=t;return e})(),xl=(()=>{const t=class t{constructor(){this.translate=q(Ii)}transform(i){return yl(i,this.translate.currentLang)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"translateValue",type:t,pure:!0,standalone:!0});let e=t;return e})(),Hf=6048e5,Fve=864e5,Vb=Symbol.for("constructDateFrom");function Mi(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Vb in e?e[Vb](t):e instanceof Date?new e.constructor(t):new Date(t)}function kt(e,t){return Mi(t||e,e)}function zn(e,t,n){let i=kt(e,n==null?void 0:n.in);return isNaN(t)?Mi(e,NaN):(t&&i.setDate(i.getDate()+t),i)}function Vve(e,t,n){let i=kt(e,n==null?void 0:n.in);if(isNaN(t))return Mi(e,NaN);let a=i.getDate(),r=Mi(e,i.getTime());r.setMonth(i.getMonth()+t+1,0);let o=r.getDate();return a>=o?r:(i.setFullYear(r.getFullYear(),r.getMonth(),a),i)}var zve={};function wl(){return zve}function ka(e,t){var s,l,c,u;let n=wl(),i=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,a=kt(e,t==null?void 0:t.in),r=a.getDay(),o=(r<i?7:0)+r-i;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Ks(e,t){return ka(e,ti(Se({},t),{weekStartsOn:1}))}function bk(e,t){let n=kt(e,t==null?void 0:t.in),i=n.getFullYear(),a=Mi(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=Ks(a),o=Mi(n,0);o.setFullYear(i,0,4),o.setHours(0,0,0,0);let s=Ks(o);return n.getTime()>=r.getTime()?i+1:n.getTime()>=s.getTime()?i:i-1}function od(e){let t=kt(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 ur(e,...t){let n=Mi.bind(null,e||t.find(i=>typeof i=="object"));return t.map(n)}function It(e,t){let n=kt(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function ou(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t),r=It(i),o=It(a),s=+r-od(r),l=+o-od(o);return Math.round((s-l)/Fve)}function Bve(e,t){let n=bk(e,t),i=Mi(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),Ks(i)}function Uf(e,t,n){return zn(e,t*7,n)}function jve(e,t,n){return Vve(e,t*12,n)}function Hve(e,t){let n,i=t==null?void 0:t.in;return e.forEach(a=>{!i&&typeof a=="object"&&(i=Mi.bind(null,a));let r=kt(a,i);(!n||n>r||isNaN(+r))&&(n=r)}),Mi(i,n||NaN)}function Uve(e,t){let n=+kt(e);if(isNaN(n))return NaN;let i,a;return t.forEach((r,o)=>{let s=kt(r);if(isNaN(+s)){i=NaN,a=NaN;return}let l=Math.abs(n-+s);(i==null||l<a)&&(i=o,a=l)}),i}function Wve(e,t,n){let[i,...a]=ur(n==null?void 0:n.in,e,...t),r=Uve(i,a);if(typeof r=="number"&&isNaN(r))return Mi(i,NaN);if(r!==void 0)return a[r]}function _k(e){return Mi(e,Date.now())}function yk(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t);return+It(i)==+It(a)}function qve(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Yve(e){return!(!qve(e)&&typeof e!="number"||isNaN(+kt(e)))}function Gve(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t),r=i.getFullYear()-a.getFullYear(),o=i.getMonth()-a.getMonth();return r*12+o}function $ve(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t),r=ka(i,n),o=ka(a,n),s=+r-od(r),l=+o-od(o);return Math.round((s-l)/Hf)}function Kve(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t);return i.getFullYear()-a.getFullYear()}function zb(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t),r=Bb(i,a),o=Math.abs(ou(i,a));i.setDate(i.getDate()-r*o);let s=+(Bb(i,a)===-r),l=r*(o-s);return l===0?0:l}function Bb(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 su(e,t){let n=kt(e,t==null?void 0:t.in);return n.setHours(23,59,59,999),n}function Zve(e,t){let n=kt(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Wf(e,t){var s,l,c,u;let n=wl(),i=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,a=kt(e,t==null?void 0:t.in),r=a.getDay(),o=(r<i?-7:0)+6-(r-i);return a.setDate(a.getDate()+o),a.setHours(23,59,59,999),a}var Qve={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"}},Xve=(e,t,n)=>{let i,a=Qve[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function fh(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Jve={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ebe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},tbe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ibe={date:fh({formats:Jve,defaultWidth:"full"}),time:fh({formats:ebe,defaultWidth:"full"}),dateTime:fh({formats:tbe,defaultWidth:"full"})},abe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nbe=(e,t,n,i)=>abe[e];function us(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;a=e.formattingValues[s]||e.formattingValues[o]}else{let o=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[o]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var rbe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},obe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sbe={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"]},lbe={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"]},cbe={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"}},dbe={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"}},ube=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},hbe={ordinalNumber:ube,era:us({values:rbe,defaultWidth:"wide"}),quarter:us({values:obe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:us({values:sbe,defaultWidth:"wide"}),day:us({values:lbe,defaultWidth:"wide"}),dayPeriod:us({values:cbe,defaultWidth:"wide",formattingValues:dbe,defaultFormattingWidth:"wide"})};function hs(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let o=r[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?mbe(s,p=>p.test(o)):pbe(s,p=>p.test(o)),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;let u=t.slice(o.length);return{value:c,rest:u}}}function pbe(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function mbe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function fbe(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let o=e.valueCallback?e.valueCallback(r[0]):r[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(a.length);return{value:o,rest:s}}}var gbe=/^(\d+)(th|st|nd|rd)?/i,vbe=/\d+/i,bbe={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},_be={any:[/^b/i,/^(a|c)/i]},ybe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},xbe={any:[/1/i,/2/i,/3/i,/4/i]},wbe={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},kbe={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]},Ebe={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},Cbe={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]},Sbe={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},Dbe={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}},Ibe={ordinalNumber:fbe({matchPattern:gbe,parsePattern:vbe,valueCallback:e=>parseInt(e,10)}),era:hs({matchPatterns:bbe,defaultMatchWidth:"wide",parsePatterns:_be,defaultParseWidth:"any"}),quarter:hs({matchPatterns:ybe,defaultMatchWidth:"wide",parsePatterns:xbe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:hs({matchPatterns:wbe,defaultMatchWidth:"wide",parsePatterns:kbe,defaultParseWidth:"any"}),day:hs({matchPatterns:Ebe,defaultMatchWidth:"wide",parsePatterns:Cbe,defaultParseWidth:"any"}),dayPeriod:hs({matchPatterns:Sbe,defaultMatchWidth:"any",parsePatterns:Dbe,defaultParseWidth:"any"})},Abe={code:"en-US",formatDistance:Xve,formatLong:ibe,formatRelative:nbe,localize:hbe,match:Ibe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Tbe(e,t){let n=kt(e,t==null?void 0:t.in);return ou(n,Zve(n))+1}function qf(e,t){let n=kt(e,t==null?void 0:t.in),i=+Ks(n)-+Bve(n);return Math.round(i/Hf)+1}function xk(e,t){var u,p,g,b;let n=kt(e,t==null?void 0:t.in),i=n.getFullYear(),a=wl(),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)??a.firstWeekContainsDate??((b=(g=a.locale)==null?void 0:g.options)==null?void 0:b.firstWeekContainsDate)??1,o=Mi((t==null?void 0:t.in)||e,0);o.setFullYear(i+1,0,r),o.setHours(0,0,0,0);let s=ka(o,t),l=Mi((t==null?void 0:t.in)||e,0);l.setFullYear(i,0,r),l.setHours(0,0,0,0);let c=ka(l,t);return+n>=+s?i+1:+n>=+c?i:i-1}function Obe(e,t){var o,s,l,c;let n=wl(),i=(t==null?void 0:t.firstWeekContainsDate)??((s=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:s.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,a=xk(e,t),r=Mi((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),ka(r,t)}function Rbe(e,t){let n=kt(e,t==null?void 0:t.in),i=+ka(n,t)-+Obe(n,t);return Math.round(i/Hf)+1}function Ct(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var Wn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return Ct(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):Ct(n+1,2)},d(e,t){return Ct(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 Ct(e.getHours()%12||12,t.length)},H(e,t){return Ct(e.getHours(),t.length)},m(e,t){return Ct(e.getMinutes(),t.length)},s(e,t){return Ct(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return Ct(a,t.length)}},eo={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},jb={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return Wn.y(e,t)},Y:function(e,t,n,i){let a=xk(e,i),r=a>0?a:1-a;if(t==="YY"){let o=r%100;return Ct(o,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):Ct(r,t.length)},R:function(e,t){let n=bk(e);return Ct(n,t.length)},u:function(e,t){let n=e.getFullYear();return Ct(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return Ct(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return Ct(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return Wn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return Ct(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=Rbe(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):Ct(a,t.length)},I:function(e,t,n){let i=qf(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):Ct(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Wn.d(e,t)},D:function(e,t,n){let i=Tbe(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Ct(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":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"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return Ct(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});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"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return Ct(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return Ct(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=eo.noon:i===0?a=eo.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=eo.evening:i>=12?a=eo.afternoon:i>=4?a=eo.morning:a=eo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Wn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Wn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Ct(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):Ct(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Wn.s(e,t)},S:function(e,t){return Wn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ub(i);case"XXXX":case"XX":return kr(i);case"XXXXX":case"XXX":default:return kr(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return Ub(i);case"xxxx":case"xx":return kr(i);case"xxxxx":case"xxx":default:return kr(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Hb(i,":");case"OOOO":default:return"GMT"+kr(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Hb(i,":");case"zzzz":default:return"GMT"+kr(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return Ct(i,t.length)},T:function(e,t,n){return Ct(+e,t.length)}};function Hb(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+Ct(r,2)}function Ub(e,t){return e%60===0?(e>0?"-":"+")+Ct(Math.abs(e)/60,2):kr(e,t)}function kr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Ct(Math.trunc(i/60),2),r=Ct(i%60,2);return n+a+t+r}var Wb=(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"})}},wk=(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"})}},Nbe=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Wb(e,t);let r;switch(i){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}}",Wb(i,t)).replace("{{time}}",wk(a,t))},Pbe={p:wk,P:Nbe},Mbe=/^D+$/,Lbe=/^Y+$/,Fbe=["D","DD","YY","YYYY"];function Vbe(e){return Mbe.test(e)}function zbe(e){return Lbe.test(e)}function Bbe(e,t,n){let i=jbe(e,t,n);if(console.warn(i),Fbe.includes(e))throw new RangeError(i)}function jbe(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Hbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ube=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wbe=/^'([^]*?)'?$/,qbe=/''/g,Ybe=/[a-zA-Z]/;function oc(e,t,n){var u,p,g,b;let i=wl(),a=i.locale??Abe,r=i.firstWeekContainsDate??((p=(u=i.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,o=i.weekStartsOn??((b=(g=i.locale)==null?void 0:g.options)==null?void 0:b.weekStartsOn)??0,s=kt(e,n==null?void 0:n.in);if(!Yve(s))throw new RangeError("Invalid time value");let l=t.match(Ube).map(x=>{let y=x[0];if(y==="p"||y==="P"){let E=Pbe[y];return E(x,a.formatLong)}return x}).join("").match(Hbe).map(x=>{if(x==="''")return{isToken:!1,value:"'"};let y=x[0];if(y==="'")return{isToken:!1,value:Gbe(x)};if(jb[y])return{isToken:!0,value:x};if(y.match(Ybe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:x}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));let c={firstWeekContainsDate:r,weekStartsOn:o,locale:a};return l.map(x=>{if(!x.isToken)return x.value;let y=x.value;(zbe(y)||Vbe(y))&&Bbe(y,t,String(e));let E=jb[y[0]];return E(s,y,a.localize,c)}).join("")}function Gbe(e){let t=e.match(Wbe);return t?t[1].replace(qbe,"'"):e}function sc(e,t){return kt(e,t==null?void 0:t.in).getDate()}function Vr(e,t){let n=kt(e,t==null?void 0:t.in).getDay();return n===0?7:n}function qb(e,t){return kt(e,t==null?void 0:t.in).getMonth()}function Zs(e,t){return+kt(e)>+kt(t)}function zr(e,t){return+kt(e)<+kt(t)}function co(e,t){return+kt(e)==+kt(t)}function $be(e,t,n){let[i,a]=ur(n==null?void 0:n.in,e,t);return+ka(i,n)==+ka(a,n)}function Kbe(e,t){return $be(Mi((t==null?void 0:t.in)||e,e),_k((t==null?void 0:t.in)||e),t)}function Zbe(e,t){return yk(Mi(e,e),_k(e))}function Yf(e,t,n){let i=+kt(e,n==null?void 0:n.in),[a,r]=[+kt(t.start,n==null?void 0:n.in),+kt(t.end,n==null?void 0:n.in)].sort((o,s)=>o-s);return i>=a&&i<=r}function Gf(e,t,n){return zn(e,-1,n)}function Qbe(e,t,n){return Uf(e,-1,n)}var Xbe={1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday",7:"sunday"},Jbe=(()=>{const t=class t{transform(i){return Xbe[Vr(i)]}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"weekdayName",type:t,pure:!0,standalone:!0});let e=t;return e})(),e0e=(()=>{const t=class t{transform(i){let a=new Date;return i==null?void 0:i.filter(r=>r.type==="definitive"||r.endDate&&!zr(new Date(r.endDate),a))}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"activeAndFutureSuspensions",type:t,pure:!0,standalone:!0});let e=t;return e})(),kk=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.cdRef=q(St),this.destroyRef=q(Ba),this.result=""}ngOnInit(){this.translate.onLangChange.pipe(nu(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.medication),this.cdRef.markForCheck()})}transform(i){return this.medication!==i&&(this.medication=i,this.result=this.getResult(i)),this.result}getResult(i){var r,o;let a=i.posology;if(a){if(a.length===1&&this.posologiesAreWithDayPeriodOrWithTime(a)&&((r=i.frequency)!=null&&r.periodicity))return a[0].quantity.value+" - 1x/"+this.translate.instant("commons.periodicities."+i.frequency.periodicity);if(a.length>1&&this.posologiesAreWithDayPeriodOrWithTime(a)&&a.every(s=>s.quantity.value===a[0].quantity.value)&&((o=i.frequency)!=null&&o.periodicity))return a[0].quantity.value+" - "+a.length+"x/"+this.translate.instant("commons.periodicities."+i.frequency.periodicity);if(a[0].text)return yl(a[0].text,this.translate.currentLang)}}posologiesAreWithDayPeriodOrWithTime(i){return i.some(a=>{var r,o;return!!((r=a==null?void 0:a.daytime)!=null&&r.dayPeriod)||!!((o=a==null?void 0:a.daytime)!=null&&o.time)})}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"dose",type:t,pure:!1,standalone:!0});let e=t;return e})(),Le=function(e){return e.TO_PLAN="toPlan",e.MORNING="morning",e.NOON="noon",e.EVENING="evening",e.NIGHT="night",e.IF_NEEDED="ifNeeded",e}(Le||{}),Ek=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(Ek||{}),ua=function(e){return e.LIST="list",e.DAY="day",e.WEEK="week",e}(ua||{});function sd(e,t){return!zr(e,t)}function t0e(e,t){return!Zs(e,t)}function i0e(e,t){let n=[],i=e;for(;!Zs(i,t);)n.push(i),i=It(zn(i,1));return n}function lu(e){switch(e){case Vt.MONDAY:return 1;case Vt.TUESDAY:return 2;case Vt.WEDNESDAY:return 3;case Vt.THURSDAY:return 4;case Vt.FRIDAY:return 5;case Vt.SATURDAY:return 6;case Vt.SUNDAY:return 7;default:return}}var Ck="minutes",oa="hours",sa="days",ea="weeks",ta="months",Er="years",a0e=new Map([[ie.UH,{number:30,unit:Ck}],[ie.U,{number:1,unit:oa}],[ie.UT,{number:2,unit:oa}],[ie.UD,{number:3,unit:oa}],[ie.UV,{number:4,unit:oa}],[ie.UQ,{number:5,unit:oa}],[ie.UZ,{number:6,unit:oa}],[ie.US,{number:7,unit:oa}],[ie.UA,{number:8,unit:oa}],[ie.UN,{number:9,unit:oa}],[ie.UX,{number:10,unit:oa}],[ie.UE,{number:11,unit:oa}],[ie.UW,{number:12,unit:oa}],[ie.D,{number:1,unit:sa}],[ie.DT,{number:2,unit:sa}],[ie.O1,{number:2,unit:sa}],[ie.DD,{number:3,unit:sa}],[ie.DV,{number:4,unit:sa}],[ie.DQ,{number:5,unit:sa}],[ie.DZ,{number:6,unit:sa}],[ie.DA,{number:8,unit:sa}],[ie.DN,{number:9,unit:sa}],[ie.DX,{number:10,unit:sa}],[ie.DE,{number:11,unit:sa}],[ie.DW,{number:12,unit:sa}],[ie.WT,{number:2,unit:ea}],[ie.WD,{number:3,unit:ea}],[ie.WV,{number:4,unit:ea}],[ie.WQ,{number:5,unit:ea}],[ie.WZ,{number:6,unit:ea}],[ie.WS,{number:7,unit:ea}],[ie.WA,{number:8,unit:ea}],[ie.WN,{number:9,unit:ea}],[ie.WX,{number:10,unit:ea}],[ie.WE,{number:11,unit:ea}],[ie.WW,{number:12,unit:ea}],[ie.WP,{number:24,unit:ea}],[ie.W,{number:1,unit:ea}],[ie.M,{number:1,unit:ta}],[ie.MT,{number:2,unit:ta}],[ie.MD,{number:3,unit:ta}],[ie.MV,{number:4,unit:ta}],[ie.MQ,{number:5,unit:ta}],[ie.MZ2,{number:6,unit:ta}],[ie.MS,{number:7,unit:ta}],[ie.MA,{number:8,unit:ta}],[ie.MN,{number:9,unit:ta}],[ie.MX,{number:10,unit:ta}],[ie.ME,{number:11,unit:ta}],[ie.MC,{number:18,unit:ta}],[ie.JH2,{number:6,unit:ta}],[ie.J,{number:1,unit:Er}],[ie.JT,{number:2,unit:Er}],[ie.JD,{number:3,unit:Er}],[ie.JV,{number:4,unit:Er}],[ie.JQ,{number:5,unit:Er}],[ie.JZ,{number:6,unit:Er}]]);function n0e(e,t,n){var a;let i=a0e.get((a=t.frequency)==null?void 0:a.periodicity);switch(i==null?void 0:i.unit){case Ck:case oa:return!0;case sa:return r0e(e,t,i,n);case ea:return o0e(e,t,i,n);case ta:return s0e(e,t,i,n);case Er:return l0e(e,t,i,n);default:return!1}}function r0e(e,t,n,i){var c;let a=It(new Date(t.treatmentStartDate)),r=ou(i,a),o=Math.floor(r/n.number),s=n.number*o,l=((c=e.day)==null?void 0:c.dayNumber)||1;return r===s+l-1}function o0e(e,t,n,i){var r,o,s;let a=It(new Date(t.treatmentStartDate));if((o=(r=e.day)==null?void 0:r.weekday)!=null&&o.day)return $ve(a,i)%n.number===0&&Vr(i)===lu(e.day.weekday.day);{let l=ou(i,a),c=Math.floor(l/(n.number*7)),u=n.number*7*c,p=((s=e.day)==null?void 0:s.dayNumber)||1;return l===u+p-1}}function s0e(e,t,n,i){var o,s;let a;(o=e.day)!=null&&o.date?a=It(new Date(e.day.date)):(s=e.day)!=null&&s.dayNumber?a=It(zn(new Date(t.treatmentStartDate),e.day.dayNumber-1)):a=It(new Date(t.treatmentStartDate));let r=Gve(a,i);return n.number>1?r%n.number===0&&co(i.getDate(),a.getDate()):co(i.getDate(),a.getDate())}function l0e(e,t,n,i){var o;let a=(o=e.day)!=null&&o.date?It(new Date(e.day.date)):It(new Date(t.treatmentStartDate)),r=Kve(a,i);return n.number>1?r%n.number===0&&Yb(i,a):Yb(i,a)}function Yb(e,t){return e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}var c0e=[ie.M,ie.MT,ie.MD,ie.MV,ie.MQ,ie.MZ2,ie.MS,ie.MA,ie.MN,ie.MX,ie.ME,ie.MC];function gh(e){return c0e.includes(e)}var d0e=[ie.J,ie.JH2,ie.JT,ie.JD,ie.JV,ie.JQ,ie.JZ];function vh(e){return d0e.includes(e)}function u0e(e,t){return sd(t,It(new Date(e.treatmentStartDate)))&&(!e.treatmentEndDate||t0e(t,su(new Date(e.treatmentEndDate))))}function Sk(e,t){var n;return(n=e.suspensions)!=null&&n.length?e.suspensions.some(i=>i.startDate&&i.endDate?Yf(t,{start:It(new Date(i.startDate)),end:su(new Date(i.endDate))}):sd(t,It(new Date(i.startDate)))):!1}function h0e(e,t){var i;let n=(i=e.suspensions)==null?void 0:i.filter(a=>a.type==="temporary");return n!=null&&n.length?n.some(a=>Yf(t,{start:It(new Date(a.startDate)),end:su(new Date(a.endDate))})):!1}function Dk(e,t,n){var i,a,r,o,s,l,c;return(i=t.frequency)!=null&&i.periodicity?n0e(e,t,n):(a=e.day)!=null&&a.date?co(n,It(new Date(e.day.date))):(r=e.day)!=null&&r.dayNumber?co(n,It(zn(new Date(t.treatmentStartDate),e.day.dayNumber-1))):(s=(o=e.day)==null?void 0:o.weekday)!=null&&s.day||(c=(l=e.day)==null?void 0:l.weekday)!=null&&c.weekNumber?e.day.weekday.weekNumber?qf(n)===e.day.weekday.weekNumber&&(lu(e.day.weekday.day)||1)===Vr(n):co(n,Ik(e,t)):!!(t.treatmentStartDate&&co(n,It(new Date(t.treatmentStartDate))))}function p0e(e,t){var n,i;return(i=(n=e.day)==null?void 0:n.weekday)!=null&&i.weekNumber?m0e(e,t):Ik(e,t)}function m0e(e,t){let n=new Date(t.treatmentStartDate),i=qf(n),a=It(zn(Uf(Ks(n),e.day.weekday.weekNumber-i),(lu(e.day.weekday.day)||1)-1));return zr(a,n)?jve(a,1):a}function Ik(e,t){var a,r;let n=lu((r=(a=e.day)==null?void 0:a.weekday)==null?void 0:r.day)||0,i=Vr(new Date(t.treatmentStartDate));return It(zn(new Date(t.treatmentStartDate),(n-i+7)%7))}function Ak(e,t){let n=e.treatmentEndDate?new Date(e.treatmentEndDate):null,i=f0e(e,t);return n&&i?Hve([n,i]):n||i}function f0e(e,t){var i;if(!((i=e.suspensions)!=null&&i.length))return null;let n=e.suspensions.filter(a=>g0e(a,t)).map(a=>Gf(new Date(a.startDate)));return Wve(t,n)}function g0e(e,t){return e.startDate&&sd(new Date(e.startDate),t)||zr(new Date(e.startDate),t)&&sd(new Date(e.endDate),t)}function Tk(e,t,n){let i=new Date(t.treatmentStartDate);if(!n||zr(n,i))return n;let a,r=n;for(;!a&&!zr(r,i);)Dk(e,t,r)?a=r:r=Gf(r);return r}function v0e(e,t){let n=Object.values(Le),i=a=>yl(a.medication.name,t)||"";return[...e||[]].sort((a,r)=>{let o=n.indexOf(a.posology.dayPart)-n.indexOf(r.posology.dayPart);return o===0?i(a).localeCompare(i(r),void 0,{sensitivity:"base"}):o})}function b0e(e,t,n="asc"){let i=a=>yl(a.name,t)||"";return[...e||[]].sort((a,r)=>i(a).localeCompare(i(r),void 0,{sensitivity:"base"})*(n==="asc"?1:-1))}function _0e(e){return e?e.flatMap(t=>t!=null&&t.posology?t.posology.map(n=>({medication:t,posology:n})):t?[{medication:t,posology:{dayPart:Le.TO_PLAN}}]:[]).filter(t=>t!==void 0):[]}function Gb(e,t){return u0e(e.medication,t)&&!Sk(e.medication,t)&&Dk(e.posology,e.medication,t)}function y0e(e){return e.filter(t=>Ok(t))}function Ok(e){let t=It(new Date),n=e.treatmentEndDate;return e.treatmentStartDate&&Zs(new Date(e.treatmentStartDate).setHours(0),t)?!1:!Sk(e,t)&&(!n||Zs(new Date(n),t))}function x0e(e){return e.filter(t=>cu(t))}function cu(e){let t=It(new Date);return e.treatmentStartDate&&Zs(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&h0e(e,t)}function w0e(e){return e.filter(t=>Ok(t)||cu(t))}var k0e=(()=>{const t=class t{transform(i,a){return i.filter(r=>a===r.posology.dayPart)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"filterMedicationByDayPart",type:t,pure:!0,standalone:!0});let e=t;return e})(),E0e=v0($ee(),1),C0e=new Z("MESSAGE_FORMAT_CONFIG"),S0e={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},D0e=(()=>{const t=class t extends Po{constructor(i){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:o,currency:s,strictPluralKeys:l,throwOnError:c,fallbackPrefix:u}=Se(Se({},S0e),i);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:o,currency:s,strictPluralKeys:l},this.throwOnError=!!c,this.fallbackPrefix=u}compile(i,a){if(this.fallbackPrefix&&i.startsWith(this.fallbackPrefix))return i.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(a).compile(i)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${i}'`),r=A0e(i,a)}return this.throwOnError||(r=I0e(r,i)),r}compileTranslations(i,a){return typeof i=="string"?this.compile(i,a):Object.keys(i).reduce((r,o)=>{let s=i[o];return r[o]=this.compileTranslations(s,a),r},{})}getMessageFormatInstance(i){return this.mfCache.has(i)||this.mfCache.set(i,new E0e.default(i,this.messageFormatOptions)),this.mfCache.get(i)}};t.ɵfac=function(i){return new(i||t)(F(C0e,8))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})();function I0e(e,t){return n=>{let i=t;try{i=e(n)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${n}'`)}return i}}function A0e(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Rk={};me(Rk,{"00001":()=>Nk,"00002":()=>Pk,"00003":()=>Mk,"00004":()=>Lk,"00005":()=>Fk,"00006":()=>Vk,"00007":()=>zk,"00008":()=>Bk,"00009":()=>jk,"00010":()=>Hk,"00011":()=>Uk,"00012":()=>Wk,"00013":()=>qk,"00014":()=>Yk,"00015":()=>Gk,"00016":()=>$k,"00017":()=>Kk,"00018":()=>Zk,"00019":()=>Qk,"00020":()=>Xk,"00021":()=>Jk,"00022":()=>eE,"00023":()=>tE,"00024":()=>iE,"00025":()=>aE,"00026":()=>nE,"00027":()=>rE,"00028":()=>oE,"00029":()=>sE,"00030":()=>lE,ampoule:()=>PE,bandage:()=>AE,bottle:()=>ME,box:()=>OE,cm:()=>cE,default:()=>T0e,dropsperminute:()=>dE,"effervescent-tablet":()=>DE,gm:()=>uE,internationalunits:()=>hE,iu:()=>CE,liter:()=>RE,"mck/h":()=>pE,"mck/kg/minute":()=>mE,measure:()=>fE,meq:()=>kE,mg:()=>xE,"mg/h":()=>gE,"mg/ml":()=>wE,micrograms:()=>IE,miu:()=>EE,"ml/h":()=>vE,mmol:()=>SE,piece:()=>TE,syringe:()=>NE,"syringe-ampoule":()=>LE,tbl:()=>bE,tsp:()=>_E,"unt/h":()=>yE});var Nk="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Pk="{count, plural, one{Ampulle} other{Ampullen}}",Mk="anwenden",Lk="{count, plural, one{Kapsel} other{Kapseln}}",Fk="{count, plural, one{Tablette} other{Tabletten}}",Vk="Dosis",zk="{count, plural, one{Tropf} other{Tropfen}}",Bk="{count, plural, one{Fläsche} other{Fläschchen}}",jk="{count, plural, one{Implantat} other{Implantate}}",Hk="{count, plural, one{Infusion} other{Infusionen}}",Uk="{count, plural, one{Inhalation} other{Inhalationen}}",Wk="Einstechen",qk="Kaugummi",Yk="{count, plural, one{Kompresse} other{Kompressen}}",Gk="{count, plural, one{Einlauf} other{Einläufe}}",$k="ml",Kk="Ov.",Zk="{count, plural, one{Perle} other{Perlen}}",Qk="{count, plural, one{Pastille} other{Pastillen}}",Xk="Pflaster",Jk="cart",eE="Pen",tE="{count, plural, one{Puff} other{Puffs}}",iE="{count, plural, one{Schwamm} other{Schwämme}}",aE="{count, plural, one{Stift} other{Stifte}}",nE="Suppo",rE="Tube",oE="{count, plural, one{Docht} other{Dochte}}",sE="Beutel",lE="Beutel",cE="Zentimeter",dE="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",uE="Gramm",hE="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",pE="Mikrogramm pro Stunde",mE="Mikrogramm pro Kilogramm pro Minute",fE="Maß",gE="Miligramm pro Stunde",vE="Milliliter pro Stunde",bE="Esslöffel",_E="Kaffeelöffel",yE="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",xE="Milligramm",wE="Milligramm pro Millimeter",kE="meq",EE="miu",CE="iu",SE="mmol",DE="effervescent-tablet",IE="micrograms",AE="{count, plural, one{bandage} other{bandagen}}",TE="{count, plural, one{stück} other{stücke}}",OE="schachteln",RE="liter",NE="{count, plural, one{spritze} other{spritzen}}",PE="{count, plural, one{glühbirn} other{glühbirnen}}",ME="{count, plural, one{Fläsche} other{Fläschchen}}",LE="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",T0e={"00001":Nk,"00002":Pk,"00003":Mk,"00004":Lk,"00005":Fk,"00006":Vk,"00007":zk,"00008":Bk,"00009":jk,"00010":Hk,"00011":Uk,"00012":Wk,"00013":qk,"00014":Yk,"00015":Gk,"00016":$k,"00017":Kk,"00018":Zk,"00019":Qk,"00020":Xk,"00021":Jk,"00022":eE,"00023":tE,"00024":iE,"00025":aE,"00026":nE,"00027":rE,"00028":oE,"00029":sE,"00030":lE,cm:cE,dropsperminute:dE,gm:uE,internationalunits:hE,"mck/h":pE,"mck/kg/minute":mE,measure:fE,"mg/h":gE,"ml/h":vE,tbl:bE,tsp:_E,"unt/h":yE,mg:xE,"mg/ml":wE,meq:kE,miu:EE,iu:CE,mmol:SE,"effervescent-tablet":DE,micrograms:IE,bandage:AE,piece:TE,box:OE,liter:RE,syringe:NE,ampoule:PE,bottle:ME,"syringe-ampoule":LE},FE={};me(FE,{"00001":()=>VE,"00002":()=>zE,"00003":()=>BE,"00004":()=>jE,"00005":()=>HE,"00006":()=>UE,"00007":()=>WE,"00008":()=>qE,"00009":()=>YE,"00010":()=>GE,"00011":()=>$E,"00012":()=>KE,"00013":()=>ZE,"00014":()=>QE,"00015":()=>XE,"00016":()=>JE,"00017":()=>eC,"00018":()=>tC,"00019":()=>iC,"00020":()=>aC,"00021":()=>nC,"00022":()=>rC,"00023":()=>oC,"00024":()=>sC,"00025":()=>lC,"00026":()=>cC,"00027":()=>dC,"00028":()=>uC,"00029":()=>hC,"00030":()=>pC,ampoule:()=>zC,bandage:()=>PC,bottle:()=>BC,box:()=>LC,cm:()=>mC,default:()=>O0e,dropsperminute:()=>fC,"effervescent-tablet":()=>RC,gm:()=>gC,internationalunits:()=>vC,iu:()=>TC,liter:()=>FC,"mck/h":()=>bC,"mck/kg/minute":()=>_C,measure:()=>yC,meq:()=>IC,mg:()=>SC,"mg/h":()=>xC,"mg/ml":()=>DC,micrograms:()=>NC,miu:()=>AC,"ml/h":()=>wC,mmol:()=>OC,piece:()=>MC,syringe:()=>VC,"syringe-ampoule":()=>jC,tbl:()=>kC,tsp:()=>EC,"unt/h":()=>CC});var VE="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",zE="{count, plural, one{ampoule} other{ampoules}}",BE="applic.",jE="{count, plural, one{capsule} other{capsules}}",HE="{count, plural, one{tablet} other{tablets}}",UE="{count, plural, one{dose} other{doses}}",WE="{count, plural, one{drop} other{drops}}",qE="{count, plural, one{bottle} other{bottles}}",YE="{count, plural, one{implant} other{implants}}",GE="{count, plural, one{perfusion} other{perfusions}}",$E="{count, plural, one{inhalation} other{inhalations}}",KE="insert",ZE="{count, plural, one{chewing gum} other{chewing gums}}",QE="{count, plural, one{compress} other{compresses}}",XE="enema",JE="ml",eC="{count, plural, one{ovule} other{ovules}}",tC="{count, plural, one{pearl} other{pearls}}",iC="{count, plural, one{pastille} other{pastilles}}",aC="{count, plural, one{patch} other{patches}}",nC="{count, plural, one{cartridge} other{cartridges}}",rC="{count, plural, one{pen} other{pens}}",oC="{count, plural, one{puff} other{puffs}}",sC="{count, plural, one{sponge} other{sponges}}",lC="{count, plural, one{stylo} other{stylos}}",cC="{count, plural, one{supository} other{supositories}}",dC="{count, plural, one{tube} other{tubes}}",uC="{count, plural, one{wick} other{wicks}}",hC="{count, plural, one{bag} other{bags}}",pC="{count, plural, one{small bag} other{small bags}}",mC="centimeter",fC="{count, plural, one{drop per minute} other{drops per minute}}",gC="gram",vC="international units",bC="microgram per hour",_C="microgram per kilogram per minute",yC="{count, plural, one{measure} other{measures}}",xC="milligram per hour",wC="milliliter per hour",kC="{count, plural, one{tablespoon} other{tablespoons}}",EC="{count, plural, one{teaspoon} other{teaspoons}}",CC="{count, plural, one{unit per hour} other{units per hour}}",SC="milligram",DC="milligram per milliliter",IC="milli-equivalent",AC="miu",TC="international units",OC="millimole",RC="{count, plural, one{effervescent tablet} other{effervescent tablets}}",NC="microgram",PC="{count, plural, one{bandage} other{bandages}}",MC="{count, plural, one{piece} other{pieces}}",LC="{count, plural, one{spray} other{sprays}}",FC="liter",VC="{count, plural, one{syringe} other{syringes}}",zC="{count, plural, one{ampoule} other{ampoules}}",BC="{count, plural, one{bottle} other{bottles}}",jC="{count, plural, one{syringe ampoule} other{syringe ampoules}}",O0e={"00001":VE,"00002":zE,"00003":BE,"00004":jE,"00005":HE,"00006":UE,"00007":WE,"00008":qE,"00009":YE,"00010":GE,"00011":$E,"00012":KE,"00013":ZE,"00014":QE,"00015":XE,"00016":JE,"00017":eC,"00018":tC,"00019":iC,"00020":aC,"00021":nC,"00022":rC,"00023":oC,"00024":sC,"00025":lC,"00026":cC,"00027":dC,"00028":uC,"00029":hC,"00030":pC,cm:mC,dropsperminute:fC,gm:gC,internationalunits:vC,"mck/h":bC,"mck/kg/minute":_C,measure:yC,"mg/h":xC,"ml/h":wC,tbl:kC,tsp:EC,"unt/h":CC,mg:SC,"mg/ml":DC,meq:IC,miu:AC,iu:TC,mmol:OC,"effervescent-tablet":RC,micrograms:NC,bandage:PC,piece:MC,box:LC,liter:FC,syringe:VC,ampoule:zC,bottle:BC,"syringe-ampoule":jC},HC={};me(HC,{"00001":()=>UC,"00002":()=>WC,"00003":()=>qC,"00004":()=>YC,"00005":()=>GC,"00006":()=>$C,"00007":()=>KC,"00008":()=>ZC,"00009":()=>QC,"00010":()=>XC,"00011":()=>JC,"00012":()=>eS,"00013":()=>tS,"00014":()=>iS,"00015":()=>aS,"00016":()=>nS,"00017":()=>rS,"00018":()=>oS,"00019":()=>sS,"00020":()=>lS,"00021":()=>cS,"00022":()=>dS,"00023":()=>uS,"00024":()=>hS,"00025":()=>pS,"00026":()=>mS,"00027":()=>fS,"00028":()=>gS,"00029":()=>vS,"00030":()=>bS,ampoule:()=>WS,bandage:()=>zS,bottle:()=>qS,box:()=>jS,cm:()=>_S,default:()=>R0e,dropsperminute:()=>yS,"effervescent-tablet":()=>FS,gm:()=>xS,internationalunits:()=>wS,iu:()=>MS,liter:()=>HS,"mck/h":()=>kS,"mck/kg/minute":()=>ES,measure:()=>CS,meq:()=>NS,mg:()=>OS,"mg/h":()=>SS,"mg/ml":()=>RS,micrograms:()=>VS,miu:()=>PS,"ml/h":()=>DS,mmol:()=>LS,piece:()=>BS,syringe:()=>US,"syringe-ampoule":()=>YS,tbl:()=>IS,tsp:()=>AS,"unt/h":()=>TS});var UC="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",WC="amp.",qC="applic.",YC="caps.",GC="compr.",$C="{count, plural, one{dose} other{doses}}",KC="{count, plural, one{goutte} other{gouttes}}",ZC="flac.",QC="{count, plural, one{implant} other{implants}}",XC="{count, plural, one{perfusion} other{perfusions}}",JC="{count, plural, one{inhalation} other{inhalations}}",eS="insert",tS="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",iS="{count, plural, one{compres(se)} other{compres(ses)}}",aS="{count, plural, one{lavement} other{lavements}}",nS="ml",rS="ov.",oS="{count, plural, one{perle} other{perles}}",sS="{count, plural, one{pastille} other{pastilles}}",lS="{count, plural, one{patch} other{patchs}}",cS="patr.",dS="{count, plural, one{stylo} other{stylos}}",uS="{count, plural, one{puff} other{puffs}}",hS="{count, plural, one{éponge} other{éponges}}",pS="{count, plural, one{stylo} other{stylos}}",mS="suppo",fS="{count, plural, one{tube} other{tubes}}",gS="{count, plural, one{mèche} other{mèches}}",vS="{count, plural, one{sac} other{sacs}}",bS="{count, plural, one{sachet} other{sachets}}",_S="{count, plural, one{centimètre} other{centimètres}}",yS="{count, plural, one{goute par minute} other{goutes par minute}}",xS="{count, plural, one{gramme} other{grammes}}",wS="{count, plural, one{unité internationales} other{unités internationales}}",kS="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",ES="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",CS="{count, plural, one{mesure} other{mesures}}",SS="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",DS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",IS="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",AS="{count, plural, one{cuillère à café} other{cuillères à café}}",TS="{count, plural, one{unité par heure} other{unités par heure}}",OS="{count, plural, one{miligramme} other{miligrammes}}",RS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",NS="milli-équivalent",PS="miu",MS="{count, plural, one{unité internationales} other{unités internationales}}",LS="millimol",FS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",VS="{count, plural, one{microgramme} other{microgrammes}}",zS="{count, plural, one{bandage} other{bandages}}",BS="{count, plural, one{pièce} other{pièces}}",jS="{count, plural, one{vaporisateur} other{vaporisateurs}}",HS="{count, plural, one{litre} other{litres}}",US="{count, plural, one{seringue} other{seringues}}",WS="{count, plural, one{ampoule} other{ampoules}}",qS="{count, plural, one{fiole} other{fioles}}",YS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",R0e={"00001":UC,"00002":WC,"00003":qC,"00004":YC,"00005":GC,"00006":$C,"00007":KC,"00008":ZC,"00009":QC,"00010":XC,"00011":JC,"00012":eS,"00013":tS,"00014":iS,"00015":aS,"00016":nS,"00017":rS,"00018":oS,"00019":sS,"00020":lS,"00021":cS,"00022":dS,"00023":uS,"00024":hS,"00025":pS,"00026":mS,"00027":fS,"00028":gS,"00029":vS,"00030":bS,cm:_S,dropsperminute:yS,gm:xS,internationalunits:wS,"mck/h":kS,"mck/kg/minute":ES,measure:CS,"mg/h":SS,"ml/h":DS,tbl:IS,tsp:AS,"unt/h":TS,mg:OS,"mg/ml":RS,meq:NS,miu:PS,iu:MS,mmol:LS,"effervescent-tablet":FS,micrograms:VS,bandage:zS,piece:BS,box:jS,liter:HS,syringe:US,ampoule:WS,bottle:qS,"syringe-ampoule":YS},GS={};me(GS,{"00001":()=>$S,"00002":()=>KS,"00003":()=>ZS,"00004":()=>QS,"00005":()=>XS,"00006":()=>JS,"00007":()=>eD,"00008":()=>tD,"00009":()=>iD,"00010":()=>aD,"00011":()=>nD,"00012":()=>rD,"00013":()=>oD,"00014":()=>sD,"00015":()=>lD,"00016":()=>cD,"00017":()=>dD,"00018":()=>uD,"00019":()=>hD,"00020":()=>pD,"00021":()=>mD,"00022":()=>fD,"00023":()=>gD,"00024":()=>vD,"00025":()=>bD,"00026":()=>_D,"00027":()=>yD,"00028":()=>xD,"00029":()=>wD,"00030":()=>kD,ampoule:()=>KD,bandage:()=>WD,bottle:()=>ZD,box:()=>YD,cm:()=>ED,default:()=>N0e,dropsperminute:()=>CD,"effervescent-tablet":()=>HD,gm:()=>SD,internationalunits:()=>DD,iu:()=>BD,liter:()=>GD,"mck/h":()=>ID,"mck/kg/minute":()=>AD,measure:()=>TD,meq:()=>VD,mg:()=>LD,"mg/h":()=>OD,"mg/ml":()=>FD,micrograms:()=>UD,miu:()=>zD,"ml/h":()=>RD,mmol:()=>jD,piece:()=>qD,syringe:()=>$D,"syringe-ampoule":()=>QD,tbl:()=>ND,tsp:()=>PD,"unt/h":()=>MD});var $S="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",KS="{count, plural, one{ampule} other{ampullen}}",ZS="aanbrengen",QS="{count, plural, one{capsule} other{capsules}}",XS="{count, plural, one{tablet} other{tabletten}}",JS="{count, plural, one{dose} other{dosissen}}",eD="{count, plural, one{druppel} other{druppels}}",tD="{count, plural, one{flesje} other{flesjes}}",iD="{count, plural, one{implantaat} other{implantaten}}",aD="{count, plural, one{infuus} other{infusen}}",nD="{count, plural, one{inhalatie} other{inhalaties}}",rD="inbrengen",oD="{count, plural, one{kauwgom} other{kauwgommen}}",sD="{count, plural, one{kompres} other{kompressen}}",lD="lavement",cD="ml",dD="{count, plural, one{ovule} other{ovules}}",uD="{count, plural, one{parel} other{parels}}",hD="{count, plural, one{pastille} other{pastilles}}",pD="{count, plural, one{pleister} other{pleisters}}",mD="{count, plural, one{patroon} other{patronen}}",fD="{count, plural, one{pen} other{pennen}}",gD="{count, plural, one{puff} other{puffs}}",vD="{count, plural, one{spons} other{sponsen}}",bD="{count, plural, one{stylo} other{stylos}}",_D="{count, plural, one{zetpil} other{zetpillen}}",yD="{count, plural, one{tube} other{tubes}}",xD="{count, plural, one{wiek} other{wieken}}",wD="{count, plural, one{zak} other{zakken}}",kD="{count, plural, one{zakje} other{zakjes}}",ED="centimeter",CD="{count, plural, one{druppel per minuut} other{druppels per minuut}}",SD="gram",DD="internationale eenheden",ID="microgram per uur",AD="microgram per kilogram per minuut",TD="{count, plural, one{maat} other{maten}}",OD="milligram per uur",RD="milliliter per uur",ND="{count, plural, one{eetlepel} other{eetlepels}}",PD="{count, plural, one{koffielepel} other{koffielepels}}",MD="{count, plural, one{eenheid per uur} other{eenheden per uur}}",LD="miligram",FD="miligram per milimeter",VD="milli-equivalent",zD="miu",BD="internationale eenheden",jD="millimol",HD="{count, plural, one{bruistablet} other{bruistabletten}}",UD="microgram",WD="{count, plural, one{verband} other{verbanden}}",qD="{count, plural, one{stuk} other{stuks}}",YD="{count, plural, one{verstuiving} other{verstuivingen}}",GD="liter",$D="{count, plural, one{spuit} other{spuiten}}",KD="{count, plural, one{ampul} other{ampullen}}",ZD="{count, plural, one{fles} other{flessen}}",QD="{count, plural, one{spuitampul} other{spuitampullen}}",N0e={"00001":$S,"00002":KS,"00003":ZS,"00004":QS,"00005":XS,"00006":JS,"00007":eD,"00008":tD,"00009":iD,"00010":aD,"00011":nD,"00012":rD,"00013":oD,"00014":sD,"00015":lD,"00016":cD,"00017":dD,"00018":uD,"00019":hD,"00020":pD,"00021":mD,"00022":fD,"00023":gD,"00024":vD,"00025":bD,"00026":_D,"00027":yD,"00028":xD,"00029":wD,"00030":kD,cm:ED,dropsperminute:CD,gm:SD,internationalunits:DD,"mck/h":ID,"mck/kg/minute":AD,measure:TD,"mg/h":OD,"ml/h":RD,tbl:ND,tsp:PD,"unt/h":MD,mg:LD,"mg/ml":FD,meq:VD,miu:zD,iu:BD,mmol:jD,"effervescent-tablet":HD,micrograms:UD,bandage:WD,piece:qD,box:YD,liter:GD,syringe:$D,ampoule:KD,bottle:ZD,"syringe-ampoule":QD},P0e={nl:GS,fr:HC,de:Rk,en:FE},XD={};me(XD,{default:()=>M0e,friday:()=>a2,monday:()=>JD,saturday:()=>n2,sunday:()=>r2,thursday:()=>i2,tuesday:()=>e2,wednesday:()=>t2});var JD="Montag",e2="Dienstag",t2="Mittwoch",i2="Donnerstag",a2="Freitag",n2="Samstag",r2="Sonntag",M0e={monday:JD,tuesday:e2,wednesday:t2,thursday:i2,friday:a2,saturday:n2,sunday:r2},o2={};me(o2,{default:()=>L0e,friday:()=>u2,monday:()=>s2,saturday:()=>h2,sunday:()=>p2,thursday:()=>d2,tuesday:()=>l2,wednesday:()=>c2});var s2="Monday",l2="Tuesday",c2="Wednesday",d2="Thursday",u2="Friday",h2="Saturday",p2="Sunday",L0e={monday:s2,tuesday:l2,wednesday:c2,thursday:d2,friday:u2,saturday:h2,sunday:p2},m2={};me(m2,{default:()=>F0e,friday:()=>_2,monday:()=>f2,saturday:()=>y2,sunday:()=>x2,thursday:()=>b2,tuesday:()=>g2,wednesday:()=>v2});var f2="Lundi",g2="Mardi",v2="Mercredi",b2="Jeudi",_2="Vendredi",y2="Samedi",x2="Dimanche",F0e={monday:f2,tuesday:g2,wednesday:v2,thursday:b2,friday:_2,saturday:y2,sunday:x2},w2={};me(w2,{default:()=>V0e,friday:()=>D2,monday:()=>k2,saturday:()=>I2,sunday:()=>A2,thursday:()=>S2,tuesday:()=>E2,wednesday:()=>C2});var k2="Maandag",E2="Dinsdag",C2="Woensdag",S2="Donderdag",D2="Vrijdag",I2="Zaterdag",A2="Zondag",V0e={monday:k2,tuesday:E2,wednesday:C2,thursday:S2,friday:D2,saturday:I2,sunday:A2},z0e={nl:w2,fr:m2,de:XD,en:o2},T2={};me(T2,{VIDIS_0035:()=>O2,VIDIS_0050:()=>R2,VIDIS_0090:()=>N2,VIDIS_0100:()=>P2,VIDIS_0110:()=>M2,VIDIS_0120:()=>L2,VIDIS_0121:()=>F2,VIDIS_0122:()=>V2,VIDIS_0123:()=>z2,VIDIS_0124:()=>B2,VIDIS_0125:()=>j2,VIDIS_0126:()=>H2,VIDIS_0190:()=>U2,VIDIS_0200:()=>W2,VIDIS_0210:()=>q2,VIDIS_0211:()=>Y2,VIDIS_0230:()=>G2,VIDIS_0290:()=>$2,VIDIS_0330:()=>K2,VIDIS_0340:()=>Z2,VIDIS_0341:()=>Q2,VIDIS_0400:()=>X2,VIDIS_0435:()=>J2,VIDIS_0440:()=>eI,VIDIS_5000:()=>tI,VIDIS_7000:()=>iI,default:()=>B0e,general:()=>nI,invalid_date_format:()=>cI,myHealth:()=>oI,myHealthUrl:()=>sI,network_error:()=>lI,"no-access":()=>rI,prescriptionList:()=>aI,"status-message-content":()=>uI,"status-message-title":()=>dI});var O2="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",R2="Die Patienten-INSS fehlt. (VIDIS_0050)",N2="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",P2="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",M2="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",L2="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",F2="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",V2="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",z2="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",B2="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",j2="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",H2="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",U2="Ungültige INSS-Patientennummer. (VIDIS_0190)",W2="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",q2="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",Y2="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",G2="Der Vorgang ist ungültig (VIDIS_0230)",$2='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',K2="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)",Z2="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. (VIDIS_0340)",Q2="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. (VIDIS_0341)",X2="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",J2="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",eI="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",tI="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",iI="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",aI="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",nI="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",rI="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",oI="Zurück zum Portal Meine Gesundheit",sI="https://wwwint.meinegesundheit.belgien.be/#/",lI="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",cI="Ungültiges Datumsformat.",dI="Dienst vorübergehend nicht verfügbar",uI=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
25
- Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,B0e={VIDIS_0035:O2,VIDIS_0050:R2,VIDIS_0090:N2,VIDIS_0100:P2,VIDIS_0110:M2,VIDIS_0120:L2,VIDIS_0121:F2,VIDIS_0122:V2,VIDIS_0123:z2,VIDIS_0124:B2,VIDIS_0125:j2,VIDIS_0126:H2,VIDIS_0190:U2,VIDIS_0200:W2,VIDIS_0210:q2,VIDIS_0211:Y2,VIDIS_0230:G2,VIDIS_0290:$2,VIDIS_0330:K2,VIDIS_0340:Z2,VIDIS_0341:Q2,VIDIS_0400:X2,VIDIS_0435:J2,VIDIS_0440:eI,VIDIS_5000:tI,VIDIS_7000:iI,prescriptionList:aI,general:nI,"no-access":rI,myHealth:oI,myHealthUrl:sI,network_error:lI,invalid_date_format:cI,"status-message-title":dI,"status-message-content":uI},hI={};me(hI,{VIDIS_0035:()=>pI,VIDIS_0050:()=>mI,VIDIS_0090:()=>fI,VIDIS_0100:()=>gI,VIDIS_0110:()=>vI,VIDIS_0120:()=>bI,VIDIS_0121:()=>_I,VIDIS_0122:()=>yI,VIDIS_0123:()=>xI,VIDIS_0124:()=>wI,VIDIS_0125:()=>kI,VIDIS_0126:()=>EI,VIDIS_0190:()=>CI,VIDIS_0200:()=>SI,VIDIS_0210:()=>DI,VIDIS_0211:()=>II,VIDIS_0230:()=>AI,VIDIS_0290:()=>TI,VIDIS_0330:()=>OI,VIDIS_0340:()=>RI,VIDIS_0341:()=>NI,VIDIS_0400:()=>PI,VIDIS_0435:()=>MI,VIDIS_0440:()=>LI,VIDIS_5000:()=>FI,VIDIS_7000:()=>VI,default:()=>j0e,general:()=>BI,invalid_date_format:()=>qI,myHealth:()=>HI,myHealthUrl:()=>UI,network_error:()=>WI,"no-access":()=>jI,prescriptionList:()=>zI,"status-message-content":()=>GI,"status-message-title":()=>YI});var pI="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",mI="The patient's NISS number is missing (VIDIS_0050)",fI="The personal information provided was not recognised. (VIDIS_0090)",gI="The user is not allowed to perform the operation. (VIDIS_0100)",vI="The patient did not give informed consent to share personal health information. (VIDIS_0110)",bI="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",_I="Consulting data of a Brussels patient is currently not authorised.",yI="Consulting data of a Walloon patient is currently not authorised.",xI="Consulting data of a Brussels child by a parent is currently not authorised.",wI="Consulting data of a Walloon child by a parent is currently not authorised.",kI="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",EI="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",CI="The patient's NISS number is invalid. (VIDIS_0190)",SI="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",DI="The login was unsuccessful. Please try again. (VIDIS_0210)",II="The login was unsuccessful. Please try again. (VIDIS_0211)",AI="The request is invalid. (VIDIS_0230)",TI="User role must be citizen. (VIDIS_0290)",OI="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)",RI="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",NI="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",PI="You request in invalid. Please try again later. (VIDIS_0400)",MI="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",LI="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",FI="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",VI="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",zI="Unfortunately the details of the prescription could not be retrieved. Please try again.",BI="An internal technical error has occured. Please try again later.",jI="An internal technical error has occured. Please try again later.",HI="Back to the MyHealth portal.",UI="https://www.myhealth.belgium.be/",WI="A network error unfortunately has occured. Please contact your network manager if the problem persists.",qI="Invalid date format.",YI="Service temporarily unavailable",GI=`We are currently having a problem connecting to the server.
26
- Please try again later.`,j0e={VIDIS_0035:pI,VIDIS_0050:mI,VIDIS_0090:fI,VIDIS_0100:gI,VIDIS_0110:vI,VIDIS_0120:bI,VIDIS_0121:_I,VIDIS_0122:yI,VIDIS_0123:xI,VIDIS_0124:wI,VIDIS_0125:kI,VIDIS_0126:EI,VIDIS_0190:CI,VIDIS_0200:SI,VIDIS_0210:DI,VIDIS_0211:II,VIDIS_0230:AI,VIDIS_0290:TI,VIDIS_0330:OI,VIDIS_0340:RI,VIDIS_0341:NI,VIDIS_0400:PI,VIDIS_0435:MI,VIDIS_0440:LI,VIDIS_5000:FI,VIDIS_7000:VI,prescriptionList:zI,general:BI,"no-access":jI,myHealth:HI,myHealthUrl:UI,network_error:WI,invalid_date_format:qI,"status-message-title":YI,"status-message-content":GI},$I={};me($I,{VIDIS_0035:()=>KI,VIDIS_0050:()=>ZI,VIDIS_0090:()=>QI,VIDIS_0100:()=>XI,VIDIS_0110:()=>JI,VIDIS_0120:()=>eA,VIDIS_0121:()=>tA,VIDIS_0122:()=>iA,VIDIS_0123:()=>aA,VIDIS_0124:()=>nA,VIDIS_0125:()=>rA,VIDIS_0126:()=>oA,VIDIS_0190:()=>sA,VIDIS_0200:()=>lA,VIDIS_0210:()=>cA,VIDIS_0211:()=>dA,VIDIS_0230:()=>uA,VIDIS_0290:()=>hA,VIDIS_0330:()=>pA,VIDIS_0340:()=>mA,VIDIS_0341:()=>fA,VIDIS_0400:()=>gA,VIDIS_0435:()=>vA,VIDIS_0440:()=>bA,VIDIS_5000:()=>_A,VIDIS_7000:()=>yA,default:()=>H0e,general:()=>wA,invalid_date_format:()=>DA,myHealth:()=>EA,myHealthUrl:()=>CA,network_error:()=>SA,"no-access":()=>kA,prescriptionList:()=>xA,"status-message-content":()=>AA,"status-message-title":()=>IA});var KI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",ZI="Le NISS du patient est manquant. (VIDIS_0050)",QI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",XI="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",JI="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",eA="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",tA="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",iA="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",aA="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",nA="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",rA="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",oA="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",sA="Le NISS du patient n’est pas valide. (VIDIS_0190)",lA="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",cA="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",dA="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",uA="L’opération n’est pas valide. (VIDIS_0230)",hA="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",pA="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)",mA="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 (VIDIS_0340)",fA="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 (VIDIS_0341)",gA="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",vA="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",bA="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",_A="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",yA="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",xA="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",wA="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",kA="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",EA="Revenir au portail MaSanté",CA="https://wwwint.masante.belgique.be/#/",SA="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",DA="Le format de date est invalide.",IA="Service temporairement indisponible",AA=`Nous rencontrons actuellement un problème de connexion au serveur.
27
- Veuillez réessayer plus tard.`,H0e={VIDIS_0035:KI,VIDIS_0050:ZI,VIDIS_0090:QI,VIDIS_0100:XI,VIDIS_0110:JI,VIDIS_0120:eA,VIDIS_0121:tA,VIDIS_0122:iA,VIDIS_0123:aA,VIDIS_0124:nA,VIDIS_0125:rA,VIDIS_0126:oA,VIDIS_0190:sA,VIDIS_0200:lA,VIDIS_0210:cA,VIDIS_0211:dA,VIDIS_0230:uA,VIDIS_0290:hA,VIDIS_0330:pA,VIDIS_0340:mA,VIDIS_0341:fA,VIDIS_0400:gA,VIDIS_0435:vA,VIDIS_0440:bA,VIDIS_5000:_A,VIDIS_7000:yA,prescriptionList:xA,general:wA,"no-access":kA,myHealth:EA,myHealthUrl:CA,network_error:SA,invalid_date_format:DA,"status-message-title":IA,"status-message-content":AA},TA={};me(TA,{VIDIS_0035:()=>OA,VIDIS_0050:()=>RA,VIDIS_0090:()=>NA,VIDIS_0100:()=>PA,VIDIS_0110:()=>MA,VIDIS_0120:()=>LA,VIDIS_0121:()=>FA,VIDIS_0122:()=>VA,VIDIS_0123:()=>zA,VIDIS_0124:()=>BA,VIDIS_0125:()=>jA,VIDIS_0126:()=>HA,VIDIS_0190:()=>UA,VIDIS_0200:()=>WA,VIDIS_0210:()=>qA,VIDIS_0211:()=>YA,VIDIS_0230:()=>GA,VIDIS_0290:()=>$A,VIDIS_0330:()=>KA,VIDIS_0340:()=>ZA,VIDIS_0341:()=>QA,VIDIS_0400:()=>XA,VIDIS_0435:()=>JA,VIDIS_0440:()=>eT,VIDIS_5000:()=>tT,VIDIS_7000:()=>iT,default:()=>U0e,general:()=>nT,invalid_date_format:()=>cT,myHealth:()=>oT,myHealthUrl:()=>sT,network_error:()=>lT,"no-access":()=>rT,prescriptionList:()=>aT,"status-message-content":()=>uT,"status-message-title":()=>dT});var OA="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",RA="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",NA="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",PA="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",MA="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",LA="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",FA="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",VA="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",zA="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",BA="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",jA="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",HA="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",UA="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",WA="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",qA="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",YA="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",GA="Het verzoek is ongeldig. (VIDIS_0230)",$A="Gebruikersrol moet burger zijn. (VIDIS_0290)",KA="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)",ZA="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 (VIDIS_0340)",QA="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 (VIDIS_0341)",XA="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",JA="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",eT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",tT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",iT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",aT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",nT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",rT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",oT="Terug naar het MijnGezondheid portaal",sT="http://wwwint.mijngezondheid.belgie.be/",lT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",cT="Ongeldig datumformaat.",dT="Service tijdelijk niet beschikbaar",uT=`Er is momenteel een probleem met de verbinding met de server.
28
- Probeer het later nog eens.`,U0e={VIDIS_0035:OA,VIDIS_0050:RA,VIDIS_0090:NA,VIDIS_0100:PA,VIDIS_0110:MA,VIDIS_0120:LA,VIDIS_0121:FA,VIDIS_0122:VA,VIDIS_0123:zA,VIDIS_0124:BA,VIDIS_0125:jA,VIDIS_0126:HA,VIDIS_0190:UA,VIDIS_0200:WA,VIDIS_0210:qA,VIDIS_0211:YA,VIDIS_0230:GA,VIDIS_0290:$A,VIDIS_0330:KA,VIDIS_0340:ZA,VIDIS_0341:QA,VIDIS_0400:XA,VIDIS_0435:JA,VIDIS_0440:eT,VIDIS_5000:tT,VIDIS_7000:iT,prescriptionList:aT,general:nT,"no-access":rT,myHealth:oT,myHealthUrl:sT,network_error:lT,invalid_date_format:cT,"status-message-title":dT,"status-message-content":uT},W0e={nl:TA,fr:$I,de:T2,en:hI},hT={};me(hT,{close:()=>pT,default:()=>q0e,downloadLeaflet:()=>mT,file:()=>fT});var pT="Schließen",mT="Download Packungsbeilage (pdf)",fT="feile",q0e={close:pT,downloadLeaflet:mT,file:fT},gT={};me(gT,{close:()=>vT,default:()=>Y0e,downloadLeaflet:()=>bT,file:()=>_T});var vT="Close",bT="Download leaflet (pdf)",_T="file",Y0e={close:vT,downloadLeaflet:bT,file:_T},yT={};me(yT,{close:()=>xT,default:()=>G0e,downloadLeaflet:()=>wT,file:()=>kT});var xT="Fermer",wT="Télécharger la notice (pdf)",kT="fichier",G0e={close:xT,downloadLeaflet:wT,file:kT},ET={};me(ET,{close:()=>CT,default:()=>$0e,downloadLeaflet:()=>ST,file:()=>DT});var CT="Sluiten",ST="Download bijsluiter (pdf)",DT="bestand",$0e={close:CT,downloadLeaflet:ST,file:DT},K0e={nl:ET,fr:yT,de:hT,en:gT},IT={};me(IT,{D:()=>AT,DA:()=>TT,DD:()=>OT,DE:()=>RT,DN:()=>NT,DQ:()=>PT,DT:()=>MT,DV:()=>LT,DW:()=>FT,DX:()=>VT,DZ:()=>zT,J:()=>BT,JD:()=>jT,JH2:()=>HT,JQ:()=>UT,JT:()=>WT,JV:()=>qT,JZ:()=>YT,M:()=>GT,MA:()=>$T,MC:()=>KT,MD:()=>ZT,ME:()=>QT,MN:()=>XT,MQ:()=>JT,MS:()=>eO,MT:()=>tO,MV:()=>iO,MX:()=>aO,MZ2:()=>nO,O1:()=>rO,U:()=>sO,UA:()=>mO,UD:()=>cO,UE:()=>vO,UH:()=>oO,UN:()=>fO,UQ:()=>uO,US:()=>pO,UT:()=>lO,UV:()=>dO,UW:()=>bO,UX:()=>gO,UZ:()=>hO,W:()=>_O,WA:()=>yO,WD:()=>xO,WE:()=>wO,WN:()=>kO,WP:()=>EO,WQ:()=>CO,WS:()=>SO,WT:()=>DO,WV:()=>IO,WW:()=>AO,WX:()=>TO,WZ:()=>OO,default:()=>Z0e,ondemand:()=>RO});var AT="Pro Tag",TT="Pro 8 Tagen",OT="Pro 3 Tagen",RT="Pro 11 Tagen",NT="Pro 9 Tagen",PT="Pro 5 Tagen",MT="Pro 2 Tagen",LT="Pro 4 Tagen",FT="Pro 12 Tagen",VT="Pro 10 Tagen",zT="Pro 6 Tagen",BT="Pro Jahre",jT="Pro 3 Jahren",HT="Pro halbes Jahre",UT="Pro 5 Jahren",WT="Pro 2 Jahren",qT="Pro 4 Jahren",YT="Pro 6 Jahren",GT="Pro Monat",$T="Pro 8 Monaten",KT="Pro 18 Monaten",ZT="Pro 3 Monaten",QT="Pro 11 Monaten",XT="Pro 9 Monaten",JT="Pro 5 Monaten",eO="Pro 7 Monaten",tO="Pro 2 Monaten",iO="Pro 4 Monaten",aO="Pro 10 Monaten",nO="Pro 6 Monaten",rO="Jeden 2 Tagen",oO="Pro halbe Stunde",sO="Pro Uhr",lO="Pro 2 Uhren",cO="Pro 3 Uhren",dO="Pro 4 Uhren",uO="Pro 5 Uhren",hO="Pro 6 Uhren",pO="Pro 7 Uhren",mO="Pro 8 Uhren",fO="Pro 9 Uhren",gO="Pro 10 Uhren",vO="Pro 11 Uhren",bO="Pro 12 Uhren",_O="Pro Woche",yO="Pro 8 Wochen",xO="Pro 3 Wochen",wO="Pro 11 Wochen",kO="Pro 9 Wochen",EO="Pro 24 Wochen",CO="Pro 5 Wochen",SO="Pro 7 Wochen",DO="Pro 2 Wochen",IO="Pro 4 Wochen",AO="Pro 12 Wochen",TO="Pro 10 Wochen",OO="Pro 6 Wochen",RO="Auf Nachfrage",Z0e={D:AT,DA:TT,DD:OT,DE:RT,DN:NT,DQ:PT,DT:MT,DV:LT,DW:FT,DX:VT,DZ:zT,J:BT,JD:jT,JH2:HT,JQ:UT,JT:WT,JV:qT,JZ:YT,M:GT,MA:$T,MC:KT,MD:ZT,ME:QT,MN:XT,MQ:JT,MS:eO,MT:tO,MV:iO,MX:aO,MZ2:nO,O1:rO,UH:oO,U:sO,UT:lO,UD:cO,UV:dO,UQ:uO,UZ:hO,US:pO,UA:mO,UN:fO,UX:gO,UE:vO,UW:bO,W:_O,WA:yO,WD:xO,WE:wO,WN:kO,WP:EO,WQ:CO,WS:SO,WT:DO,WV:IO,WW:AO,WX:TO,WZ:OO,ondemand:RO},NO={};me(NO,{D:()=>GO,DA:()=>tR,DD:()=>ZO,DE:()=>nR,DN:()=>iR,DQ:()=>XO,DT:()=>$O,DV:()=>QO,DW:()=>rR,DX:()=>aR,DZ:()=>JO,J:()=>TR,JD:()=>NR,JH2:()=>kR,JQ:()=>MR,JT:()=>RR,JV:()=>PR,JZ:()=>LR,M:()=>cR,MA:()=>SR,MC:()=>OR,MD:()=>_R,ME:()=>AR,MN:()=>DR,MQ:()=>xR,MS:()=>CR,MT:()=>mR,MV:()=>yR,MX:()=>IR,MZ2:()=>ER,O1:()=>KO,U:()=>MO,UA:()=>HO,UD:()=>FO,UE:()=>qO,UH:()=>PO,UN:()=>UO,UQ:()=>zO,US:()=>jO,UT:()=>LO,UV:()=>VO,UW:()=>YO,UX:()=>WO,UZ:()=>BO,W:()=>eR,WA:()=>pR,WD:()=>sR,WE:()=>vR,WN:()=>fR,WP:()=>wR,WQ:()=>dR,WS:()=>hR,WT:()=>oR,WV:()=>lR,WW:()=>bR,WX:()=>gR,WZ:()=>uR,default:()=>Q0e,ondemand:()=>FR});var PO="Per half hour",MO="Per hour",LO="Per 2 hours",FO="Per 3 hours",VO="Per 4 hours",zO="Per 5 hours",BO="Per 6 hours",jO="Per 7 hours",HO="Per 8 hours",UO="Per 9 hours",WO="Per 10 hours",qO="Per11 hours",YO="Per 12 hours",GO="Per day",$O="Per 2 days",KO="Every 2 days",ZO="Per 3 days",QO="Per 4 days",XO="Per 5 days",JO="Per 6 days",eR="Per 7 days",tR="Per 8 days",iR="Per 9 days",aR="Per 10 days",nR="Per 11 days",rR="Per 12 days",oR="Per 2 weeks",sR="Per 3 weeks",lR="Per 4 weeks",cR="Per month",dR="Per 5 weeks",uR="Per 6 weeks",hR="Per 7 weeks",pR="Per 8 weeks",mR="Per 2 months",fR="Per 9 weeks",gR="Per 10 weeks",vR="Per 11 weeks",bR="Per 12 weeks",_R="Per 3 months",yR="Per 4 months",xR="Per 5 months",wR="Per 24 weeks",kR="Per half year",ER="Per 6 months",CR="Per 7 months",SR="Per 8 months",DR="Per 9 months",IR="Per 10 months",AR="Per 11 months",TR="Per Year",OR="Per 18 months",RR="Per 2 years",NR="Per 3 years",PR="Per 4 years",MR="Per 5 years",LR="Per 6 years",FR="On demand",Q0e={UH:PO,U:MO,UT:LO,UD:FO,UV:VO,UQ:zO,UZ:BO,US:jO,UA:HO,UN:UO,UX:WO,UE:qO,UW:YO,D:GO,DT:$O,O1:KO,DD:ZO,DV:QO,DQ:XO,DZ:JO,W:eR,DA:tR,DN:iR,DX:aR,DE:nR,DW:rR,WT:oR,WD:sR,WV:lR,M:cR,WQ:dR,WZ:uR,WS:hR,WA:pR,MT:mR,WN:fR,WX:gR,WE:vR,WW:bR,MD:_R,MV:yR,MQ:xR,WP:wR,JH2:kR,MZ2:ER,MS:CR,MA:SR,MN:DR,MX:IR,ME:AR,J:TR,MC:OR,JT:RR,JD:NR,JV:PR,JQ:MR,JZ:LR,ondemand:FR},VR={};me(VR,{D:()=>zR,DA:()=>BR,DD:()=>jR,DE:()=>HR,DN:()=>UR,DQ:()=>WR,DT:()=>qR,DV:()=>YR,DW:()=>GR,DX:()=>$R,DZ:()=>KR,J:()=>ZR,JD:()=>QR,JH2:()=>XR,JQ:()=>JR,JT:()=>eN,JV:()=>tN,JZ:()=>iN,M:()=>aN,MA:()=>nN,MC:()=>rN,MD:()=>oN,ME:()=>sN,MN:()=>lN,MQ:()=>cN,MS:()=>dN,MT:()=>uN,MV:()=>hN,MX:()=>pN,MZ2:()=>mN,O1:()=>fN,U:()=>vN,UA:()=>EN,UD:()=>_N,UE:()=>DN,UH:()=>gN,UN:()=>CN,UQ:()=>xN,US:()=>kN,UT:()=>bN,UV:()=>yN,UW:()=>IN,UX:()=>SN,UZ:()=>wN,W:()=>AN,WA:()=>TN,WD:()=>ON,WE:()=>RN,WN:()=>NN,WP:()=>PN,WQ:()=>MN,WS:()=>LN,WT:()=>FN,WV:()=>VN,WW:()=>zN,WX:()=>BN,WZ:()=>jN,default:()=>X0e,ondemand:()=>HN});var zR="Par jour",BR="Par 8 jours",jR="Par 3 jours",HR="Par 11 jours",UR="Par 9 jours",WR="Par 5 jours",qR="Par 2 jours",YR="Par 4 jours",GR="Par 12 jours",$R="Par 10 jours",KR="Par 6 jours",ZR="Par an",QR="Par 3 années",XR="Par demi-années",JR="Par 5 années",eN="Par 2 années",tN="Par 4 années",iN="Par 6 années",aN="Par mois",nN="Par 8 mois",rN="Par 18 mois",oN="Par 3 mois",sN="Par 11 mois",lN="Par 9 mois",cN="Par 5 mois",dN="Par 7 mois",uN="Par 2 mois",hN="Par 4 mois",pN="Par 10 mois",mN="Par 6 mois",fN="Tous les 2 jours",gN="Par demi-heure",vN="Par heure",bN="Par 2 heures",_N="Par 3 heures",yN="Par 4 heures",xN="Par 5 heures",wN="Par 6 heures",kN="Par 7 heures",EN="Par 8 heures",CN="Par 9 heures",SN="Par 10 heures",DN="Par 11 heures",IN="Par 12 heures",AN="Par semaine",TN="Par 8 semaines",ON="Par 3 semaines",RN="Par 11 semaines",NN="Par 9 semaines",PN="Par 24 semaines",MN="Par 5 semaines",LN="Par 7 semaines",FN="Par 2 semaines",VN="Par 4 semaines",zN="Par 12 semaines",BN="Par 10 semaines",jN="Par 6 semaines",HN="Sur demande",X0e={D:zR,DA:BR,DD:jR,DE:HR,DN:UR,DQ:WR,DT:qR,DV:YR,DW:GR,DX:$R,DZ:KR,J:ZR,JD:QR,JH2:XR,JQ:JR,JT:eN,JV:tN,JZ:iN,M:aN,MA:nN,MC:rN,MD:oN,ME:sN,MN:lN,MQ:cN,MS:dN,MT:uN,MV:hN,MX:pN,MZ2:mN,O1:fN,UH:gN,U:vN,UT:bN,UD:_N,UV:yN,UQ:xN,UZ:wN,US:kN,UA:EN,UN:CN,UX:SN,UE:DN,UW:IN,W:AN,WA:TN,WD:ON,WE:RN,WN:NN,WP:PN,WQ:MN,WS:LN,WT:FN,WV:VN,WW:zN,WX:BN,WZ:jN,ondemand:HN},UN={};me(UN,{D:()=>WN,DA:()=>qN,DD:()=>YN,DE:()=>GN,DN:()=>$N,DQ:()=>KN,DT:()=>ZN,DV:()=>QN,DW:()=>XN,DX:()=>JN,DZ:()=>eP,J:()=>tP,JD:()=>iP,JH2:()=>aP,JQ:()=>nP,JT:()=>rP,JV:()=>oP,JZ:()=>sP,M:()=>lP,MA:()=>cP,MC:()=>dP,MD:()=>uP,ME:()=>hP,MN:()=>pP,MQ:()=>mP,MS:()=>fP,MT:()=>gP,MV:()=>vP,MX:()=>bP,MZ2:()=>_P,O1:()=>yP,U:()=>wP,UA:()=>AP,UD:()=>EP,UE:()=>RP,UH:()=>xP,UN:()=>TP,UQ:()=>SP,US:()=>IP,UT:()=>kP,UV:()=>CP,UW:()=>NP,UX:()=>OP,UZ:()=>DP,W:()=>PP,WA:()=>MP,WD:()=>LP,WE:()=>FP,WN:()=>VP,WP:()=>zP,WQ:()=>BP,WS:()=>jP,WT:()=>HP,WV:()=>UP,WW:()=>WP,WX:()=>qP,WZ:()=>YP,default:()=>J0e,ondemand:()=>GP});var WN="Dagelijks",qN="Om de 8 dagen",YN="Om de 3 dagen",GN="Om de 11 dagen",$N="Om de 9 dagen",KN="Om de 5 dagen",ZN="Om de 2 dagen",QN="Om de 4 dagen",XN="Om de 12 dagen",JN="Om de 10 dagen",eP="Om de 6 dagen",tP="Jaarlijks",iP="Om de 3 jaar",aP="Halfjaarlijks",nP="Om de 5 jaar",rP="Om de 2 jaar",oP="Om de 4 jaar",sP="Om de 6 jaar",lP="Maandelijks",cP="Om de 8 maanden",dP="Om de 18 maanden",uP="Om de 3 maanden",hP="Om de 11 maanden",pP="Om de 9 maanden",mP="Om de 5 maanden",fP="Om de 7 maanden",gP="Om de 2 maanden",vP="Om de 4 maanden",bP="Om de 10 maanden",_P="Om de 6 maanden",yP="Om de 2 dagen",xP="Om het half uur",wP="Om het uur",kP="Om de 2 uren",EP="Om de 3 uren",CP="Om de 4 uren",SP="Om de 5 uren",DP="Om de 6 uren",IP="Om de 7 uren",AP="Om de 8 uren",TP="Om de 9 uren",OP="Om de 10 uren",RP="Om de 11 uren",NP="Om de 12 uren",PP="Wekelijks",MP="Om de 8 weken",LP="Om de 3 weken",FP="Om de 11 weken",VP="Om de 9 weken",zP="Om de 24 weken",BP="Om de 5 weken",jP="Om de 7 weken",HP="Om de 2 weken",UP="Om de 4 weken",WP="Om de 12 weken",qP="Om de 10 weken",YP="Om de 6 weken",GP="Op aanvraag",J0e={D:WN,DA:qN,DD:YN,DE:GN,DN:$N,DQ:KN,DT:ZN,DV:QN,DW:XN,DX:JN,DZ:eP,J:tP,JD:iP,JH2:aP,JQ:nP,JT:rP,JV:oP,JZ:sP,M:lP,MA:cP,MC:dP,MD:uP,ME:hP,MN:pP,MQ:mP,MS:fP,MT:gP,MV:vP,MX:bP,MZ2:_P,O1:yP,UH:xP,U:wP,UT:kP,UD:EP,UV:CP,UQ:SP,UZ:DP,US:IP,UA:AP,UN:TP,UX:OP,UE:RP,UW:NP,W:PP,WA:MP,WD:LP,WE:FP,WN:VP,WP:zP,WQ:BP,WS:jP,WT:HP,WV:UP,WW:WP,WX:qP,WZ:YP,ondemand:GP},e_e={nl:UN,fr:VR,de:IT,en:NO},$P={};me($P,{afterbreakfast:()=>KP,afterdinner:()=>ZP,afterlunch:()=>QP,aftermeal:()=>XP,afternoon:()=>JP,beforebreakfast:()=>eM,beforedinner:()=>tM,beforelunch:()=>iM,betweenbreakfastandlunch:()=>aM,betweendinnerandsleep:()=>nM,betweenlunchanddinner:()=>rM,betweenmeals:()=>oM,breakfast:()=>sM,default:()=>t_e,dinner:()=>lM,duringbreakfast:()=>cM,duringdinner:()=>dM,duringlunch:()=>uM,evening:()=>hM,lunch:()=>pM,morning:()=>mM,night:()=>fM,thehourofsleep:()=>gM});var KP="nach dem Frühstück",ZP="nach dem Abendessen",QP="nach dem Mittagessen",XP="nach dem Essen",JP="Nachmittag",eM="vor dem Frühstück",tM="vor dem Abendessen",iM="vor dem Mittagessen",aM="zwischen Frühstück und Mittagessen",nM="zwischen Abendessen und Nachtruhe",rM="zwischen Mittagessen und Abendessen",oM="zwischen den Mahlzeiten",sM="Frühstück",lM="Abendessen",cM="zum Frühstück",dM="zum Abendessen",uM="zum Mittagessen",hM="Abend",pM="Mittagessen",mM="Vormittag",fM="Nacht",gM="Nachtruhe",t_e={afterbreakfast:KP,afterdinner:ZP,afterlunch:QP,aftermeal:XP,afternoon:JP,beforebreakfast:eM,beforedinner:tM,beforelunch:iM,betweenbreakfastandlunch:aM,betweendinnerandsleep:nM,betweenlunchanddinner:rM,betweenmeals:oM,breakfast:sM,dinner:lM,duringbreakfast:cM,duringdinner:dM,duringlunch:uM,evening:hM,lunch:pM,morning:mM,night:fM,thehourofsleep:gM},vM={};me(vM,{afterbreakfast:()=>bM,afterdinner:()=>_M,afterlunch:()=>yM,aftermeal:()=>xM,afternoon:()=>wM,beforebreakfast:()=>kM,beforedinner:()=>EM,beforelunch:()=>CM,betweenbreakfastandlunch:()=>SM,betweendinnerandsleep:()=>DM,betweenlunchanddinner:()=>IM,betweenmeals:()=>AM,breakfast:()=>TM,default:()=>i_e,dinner:()=>OM,duringbreakfast:()=>RM,duringdinner:()=>NM,duringlunch:()=>PM,evening:()=>MM,lunch:()=>LM,morning:()=>FM,night:()=>VM,thehourofsleep:()=>zM});var bM="after breakfast",_M="after dinner",yM="after lunch",xM="after meal",wM="afternoon",kM="before breakfast",EM="before dinner",CM="before lunch",SM="between breakfast and lunch",DM="between dinner and the hour of sleep",IM="between lunch and dinner",AM="between meals",TM="breakfast",OM="dinner",RM="during breakfast",NM="during dinner",PM="during lunch",MM="evening",LM="lunch",FM="morning",VM="night",zM="the hour of sleep",i_e={afterbreakfast:bM,afterdinner:_M,afterlunch:yM,aftermeal:xM,afternoon:wM,beforebreakfast:kM,beforedinner:EM,beforelunch:CM,betweenbreakfastandlunch:SM,betweendinnerandsleep:DM,betweenlunchanddinner:IM,betweenmeals:AM,breakfast:TM,dinner:OM,duringbreakfast:RM,duringdinner:NM,duringlunch:PM,evening:MM,lunch:LM,morning:FM,night:VM,thehourofsleep:zM},BM={};me(BM,{afterbreakfast:()=>jM,afterdinner:()=>HM,afterlunch:()=>UM,aftermeal:()=>WM,afternoon:()=>qM,beforebreakfast:()=>YM,beforedinner:()=>GM,beforelunch:()=>$M,betweenbreakfastandlunch:()=>KM,betweendinnerandsleep:()=>ZM,betweenlunchanddinner:()=>QM,betweenmeals:()=>XM,breakfast:()=>JM,default:()=>a_e,dinner:()=>eL,duringbreakfast:()=>tL,duringdinner:()=>iL,duringlunch:()=>aL,evening:()=>nL,lunch:()=>rL,morning:()=>oL,night:()=>sL,thehourofsleep:()=>lL});var jM="après le petit-déjeuner",HM="après le repas du soir",UM="après le repas du midi",WM="après le repas",qM="après-midi",YM="avant le petit-déjeuner",GM="avant le repas du soir",$M="avant le repas du midi",KM="entre le petit-déjeuner et le repas du midi",ZM="entre le repas du soir et l’heure du coucher",QM="entre le repas du midi et le repas du soir",XM="entre les repas",JM="petit-déjeuner",eL="repas du soir",tL="pendant le petit-déjeuner",iL="pendant le repas du soir",aL="pendant le repas du midi",nL="soir",rL="repas du midi",oL="matin",sL="nuit",lL="heure du coucher",a_e={afterbreakfast:jM,afterdinner:HM,afterlunch:UM,aftermeal:WM,afternoon:qM,beforebreakfast:YM,beforedinner:GM,beforelunch:$M,betweenbreakfastandlunch:KM,betweendinnerandsleep:ZM,betweenlunchanddinner:QM,betweenmeals:XM,breakfast:JM,dinner:eL,duringbreakfast:tL,duringdinner:iL,duringlunch:aL,evening:nL,lunch:rL,morning:oL,night:sL,thehourofsleep:lL},cL={};me(cL,{afterbreakfast:()=>dL,afterdinner:()=>uL,afterlunch:()=>hL,aftermeal:()=>pL,afternoon:()=>mL,beforebreakfast:()=>fL,beforedinner:()=>gL,beforelunch:()=>vL,betweenbreakfastandlunch:()=>bL,betweendinnerandsleep:()=>_L,betweenlunchanddinner:()=>yL,betweenmeals:()=>xL,breakfast:()=>wL,default:()=>n_e,dinner:()=>kL,duringbreakfast:()=>EL,duringdinner:()=>CL,duringlunch:()=>SL,evening:()=>DL,lunch:()=>IL,morning:()=>AL,night:()=>TL,thehourofsleep:()=>OL});var dL="na het ontbijt",uL="na het avondmaal",hL="na het middagmaal",pL="na de maaltijd",mL="namiddag",fL="voor het ontbijt",gL="voor het avondmaal",vL="voor het middagmaal",bL="tussen het ontbijt en het middagmaal",_L="tussen het avondmaal en het slapen gaan",yL="tussen het middagmaal en het avondmaal",xL="tussen de maaltijden",wL="ontbijt",kL="avondmaal",EL="tijdens het ontbijt",CL="tijdens het avondmaal",SL="tijdens het middagmaal",DL="'s avonds",IL="middagmaal",AL="'s ochtends",TL="'s nachts",OL="voor het slapen gaan",n_e={afterbreakfast:dL,afterdinner:uL,afterlunch:hL,aftermeal:pL,afternoon:mL,beforebreakfast:fL,beforedinner:gL,beforelunch:vL,betweenbreakfastandlunch:bL,betweendinnerandsleep:_L,betweenlunchanddinner:yL,betweenmeals:xL,breakfast:wL,dinner:kL,duringbreakfast:EL,duringdinner:CL,duringlunch:SL,evening:DL,lunch:IL,morning:AL,night:TL,thehourofsleep:OL},r_e={nl:cL,fr:BM,de:$P,en:vM},RL={};me(RL,{day:()=>NL,default:()=>o_e,during:()=>LL,on:()=>ML,week:()=>PL});var NL="Tag",PL="Woche",ML="am",LL="für",o_e={day:NL,week:PL,on:ML,during:LL},FL={};me(FL,{day:()=>VL,default:()=>s_e,during:()=>jL,on:()=>BL,week:()=>zL});var VL="day",zL="week",BL="on",jL="during",s_e={day:VL,week:zL,on:BL,during:jL},HL={};me(HL,{day:()=>UL,default:()=>l_e,during:()=>YL,on:()=>qL,week:()=>WL});var UL="jour",WL="semaine",qL="le",YL="durant",l_e={day:UL,week:WL,on:qL,during:YL},GL={};me(GL,{day:()=>$L,default:()=>c_e,during:()=>QL,on:()=>ZL,week:()=>KL});var $L="dag",KL="week",ZL="op",QL="gedurende",c_e={day:$L,week:KL,on:ZL,during:QL},d_e={nl:GL,fr:HL,de:RL,en:FL},XL={};me(XL,{ambulance_driver:()=>JL,ambulance_first_aid:()=>e5,ambulance_rescuer:()=>t5,application:()=>i5,applied_psychology_bachelor:()=>a5,audician:()=>n5,audiologist:()=>r5,biologist_pharmacist:()=>o5,care_giver:()=>s5,certificateholder:()=>l5,citizen:()=>c5,clinical_orthopedic_pedagogue:()=>d5,clinical_psychologist:()=>u5,default:()=>u_e,dental_hygienist:()=>h5,dentist:()=>p5,deptalgology:()=>m5,deptanatomopathology:()=>f5,deptanesthesiology:()=>g5,deptbacteriology:()=>v5,deptcardiacsurgery:()=>b5,deptcardiology:()=>_5,deptchildandadolescentpsychiatry:()=>y5,deptdentistry:()=>x5,deptdermatology:()=>w5,deptdiabetology:()=>k5,deptdietetics:()=>E5,deptemergency:()=>C5,deptendocrinology:()=>S5,deptgastroenterology:()=>D5,deptgeneralpractice:()=>I5,deptgenetics:()=>A5,deptgeriatry:()=>T5,deptgynecology:()=>O5,depthandsurgery:()=>R5,depthematology:()=>N5,deptinfectiousdisease:()=>P5,deptintensivecare:()=>M5,deptkinesitherapy:()=>L5,deptlaboratory:()=>F5,deptmajorburns:()=>V5,deptmaxillofacialsurgery:()=>z5,deptmedicine:()=>B5,deptmolecularbiology:()=>j5,deptneonatalogy:()=>H5,deptnephrology:()=>U5,deptneurology:()=>W5,deptneurosurgery:()=>q5,deptnte:()=>Y5,deptnuclear:()=>G5,deptnursing:()=>$5,deptnutritiondietetics:()=>K5,deptobstetrics:()=>Z5,deptoccupationaltherapy:()=>Q5,deptoncology:()=>X5,deptophtalmology:()=>J5,deptorthopedy:()=>eF,deptpalliativecare:()=>tF,deptpediatricintensivecare:()=>iF,deptpediatricsurgery:()=>aF,deptpediatry:()=>nF,deptpharmacy:()=>rF,deptphysicalmedecine:()=>oF,deptphysiotherapy:()=>sF,deptplasticandreparatorysurgery:()=>lF,deptpneumology:()=>cF,deptpodiatry:()=>dF,deptpsychiatry:()=>uF,deptpsychology:()=>hF,deptradiology:()=>pF,deptradiotherapy:()=>mF,deptrevalidation:()=>fF,deptrheumatology:()=>gF,deptsenology:()=>vF,deptsocialservice:()=>bF,deptspeechtherapy:()=>_F,deptsportsmedecine:()=>yF,deptstomatology:()=>xF,deptsurgery:()=>wF,deptthoracicsurgery:()=>kF,depttoxicology:()=>EF,depttropicalmedecine:()=>CF,depturology:()=>SF,deptvascularsurgery:()=>DF,deptvisceraldigestiveabdominalsurgery:()=>IF,diabete_equipment_supplier:()=>AF,dietician:()=>TF,doctor:()=>OF,family_science_bachelor:()=>RF,gerontology_master:()=>NF,groupofnurses:()=>PF,groupofphysiciansdifferentaddress:()=>MF,groupofphysicianssameaddress:()=>LF,guardpost:()=>FF,hub:()=>VF,imaging_technologist:()=>zF,implantprovider:()=>BF,lab_technologist:()=>jF,logopedist:()=>HF,midwife:()=>UF,nurse:()=>WF,occupational_therapist:()=>qF,optician:()=>YF,orghospital:()=>GF,orginsurance:()=>$F,orglaboratory:()=>KF,orgpharmacy:()=>ZF,orgpolyclinic:()=>QF,orgpractice:()=>XF,orgprevention:()=>JF,orgprimaryhealthcarecenter:()=>e3,orgpsychiatriccarehome:()=>t3,orgpublichealth:()=>i3,orgretirementhome:()=>a3,orgrevalidationcenter:()=>n3,orgshelteredliving:()=>r3,orthopedagogist_master:()=>o3,orthopedist:()=>s3,orthoptist:()=>l3,orthotist:()=>c3,patient:()=>d3,pediatric_nurse:()=>u3,persadministrative:()=>h3,persambulancefirstaid:()=>p3,persaudician:()=>m3,persaudiologist:()=>f3,persbiologist:()=>g3,perscaregiver:()=>v3,persclinicalorthopedagogist:()=>b3,persclinicalpsychologist:()=>_3,persdentist:()=>y3,persdietician:()=>x3,perseducator:()=>w3,perslogopedist:()=>k3,persmidwife:()=>E3,persnurse:()=>C3,persoccupationaltherapist:()=>S3,persoptician:()=>D3,persoraldentalhygienist:()=>I3,persorthopedist:()=>A3,persorthoptist:()=>T3,persorthotist:()=>O3,persparamedical:()=>R3,perspatientdriver:()=>N3,perspharmacist:()=>P3,perspharmacistclinicalbiologist:()=>M3,perspharmacyassistant:()=>L3,persphysician:()=>F3,persphysiotherapist:()=>V3,perspodologist:()=>z3,perspracticalnurse:()=>B3,perspsychologist:()=>j3,perssocialworker:()=>H3,perstechnician:()=>U3,perstrussmaker:()=>W3,pharmacist:()=>q3,pharmacist_assistant:()=>Y3,physician:()=>G3,physiotherapist:()=>$3,podologist:()=>K3,practical_nurse:()=>Z3,prosthetist:()=>Q3,psychologist:()=>X3,psychomotor_therapy_master:()=>J3,readaptaion_bachelor:()=>eV,social_worker:()=>tV,specialized_educator:()=>iV,truss_maker:()=>aV});var JL="Rettungswagenfahrer",e5="Rettungssanitäter",t5="Rettungssanitäter",i5="Softwareapplikation",a5="Bachelor der angewandten Psychologie",n5="Hörgeräteakustiker",r5="Audiologe",o5="Fachapotheker für klinische Chemie",s5="Pflegekräfte",l5="Zertifikatinhaber",c5="Bürger",d5="Klinischer Heilpädagoge",u5="Klinischer Psychologe",h5="Dentalhygieniker",p5="Zahnarzt",m5="Algologie",f5="pathologische Anatomie",g5="Anästhesiologie",v5="Bakteriologie",b5="Herzchirurgie",_5="Kardiologie",y5="Kinder-und Jugendpsychiatrie",x5="Zahnheilkunde",w5="Dermatologie",k5="Diabetologie",E5="Diätetik",C5="Notaufnahme",S5="Endokrinologie",D5="Gastroenterologie",I5="Allgemeinmedizin",A5="Genetik",T5="Geriatrie",O5="Gynäkologie",R5="Handchirurgie",N5="Hämatologie",P5="Infektionskrankheit",M5="Intensivmedizin",L5="Physiotherapie",F5="Labordienst/-abteilung einer Einrichtung",V5="Schwerbrandverletztenzentrum",z5="Mund-Kiefer-Gesichtschirurgie",B5="Innere Medizin",j5="Molekularbiologie",H5="Neonatologie",U5="Nephrologie",W5="Neurologie",q5="Neurologie",Y5="Hals-Nasen-Ohren-Heilkunde (HNO)",G5="Nuklearmedizin",$5="Krankenpflege",K5="Diätetik",Z5="Geburtshilfe",Q5="Ergotherapie",X5="Onkologie",J5="Augenheilkunde",eF="Orthopädie",tF="Palliativpflege",iF="Kinder-Intensivstation",aF="Kinderchirurgie",nF="Pädiatrie",rF="Apothekendienst/-abteilung einer Einrichtung",oF="physikalische Medizin",sF="Physiotherapie",lF="plastische Chirurgie und rekonstruktive Chirurgie",cF="Pneumologie",dF="Podiatrie",uF="Psychiatrie",hF="Psychologie",pF="Radiologie",mF="Strahlentherapie",fF="Rehabilitation",gF="Rheumatologie",vF="Senologie",bF="Sozialdienst",_F="Logopädie",yF="Sportmedizin",xF="Stomatologie",wF="Chirurgie",kF="Thoraxchirurgie",EF="Toxikologie",CF="Tropenmedizin",SF="Urologie",DF="Vaskuläre Chirurgie",IF="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",AF="Lieferant von Material für Diabetesselbstverwaltung ",TF="Diätassistent",OF="Arzt",RF="Bachelor der Familienwissenschaften",NF="Master der Gerontologie",PF="Krankenpflegeverband",MF="Zusammenschluss von Ärzten, unterschiedliche Adresse",LF="Zusammenschluss von Ärzten, gleiche Adresse",FF="Schwesternstützpunkt",VF="Hub",zF="Technologe im bildgebenden Diagnoseverfahren",BF="Lieferant von Implantaten",jF="Labortechniker",HF="Logopäde",UF="Hebamme",WF="Fachkraft für Krankenpflege",qF="Ergotherapeut",YF="Optiker",GF="Krankenhaus",$F="Versicherung",KF="Unabhängiges Labor",ZF="Unabhängige Apotheke",QF="Poliklinik",XF="Praxis",JF="Präventionsdienst",e3="Gesundheits- und Sozialzentrum",t3="psychiatrische Klinik",i3="Gesundheitsbehörde",a3="Altenheim",n3="Reha-Klinik",r3="Initiative für begleitetes Wohnen",o3="Master der Heilpädagogik",s3="Orthopäde",l3="Orthoptist-Optometrist",c3="Orthopädietechniker",d3="Patient",u3="Kinderkrankenschwester",h3="Büroangestellter",p3="Rettungswagen",m3="Hörgeräteakustiker",f3="Audiologe",g3="medizinischer Labortechniker",v3="informelle Pflegeperson",b3="Klinischer Heilpädagoge",_3="Klinischer Psychologe",y3="Zahnarzt",x3="Diätassistent",w3="Erzieher",k3="Logopäde",E3="Hebamme",C3="Krankenpfleger",S3="Ergotherapeut",D3="Optiker",I3="Dentalhygieniker",A3="Orthopädist",T3="Orthoptist",O3="Orthopädietechniker/Prothesenbauer",R3="medizinische Hilfskraft",N3="Fahrdienst",P3="Apotheker",M3="Fachapotheker für klinische Chemie",L3="Apothekenhelfer",F3="Arzt",V3="Physiotherapeut",z3="Podologe",B3="Pfleger",j3="Psychologe",H3="Sozialarbeiter",U3="Techniker für medizinische Bildgebung",W3="Bandagist",q3="Apotheker",Y3="Pharmazeutisch-technischer Assistent ",G3="Arzt",$3="Physiotherapeut",K3="Podologe",Z3="Pflegehelfer",Q3="Prothesenhersteller",X3="Psychologe",J3="Master der psychomotorischen Therapie",eV="Bachelor der Rehabilitationswissenschaften",tV="Sozialassistent",iV="Bachelor der Erziehungswissenschaften",aV="Bandagist",u_e={ambulance_driver:JL,ambulance_first_aid:e5,ambulance_rescuer:t5,application:i5,applied_psychology_bachelor:a5,audician:n5,audiologist:r5,biologist_pharmacist:o5,care_giver:s5,certificateholder:l5,citizen:c5,clinical_orthopedic_pedagogue:d5,clinical_psychologist:u5,dental_hygienist:h5,dentist:p5,deptalgology:m5,deptanatomopathology:f5,deptanesthesiology:g5,deptbacteriology:v5,deptcardiacsurgery:b5,deptcardiology:_5,deptchildandadolescentpsychiatry:y5,deptdentistry:x5,deptdermatology:w5,deptdiabetology:k5,deptdietetics:E5,deptemergency:C5,deptendocrinology:S5,deptgastroenterology:D5,deptgeneralpractice:I5,deptgenetics:A5,deptgeriatry:T5,deptgynecology:O5,depthandsurgery:R5,depthematology:N5,deptinfectiousdisease:P5,deptintensivecare:M5,deptkinesitherapy:L5,deptlaboratory:F5,deptmajorburns:V5,deptmaxillofacialsurgery:z5,deptmedicine:B5,deptmolecularbiology:j5,deptneonatalogy:H5,deptnephrology:U5,deptneurology:W5,deptneurosurgery:q5,deptnte:Y5,deptnuclear:G5,deptnursing:$5,deptnutritiondietetics:K5,deptobstetrics:Z5,deptoccupationaltherapy:Q5,deptoncology:X5,deptophtalmology:J5,deptorthopedy:eF,deptpalliativecare:tF,deptpediatricintensivecare:iF,deptpediatricsurgery:aF,deptpediatry:nF,deptpharmacy:rF,deptphysicalmedecine:oF,deptphysiotherapy:sF,deptplasticandreparatorysurgery:lF,deptpneumology:cF,deptpodiatry:dF,deptpsychiatry:uF,deptpsychology:hF,deptradiology:pF,deptradiotherapy:mF,deptrevalidation:fF,deptrheumatology:gF,deptsenology:vF,deptsocialservice:bF,deptspeechtherapy:_F,deptsportsmedecine:yF,deptstomatology:xF,deptsurgery:wF,deptthoracicsurgery:kF,depttoxicology:EF,depttropicalmedecine:CF,depturology:SF,deptvascularsurgery:DF,deptvisceraldigestiveabdominalsurgery:IF,diabete_equipment_supplier:AF,dietician:TF,doctor:OF,family_science_bachelor:RF,gerontology_master:NF,groupofnurses:PF,groupofphysiciansdifferentaddress:MF,groupofphysicianssameaddress:LF,guardpost:FF,hub:VF,imaging_technologist:zF,implantprovider:BF,lab_technologist:jF,logopedist:HF,midwife:UF,nurse:WF,occupational_therapist:qF,optician:YF,orghospital:GF,orginsurance:$F,orglaboratory:KF,orgpharmacy:ZF,orgpolyclinic:QF,orgpractice:XF,orgprevention:JF,orgprimaryhealthcarecenter:e3,orgpsychiatriccarehome:t3,orgpublichealth:i3,orgretirementhome:a3,orgrevalidationcenter:n3,orgshelteredliving:r3,orthopedagogist_master:o3,orthopedist:s3,orthoptist:l3,orthotist:c3,patient:d3,pediatric_nurse:u3,persadministrative:h3,persambulancefirstaid:p3,persaudician:m3,persaudiologist:f3,persbiologist:g3,perscaregiver:v3,persclinicalorthopedagogist:b3,persclinicalpsychologist:_3,persdentist:y3,persdietician:x3,perseducator:w3,perslogopedist:k3,persmidwife:E3,persnurse:C3,persoccupationaltherapist:S3,persoptician:D3,persoraldentalhygienist:I3,persorthopedist:A3,persorthoptist:T3,persorthotist:O3,persparamedical:R3,perspatientdriver:N3,perspharmacist:P3,perspharmacistclinicalbiologist:M3,perspharmacyassistant:L3,persphysician:F3,persphysiotherapist:V3,perspodologist:z3,perspracticalnurse:B3,perspsychologist:j3,perssocialworker:H3,perstechnician:U3,perstrussmaker:W3,pharmacist:q3,pharmacist_assistant:Y3,physician:G3,physiotherapist:$3,podologist:K3,practical_nurse:Z3,prosthetist:Q3,psychologist:X3,psychomotor_therapy_master:J3,readaptaion_bachelor:eV,social_worker:tV,specialized_educator:iV,truss_maker:aV},nV={};me(nV,{ambulance_driver:()=>rV,ambulance_first_aid:()=>oV,ambulance_rescuer:()=>sV,application:()=>lV,applied_psychology_bachelor:()=>cV,audician:()=>dV,audiologist:()=>uV,biologist_pharmacist:()=>hV,care_giver:()=>pV,certificateholder:()=>mV,citizen:()=>fV,clinical_orthopedic_pedagogue:()=>gV,clinical_psychologist:()=>vV,default:()=>h_e,dental_hygienist:()=>bV,dentist:()=>_V,deptalgology:()=>yV,deptanatomopathology:()=>xV,deptanesthesiology:()=>wV,deptbacteriology:()=>kV,deptcardiacsurgery:()=>EV,deptcardiology:()=>CV,deptchildandadolescentpsychiatry:()=>SV,deptdentistry:()=>DV,deptdermatology:()=>IV,deptdiabetology:()=>AV,deptdietetics:()=>TV,deptemergency:()=>OV,deptendocrinology:()=>RV,deptgastroenterology:()=>NV,deptgeneralpractice:()=>PV,deptgenetics:()=>MV,deptgeriatry:()=>LV,deptgynecology:()=>FV,depthandsurgery:()=>VV,depthematology:()=>zV,deptinfectiousdisease:()=>BV,deptintensivecare:()=>jV,deptkinesitherapy:()=>HV,deptlaboratory:()=>UV,deptmajorburns:()=>WV,deptmaxillofacialsurgery:()=>qV,deptmedicine:()=>YV,deptmolecularbiology:()=>GV,deptneonatalogy:()=>$V,deptnephrology:()=>KV,deptneurology:()=>ZV,deptneurosurgery:()=>QV,deptnte:()=>XV,deptnuclear:()=>JV,deptnursing:()=>e4,deptnutritiondietetics:()=>t4,deptobstetrics:()=>i4,deptoccupationaltherapy:()=>a4,deptoncology:()=>n4,deptophtalmology:()=>r4,deptorthopedy:()=>o4,deptpalliativecare:()=>s4,deptpediatricintensivecare:()=>l4,deptpediatricsurgery:()=>c4,deptpediatry:()=>d4,deptpharmacy:()=>u4,deptphysicalmedecine:()=>h4,deptphysiotherapy:()=>p4,deptplasticandreparatorysurgery:()=>m4,deptpneumology:()=>f4,deptpodiatry:()=>g4,deptpodology:()=>v4,deptpsychiatry:()=>b4,deptpsychogeriatry:()=>_4,deptpsychology:()=>y4,deptradiology:()=>x4,deptradiotherapy:()=>w4,deptrevalidation:()=>k4,deptrheumatology:()=>E4,deptrhumatology:()=>C4,deptsenology:()=>S4,deptsocialservice:()=>D4,deptspeechtherapy:()=>I4,deptsportsmedecine:()=>A4,deptstomatology:()=>T4,deptsurgery:()=>O4,deptthoracicsurgery:()=>R4,depttoxicology:()=>N4,depttropicalmedecine:()=>P4,depturology:()=>M4,deptvascularsurgery:()=>L4,deptvisceraldigestiveabdominalsurgery:()=>F4,diabete_equipment_supplier:()=>V4,dietician:()=>z4,doctor:()=>B4,family_science_bachelor:()=>j4,gerontology_master:()=>H4,groupofnurses:()=>U4,groupofphysiciansdifferentaddress:()=>W4,groupofphysicianssameaddress:()=>q4,guardpost:()=>Y4,hub:()=>G4,imaging_technologist:()=>$4,implantprovider:()=>K4,lab_technologist:()=>Z4,logopedist:()=>Q4,midwife:()=>X4,nurse:()=>J4,occupational_therapist:()=>ez,optician:()=>tz,orghospital:()=>iz,orginsurance:()=>az,orglaboratory:()=>nz,orgpharmacy:()=>rz,orgpharmacyinvoicingoffice:()=>oz,orgpolyclinic:()=>sz,orgpractice:()=>lz,orgprevention:()=>cz,orgprimaryhealthcarecenter:()=>dz,orgpsychiatriccarehome:()=>uz,orgpublichealth:()=>hz,orgretirementhome:()=>pz,orgrevalidationcenter:()=>mz,orgshelteredliving:()=>fz,orthopedagogist_master:()=>gz,orthopedist:()=>vz,orthoptist:()=>bz,orthotist:()=>_z,patient:()=>yz,pediatric_nurse:()=>xz,persadministrative:()=>wz,persambulancefirstaid:()=>kz,persappliedpsychbachelor:()=>Ez,persaudician:()=>Cz,persaudiologist:()=>Sz,persbandagistorthosiologist:()=>Dz,persbiologist:()=>Iz,perscaregiver:()=>Az,persclinicalorthopedagogist:()=>Tz,persclinicalpsychologist:()=>Oz,persdentist:()=>Rz,persdietician:()=>Nz,perseducator:()=>Pz,persfamilysciencebachelor:()=>Mz,persgerontologymaster:()=>Lz,perslogopedist:()=>Fz,persmidwife:()=>Vz,persmobilityimprover:()=>zz,persnurse:()=>Bz,persoccupationaltherapist:()=>jz,persoptician:()=>Hz,persoptometrist:()=>Uz,persoraldentalhygienist:()=>Wz,persorthopedagogistmaster:()=>qz,persorthopedist:()=>Yz,persorthoptist:()=>Gz,persorthotist:()=>$z,persparamedical:()=>Kz,perspatientdriver:()=>Zz,perspharmacist:()=>Qz,perspharmacistclinicalbiologist:()=>Xz,perspharmacyassistant:()=>Jz,persphysician:()=>e7,persphysiotherapist:()=>t7,perspodologist:()=>i7,perspracticalnurse:()=>a7,persprosthesiologist:()=>n7,perspsychologist:()=>r7,perspsychomotortherapymaster:()=>o7,persreadaptationbachelor:()=>s7,persshoetechnologist:()=>l7,perssocialworker:()=>c7,perstechnician:()=>d7,perstrussmaker:()=>u7,pharmacist:()=>h7,pharmacist_assistant:()=>p7,physician:()=>m7,physiotherapist:()=>f7,podologist:()=>g7,practical_nurse:()=>v7,prosthetist:()=>b7,psychologist:()=>_7,psychomotor_therapy_master:()=>y7,readaptaion_bachelor:()=>x7,social_worker:()=>w7,specialized_educator:()=>k7,truss_maker:()=>E7});var rV="Ambulance Driver",oV="Ambulance First Aider",sV="Ambulance Rescuer",lV="Software application",cV="Bachelor in Applied Psychology",dV="Audician",uV="Audiologist",hV="Biologist Pharmacist",pV="Caregiver",mV="Certificate holder",fV="Citizen",gV="Clinical Orthopedic Pedagogue",vV="Clinical Psychologist",bV="Dental Hygienist",_V="Dentist",yV="Algology",xV="Anatomopathology",wV="Anesthesiology",kV="Bacteriology",EV="Cardiac surgery",CV="Cardiology",SV="Child and adolescent psychiatry",DV="Dentistry",IV="Dermatology",AV="Diabetology",TV="Dietetics",OV="Emergency",RV="Endocrinology",NV="Gastroenterology",PV="General practice",MV="Genetics",LV="Geriatry",FV="Gynecology",VV="Hand surgery",zV="Hematology",BV="Infectious disease",jV="Intensive care",HV="Kinesitherapy",UV="Laboratory service or department within an organisation",WV="Major burns",qV="Maxillofacial surgery",YV="Internal medecine",GV="Molecular biology",$V="Neonatalogy",KV="Nephrology",ZV="Neurology",QV="Neurology",XV="Nose-throat-ear",JV="Nuclear",e4="Nursing",t4="Nutritional dietetics",i4="Obstetrics",a4="Occupational therapy",n4="Oncology",r4="Ophthalmology",o4="Orthopedy",s4="Palliative care",l4="Pediatric intensive care",c4="Pediatric surgery",d4="Pediatry",u4="Pharmacy Service/Department within an organization",h4="Physical medecine",p4="Physiotherapy",m4="Plastic and reparatory surgery",f4="Pneumology",g4="Podiatry",v4="Podiatry",b4="Psychiatry",_4="Psychogeriatry",y4="Psychology",x4="Radiology",w4="Radiotherapy",k4="Revalidation",E4="Rheumatology",C4="Rhumatology",S4="Senology",D4="Social service",I4="Speech therapy",A4="Sports medecine",T4="Stomatology",O4="Surgery",R4="Thoracic surgery",N4="Toxicology",P4="Tropical medecine",M4="Urology",L4="Vascular surgery",F4="Visceral digestive abdominal surgery",V4="Diabetes Management Equipment Supplier",z4="Dietitian",B4="Doctor",j4="Bachelor in Family Science",H4="Master in Gerontology",U4="Group of nurses",W4="Group of physicians different address",q4="Group of physicians same address",Y4="Guard post",G4="Hub",$4="Medical Imaging Technologist",K4="Implant Provider",Z4="Laboratory Technologist",Q4="Logopedist",X4="Midwife",J4="Nurse",ez="Occupational Therapist",tz="Optician",iz="Hospital",az="Insurance",nz="Independent laboratory",rz="Independent pharmacy",oz="Pharmacy invoicing office",sz="Polyclinic",lz="Practice organisation",cz="Prevention Service",dz="Primary health care center",uz="Psychiatric care home",hz="Public health organisation",pz="Retirementhome",mz="Revalidation center",fz="Sheltered living",gz="Master's in Orthopedagogy",vz="Orthopedist",bz="Orthoptist-Optometrist",_z="Orthotist",yz="Patient",xz="Pediatric Nurse",wz="Administrative",kz="Ambulance first aid",Ez="Bachelor in Applied psychology",Cz="Audician",Sz="Audiologist",Dz="Bandagist orthosiologist (orthopedic technologist)",Iz="Medical laboratory technician",Az="Informal Caregiver",Tz="Clinical orthopedagogist",Oz="Clinical psychologist",Rz="Dentist",Nz="Dietician",Pz="Educator",Mz="Bachelor in Family sciences",Lz="Master in Gerontological sciences",Fz="Logopedist",Vz="Midwife",zz="Mobility improver (orthopedic technologist)",Bz="Nurse",jz="Occupational therapist",Hz="Optician",Uz="Optometrist",Wz="Oral Dental Hygienist",qz="Master of orthopedagogist",Yz="Orthopedist",Gz="Orthoptist",$z="Orthotist/Prosthetist",Kz="Paramedical staff",Zz="Patient Transporter (non-urgent)",Qz="Pharmacist",Xz="Pharmacist-clinical biologist",Jz="Pharmacy assistant",e7="Physician",t7="Physiotherapist",i7="Podiologist",a7="Practical nurse",n7="Prosthesiologist (orthopedic technologist)",r7="Psychologist",o7="Master in Psychomotor Therapy",s7="Bachelor in Physiotherapy and Rehabilitation",l7="Shoe technologist (orthopedic technologist)",c7="Social worker",d7="Medical Imaging Technician",u7="Truss maker",h7="Pharmacist",p7="Pharmaceutical Technician Assistant",m7="Physician",f7="Physiotherapist",g7="Podiatrist",v7="Practical Nurse",b7="Prosthetist",_7="Clinical Psychologist",y7="Master's in Psychomotor Therapy",x7="Bachelor in Rehabilitation",w7="Social Worker",k7="Specialized Educator",E7="Truss Maker",h_e={ambulance_driver:rV,ambulance_first_aid:oV,ambulance_rescuer:sV,application:lV,applied_psychology_bachelor:cV,audician:dV,audiologist:uV,biologist_pharmacist:hV,care_giver:pV,certificateholder:mV,citizen:fV,clinical_orthopedic_pedagogue:gV,clinical_psychologist:vV,dental_hygienist:bV,dentist:_V,deptalgology:yV,deptanatomopathology:xV,deptanesthesiology:wV,deptbacteriology:kV,deptcardiacsurgery:EV,deptcardiology:CV,deptchildandadolescentpsychiatry:SV,deptdentistry:DV,deptdermatology:IV,deptdiabetology:AV,deptdietetics:TV,deptemergency:OV,deptendocrinology:RV,deptgastroenterology:NV,deptgeneralpractice:PV,deptgenetics:MV,deptgeriatry:LV,deptgynecology:FV,depthandsurgery:VV,depthematology:zV,deptinfectiousdisease:BV,deptintensivecare:jV,deptkinesitherapy:HV,deptlaboratory:UV,deptmajorburns:WV,deptmaxillofacialsurgery:qV,deptmedicine:YV,deptmolecularbiology:GV,deptneonatalogy:$V,deptnephrology:KV,deptneurology:ZV,deptneurosurgery:QV,deptnte:XV,deptnuclear:JV,deptnursing:e4,deptnutritiondietetics:t4,deptobstetrics:i4,deptoccupationaltherapy:a4,deptoncology:n4,deptophtalmology:r4,deptorthopedy:o4,deptpalliativecare:s4,deptpediatricintensivecare:l4,deptpediatricsurgery:c4,deptpediatry:d4,deptpharmacy:u4,deptphysicalmedecine:h4,deptphysiotherapy:p4,deptplasticandreparatorysurgery:m4,deptpneumology:f4,deptpodiatry:g4,deptpodology:v4,deptpsychiatry:b4,deptpsychogeriatry:_4,deptpsychology:y4,deptradiology:x4,deptradiotherapy:w4,deptrevalidation:k4,deptrheumatology:E4,deptrhumatology:C4,deptsenology:S4,deptsocialservice:D4,deptspeechtherapy:I4,deptsportsmedecine:A4,deptstomatology:T4,deptsurgery:O4,deptthoracicsurgery:R4,depttoxicology:N4,depttropicalmedecine:P4,depturology:M4,deptvascularsurgery:L4,deptvisceraldigestiveabdominalsurgery:F4,diabete_equipment_supplier:V4,dietician:z4,doctor:B4,family_science_bachelor:j4,gerontology_master:H4,groupofnurses:U4,groupofphysiciansdifferentaddress:W4,groupofphysicianssameaddress:q4,guardpost:Y4,hub:G4,imaging_technologist:$4,implantprovider:K4,lab_technologist:Z4,logopedist:Q4,midwife:X4,nurse:J4,occupational_therapist:ez,optician:tz,orghospital:iz,orginsurance:az,orglaboratory:nz,orgpharmacy:rz,orgpharmacyinvoicingoffice:oz,orgpolyclinic:sz,orgpractice:lz,orgprevention:cz,orgprimaryhealthcarecenter:dz,orgpsychiatriccarehome:uz,orgpublichealth:hz,orgretirementhome:pz,orgrevalidationcenter:mz,orgshelteredliving:fz,orthopedagogist_master:gz,orthopedist:vz,orthoptist:bz,orthotist:_z,patient:yz,pediatric_nurse:xz,persadministrative:wz,persambulancefirstaid:kz,persappliedpsychbachelor:Ez,persaudician:Cz,persaudiologist:Sz,persbandagistorthosiologist:Dz,persbiologist:Iz,perscaregiver:Az,persclinicalorthopedagogist:Tz,persclinicalpsychologist:Oz,persdentist:Rz,persdietician:Nz,perseducator:Pz,persfamilysciencebachelor:Mz,persgerontologymaster:Lz,perslogopedist:Fz,persmidwife:Vz,persmobilityimprover:zz,persnurse:Bz,persoccupationaltherapist:jz,persoptician:Hz,persoptometrist:Uz,persoraldentalhygienist:Wz,persorthopedagogistmaster:qz,persorthopedist:Yz,persorthoptist:Gz,persorthotist:$z,persparamedical:Kz,perspatientdriver:Zz,perspharmacist:Qz,perspharmacistclinicalbiologist:Xz,perspharmacyassistant:Jz,persphysician:e7,persphysiotherapist:t7,perspodologist:i7,perspracticalnurse:a7,persprosthesiologist:n7,perspsychologist:r7,perspsychomotortherapymaster:o7,persreadaptationbachelor:s7,persshoetechnologist:l7,perssocialworker:c7,perstechnician:d7,perstrussmaker:u7,pharmacist:h7,pharmacist_assistant:p7,physician:m7,physiotherapist:f7,podologist:g7,practical_nurse:v7,prosthetist:b7,psychologist:_7,psychomotor_therapy_master:y7,readaptaion_bachelor:x7,social_worker:w7,specialized_educator:k7,truss_maker:E7},C7={};me(C7,{ambulance_driver:()=>S7,ambulance_first_aid:()=>D7,ambulance_rescuer:()=>I7,application:()=>A7,applied_psychology_bachelor:()=>T7,audician:()=>O7,audiologist:()=>R7,biologist_pharmacist:()=>N7,care_giver:()=>P7,certificateholder:()=>M7,citizen:()=>L7,clinical_orthopedic_pedagogue:()=>F7,clinical_psychologist:()=>V7,default:()=>p_e,dental_hygienist:()=>z7,dentist:()=>B7,deptalgology:()=>j7,deptanatomopathology:()=>H7,deptanesthesiology:()=>U7,deptbacteriology:()=>W7,deptcardiacsurgery:()=>q7,deptcardiology:()=>Y7,deptchildandadolescentpsychiatry:()=>G7,deptdentistry:()=>$7,deptdermatology:()=>K7,deptdiabetology:()=>Z7,deptdietetics:()=>Q7,deptemergency:()=>X7,deptendocrinology:()=>J7,deptgastroenterology:()=>eB,deptgeneralpractice:()=>tB,deptgenetics:()=>iB,deptgeriatry:()=>aB,deptgynecology:()=>nB,depthandsurgery:()=>rB,depthematology:()=>oB,deptinfectiousdisease:()=>sB,deptintensivecare:()=>lB,deptkinesitherapy:()=>cB,deptlaboratory:()=>dB,deptmajorburns:()=>uB,deptmaxillofacialsurgery:()=>hB,deptmedicine:()=>pB,deptmolecularbiology:()=>mB,deptneonatalogy:()=>fB,deptnephrology:()=>gB,deptneurology:()=>vB,deptneurosurgery:()=>bB,deptnte:()=>_B,deptnuclear:()=>yB,deptnursing:()=>xB,deptnutritiondietetics:()=>wB,deptobstetrics:()=>kB,deptoccupationaltherapy:()=>EB,deptoncology:()=>CB,deptophtalmology:()=>SB,deptorthopedy:()=>DB,deptpalliativecare:()=>IB,deptpediatricintensivecare:()=>AB,deptpediatricsurgery:()=>TB,deptpediatry:()=>OB,deptpharmacy:()=>RB,deptphysicalmedecine:()=>NB,deptphysiotherapy:()=>PB,deptplasticandreparatorysurgery:()=>MB,deptpneumology:()=>LB,deptpodiatry:()=>FB,deptpsychiatry:()=>VB,deptpsychology:()=>zB,deptradiology:()=>BB,deptradiotherapy:()=>jB,deptrevalidation:()=>HB,deptrheumatology:()=>UB,deptsenology:()=>WB,deptsocialservice:()=>qB,deptspeechtherapy:()=>YB,deptsportsmedecine:()=>GB,deptstomatology:()=>$B,deptsurgery:()=>KB,deptthoracicsurgery:()=>ZB,depttoxicology:()=>QB,depttropicalmedecine:()=>XB,depturology:()=>JB,deptvascularsurgery:()=>ej,deptvisceraldigestiveabdominalsurgery:()=>tj,diabete_equipment_supplier:()=>ij,dietician:()=>aj,doctor:()=>nj,family_science_bachelor:()=>rj,gerontology_master:()=>oj,groupofnurses:()=>sj,groupofphysiciansdifferentaddress:()=>lj,groupofphysicianssameaddress:()=>cj,guardpost:()=>dj,hub:()=>uj,imaging_technologist:()=>hj,implantprovider:()=>pj,lab_technologist:()=>mj,logopedist:()=>fj,midwife:()=>gj,nurse:()=>vj,occupational_therapist:()=>bj,optician:()=>_j,orghospital:()=>yj,orginsurance:()=>xj,orglaboratory:()=>wj,orgpharmacy:()=>kj,orgpolyclinic:()=>Ej,orgpractice:()=>Cj,orgprevention:()=>Sj,orgprimaryhealthcarecenter:()=>Dj,orgpsychiatriccarehome:()=>Ij,orgpublichealth:()=>Aj,orgretirementhome:()=>Tj,orgrevalidationcenter:()=>Oj,orgshelteredliving:()=>Rj,orthopedagogist_master:()=>Nj,orthopedist:()=>Pj,orthoptist:()=>Mj,orthotist:()=>Lj,patient:()=>Fj,pediatric_nurse:()=>Vj,persadministrative:()=>zj,persambulancefirstaid:()=>Bj,persaudician:()=>jj,persaudiologist:()=>Hj,persbiologist:()=>Uj,perscaregiver:()=>Wj,persclinicalorthopedagogist:()=>qj,persclinicalpsychologist:()=>Yj,persdentist:()=>Gj,persdietician:()=>$j,perseducator:()=>Kj,perslogopedist:()=>Zj,persmidwife:()=>Qj,persnurse:()=>Xj,persoccupationaltherapist:()=>Jj,persoptician:()=>eH,persoraldentalhygienist:()=>tH,persorthopedist:()=>iH,persorthoptist:()=>aH,persorthotist:()=>nH,persparamedical:()=>rH,perspatientdriver:()=>oH,perspharmacist:()=>sH,perspharmacistclinicalbiologist:()=>lH,perspharmacyassistant:()=>cH,persphysician:()=>dH,persphysiotherapist:()=>uH,perspodologist:()=>hH,perspracticalnurse:()=>pH,perspsychologist:()=>mH,perssocialworker:()=>fH,perstechnician:()=>gH,perstrussmaker:()=>vH,pharmacist:()=>bH,pharmacist_assistant:()=>_H,physician:()=>yH,physiotherapist:()=>xH,podologist:()=>wH,practical_nurse:()=>kH,prosthetist:()=>EH,psychologist:()=>CH,psychomotor_therapy_master:()=>SH,readaptaion_bachelor:()=>DH,social_worker:()=>IH,specialized_educator:()=>AH,truss_maker:()=>TH});var S7="Ambulancier",D7="Ambulancier secouriste",I7="Ambulancier secouriste",A7="application logicielle",T7="Bachelier en psychologie appliquée",O7="Audicien",R7="Audiologue",N7="Pharmacien biologiste",P7="Personnel soignant",M7="Titulaire du certificat",L7="Citoyen",F7="Orthopédagogue clinicien",V7="Psychologue clinicien",z7="Hygiéniste bucco-dentaire",B7="Dentiste",j7="algologie",H7="anatomopathologie",U7="anesthésiologie",W7="bactériologie",q7="chirurgie cardiaque",Y7="cardiologie",G7="psychiatrie de l’enfant et de l’adolescent",$7="dentisterie",K7="dermatologie",Z7="diabétologie",Q7="diététique",X7="services d’urgence",J7="endocrinologie",eB="gastroentérologie",tB="médecine générale",iB="génétique",aB="gériatrie",nB="gynécologie",rB="chirurgie de la main",oB="hématologie",sB="maladie infectieuse",lB="soins intensifs",cB="kinésithérapie",dB="Service/Département laboratoire au sein d’une organisation",uB="grands brûlés",hB="chirurgie maxillo-faciale",pB="médecine interne",mB="biologie moléculaire",fB="néonatologie",gB="néphrologie",vB="neurologie",bB="neurologie",_B="oto-rhino-laryngologie",yB="médecine nucléaire",xB="soins infirmiers",wB="diététique nutritionnelle",kB="obstétrique",EB="ergothérapie",CB="oncologie",SB="ophtalmologie",DB="orthopédie",IB="soins palliatifs",AB="soins intensifs pédiatriques",TB="chirurgie pédiatrique",OB="pédiatrie",RB="Service/Département pharmacie au sein d’une organisation",NB="médecine physique",PB="physiothérapie",MB="chirurgie esthétique et réparatrice",LB="pneumologie",FB="podiatrie",VB="psychiatrie",zB="psychologie",BB="radiologie",jB="radiothérapie",HB="rééducation",UB="rhumatologie",WB="sénologie",qB="service social",YB="logopédie",GB="médecine des sports",$B="stomatologie",KB="chirurgie",ZB="chirurgie thoracique",QB="toxicologie",XB="médecine tropicale",JB="urologie",ej="chirurgie vasculaire",tj="chirurgie abdominale, digestive et viscérale",ij="Fournisseur de matériel d’autogestion diabétique",aj="Diététicien",nj="Médecin",rj="Bachelier en science de la famille",oj="Master en gérontologie",sj="Regroupement d’infirmiers",lj="Regroupement de médecins adresse différente",cj="regroupement de médecins même adresse",dj="poste de garde",uj="hub",hj="Technologue en imagerie médicale",pj="Dispensateur d’implants",mj="Technologue de labo",fj="Logopède",gj="Sage-femme",vj="Infirmier\\Infirmière",bj="Ergothérapeute",_j="Opticien",yj="hôpital",xj="assurance",wj="laboratoire indépendant",kj="Pharmacie indépendante",Ej="polyclinique",Cj="cabinet",Sj="Service de prévention",Dj="Maison médicale",Ij="maison de soins psychiatriques",Aj="service public de santé",Tj="maison de repos",Oj="centre de revalidation",Rj="initiative d’habitation protégée",Nj="Master en Orthopédagogie",Pj="Orthopédiste",Mj="Orthoptiste-Optométriste",Lj="Orthésiste",Fj="Patient",Vj="Puéricultrice",zj="personnel admistratif",Bj="ambulance premier secours",jj="audicien",Hj="audiologue",Uj="technicien de laboratoire médical",Wj="soignant informel",qj="Orthopédagogue clinicien",Yj="Psychologue clinicien",Gj="dentiste",$j="diététicien",Kj="éducateur",Zj="logopède",Qj="sage-femme",Xj="infirmier",Jj="ergothérapeute",eH="opticien",tH="Hygiéniste bucco-dentaire",iH="orthopédiste",aH="orthoptiste",nH="Orthésiste/Prothésiste",rH="personnel paramédical",oH="Transporteur de patient (non urgent)",sH="pharmacien",lH="pharmacien-biologiste clinicien",cH="assistant en pharmacie",dH="médecin",uH="kinésithérapeute",hH="podologue",pH="aide-soignante",mH="psychologue",fH="travailleur social",gH="Technicien d’imagerie médicale",vH="Bandagiste",bH="Pharmacien",_H="Assistant Pharmaceutico-Technique",yH="Médecin",xH="Physiothérapeute",wH="Podologue",kH="Aide-soignant",EH="Prothésiste",CH="Psychologue clinicien",SH="Master en thérapie psychomotrice",DH="Bachelier en réadaptation",IH="Assistant social",AH="Educateur spécialisé",TH="Bandagiste",p_e={ambulance_driver:S7,ambulance_first_aid:D7,ambulance_rescuer:I7,application:A7,applied_psychology_bachelor:T7,audician:O7,audiologist:R7,biologist_pharmacist:N7,care_giver:P7,certificateholder:M7,citizen:L7,clinical_orthopedic_pedagogue:F7,clinical_psychologist:V7,dental_hygienist:z7,dentist:B7,deptalgology:j7,deptanatomopathology:H7,deptanesthesiology:U7,deptbacteriology:W7,deptcardiacsurgery:q7,deptcardiology:Y7,deptchildandadolescentpsychiatry:G7,deptdentistry:$7,deptdermatology:K7,deptdiabetology:Z7,deptdietetics:Q7,deptemergency:X7,deptendocrinology:J7,deptgastroenterology:eB,deptgeneralpractice:tB,deptgenetics:iB,deptgeriatry:aB,deptgynecology:nB,depthandsurgery:rB,depthematology:oB,deptinfectiousdisease:sB,deptintensivecare:lB,deptkinesitherapy:cB,deptlaboratory:dB,deptmajorburns:uB,deptmaxillofacialsurgery:hB,deptmedicine:pB,deptmolecularbiology:mB,deptneonatalogy:fB,deptnephrology:gB,deptneurology:vB,deptneurosurgery:bB,deptnte:_B,deptnuclear:yB,deptnursing:xB,deptnutritiondietetics:wB,deptobstetrics:kB,deptoccupationaltherapy:EB,deptoncology:CB,deptophtalmology:SB,deptorthopedy:DB,deptpalliativecare:IB,deptpediatricintensivecare:AB,deptpediatricsurgery:TB,deptpediatry:OB,deptpharmacy:RB,deptphysicalmedecine:NB,deptphysiotherapy:PB,deptplasticandreparatorysurgery:MB,deptpneumology:LB,deptpodiatry:FB,deptpsychiatry:VB,deptpsychology:zB,deptradiology:BB,deptradiotherapy:jB,deptrevalidation:HB,deptrheumatology:UB,deptsenology:WB,deptsocialservice:qB,deptspeechtherapy:YB,deptsportsmedecine:GB,deptstomatology:$B,deptsurgery:KB,deptthoracicsurgery:ZB,depttoxicology:QB,depttropicalmedecine:XB,depturology:JB,deptvascularsurgery:ej,deptvisceraldigestiveabdominalsurgery:tj,diabete_equipment_supplier:ij,dietician:aj,doctor:nj,family_science_bachelor:rj,gerontology_master:oj,groupofnurses:sj,groupofphysiciansdifferentaddress:lj,groupofphysicianssameaddress:cj,guardpost:dj,hub:uj,imaging_technologist:hj,implantprovider:pj,lab_technologist:mj,logopedist:fj,midwife:gj,nurse:vj,occupational_therapist:bj,optician:_j,orghospital:yj,orginsurance:xj,orglaboratory:wj,orgpharmacy:kj,orgpolyclinic:Ej,orgpractice:Cj,orgprevention:Sj,orgprimaryhealthcarecenter:Dj,orgpsychiatriccarehome:Ij,orgpublichealth:Aj,orgretirementhome:Tj,orgrevalidationcenter:Oj,orgshelteredliving:Rj,orthopedagogist_master:Nj,orthopedist:Pj,orthoptist:Mj,orthotist:Lj,patient:Fj,pediatric_nurse:Vj,persadministrative:zj,persambulancefirstaid:Bj,persaudician:jj,persaudiologist:Hj,persbiologist:Uj,perscaregiver:Wj,persclinicalorthopedagogist:qj,persclinicalpsychologist:Yj,persdentist:Gj,persdietician:$j,perseducator:Kj,perslogopedist:Zj,persmidwife:Qj,persnurse:Xj,persoccupationaltherapist:Jj,persoptician:eH,persoraldentalhygienist:tH,persorthopedist:iH,persorthoptist:aH,persorthotist:nH,persparamedical:rH,perspatientdriver:oH,perspharmacist:sH,perspharmacistclinicalbiologist:lH,perspharmacyassistant:cH,persphysician:dH,persphysiotherapist:uH,perspodologist:hH,perspracticalnurse:pH,perspsychologist:mH,perssocialworker:fH,perstechnician:gH,perstrussmaker:vH,pharmacist:bH,pharmacist_assistant:_H,physician:yH,physiotherapist:xH,podologist:wH,practical_nurse:kH,prosthetist:EH,psychologist:CH,psychomotor_therapy_master:SH,readaptaion_bachelor:DH,social_worker:IH,specialized_educator:AH,truss_maker:TH},OH={};me(OH,{ambulance_driver:()=>RH,ambulance_first_aid:()=>NH,ambulance_rescuer:()=>PH,application:()=>MH,applied_psychology_bachelor:()=>LH,audician:()=>FH,audiologist:()=>VH,biologist_pharmacist:()=>zH,care_giver:()=>BH,certificateholder:()=>jH,citizen:()=>HH,clinical_orthopedic_pedagogue:()=>UH,clinical_psychologist:()=>WH,default:()=>m_e,dental_hygienist:()=>qH,dentist:()=>YH,deptalgology:()=>GH,deptanatomopathology:()=>$H,deptanesthesiology:()=>KH,deptbacteriology:()=>ZH,deptcardiacsurgery:()=>QH,deptcardiology:()=>XH,deptchildandadolescentpsychiatry:()=>JH,deptdentistry:()=>e9,deptdermatology:()=>t9,deptdiabetology:()=>i9,deptdietetics:()=>a9,deptemergency:()=>n9,deptendocrinology:()=>r9,deptgastroenterology:()=>o9,deptgeneralpractice:()=>s9,deptgenetics:()=>l9,deptgeriatry:()=>c9,deptgynecology:()=>d9,depthandsurgery:()=>u9,depthematology:()=>h9,deptinfectiousdisease:()=>p9,deptintensivecare:()=>m9,deptkinesitherapy:()=>f9,deptlaboratory:()=>g9,deptmajorburns:()=>v9,deptmaxillofacialsurgery:()=>b9,deptmedicine:()=>_9,deptmolecularbiology:()=>y9,deptneonatalogy:()=>x9,deptnephrology:()=>w9,deptneurology:()=>k9,deptneurosurgery:()=>E9,deptnte:()=>C9,deptnuclear:()=>S9,deptnursing:()=>D9,deptnutritiondietetics:()=>I9,deptobstetrics:()=>A9,deptoccupationaltherapy:()=>T9,deptoncology:()=>O9,deptophtalmology:()=>R9,deptorthopedy:()=>N9,deptpalliativecare:()=>P9,deptpediatricintensivecare:()=>M9,deptpediatricsurgery:()=>L9,deptpediatry:()=>F9,deptpharmacy:()=>V9,deptphysicalmedecine:()=>z9,deptphysiotherapy:()=>B9,deptplasticandreparatorysurgery:()=>j9,deptpneumology:()=>H9,deptpodiatry:()=>U9,deptpsychiatry:()=>W9,deptpsychology:()=>q9,deptradiology:()=>Y9,deptradiotherapy:()=>G9,deptrevalidation:()=>$9,deptrheumatology:()=>K9,deptsenology:()=>Z9,deptsocialservice:()=>Q9,deptspeechtherapy:()=>X9,deptsportsmedecine:()=>J9,deptstomatology:()=>e6,deptsurgery:()=>t6,deptthoracicsurgery:()=>i6,depttoxicology:()=>a6,depttropicalmedecine:()=>n6,depturology:()=>r6,deptvascularsurgery:()=>o6,deptvisceraldigestiveabdominalsurgery:()=>s6,diabete_equipment_supplier:()=>l6,dietician:()=>c6,doctor:()=>d6,family_science_bachelor:()=>u6,gerontology_master:()=>h6,groupofnurses:()=>p6,groupofphysiciansdifferentaddress:()=>m6,groupofphysicianssameaddress:()=>f6,guardpost:()=>g6,hub:()=>v6,imaging_technologist:()=>b6,implantprovider:()=>_6,lab_technologist:()=>y6,logopedist:()=>x6,midwife:()=>w6,nurse:()=>k6,occupational_therapist:()=>E6,optician:()=>C6,orghospital:()=>S6,orginsurance:()=>D6,orglaboratory:()=>I6,orgpharmacy:()=>A6,orgpolyclinic:()=>T6,orgpractice:()=>O6,orgprevention:()=>R6,orgprimaryhealthcarecenter:()=>N6,orgpsychiatriccarehome:()=>P6,orgpublichealth:()=>M6,orgretirementhome:()=>L6,orgrevalidationcenter:()=>F6,orgshelteredliving:()=>V6,orthopedagogist_master:()=>z6,orthopedist:()=>B6,orthoptist:()=>j6,orthotist:()=>H6,patient:()=>U6,pediatric_nurse:()=>W6,persadministrative:()=>q6,persambulancefirstaid:()=>Y6,persaudician:()=>G6,persaudiologist:()=>$6,persbiologist:()=>K6,perscaregiver:()=>Z6,persclinicalorthopedagogist:()=>Q6,persclinicalpsychologist:()=>X6,persdentist:()=>J6,persdietician:()=>e8,perseducator:()=>t8,perslogopedist:()=>i8,persmidwife:()=>a8,persnurse:()=>n8,persoccupationaltherapist:()=>r8,persoptician:()=>o8,persoraldentalhygienist:()=>s8,persorthopedist:()=>l8,persorthoptist:()=>c8,persorthotist:()=>d8,persparamedical:()=>u8,perspatientdriver:()=>h8,perspharmacist:()=>p8,perspharmacistclinicalbiologist:()=>m8,perspharmacyassistant:()=>f8,persphysician:()=>g8,persphysiotherapist:()=>v8,perspodologist:()=>b8,perspracticalnurse:()=>_8,perspsychologist:()=>y8,perssocialworker:()=>x8,perstechnician:()=>w8,perstrussmaker:()=>k8,pharmacist:()=>E8,pharmacist_assistant:()=>C8,physician:()=>S8,physiotherapist:()=>D8,podologist:()=>I8,practical_nurse:()=>A8,prosthetist:()=>T8,psychologist:()=>O8,psychomotor_therapy_master:()=>R8,readaptaion_bachelor:()=>N8,social_worker:()=>P8,specialized_educator:()=>M8,truss_maker:()=>L8});var RH="Ambulancebestuurder",NH="Ambulancier eerste hulp",PH="Amublancier eerste hulp",MH="softwaretoepassing",LH="Bachelor toegepaste psychologie",FH="Audicien",VH="Audioloog",zH="Apotheker-bioloog",BH="Verzorgingspersoneel",jH="Houder van certificaat",HH="Burger",UH="Klinische orthopedagoog",WH="Klinische psycholoog",qH="Mondhygiënist",YH="Tandarts",GH="algologie",$H="anatomo-pathologie",KH="anesthesiologie",ZH="bacteriologie",QH="hartchirurgie",XH="cardiologie",JH="kinder- en jeugdpsychiatrie",e9="tandheelkunde",t9="dermatologie",i9="diabetologie",a9="diëtetiek",n9="spoeddiensten",r9="endocrinologie/hormonenleer",o9="gastro-enterologie",s9="algemene geneeskunde",l9="genetica",c9="geriatrie",d9="gynaecologie",u9="handchirurgie",h9="hematologie",p9="infectieziekte",m9="intensieve zorgen",f9="kinesitherapie",g9="Laboratoriumdienst of -afdeling binnen een organisatie",v9="brandwondencentrum",b9="mond-, kaak- en aangezichtschirurgie",_9="interne geneeskunde",y9="moleculaire biologie",x9="neonatologie",w9="nefrologie",k9="neurologie",E9="neurologie",C9="oto-rhino-laryngologie",S9="nucleaire geneeskunde",D9="verpleegkunde",I9="diëtetiek",A9="verloskunde",T9="ergotherapie",O9="oncologie",R9="oftalmologie",N9="orthopedie",P9="palliatieve zorg",M9="intensieve zorg voor kinderen",L9="kinderchirurgie",F9="pediatrie",V9="Apotheekdienst of -afdeling binnen een organisatie",z9="fysische geneeskunde",B9="fysiotherapie",j9="plastische en reconstructieve chirurgie",H9="pulmonologie",U9="podiatrie",W9="psychiatrie",q9="psychologie",Y9="radiologie",G9="radiotherapie",$9="revalidatie",K9="reumatologie",Z9="senologie",Q9="sociale dienst",X9="logopedie",J9="sportgeneeskunde",e6="stomatologie",t6="chirurgie",i6="thoraxchirurgie",a6="toxicologie",n6="tropische geneeskunde",r6="urologie",o6="vasculaire chirurgie",s6="digestieve/viscerale chirurgie/buikchirurgie",l6="Leverancier van materiaal voor diabetische zelfzorg ",c6="Diëtist",d6="Arts",u6="Bachelor gezinswetenschappen",h6="Master gerontologie",p6="Groepering van verplegers",m6="Groepering van artsen verschillend adres",f6="groepering van artsen zelfde adres",g6="wachtpost",v6="hub",b6="Technoloog medische beeldvorming",_6="Leverancier implantaten",y6="Laboratoriumtechnoloog",x6="Logopedist",w6="Vroedvrouw",k6="verpleegkundige",E6="Ergotherapeut",C6="Opticien",S6="ziekenhuis",D6="verzekering",I6="Onafhankelijk laboratorium",A6="Onafhankelijke apotheek",T6="polikliniek",O6="praktijk",R6="Preventiedienst",N6="medisch huis",P6="psychiatrisch verzorgingstehuis",M6="openbare gezondheidsdienst",L6="woonzorgcentrum",F6="revalidatiecentrum",V6="initiatief voor beschut wonen",z6="Master orthopedagogie",B6="Orthopedist",j6="Orthoptist-optometrist",H6="Orthesist",U6="Patiënt",W6="Kinderverzorgsters",q6="administratief medewerker",Y6="ambulance eerste hulp",G6="audicien",$6="audioloog",K6="medisch laboratoriumtechnoloog",Z6="mantelzorger",Q6="Klinisch orthopedagoog",X6="Klinisch psycholoog",J6="tandarts",e8="diëtist",t8="opvoeder",i8="logopedist",a8="vroedvrouw",n8="verpleegkundige",r8="ergotherapeut",o8="opticien",s8="Mondhygiënist",l8="orthopedist",c8="orthoptist",d8="Orthopedisch technicus",u8="paramedisch personeel",h8="Ziekenvervoerder (niet urgent)",p8="apotheker",m8="apotheker-klinisch bioloog",f8="apothekersassistent",g8="arts",v8="kinesitherapeut",b8="podologist",_8="verzorgende",y8="psycholoog",x8="maatschappelijk werker",w8="Technicus medische beeldvorming",k8="Bandagist",E8="Apotheker",C8="Farmaceutisch-technisch assistent",S8="Arts",D8="Fysiotherapeut",I8="Podoloog",A8="Zorgkundige",T8="Prothesist",O8="Psycholoog",R8="Master psychomotorische therapie",N8="Bachelor readaptatiewetenschappen",P8="Sociaal assistent",M8="Bachelor opvoedkunde",L8="Bandagist",m_e={ambulance_driver:RH,ambulance_first_aid:NH,ambulance_rescuer:PH,application:MH,applied_psychology_bachelor:LH,audician:FH,audiologist:VH,biologist_pharmacist:zH,care_giver:BH,certificateholder:jH,citizen:HH,clinical_orthopedic_pedagogue:UH,clinical_psychologist:WH,dental_hygienist:qH,dentist:YH,deptalgology:GH,deptanatomopathology:$H,deptanesthesiology:KH,deptbacteriology:ZH,deptcardiacsurgery:QH,deptcardiology:XH,deptchildandadolescentpsychiatry:JH,deptdentistry:e9,deptdermatology:t9,deptdiabetology:i9,deptdietetics:a9,deptemergency:n9,deptendocrinology:r9,deptgastroenterology:o9,deptgeneralpractice:s9,deptgenetics:l9,deptgeriatry:c9,deptgynecology:d9,depthandsurgery:u9,depthematology:h9,deptinfectiousdisease:p9,deptintensivecare:m9,deptkinesitherapy:f9,deptlaboratory:g9,deptmajorburns:v9,deptmaxillofacialsurgery:b9,deptmedicine:_9,deptmolecularbiology:y9,deptneonatalogy:x9,deptnephrology:w9,deptneurology:k9,deptneurosurgery:E9,deptnte:C9,deptnuclear:S9,deptnursing:D9,deptnutritiondietetics:I9,deptobstetrics:A9,deptoccupationaltherapy:T9,deptoncology:O9,deptophtalmology:R9,deptorthopedy:N9,deptpalliativecare:P9,deptpediatricintensivecare:M9,deptpediatricsurgery:L9,deptpediatry:F9,deptpharmacy:V9,deptphysicalmedecine:z9,deptphysiotherapy:B9,deptplasticandreparatorysurgery:j9,deptpneumology:H9,deptpodiatry:U9,deptpsychiatry:W9,deptpsychology:q9,deptradiology:Y9,deptradiotherapy:G9,deptrevalidation:$9,deptrheumatology:K9,deptsenology:Z9,deptsocialservice:Q9,deptspeechtherapy:X9,deptsportsmedecine:J9,deptstomatology:e6,deptsurgery:t6,deptthoracicsurgery:i6,depttoxicology:a6,depttropicalmedecine:n6,depturology:r6,deptvascularsurgery:o6,deptvisceraldigestiveabdominalsurgery:s6,diabete_equipment_supplier:l6,dietician:c6,doctor:d6,family_science_bachelor:u6,gerontology_master:h6,groupofnurses:p6,groupofphysiciansdifferentaddress:m6,groupofphysicianssameaddress:f6,guardpost:g6,hub:v6,imaging_technologist:b6,implantprovider:_6,lab_technologist:y6,logopedist:x6,midwife:w6,nurse:k6,occupational_therapist:E6,optician:C6,orghospital:S6,orginsurance:D6,orglaboratory:I6,orgpharmacy:A6,orgpolyclinic:T6,orgpractice:O6,orgprevention:R6,orgprimaryhealthcarecenter:N6,orgpsychiatriccarehome:P6,orgpublichealth:M6,orgretirementhome:L6,orgrevalidationcenter:F6,orgshelteredliving:V6,orthopedagogist_master:z6,orthopedist:B6,orthoptist:j6,orthotist:H6,patient:U6,pediatric_nurse:W6,persadministrative:q6,persambulancefirstaid:Y6,persaudician:G6,persaudiologist:$6,persbiologist:K6,perscaregiver:Z6,persclinicalorthopedagogist:Q6,persclinicalpsychologist:X6,persdentist:J6,persdietician:e8,perseducator:t8,perslogopedist:i8,persmidwife:a8,persnurse:n8,persoccupationaltherapist:r8,persoptician:o8,persoraldentalhygienist:s8,persorthopedist:l8,persorthoptist:c8,persorthotist:d8,persparamedical:u8,perspatientdriver:h8,perspharmacist:p8,perspharmacistclinicalbiologist:m8,perspharmacyassistant:f8,persphysician:g8,persphysiotherapist:v8,perspodologist:b8,perspracticalnurse:_8,perspsychologist:y8,perssocialworker:x8,perstechnician:w8,perstrussmaker:k8,pharmacist:E8,pharmacist_assistant:C8,physician:S8,physiotherapist:D8,podologist:I8,practical_nurse:A8,prosthetist:T8,psychologist:O8,psychomotor_therapy_master:R8,readaptaion_bachelor:N8,social_worker:P8,specialized_educator:M8,truss_maker:L8},f_e={nl:OH,fr:C7,de:XL,en:nV},F8={};me(F8,{"00001":()=>V8,"00002":()=>z8,"00005":()=>B8,"00008":()=>j8,"00009":()=>H8,"00010":()=>U8,"00011":()=>W8,"00012":()=>q8,"00013":()=>Y8,"00033":()=>G8,"00034":()=>$8,"00035":()=>K8,"00045":()=>Z8,"00046":()=>Q8,"00049":()=>X8,"00051":()=>J8,"00052":()=>eU,"00053":()=>tU,"00054":()=>iU,"00055":()=>aU,"00056":()=>nU,"00060":()=>rU,"00064":()=>oU,"00066":()=>sU,"00067":()=>lU,"00068":()=>cU,"00070":()=>dU,"00071":()=>uU,"00072":()=>hU,"00073":()=>pU,"both-ears":()=>AU,"both-eyes":()=>SU,"both-nostrils":()=>kU,"cutaneous-injection":()=>_U,default:()=>g_e,derm:()=>mU,"dermal-injection":()=>yU,"ear-left":()=>DU,"ear-right":()=>IU,"eye-left":()=>EU,"eye-right":()=>CU,hyperdermoclyse:()=>RU,icut:()=>gU,ider:()=>vU,larter:()=>fU,"nose-left":()=>xU,"nose-right":()=>wU,oft:()=>bU,transdermal:()=>OU,"vitreal-injection":()=>TU});var V8="ins Ohr",z8="auf die Haut",B8="Injektion außerhalb der Hirnhaut",j8="in die Luftröhre",H8="in den Gebärmutterhals einführen",U8="Injektion in eine Arterie",W8="Injektion in den Penis",q8="Injektion in die Haut",Y8="Injektion in einen Muskel",G8="Injektion ins Rückenmark",$8="in die Gebärmutter einführen",K8="Injektion in eine Vene",Z8="in die Harnblase",Q8="Infusion",X8="Inhalation",J8="Injektion",eU="auf die Lippen",tU="lokal",iU="auf die Schleimhaut",aU="in die Nase",nU="in die Augen",rU="einnehmen",oU="durch den Mund",sU="durch Mund und Nase",lU="rektal",cU="Spritze unter die Haut",dU="unter die Zunge",uU="auf die Zähne",hU="in den Harnleiter",pU="vaginal",mU="dermatologisch",fU="intraarteriell",gU="intrakutan",vU="intradermal",bU="ophthalmologisch",_U="kutane Injektion",yU="dermale Injektion",xU="linke Nase",wU="rechte Nase",kU="beide Nasenlöcher",EU="linkes Auge",CU="rechtes Auge",SU="beide Augen",DU="linkes Ohr",IU="rechtes Ohr",AU="beide Ohren",TU="vitreale Injektion",OU="transdermal",RU="Hyperdermoklyse",g_e={"00001":V8,"00002":z8,"00005":B8,"00008":j8,"00009":H8,"00010":U8,"00011":W8,"00012":q8,"00013":Y8,"00033":G8,"00034":$8,"00035":K8,"00045":Z8,"00046":Q8,"00049":X8,"00051":J8,"00052":eU,"00053":tU,"00054":iU,"00055":aU,"00056":nU,"00060":rU,"00064":oU,"00066":sU,"00067":lU,"00068":cU,"00070":dU,"00071":uU,"00072":hU,"00073":pU,derm:mU,larter:fU,icut:gU,ider:vU,oft:bU,"cutaneous-injection":_U,"dermal-injection":yU,"nose-left":xU,"nose-right":wU,"both-nostrils":kU,"eye-left":EU,"eye-right":CU,"both-eyes":SU,"ear-left":DU,"ear-right":IU,"both-ears":AU,"vitreal-injection":TU,transdermal:OU,hyperdermoclyse:RU},NU={};me(NU,{"00001":()=>PU,"00002":()=>MU,"00003":()=>LU,"00004":()=>FU,"00005":()=>VU,"00006":()=>zU,"00007":()=>BU,"00008":()=>jU,"00009":()=>HU,"00010":()=>UU,"00011":()=>WU,"00012":()=>qU,"00013":()=>YU,"00014":()=>GU,"00015":()=>$U,"00016":()=>KU,"00017":()=>ZU,"00018":()=>QU,"00019":()=>XU,"00020":()=>JU,"00021":()=>eW,"00022":()=>tW,"00023":()=>iW,"00024":()=>aW,"00025":()=>nW,"00026":()=>rW,"00027":()=>oW,"00028":()=>sW,"00029":()=>lW,"00030":()=>cW,"00031":()=>dW,"00032":()=>uW,"00033":()=>hW,"00034":()=>pW,"00035":()=>mW,"00036":()=>fW,"00037":()=>gW,"00038":()=>vW,"00039":()=>bW,"00040":()=>_W,"00041":()=>yW,"00042":()=>xW,"00043":()=>wW,"00044":()=>kW,"00045":()=>EW,"00046":()=>CW,"00047":()=>SW,"00048":()=>DW,"00049":()=>IW,"00050":()=>AW,"00051":()=>TW,"00052":()=>OW,"00053":()=>RW,"00054":()=>NW,"00055":()=>PW,"00056":()=>MW,"00057":()=>LW,"00058":()=>FW,"00059":()=>VW,"00060":()=>zW,"00061":()=>BW,"00062":()=>jW,"00063":()=>HW,"00064":()=>UW,"00065":()=>WW,"00066":()=>qW,"00067":()=>YW,"00068":()=>GW,"00069":()=>$W,"00070":()=>KW,"00071":()=>ZW,"00072":()=>QW,"00073":()=>XW,"both-ears":()=>mq,"both-eyes":()=>uq,"both-nostrils":()=>lq,"cutaneous-injection":()=>nq,default:()=>v_e,derm:()=>JW,"dermal-injection":()=>rq,"ear-left":()=>hq,"ear-right":()=>pq,"eye-left":()=>cq,"eye-right":()=>dq,hyperdermoclyse:()=>vq,icut:()=>tq,ider:()=>iq,larter:()=>eq,"nose-left":()=>oq,"nose-right":()=>sq,oft:()=>aq,transdermal:()=>gq,"vitreal-injection":()=>fq});var PU="auric.",MU="derm.",LU="derm./rect",FU="derm./vag.",VU="e.dur.",zU="e.dur./i.thec./local",BU="e.dur./local",jU="e.trach.",HU="endocerv.",UU="i.arter.",WU="i.cavern.",qU="i.derm.",YU="i.m.",GU="i.m./i.thec./e.dur./s.c.",$U="i.m./i.v.",KU="i.m./i.v./inf.",ZU="i.m./i.v./inf./e.dur./s.c.",QU="i.m./i.v./inf./i.arter./i.thec.",XU="i.m./i.v./perf./i.artér./local/s.c.",JU="i.m./i.v./inf./i.thec.",eW="i.m./i.v./inf./rect.",tW="i.m./i.v./inf./s.c.",iW="i.m./i.v./inhal.",aW="i.m./i.v./local",nW="i.m./i.v./or.",rW="i.m./i.v./rect",oW="i.m./i.v./s.c.",sW="i.m./inf.",lW="i.m./perf./local",cW="i.m./local",dW="i.m./local/rect.",uW="i.m./s.c.",hW="i.thec.",pW="i.ut.",mW="i.v.",fW="i.v./p.dur./local",gW="i.v./i.arter./i.ves.",vW="i.v./inf.",bW="i.v./perf./p.dur.",_W="i.v./perf./i.artér.",yW="i.v./perf./i.théc./s.c.",xW="i.v./perf./inhal.",wW="i.v./perf./s.c.",kW="i.v./s.c.",EW="i.ves.",CW="perf.",SW="perf./i.ves.",DW="perf./s.c.",IW="inhal.",AW="inhal./nas./local",TW="inj.",OW="lip",RW="local",NW="muc.",PW="nas.",MW="opht.",LW="opht./auric.",FW="opht./auric./nas.",VW="opht./auric./nas./local",zW="or.",BW="or./bucco-phar./derm.",jW="or./rect.",HW="or./s.l.",UW="bucco-phar.",WW="bucco-phar./derm.",qW="bucco-phar./nas.",YW="rect.",GW="s.c.",$W="s.c./i.derm.",KW="s.l.",ZW="teeth",QW="urethr.",XW="vag.",JW="dermatologically",eq="intra-arterial",tq="intracutaneous",iq="intradermally",aq="ophtalmological",nq="cutaneous injection",rq="dermal injection",oq="nose left",sq="nose right",lq="both nostrils",cq="eye left",dq="eye right",uq="both eyes",hq="ear left",pq="ear right",mq="both ears",fq="vitreal injection",gq="transdermal",vq="hyperdermoclyse",v_e={"00001":PU,"00002":MU,"00003":LU,"00004":FU,"00005":VU,"00006":zU,"00007":BU,"00008":jU,"00009":HU,"00010":UU,"00011":WU,"00012":qU,"00013":YU,"00014":GU,"00015":$U,"00016":KU,"00017":ZU,"00018":QU,"00019":XU,"00020":JU,"00021":eW,"00022":tW,"00023":iW,"00024":aW,"00025":nW,"00026":rW,"00027":oW,"00028":sW,"00029":lW,"00030":cW,"00031":dW,"00032":uW,"00033":hW,"00034":pW,"00035":mW,"00036":fW,"00037":gW,"00038":vW,"00039":bW,"00040":_W,"00041":yW,"00042":xW,"00043":wW,"00044":kW,"00045":EW,"00046":CW,"00047":SW,"00048":DW,"00049":IW,"00050":AW,"00051":TW,"00052":OW,"00053":RW,"00054":NW,"00055":PW,"00056":MW,"00057":LW,"00058":FW,"00059":VW,"00060":zW,"00061":BW,"00062":jW,"00063":HW,"00064":UW,"00065":WW,"00066":qW,"00067":YW,"00068":GW,"00069":$W,"00070":KW,"00071":ZW,"00072":QW,"00073":XW,derm:JW,larter:eq,icut:tq,ider:iq,oft:aq,"cutaneous-injection":nq,"dermal-injection":rq,"nose-left":oq,"nose-right":sq,"both-nostrils":lq,"eye-left":cq,"eye-right":dq,"both-eyes":uq,"ear-left":hq,"ear-right":pq,"both-ears":mq,"vitreal-injection":fq,transdermal:gq,hyperdermoclyse:vq},bq={};me(bq,{"00001":()=>_q,"00002":()=>yq,"00005":()=>xq,"00008":()=>wq,"00009":()=>kq,"00010":()=>Eq,"00011":()=>Cq,"00012":()=>Sq,"00013":()=>Dq,"00033":()=>Iq,"00034":()=>Aq,"00035":()=>Tq,"00045":()=>Oq,"00046":()=>Rq,"00049":()=>Nq,"00051":()=>Pq,"00052":()=>Mq,"00053":()=>Lq,"00054":()=>Fq,"00055":()=>Vq,"00056":()=>zq,"00060":()=>Bq,"00064":()=>jq,"00066":()=>Hq,"00067":()=>Uq,"00068":()=>Wq,"00070":()=>qq,"00071":()=>Yq,"00072":()=>Gq,"00073":()=>$q,"both-ears":()=>dY,"both-eyes":()=>sY,"both-nostrils":()=>nY,"cutaneous-injection":()=>eY,default:()=>b_e,derm:()=>Kq,"dermal-injection":()=>tY,"ear-left":()=>lY,"ear-right":()=>cY,"eye-left":()=>rY,"eye-right":()=>oY,hyperdermoclyse:()=>pY,icut:()=>Qq,ider:()=>Xq,larter:()=>Zq,"nose-left":()=>iY,"nose-right":()=>aY,oft:()=>Jq,transdermal:()=>hY,"vitreal-injection":()=>uY});var _q="dans l’oreille",yq="sur la peau",xq="injection en dehors de la méninge",wq="dans la trachée",kq="introduire dans le col de l’utérus",Eq="injection dans l’artère",Cq="injection dans le pénis",Sq="injection dans la peau",Dq="injection dans un muscle",Iq="injection dans la moelle épinière",Aq="introduire dans l’utérus",Tq="injection dans une veine",Oq="dans la vessie",Rq="perfusion",Nq="inhalation",Pq="injection",Mq="lèvre",Lq="local",Fq="sur la muqueuse",Vq="dans le nez",zq="dans les yeux",Bq="prendre/avaler",jq="par la bouche",Hq="par la bouche et dans le nez",Uq="par voie rectale",Wq="injection sous-cutanée",qq="sous la langue",Yq="sur les dents",Gq="dans l’uretère",$q="par voie vaginale",Kq="dermatologique",Zq="intra-artérielle",Qq="intracutané",Xq="intradermique",Jq="ophtalmologique",eY="injection cutanée",tY="injection dermique",iY="nez gauche",aY="nez droite",nY="les deux narines",rY="oeil gauche",oY="oeil droite",sY="les deux yeux",lY="oreille gauche",cY="oreille droite",dY="les deux oreilles",uY="injection vitrale",hY="transdermique",pY="hyperdermoclyse",b_e={"00001":_q,"00002":yq,"00005":xq,"00008":wq,"00009":kq,"00010":Eq,"00011":Cq,"00012":Sq,"00013":Dq,"00033":Iq,"00034":Aq,"00035":Tq,"00045":Oq,"00046":Rq,"00049":Nq,"00051":Pq,"00052":Mq,"00053":Lq,"00054":Fq,"00055":Vq,"00056":zq,"00060":Bq,"00064":jq,"00066":Hq,"00067":Uq,"00068":Wq,"00070":qq,"00071":Yq,"00072":Gq,"00073":$q,derm:Kq,larter:Zq,icut:Qq,ider:Xq,oft:Jq,"cutaneous-injection":eY,"dermal-injection":tY,"nose-left":iY,"nose-right":aY,"both-nostrils":nY,"eye-left":rY,"eye-right":oY,"both-eyes":sY,"ear-left":lY,"ear-right":cY,"both-ears":dY,"vitreal-injection":uY,transdermal:hY,hyperdermoclyse:pY},mY={};me(mY,{"00001":()=>fY,"00002":()=>gY,"00005":()=>vY,"00008":()=>bY,"00009":()=>_Y,"00010":()=>yY,"00011":()=>xY,"00012":()=>wY,"00013":()=>kY,"00033":()=>EY,"00034":()=>CY,"00035":()=>SY,"00045":()=>DY,"00046":()=>IY,"00049":()=>AY,"00051":()=>TY,"00052":()=>OY,"00053":()=>RY,"00054":()=>NY,"00055":()=>PY,"00056":()=>MY,"00060":()=>LY,"00064":()=>FY,"00066":()=>VY,"00067":()=>zY,"00068":()=>BY,"00070":()=>jY,"00071":()=>HY,"00072":()=>UY,"00073":()=>WY,"both-ears":()=>oG,"both-eyes":()=>aG,"both-nostrils":()=>eG,"cutaneous-injection":()=>ZY,default:()=>__e,derm:()=>qY,"dermal-injection":()=>QY,"ear-left":()=>nG,"ear-right":()=>rG,"eye-left":()=>tG,"eye-right":()=>iG,hyperdermoclyse:()=>cG,icut:()=>GY,ider:()=>$Y,larter:()=>YY,"nose-left":()=>XY,"nose-right":()=>JY,oft:()=>KY,transdermal:()=>lG,"vitreal-injection":()=>sG});var fY="in het oor",gY="op de huid",vY="inspuiting buiten het hersenvlies",bY="in de luchtpijp",_Y="inbrengen in de baarmoederhals",yY="inspuiting in een slagader",xY="inspuiting in de penis",wY="inspuiting in de huid",kY="inspuiting in een spier",EY="inspuiting in het ruggenmerg",CY="inbrengen in de baarmoeder",SY="inspuiting in een ader",DY="in de urineblaas",IY="infuus",AY="inhalatie",TY="inspuiting",OY="op de lippen",RY="lokaal",NY="op het slijmvlies",PY="in de neus",MY="in de ogen",LY="innemen",FY="in de mond",VY="in de mond en in de neus",zY="anaal opsteken",BY="onderhuidse inspuiting",jY="onder de tong",HY="op de tanden",UY="in de urineleider",WY="vaginaal",qY="dermatologisch",YY="intra-arterieel",GY="intracutaan",$Y="intradermaal",KY="oftalmologisch",ZY="cutane injectie",QY="dermale injectie",XY="neus links",JY="neus rechts",eG="beide neusgaten",tG="oog links",iG="oog rechts",aG="beide ogen",nG="oor links",rG="oor rechts",oG="beide oren",sG="vitreale injectie",lG="transdermaal",cG="hyperdermoclyse",__e={"00001":fY,"00002":gY,"00005":vY,"00008":bY,"00009":_Y,"00010":yY,"00011":xY,"00012":wY,"00013":kY,"00033":EY,"00034":CY,"00035":SY,"00045":DY,"00046":IY,"00049":AY,"00051":TY,"00052":OY,"00053":RY,"00054":NY,"00055":PY,"00056":MY,"00060":LY,"00064":FY,"00066":VY,"00067":zY,"00068":BY,"00070":jY,"00071":HY,"00072":UY,"00073":WY,derm:qY,larter:YY,icut:GY,ider:$Y,oft:KY,"cutaneous-injection":ZY,"dermal-injection":QY,"nose-left":XY,"nose-right":JY,"both-nostrils":eG,"eye-left":tG,"eye-right":iG,"both-eyes":aG,"ear-left":nG,"ear-right":rG,"both-ears":oG,"vitreal-injection":sG,transdermal:lG,hyperdermoclyse:cG},y_e={nl:mY,fr:bq,de:F8,en:NU},dG={};me(dG,{default:()=>x_e,rsb:()=>pG,rsw:()=>hG,vitalink:()=>uG});var uG="Vitalink",hG="Réseau Santé Wallon",pG="Brüsseler Gesundheitsnetzwerk",x_e={vitalink:uG,rsw:hG,rsb:pG},mG={};me(mG,{default:()=>w_e,rsb:()=>vG,rsw:()=>gG,vitalink:()=>fG});var fG="Vitalink",gG="Réseau Santé Wallon",vG="Brussels Health Network",w_e={vitalink:fG,rsw:gG,rsb:vG},bG={};me(bG,{default:()=>k_e,rsb:()=>xG,rsw:()=>yG,vitalink:()=>_G});var _G="Vitalink",yG="Réseau Santé Wallon",xG="Réseau Santé Bruxellois",k_e={vitalink:_G,rsw:yG,rsb:xG},wG={};me(wG,{default:()=>E_e,rsb:()=>CG,rsw:()=>EG,vitalink:()=>kG});var kG="Vitalink",EG="Réseau Santé Wallon",CG="Brusselse Gezondheidsnetwerk",E_e={vitalink:kG,rsw:EG,rsb:CG},C_e={nl:wG,fr:bG,de:dG,en:mG},SG={};me(SG,{author:()=>AG,date:()=>TG,default:()=>S_e,medicationName:()=>DG,role:()=>OG,"sorting-ascendant":()=>RG,"sorting-descendent":()=>NG,validityDate:()=>IG});var DG="Arzneimittel",IG="Ablaufdatum",AG="Verfasser",TG="Datum",OG="Benutzerrolle",RG="Aufsteigend sortieren",NG="Absteigend sortieren",S_e={medicationName:DG,validityDate:IG,author:AG,date:TG,role:OG,"sorting-ascendant":RG,"sorting-descendent":NG},PG={};me(PG,{author:()=>zG,date:()=>BG,default:()=>D_e,medicationName:()=>MG,role:()=>jG,"sorting-ascendant":()=>FG,"sorting-descendent":()=>VG,validityDate:()=>LG});var MG="Drug",LG="Validity",FG="Sort by ascending order",VG="Sort by descending order",zG="Author",BG="Date",jG="Role",D_e={medicationName:MG,validityDate:LG,"sorting-ascendant":FG,"sorting-descendent":VG,author:zG,date:BG,role:jG},HG={};me(HG,{author:()=>qG,date:()=>YG,default:()=>I_e,medicationName:()=>UG,role:()=>GG,"sorting-ascendant":()=>$G,"sorting-descendent":()=>KG,validityDate:()=>WG});var UG="Médicament",WG="Validité",qG="Auteur",YG="Date",GG="Qualité",$G="Trier par ordre croissant",KG="Trier par ordre décroissant",I_e={medicationName:UG,validityDate:WG,author:qG,date:YG,role:GG,"sorting-ascendant":$G,"sorting-descendent":KG},ZG={};me(ZG,{author:()=>JG,date:()=>e$,default:()=>A_e,medicationName:()=>QG,role:()=>t$,"sorting-ascendant":()=>i$,"sorting-descendent":()=>a$,validityDate:()=>XG});var QG="Geneesmiddel",XG="Geldigheid",JG="Auteur",e$="Datum",t$="Rol",i$="Oplopend sorteren",a$="Aflopend sorteren",A_e={medicationName:QG,validityDate:XG,author:JG,date:e$,role:t$,"sorting-ascendant":i$,"sorting-descendent":a$},T_e={nl:ZG,fr:HG,de:SG,en:PG},n$={};me(n$,{author:()=>d$,default:()=>O_e,profession:()=>u$,source:()=>c$,title:()=>r$,updated:()=>s$,updatedBy:()=>l$,version:()=>o$});var r$="Versionsdetails",o$="Version",s$="Aktualisiert am",l$="Von",c$="Ursprung",d$="Verfasser",u$="Beruf",O_e={title:r$,version:o$,updated:s$,updatedBy:l$,source:c$,author:d$,profession:u$},h$={};me(h$,{author:()=>b$,default:()=>R_e,profession:()=>_$,source:()=>v$,title:()=>p$,updated:()=>f$,updatedBy:()=>g$,version:()=>m$});var p$="Version details",m$="Version",f$="Updated on",g$="By",v$="Source",b$="Author",_$="Appeal",R_e={title:p$,version:m$,updated:f$,updatedBy:g$,source:v$,author:b$,profession:_$},y$={};me(y$,{author:()=>S$,default:()=>N_e,profession:()=>D$,source:()=>C$,title:()=>x$,updated:()=>k$,updatedBy:()=>E$,version:()=>w$});var x$="Détails de la version",w$="Version",k$="Mis à jour le",E$="Par",C$="Source",S$="Auteur",D$="Profession",N_e={title:x$,version:w$,updated:k$,updatedBy:E$,source:C$,author:S$,profession:D$},I$={};me(I$,{author:()=>P$,default:()=>P_e,profession:()=>M$,source:()=>N$,title:()=>A$,updated:()=>O$,updatedBy:()=>R$,version:()=>T$});var A$="Versie details",T$="Versie",O$="Bijgewerkt op",R$="Door",N$="Bron",P$="Auteur",M$="Beroep",P_e={title:A$,version:T$,updated:O$,updatedBy:R$,source:N$,author:P$,profession:M$},M_e={nl:I$,fr:y$,de:n$,en:h$},L$={};me(L$,{day:()=>F$,default:()=>L_e,moreInformations:()=>Y$,nextday:()=>W$,nextweek:()=>H$,openCalendar:()=>q$,previousday:()=>U$,previousweek:()=>j$,returnToCurrentWeek:()=>B$,returnToToday:()=>z$,week:()=>V$});var F$="Tagesansicht",V$="Wochenansicht",z$="Zurück zu heute",B$="Diese Woche",j$="Vorige week",H$="Volgende week",U$="Vorige dag",W$="Volgende dag",q$="den Kalender öffnen",Y$="Weitere Informationen",L_e={day:F$,week:V$,returnToToday:z$,returnToCurrentWeek:B$,previousweek:j$,nextweek:H$,previousday:U$,nextday:W$,openCalendar:q$,moreInformations:Y$},G$={};me(G$,{day:()=>$$,default:()=>F_e,moreInformations:()=>aK,nextday:()=>tK,nextweek:()=>J$,openCalendar:()=>iK,previousday:()=>eK,previousweek:()=>X$,returnToCurrentWeek:()=>Q$,returnToToday:()=>Z$,week:()=>K$});var $$="Day overview",K$="Week overview",Z$="Back to today",Q$="Present week",X$="Previous week",J$="Next week",eK="Previous day",tK="Next day",iK="open the calendar",aK="More information",F_e={day:$$,week:K$,returnToToday:Z$,returnToCurrentWeek:Q$,previousweek:X$,nextweek:J$,previousday:eK,nextday:tK,openCalendar:iK,moreInformations:aK},nK={};me(nK,{day:()=>rK,default:()=>V_e,moreInformations:()=>mK,nextday:()=>hK,nextweek:()=>dK,openCalendar:()=>pK,previousday:()=>uK,previousweek:()=>cK,returnToCurrentWeek:()=>lK,returnToToday:()=>sK,week:()=>oK});var rK="Vue journalière",oK="Vue semaine",sK="Revenir à aujourd'hui",lK="Cette semaine",cK="Semaine précédente",dK="Semaine suivante",uK="Jour précédent",hK="Jour suivant",pK="Ouvrir le calendrier",mK="Plus d'informations",V_e={day:rK,week:oK,returnToToday:sK,returnToCurrentWeek:lK,previousweek:cK,nextweek:dK,previousday:uK,nextday:hK,openCalendar:pK,moreInformations:mK},fK={};me(fK,{day:()=>gK,default:()=>z_e,moreInformations:()=>CK,nextday:()=>kK,nextweek:()=>xK,openCalendar:()=>EK,previousday:()=>wK,previousweek:()=>yK,returnToCurrentWeek:()=>_K,returnToToday:()=>bK,week:()=>vK});var gK="Dagoverzicht",vK="Weekoverzicht",bK="Terug naar vandaag",_K="Huidige week",yK="vorherige Woche",xK="nächste Woche",wK="vorheriger Tag",kK="nächster Tag",EK="de kalender openen",CK="Meer informatie",z_e={day:gK,week:vK,returnToToday:bK,returnToCurrentWeek:_K,previousweek:yK,nextweek:xK,previousday:wK,nextday:kK,openCalendar:EK,moreInformations:CK},B_e={nl:fK,fr:nK,de:L$,en:G$},SK={};me(SK,{comment:()=>BK,default:()=>j_e,end:()=>OK,endCondition:()=>VK,indication:()=>IK,instructions:()=>zK,medication:()=>DK,noDetails:()=>jK,periodicity:()=>PK,posologie:()=>MK,prescriber:()=>AK,quantity:()=>NK,route:()=>LK,start:()=>TK,startCondition:()=>FK,suspension:()=>RK});var DK="Arzneimittel",IK="Grund",AK="verschreibende Person",TK="Beginn",OK="Ende",RK={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},NK="Darreichungsform",PK="Abstand",MK="Dosierung",LK="Verabreichung",FK="Anfangszustand",VK="Endzustand",zK="Hinweise",BK="Kommentar",jK="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",j_e={medication:DK,indication:IK,prescriber:AK,start:TK,end:OK,suspension:RK,quantity:NK,periodicity:PK,posologie:MK,route:LK,startCondition:FK,endCondition:VK,instructions:zK,comment:BK,noDetails:jK},HK={};me(HK,{comment:()=>iZ,default:()=>H_e,end:()=>GK,endCondition:()=>eZ,indication:()=>WK,instructions:()=>tZ,medication:()=>UK,noDetails:()=>aZ,periodicity:()=>ZK,posologie:()=>QK,prescriber:()=>qK,quantity:()=>KK,route:()=>XK,start:()=>YK,startCondition:()=>JK,suspension:()=>$K});var UK="Medication",WK="Reason",qK="Prescriber",YK="Beginning",GK="End",$K={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},KK="Pharmaceutical form",ZK="Frequency",QK="Dosage",XK="Route of administration",JK="Condition at the beginning",eZ="Condition at the end",tZ="Instructions ",iZ="Comments",aZ="The requested information has been deleted or doesn't exist.",H_e={medication:UK,indication:WK,prescriber:qK,start:YK,end:GK,suspension:$K,quantity:KK,periodicity:ZK,posologie:QK,route:XK,startCondition:JK,endCondition:eZ,instructions:tZ,comment:iZ,noDetails:aZ},nZ={};me(nZ,{comment:()=>bZ,default:()=>U_e,end:()=>cZ,endCondition:()=>gZ,indication:()=>oZ,instructions:()=>vZ,medication:()=>rZ,noDetails:()=>_Z,periodicity:()=>hZ,posologie:()=>pZ,prescriber:()=>sZ,quantity:()=>uZ,route:()=>mZ,start:()=>lZ,startCondition:()=>fZ,suspension:()=>dZ});var rZ="Médicament",oZ="Raison",sZ="Prescripteur",lZ="Début",cZ="Fin",dZ={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},uZ="Forme pharmaceutique",hZ="Fréquence",pZ="Posologie",mZ="Voie d’administration",fZ="Condition de début",gZ="Condition de fin",vZ="Instructions",bZ="Commentaire",_Z="Le médicament demandée a été supprimée ou n'existe pas.",U_e={medication:rZ,indication:oZ,prescriber:sZ,start:lZ,end:cZ,suspension:dZ,quantity:uZ,periodicity:hZ,posologie:pZ,route:mZ,startCondition:fZ,endCondition:gZ,instructions:vZ,comment:bZ,noDetails:_Z},yZ={};me(yZ,{comment:()=>PZ,default:()=>W_e,end:()=>CZ,endCondition:()=>RZ,indication:()=>wZ,instructions:()=>NZ,medication:()=>xZ,noDetails:()=>MZ,periodicity:()=>IZ,posologie:()=>AZ,prescriber:()=>kZ,quantity:()=>DZ,route:()=>TZ,start:()=>EZ,startCondition:()=>OZ,suspension:()=>SZ});var xZ="Geneesmiddel",wZ="Reden",kZ="Voorschrijver",EZ="Start",CZ="Einde",SZ={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},DZ="Farmaceutische vorm",IZ="Frequentie",AZ="Posologie",TZ="Toedieningsweg",OZ="Beginconditie",RZ="Eindconditie",NZ="Instructies",PZ="Commentaar",MZ="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",W_e={medication:xZ,indication:wZ,prescriber:kZ,start:EZ,end:CZ,suspension:SZ,quantity:DZ,periodicity:IZ,posologie:AZ,route:TZ,startCondition:OZ,endCondition:RZ,instructions:NZ,comment:PZ,noDetails:MZ},q_e={nl:yZ,fr:nZ,de:SK,en:HK},LZ={};me(LZ,{all:()=>FZ,atYourConvenienceText:()=>qZ,consultDetails:()=>HZ,current:()=>VZ,days:()=>YZ,default:()=>Y_e,disclaimer:()=>KZ,future:()=>zZ,headers:()=>jZ,noMedications:()=>$Z,remarks:()=>UZ,return:()=>BZ,toPlan:()=>WZ,toTake:()=>GZ});var FZ="Vollständige Liste",VZ="Aktuel",zZ="Künftig",BZ="Zurück zur Übersicht",jZ={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},HZ="Siehe Details",UZ={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},WZ="Noch zu vereinbaren",qZ='Einige Medikamente wurden vom Arzt keiner bestimmten Tageszeit zugeordnet und werden deshalb unter "Morgens" 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.',YZ={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},GZ="am {days} zu nehmen",$Z={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"},KZ="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.",Y_e={all:FZ,current:VZ,future:zZ,return:BZ,headers:jZ,consultDetails:HZ,remarks:UZ,toPlan:WZ,atYourConvenienceText:qZ,days:YZ,toTake:GZ,noMedications:$Z,disclaimer:KZ},ZZ={};me(ZZ,{all:()=>QZ,atYourConvenienceText:()=>oQ,consultDetails:()=>iQ,current:()=>XZ,days:()=>sQ,default:()=>G_e,disclaimer:()=>dQ,future:()=>JZ,headers:()=>tQ,noMedications:()=>cQ,notSpecified:()=>aQ,remarks:()=>nQ,return:()=>eQ,toPlan:()=>rQ,toTake:()=>lQ});var QZ="Complete list",XZ="Current",JZ="Future",eQ="Back to overview",tQ={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 "},iQ="See details",aQ="Dosage not filled",nQ={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},rQ="Remains to be planned",oQ="Some medications are not assigned to a specific time of day by the doctor and are therefore placed in ‘Morning’. 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.",sQ={monday:"Mon",tuesday:"Tue",thursday:"Thu",wednesday:"Wed",friday:"Fri",saturday:"Sat",sunday:"Sun",allDays:"Every day"},lQ="To take on {days}",cQ={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."},dQ="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.",G_e={all:QZ,current:XZ,future:JZ,return:eQ,headers:tQ,consultDetails:iQ,notSpecified:aQ,remarks:nQ,toPlan:rQ,atYourConvenienceText:oQ,days:sQ,toTake:lQ,noMedications:cQ,disclaimer:dQ},uQ={};me(uQ,{all:()=>hQ,atYourConvenienceText:()=>yQ,consultDetails:()=>vQ,current:()=>pQ,days:()=>xQ,default:()=>$_e,disclaimer:()=>EQ,future:()=>mQ,headers:()=>gQ,noMedications:()=>kQ,remarks:()=>bQ,return:()=>fQ,toPlan:()=>_Q,toTake:()=>wQ});var hQ="Toute la liste",pQ="En cours",mQ="futur",fQ="Retour à la vue d'ensemble",gQ={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"},vQ="Voir les détails",bQ={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},_Q="À convenir",yQ="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 ‘Matin’. 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.",xQ={monday:"Lun",tuesday:"Mar",wednesday:"Mer",thursday:"Jeu",friday:"Ven",saturday:"Sam",sunday:"Dim",allDays:"Tous les jours"},wQ="À prendre {days}",kQ={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"},EQ="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.",$_e={all:hQ,current:pQ,future:mQ,return:fQ,headers:gQ,consultDetails:vQ,remarks:bQ,toPlan:_Q,atYourConvenienceText:yQ,days:xQ,toTake:wQ,noMedications:kQ,disclaimer:EQ},CQ={};me(CQ,{all:()=>SQ,atYourConvenienceText:()=>MQ,consultDetails:()=>OQ,current:()=>DQ,days:()=>LQ,default:()=>K_e,disclaimer:()=>zQ,future:()=>IQ,headers:()=>TQ,noMedications:()=>VQ,notSpecified:()=>RQ,remarks:()=>NQ,return:()=>AQ,toPlan:()=>PQ,toTake:()=>FQ});var SQ="Volledige lijst",DQ="Huidig",IQ="Toekomstig",AQ="Terug naar overzicht",TQ={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},OQ="Zie details",RQ="Dosering niet ingevuld",NQ={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},PQ="Nog in te plannen",MQ="Sommige medicijnen zijn door de arts niet aan een bepaald tijdstip van de dag toegewezen en worden daarom in 'Ochtend' 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.",LQ={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Woe",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},FQ="Te nemen op {days}",VQ={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"},zQ="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.",K_e={all:SQ,current:DQ,future:IQ,return:AQ,headers:TQ,consultDetails:OQ,notSpecified:RQ,remarks:NQ,toPlan:PQ,atYourConvenienceText:MQ,days:LQ,toTake:FQ,noMedications:VQ,disclaimer:zQ},Z_e={nl:CQ,fr:uQ,de:LZ,en:ZZ},BQ={};me(BQ,{default:()=>Q_e,flanders:()=>UQ,subtitle:()=>HQ,title:()=>jQ,walloniaBrussels:()=>WQ});var jQ="Medikamentenplan",HQ="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",UQ={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."},WQ={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."},Q_e={title:jQ,subtitle:HQ,flanders:UQ,walloniaBrussels:WQ},qQ={};me(qQ,{default:()=>X_e,flanders:()=>$Q,subtitle:()=>GQ,title:()=>YQ,walloniaBrussels:()=>KQ});var YQ="Medication scheme",GQ="What to do if I I don't see any content in this part?",$Q={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."},KQ={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’."},X_e={title:YQ,subtitle:GQ,flanders:$Q,walloniaBrussels:KQ},ZQ={};me(ZQ,{default:()=>J_e,flanders:()=>JQ,subtitle:()=>XQ,title:()=>QQ,walloniaBrussels:()=>eX});var QQ="Schéma de médication",XQ="Que faire si je ne vois aucun contenu dans cette partie ?",JQ={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."},eX={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’"},J_e={title:QQ,subtitle:XQ,flanders:JQ,walloniaBrussels:eX},tX={};me(tX,{default:()=>eye,flanders:()=>nX,subtitle:()=>aX,title:()=>iX,walloniaBrussels:()=>rX});var iX="Medicatieschema",aX="Wat te doen indien ik geen inhoud zie in dit deel?",nX={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"},rX={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’."},eye={title:iX,subtitle:aX,flanders:nX,walloniaBrussels:rX},tye={nl:tX,fr:ZQ,de:BQ,en:qQ},oX={};me(oX,{day:()=>cX,default:()=>iye,list:()=>sX,week:()=>lX});var sX="Liste",lX="Woche",cX="Heute",iye={list:sX,week:lX,day:cX},dX={};me(dX,{day:()=>pX,default:()=>aye,list:()=>uX,week:()=>hX});var uX="List",hX="Week",pX="Today",aye={list:uX,week:hX,day:pX},mX={};me(mX,{day:()=>vX,default:()=>nye,list:()=>fX,week:()=>gX});var fX="Liste",gX="Semaine",vX="Aujourd’hui",nye={list:fX,week:gX,day:vX},bX={};me(bX,{day:()=>xX,default:()=>rye,list:()=>_X,week:()=>yX});var _X="Lijst",yX="Week",xX="Vandaag",rye={list:_X,week:yX,day:xX},oye={nl:bX,fr:mX,de:oX,en:dX},wX={};me(wX,{default:()=>sye,evening:()=>SX,ifNeeded:()=>IX,morning:()=>EX,night:()=>DX,noon:()=>CX,toPlan:()=>kX});var kX="Spezifische Anweisungen",EX="Morgen",CX="Mittag und Nachmittag",SX="Abends",DX="Zubettgehen",IX="Gegebenenfalls",sye={toPlan:kX,morning:EX,noon:CX,evening:SX,night:DX,ifNeeded:IX},AX={};me(AX,{default:()=>lye,evening:()=>NX,ifNeeded:()=>MX,morning:()=>OX,night:()=>PX,noon:()=>RX,toPlan:()=>TX});var TX="Specific instructions",OX="Morning",RX="Noon and afternoon",NX="Evening meal",PX="Going to sleep",MX="If necessary",lye={toPlan:TX,morning:OX,noon:RX,evening:NX,night:PX,ifNeeded:MX},LX={};me(LX,{default:()=>cye,evening:()=>BX,ifNeeded:()=>HX,morning:()=>VX,night:()=>jX,noon:()=>zX,toPlan:()=>FX});var FX="Instructions spécifiques",VX="Matin",zX="Midi et Après-midi",BX="Soir",jX="Au coucher",HX="Si nécessaire",cye={toPlan:FX,morning:VX,noon:zX,evening:BX,night:jX,ifNeeded:HX},UX={};me(UX,{default:()=>dye,evening:()=>GX,ifNeeded:()=>KX,morning:()=>qX,night:()=>$X,noon:()=>YX,toPlan:()=>WX});var WX="Specifieke instructies",qX="Ochtend",YX="Middag en namiddag",GX="Avondmaal",$X="Bij het slapen gaan",KX="Indien nodig",dye={toPlan:WX,morning:qX,noon:YX,evening:GX,night:$X,ifNeeded:KX},uye={nl:UX,fr:LX,de:wX,en:AX},hye=class extends No{getTranslation(e){return wt({commons:ti(Se({},K0e[e]),{days:z0e[e],errors:W0e[e],roles:f_e[e],safes:C_e[e],periodicities:e_e[e],administrationUnits:P0e[e],period:r_e[e],routes:y_e[e],posology:d_e[e],sortDropdown:T_e[e]}),medicationSchemeListView:Z_e[e],medicationSchemeOverview:oye[e],medicationSchemeMoments:uye[e],medicationSchemeNoData:tye[e],medicationSchemeDateToggler:B_e[e],medicationSchemeCreationDetails:M_e[e],medicationSchemeDetails:q_e[e]})}},pye=[Pve,N_(ri.forRoot({defaultLanguage:"fr",loader:{provide:No,useClass:hye},compiler:{provide:Po,useClass:D0e}}))],mye=(()=>{const t=class t{transform(i,a){switch(a){case"current":return y0e(i);case"future":return x0e(i);case"all":default:return w0e(i)}}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"filterMedicationTo",type:t,pure:!0,standalone:!0});let e=t;return e})(),ZX=(()=>{const t=class t{transform(i){return cu(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"isFutureMedication",type:t,pure:!0,standalone:!0});let e=t;return e})(),fye=(()=>{const t=class t{transform(i,a){let r=Ak(i.medication,a),o=Tk(i.posology,i.medication,r);return yk(It(o),It(a))}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"isLastIngestionDay",type:t,pure:!0,standalone:!0});let e=t;return e})(),gye=(()=>{const t=class t{transform(i,a,r){let o=Ak(i.medication,a),s=Tk(i.posology,i.medication,o);return Yf(s,{start:It(a),end:su(r)})?{lastDay:o,lastIngestionDay:s}:null}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"lastIngestionPeriod",type:t,pure:!0,standalone:!0});let e=t;return e})(),vye=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.cdRef=q(St),this.destroyRef=q(Ba),this.result=""}ngOnInit(){this.translate.onLangChange.pipe(nu(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology),this.cdRef.markForCheck()})}transform(i){return this.posology!==i&&(this.posology=i,this.result=this.getResult(i)),this.result}getResult(i){if(i!=null&&i.daytime){if(i.daytime.dayPeriod)return this.translate.instant("commons.period."+i.daytime.dayPeriod);if(i.daytime.time)return i.daytime.time.substring(0,5)}return""}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"posologyDayTime",type:t,pure:!1,standalone:!0});let e=t;return e})(),bye=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.cdRef=q(St),this.destroyRef=q(Ba),this.result=""}ngOnInit(){this.translate.onLangChange.pipe(nu(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(i,a){return(this.posology!==i||this.medication!==a)&&(this.posology=i,this.medication=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){var o,s,l;if(!((o=i.daytime)!=null&&o.dayPeriod)&&!((s=i.daytime)!=null&&s.time))return"";let r=[this.getPosologyDayTimeTranslation(i)];return(l=a.frequency)!=null&&l.periodicity?r.push(...this.getPeriodicityText(i,a.frequency.periodicity,new Date(a.treatmentStartDate))):r.push(...this.getPosologyText(i,a,new Date(a.treatmentStartDate))),r.join(" ").trim()}getPeriodicityText(i,a,r){var o,s,l,c,u;if(((o=i.day)==null?void 0:o.weekday)!=null&&i.daytime!=null&&!gh(a)&&!vh(a))return[this.translate.instant("commons.posology.on"),this.translate.instant("commons.days."+i.day.weekday.day).toLowerCase()];if(((s=i.day)==null?void 0:s.dayNumber)!=null&&i.daytime!=null&&!gh(a)&&!vh(a))return[this.translate.instant("commons.posology.day"),i.day.dayNumber.toString()];if(gh(a))return((l=i.day)==null?void 0:l.date)!=null?[this.translate.instant("commons.posology.day"),sc(new Date(i.day.date)).toString()]:((c=i.day)==null?void 0:c.dayNumber)!=null?[this.translate.instant("commons.posology.day"),i.day.dayNumber.toString()]:[this.translate.instant("commons.posology.day"),sc(r).toString()];if(vh(a)){let p=[this.translate.instant("commons.posology.on")];return(u=i.day)!=null&&u.date?p.push(sc(new Date(i.day.date))+"/"+(qb(i.day.date)+1)):p.push(sc(r)+"/"+(qb(r)+1)),p}return[]}getPosologyText(i,a,r){var s,l,c;let o=[this.translate.instant("commons.posology.on")];return((s=i.day)==null?void 0:s.date)!=null?o.push(oc(new Date(i.day.date),"dd-MM-yyyy")):((l=i.day)==null?void 0:l.weekday)!=null?o.push(oc(p0e(i,a),"dd-MM-yyyy")):((c=i.day)==null?void 0:c.dayNumber)!=null?o.push(oc(zn(r,i.day.dayNumber-1),"dd-MM-yyyy")):o.push(oc(r,"dd-MM-yyyy")),o}getPosologyDayTimeTranslation(i){var a,r,o;return i&&((a=i.daytime)!=null&&a.dayPeriod)&&Object.values(Qe).includes((r=i.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+i.daytime.dayPeriod):(o=i.daytime)!=null&&o.time?i.daytime.time.substring(0,5):""}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"posologySpecification",type:t,pure:!1,standalone:!0});let e=t;return e})(),_ye=(()=>{const t=class t{transform(i,a){var r,o;return((o=(r=i.suspensions)==null?void 0:r.filter(s=>zr(a,It(new Date(s.startDate)))).reduce((s,l)=>this.getClosestToLastIngestionDate(a,s,l),null))==null?void 0:o.type)||""}getClosestToLastIngestionDate(i,a,r){if(a==null)return r;let o=zb(new Date(a.startDate),i),s=zb(new Date(r.startDate),i);return o===s?a.type==="definitive"?a:r:o<s?a:r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=bi({name:"suspensionType",type:t,pure:!0,standalone:!0});let e=t;return e})(),QX=e=>({posology:e}),yye=e=>({count:e});function xye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I()),e&2&&(C(),ue("",M(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function wye(e,t){if(e&1&&(D(0,"li"),Ki(1,2),I()),e&2){let n=t.$implicit;V(3);let i=Ha(3);C(),W("ngTemplateOutlet",i)("ngTemplateOutletContext",qa(2,QX,n))}}function kye(e,t){if(e&1&&(D(0,"ul"),Ui(1,wye,2,4,"li",null,Xi),I()),e&2){let n=V(2);C(),Wi(n.medication().posology)}}function Eye(e,t){if(e&1&&Ki(0,2),e&2){let n=V(2),i=Ha(3);W("ngTemplateOutlet",i)("ngTemplateOutletContext",qa(2,QX,n.medication().posology[0]))}}function Cye(e,t){if(e&1&&z(0,xye,3,3,"span",1)(1,kye,3,0,"ul")(2,Eye,1,4),e&2){let n=V();$(0,n.medication().temporality===n.temporalities.ONESHOT?0:-1),C(),$(1,n.medication().posology.length>1?1:2)}}function Sye(e,t){e&1&&(P(0),O(1,"translate")),e&2&&ue(" ",M(1,1,"medicationSchemeListView.notSpecified"),`
29
- `)}function Dye(e,t){e&1&&(D(0,"span"),P(1),I()),e&2&&(C(),ue(" ",t,""))}function Iye(e,t){if(e&1&&(D(0,"span"),P(1),O(2,"translate"),I(),z(3,Dye,2,1,"span"),O(4,"posologySpecification")),e&2){let n,i=V(2).posology,a=V();C(),ue(" ",ni(2,2,"commons.administrationUnits."+i.quantity.unit,qa(8,yye,i.quantity.value)),""),C(2),$(3,(n=ni(4,5,i,a.medication()))?3:-1,n)}}function Aye(e,t){if(e&1&&(D(0,"span"),P(1),O(2,"quantity"),I(),z(3,Iye,5,10)),e&2){let n=V().posology;C(),pe(M(2,2,n.quantity.value)),C(2),$(3,n.quantity.unit?3:-1)}}function Tye(e,t){if(e&1&&(D(0,"span",3),O(1,"getLangForAttrLang"),O(2,"canTranslateForAttr"),P(3),I()),e&2){let n=V();W("lang",M(1,3,n.lang)),ke("translate",M(2,5,n.lang)),C(3),ue("  ",t," ")}}function Oye(e,t){if(e&1&&(D(0,"span",3),O(1,"getLangForAttrLang"),O(2,"canTranslateForAttr"),P(3),I(),z(4,Tye,4,7,"span",3),O(5,"posologySpecification")),e&2){let n,i=t,a=V().posology,r=V();W("lang",M(1,4,i.lang)),ke("translate",M(2,6,i.lang)),C(3),ue(" ",i.value," "),C(),$(4,(n=ni(5,8,a,r.medication()))?4:-1,n)}}function Rye(e,t){if(e&1&&(D(0,"div"),z(1,Aye,4,4)(2,Oye,6,11),O(3,"translateObject"),I()),e&2){let n,i=t.posology;C(),$(1,i.quantity?1:-1),C(),$(2,(n=M(3,2,i.text))?2:-1,n)}}var Nye=(()=>{const t=class t{constructor(){this.medication=pt.required(),this.temporalities=Pa}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-posology"]],inputs:{medication:[R.SignalBased,"medication"]},standalone:!0,features:[we],decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(i,a){if(i&1&&z(0,Cye,3,2)(1,Sye,2,3)(2,Rye,4,4,"ng-template",null,0,Gx),i&2){let r;$(0,(r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[ri,_i,jf,bye,Lve,Gme,Mve,o1],styles:[".if-needed[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#001b2e;font-size:16px;line-height:24px;letter-spacing:.0025em}ul[_ngcontent-%COMP%]{padding-inline-start:24px;margin-block:0}"],changeDetection:0});let e=t;return e})(),Pye=e=>({count:e});function Mye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"firstLetterUppercase"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.indication")),C(3),pe(M(5,4,t)))}function Lye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"fullname"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.prescriber")),C(3),pe(M(5,4,t)))}function Fye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"date"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.start")),C(3),pe(ni(5,4,t,"dd/MM/yyyy")))}function Vye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"date"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.end")),C(3),pe(ni(5,4,t,"dd/MM/yyyy")))}function zye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",5),P(4),O(5,"date"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.suspension.start")),C(3),pe(ni(5,4,t,"dd/MM/yyyy")))}function Bye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",5),P(4),O(5,"date"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.suspension.end")),C(3),pe(ni(5,4,t,"dd/MM/yyyy")))}function jye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"firstLetterUppercase"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.suspension.reason")),C(3),pe(M(5,4,t)))}function Hye(e,t){e&1&&te(0,"span",1)(1,"span",2)}function Uye(e,t){e&1&&te(0,"mat-divider")}function Wye(e,t){if(e&1&&(z(0,zye,6,7)(1,Bye,6,7)(2,jye,6,6),O(3,"translateValue"),z(4,Hye,2,0)(5,Uye,1,0,"mat-divider")),e&2){let n,i,a,r=t.$implicit,o=t.$index,s=t.$count;$(0,(n=r.startDate)?0:-1,n),C(),$(1,(i=r.endDate)?1:-1,i),C(),$(2,(a=M(3,5,r.reason))?2:-1,a),C(2),$(4,r.type==="definitive"?4:-1),C(),$(5,o!==s-1?5:-1)}}function qye(e,t){if(e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",4),Ui(4,Wye,6,7,null,null,Xi),I()),e&2){let n=V();C(),pe(M(2,1,"medicationSchemeDetails.suspension.label")),C(3),Wi(n)}}function Yye(e,t){e&1&&z(0,qye,6,3),e&2&&$(0,t.length>0?0:-1)}function Gye(e,t){if(e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"translate"),O(6,"firstLetterUppercase"),I()),e&2){let n=V();C(),pe(M(2,2,"medicationSchemeDetails.quantity")),C(3),pe(M(6,7,ni(5,4,"commons.administrationUnits."+n.medication().posology[0].quantity.unit,qa(9,Pye,n.medication().posology[0].quantity.value))))}}function $ye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"translate"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.periodicity")),C(3),pe(M(5,4,"commons.periodicities."+t)))}function Kye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),O(5,"translate"),O(6,"firstLetterUppercase"),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.route")),C(3),pe(M(6,6,M(5,4,"commons.routes."+t))))}function Zye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.startCondition")),C(3),pe(t))}function Qye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.endCondition")),C(3),pe(t))}function Xye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.instructions")),C(3),pe(t))}function Jye(e,t){e&1&&(D(0,"span",1),P(1),O(2,"translate"),I(),D(3,"span",2),P(4),I()),e&2&&(C(),pe(M(2,2,"medicationSchemeDetails.comment")),C(3),pe(t))}var XX=(()=>{const t=class t{constructor(){this.medication=pt.required(),this.temporalities=Pa}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-details-row"]],inputs:{medication:[R.SignalBased,"medication"]},standalone:!0,features:[we],decls:29,vars:32,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],[3,"medication"],[1,"details__value","suspension"],[1,"details__value","suspension__date"]],template:function(i,a){if(i&1&&(D(0,"span",0)(1,"span",1),P(2),O(3,"translate"),I(),D(4,"span",2),P(5),O(6,"translateValue"),O(7,"firstLetterUppercase"),I(),z(8,Mye,6,6),O(9,"translateValue"),z(10,Lye,6,6)(11,Fye,6,7)(12,Vye,6,7)(13,Yye,1,1),O(14,"activeAndFutureSuspensions"),z(15,Gye,7,11)(16,$ye,6,6),D(17,"span",1),P(18),O(19,"translate"),I(),D(20,"span",2),te(21,"nihdi-medication-scheme-posology",3),I(),z(22,Kye,7,8)(23,Zye,5,4)(24,Qye,5,4)(25,Xye,5,4),O(26,"translateValue"),z(27,Jye,5,4),O(28,"translateValue"),I()),i&2){let r,o,s,l,c,u,p,g,b,x,y,E;C(2),pe(M(3,16,"medicationSchemeDetails.medication")),C(3),pe(M(7,20,M(6,18,a.medication().name))),C(3),$(8,(r=M(9,22,a.medication().indication))?8:-1,r),C(2),$(10,(o=a.medication().author)?10:-1,o),C(),$(11,(s=a.medication().treatmentStartDate)?11:-1,s),C(),$(12,(l=a.medication().treatmentEndDate)?12:-1,l),C(),$(13,(c=M(14,24,a.medication().suspensions))?13:-1,c),C(2),$(15,!((u=a.medication().posology)==null||u[0]==null||u[0].quantity==null)&&u[0].quantity.unit?15:-1),C(),$(16,(p=(p=a.medication().frequency)==null?null:p.periodicity)?16:-1,p),C(2),pe(M(19,26,"medicationSchemeDetails.posologie")),C(3),W("medication",a.medication()),C(),$(22,(g=a.medication().route)?22:-1,g),C(),$(23,(b=a.medication().treatmentStartCondition)?23:-1,b),C(),$(24,(x=a.medication().treatmentEndCondition)?24:-1,x),C(),$(25,(y=M(26,28,a.medication().instructions))?25:-1,y),C(2),$(27,(E=M(28,30,a.medication().comment))?27:-1,E)}},dependencies:[ma,Hme,ri,_i,Nye,ml,Bf,Ga,xl,e0e],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:12px 24px}.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:12px}.details[_ngcontent-%COMP%] .suspension__date[_ngcontent-%COMP%]{margin-right:24px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:12px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{border:1px solid #d9d9d9;padding:8px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin-top:4px;margin-bottom:4px}.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:#001b2e;font-size:16px;line-height:24px;letter-spacing:.0025em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#001b2e;font-size:16px;line-height:24px}"],changeDetection:0});let e=t;return e})(),JX=(()=>{const t=class t{constructor(){this.http=q(Cf)}find(i){return this.http.post("/v1/medicationscheme",{ssins:i?[i]:[]})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),exe={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},date:"2024-10-16T09:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"0041020",type:va.CNK},temporality:Pa.CHRONIC,frequency:{periodicity:ie.DD},name:[{lang:d.FR,value:"Fasigyn 500 mg compr. pellic. 4"},{lang:d.NL,value:"Fasigyn 500 mg filmomh. tabl. 4"},{lang:d.DE,value:"Fasigyn 500 mg Filmtabl. 4"},{lang:d.EN,value:"Fasigyn 500 mg film-coat. tabl. 4"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac66d"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac68a"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc81291e5c015ab30ac650"}],posology:[{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.DURINGBREAKFAST},dayPart:Le.MORNING}],treatmentStartDate:"2018-04-19",treatmentEndCondition:"wanneer niet nodig"},{author:{firstName:"Goof",lastName:"Goofy",nihdi:"20000000001",role:Yi.PERSPHARMACIST},frequency:{periodicity:ie.M},name:[{lang:d.NL,value:"magistrale bereiding"}],posology:[{text:[{lang:d.NL,value:"adhoc: wanneer nodig"}],dayPart:Le.TO_PLAN}],treatmentStartDate:"2018-04-19",comment:[{lang:d.NL,value:"magistrale bereiding"}]},{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"0039347",type:va.CNK},frequency:{periodicity:ie.W},route:Ww._00064,name:[{lang:d.FR,value:"Dafalgan 500 mg comp. 30"},{lang:d.NL,value:"Dafalgan 500 mg tabl. 30"},{lang:d.DE,value:"Dafalgan 500 mg Tabl. 30"},{lang:d.EN,value:"Dafalgan 500 mg tabl. 30"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70ce1e5c015ab3f12a1e"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70d01e5c015ab3f12fb6"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70cd1e5c015ab3f124e4"}],posology:[{quantity:{unit:et._00005,value:1},daytime:{dayPeriod:Qe.DURINGBREAKFAST},dayPart:Le.MORNING,day:{weekday:{day:Vt.MONDAY}}},{quantity:{unit:et._00005,value:1},daytime:{dayPeriod:Qe.DURINGBREAKFAST},dayPart:Le.MORNING,day:{weekday:{day:Vt.WEDNESDAY}}},{quantity:{unit:et._00005,value:1},daytime:{dayPeriod:Qe.DURINGBREAKFAST},dayPart:Le.MORNING,day:{weekday:{day:Vt.FRIDAY}}}],treatmentStartDate:"2018-04-19"},{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"2120046",type:va.CNK},temporality:Pa.CHRONIC,frequency:{periodicity:ie.W},name:[{lang:d.FR,value:"Fluconazole Viatris 50 mg gél. 10"},{lang:d.NL,value:"Fluconazole Viatris 50 mg harde caps. 10"},{lang:d.DE,value:"Fluconazole Viatris 50 mg Hartkaps. 10"},{lang:d.EN,value:"Fluconazole Viatris 50 mg hard caps. 10"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5eaeb"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5ecd2"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac11e5c015ab3e5e82d"}],posology:[{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{weekday:{day:Vt.SATURDAY}}}],treatmentStartDate:"2022-01-01"},{author:{firstName:"Goof",lastName:"Goofy",nihdi:"20000000001",role:Yi.PERSPHARMACIST},identifier:{value:"0119065",type:va.CNK},frequency:{periodicity:ie.D},instructions:[{lang:d.NL,value:"volgens bloedanalyse"}],name:[{lang:d.FR,value:"Marcoumar 3 mg comp. 25"},{lang:d.NL,value:"Marcoumar 3 mg tabl. 25"},{lang:d.DE,value:"Marcoumar 3 mg Tabl. 25"},{lang:d.EN,value:"Marcoumar 3 mg tabl. 25"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f801e5c015ab30e40ab"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f811e5c015ab30e40dd"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f7f1e5c015ab30e4079"}],posology:[{text:[{lang:d.NL,value:"volgens bloedanalyse"}],dayPart:Le.TO_PLAN}],treatmentStartDate:"2099-04-19"},{author:{firstName:"Minny",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHARMACIST,organization:{type:Yi.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:va.CNK},frequency:{periodicity:ie.D},name:[{lang:d.FR,value:"Amoxicilline EG 1000 mg compr. efferv. 8"},{lang:d.NL,value:"Amoxicilline EG 1000 mg bruistabl. 8"},{lang:d.DE,value:"Amoxicilline EG 1000 mg Brausetabl. 8"},{lang:d.EN,value:"Amoxicilline EG 1000 mg efferv. tabl. 8"}],posology:[{text:[{lang:d.NL,value:"Free text posology"}],dayPart:Le.TO_PLAN}],treatmentStartDate:"2022-06-10",treatmentEndDate:"2022-06-20",indication:[{lang:d.NL,value:"To treat bacterial infections"}]},{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"0066746",type:va.CNK},temporality:Pa.ACUTE,frequency:{periodicity:ie.O1},name:[{lang:d.FR,value:"Penicilline 1 000 000 UI sol. inj. (pdr.) i.m./i.v./i.artic. flac. 100 x 1 10*6 UI"},{lang:d.NL,value:"Penicilline 1 000 000 IE inj. opl. (pdr.) i.m./i.v./i.artic. flac. 100 x 1 10*6 IE"},{lang:d.DE,value:"Penicilline 1 000 000 IE Inj-Lös. (Plv.) i.m./i.v./i.artik. Dstfl. 100 x 1 10*6 IE"},{lang:d.EN,value:"Penicilline 1 000 000 IU inj. sol. (pwdr.) i.m./i.v./i.artic. vial 100 x 1 10*6 IU"}],posology:[{text:[{lang:d.NL,value:"Free text posology"}],dayPart:Le.TO_PLAN}],treatmentStartDate:"2022-07-02",treatmentEndDate:"2022-07-20",comment:[{lang:d.NL,value:"Stopping of drug"}]},{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"1557396",type:va.CNK},temporality:Pa.CHRONIC,frequency:{periodicity:ie.DN},name:[{lang:d.FR,value:"Zinnat 500 mg compr. pellic. 20"},{lang:d.NL,value:"Zinnat 500 mg filmomh. tabl. 20"},{lang:d.DE,value:"Zinnat 500 mg Filmtabl. 20"},{lang:d.EN,value:"Zinnat 500 mg film-coat. tabl. 20"}],leaflet:[{lang:d.FR,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773e1e5c015ab3faf955"},{lang:d.NL,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773f1e5c015ab3fafa9d"},{lang:d.DE,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773d1e5c015ab3faf792"}],posology:[{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:1}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:1}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:1}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:2}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:2}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:2}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:3}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:3}},{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:3}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:4}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:4}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:4}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:5}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:5}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:5}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:6}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:6}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:6}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:7}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:7}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:7}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:8}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:8}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:8}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:9}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.DURINGLUNCH},dayPart:Le.NOON,day:{dayNumber:9}},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.THEHOUROFSLEEP},dayPart:Le.NIGHT,day:{dayNumber:9}}],treatmentStartDate:"2023-01-01"},{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"2915353",type:va.CNK},frequency:{periodicity:ie.D},name:[{lang:d.FR,value:"Clarithromycine Sandoz 500 mg compr. pellic. 21"},{lang:d.NL,value:"Clarithromycine Sandoz 500 mg filmomh. tabl. 21"},{lang:d.DE,value:"Clarithromycine Sandoz 500 mg Filmtabl. 21"},{lang:d.EN,value:"Clarithromycine Sandoz 500 mg film-coat. tabl. 21"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc523"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc661"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60881e5c015ab3cfc3ce"}],posology:[{quantity:{unit:et._00001,value:1},daytime:{dayPeriod:Qe.BEFOREBREAKFAST},dayPart:Le.MORNING}],treatmentStartDate:"2018-04-19"},{author:{firstName:"Piggy",lastName:"Muppets",nihdi:"40000000401",role:Yi.PERSNURSE},identifier:{value:"2744753",type:va.CNK},frequency:{periodicity:ie.DT},name:[{lang:d.FR,value:"Clindamycine Fresenius Kabi 150 mg/ml sol. inj. i.m./i.v. amp. 10 x 2 ml"},{lang:d.NL,value:"Clindamycine Fresenius Kabi 150 mg/ml inj. opl. i.m./i.v. amp. 10 x 2 ml"},{lang:d.DE,value:"Clindamycine Fresenius Kabi 150 mg/ml Inj-Lös. i.m./i.v. Amp. 10 x 2 ml"},{lang:d.EN,value:"Clindamycine Fresenius Kabi 150 mg/ml inj. sol. i.m./i.v. amp. 10 x 2 ml"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db5fd8"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db604c"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d61e5c015ab3db5fa6"}],posology:[{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:1}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.MORNING},dayPart:Le.MORNING,day:{dayNumber:2}},{quantity:{unit:et._00001,value:.5},daytime:{dayPeriod:Qe.DURINGDINNER},dayPart:Le.EVENING,day:{dayNumber:2}}],treatmentStartDate:"2018-04-19",treatmentStartCondition:"afwisselend: 1/2 per dag, en 2x 1/2 per dag"},{author:{firstName:"Goof",lastName:"Goofy",nihdi:"20000000001",role:Yi.PERSPHARMACIST},identifier:{value:"0062521",type:va.CNK},temporality:Pa.ONESHOT,name:[{lang:d.FR,value:"Nystatine Labaz 100 000 UI/ml susp. buv. 24 ml"},{lang:d.NL,value:"Nystatine Labaz 100 000 IE/ml or. susp. 24 ml"},{lang:d.DE,value:"Nystatine Labaz 100 000 IE/ml Susp. z. Einnehm. 24 ml"},{lang:d.EN,value:"Nystatine Labaz 100 000 IU/ml or. susp. 24 ml"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30cc9ac"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30ccab5"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c31e5c015ab30cc8ae"}],posology:[{text:[{lang:d.NL,value:"adhoc"}],dayPart:Le.IF_NEEDED}],treatmentStartDate:"2018-04-19"},{author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:Yi.PERSPHYSICIAN},identifier:{value:"3301",type:va.VMP},temporality:Pa.CHRONIC,name:[{lang:d.FR,value:"benzylpénicilline (sodium) injection/perfusion 1 000 000 UI"},{lang:d.NL,value:"benzylpenicilline (natrium) injectie/infusie 1 000 000 IE"}],posology:[{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.DURINGBREAKFAST},dayPart:Le.MORNING},{quantity:{unit:et._00001,value:.25},daytime:{dayPeriod:Qe.DURINGDINNER},dayPart:Le.EVENING}],treatmentStartDate:"2018-04-19"}],source:Ek.VITALINK}],errors:[]},eJ=(()=>{const t=class t{find(i){return wt(exe)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),tJ=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),txe=(e,t)=>e.getEnvironmentVariable("env")===Zn.DEMO?t.get(eJ):t.get(JX),ixe={provide:tJ,useFactory:txe,deps:[ru,Hi]},er=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(er||{});function axe(e){let t=new _d(1);return e.subscribe({next:n=>{t.next(n),t.complete()},error:n=>t.error(n)}),t.asObservable()}function nxe(e){return e.pipe(Dt(t=>({status:er.SUCCESS,data:t})),nm(t=>wt({status:er.ERROR,error:t})),Ei({status:er.LOADING}))}var rxe=()=>e=>nxe(e),or=class ba{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=ba.hexChars,i=ba.hexOut,a,r,o,s;for(s=0;s<4;s+=1)for(r=s*8,a=t[s],o=0;o<8;o+=2)i[r+1+o]=n.charAt(a&15),a>>>=4,i[r+0+o]=n.charAt(a&15),a>>>=4;return i.join("")}static _md5cycle(t,n){let i=t[0],a=t[1],r=t[2],o=t[3];i+=(a&r|~a&o)+n[0]-680876936|0,i=(i<<7|i>>>25)+a|0,o+=(i&a|~i&r)+n[1]-389564586|0,o=(o<<12|o>>>20)+i|0,r+=(o&i|~o&a)+n[2]+606105819|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&i)+n[3]-1044525330|0,a=(a<<22|a>>>10)+r|0,i+=(a&r|~a&o)+n[4]-176418897|0,i=(i<<7|i>>>25)+a|0,o+=(i&a|~i&r)+n[5]+1200080426|0,o=(o<<12|o>>>20)+i|0,r+=(o&i|~o&a)+n[6]-1473231341|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&i)+n[7]-45705983|0,a=(a<<22|a>>>10)+r|0,i+=(a&r|~a&o)+n[8]+1770035416|0,i=(i<<7|i>>>25)+a|0,o+=(i&a|~i&r)+n[9]-1958414417|0,o=(o<<12|o>>>20)+i|0,r+=(o&i|~o&a)+n[10]-42063|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&i)+n[11]-1990404162|0,a=(a<<22|a>>>10)+r|0,i+=(a&r|~a&o)+n[12]+1804603682|0,i=(i<<7|i>>>25)+a|0,o+=(i&a|~i&r)+n[13]-40341101|0,o=(o<<12|o>>>20)+i|0,r+=(o&i|~o&a)+n[14]-1502002290|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&i)+n[15]+1236535329|0,a=(a<<22|a>>>10)+r|0,i+=(a&o|r&~o)+n[1]-165796510|0,i=(i<<5|i>>>27)+a|0,o+=(i&r|a&~r)+n[6]-1069501632|0,o=(o<<9|o>>>23)+i|0,r+=(o&a|i&~a)+n[11]+643717713|0,r=(r<<14|r>>>18)+o|0,a+=(r&i|o&~i)+n[0]-373897302|0,a=(a<<20|a>>>12)+r|0,i+=(a&o|r&~o)+n[5]-701558691|0,i=(i<<5|i>>>27)+a|0,o+=(i&r|a&~r)+n[10]+38016083|0,o=(o<<9|o>>>23)+i|0,r+=(o&a|i&~a)+n[15]-660478335|0,r=(r<<14|r>>>18)+o|0,a+=(r&i|o&~i)+n[4]-405537848|0,a=(a<<20|a>>>12)+r|0,i+=(a&o|r&~o)+n[9]+568446438|0,i=(i<<5|i>>>27)+a|0,o+=(i&r|a&~r)+n[14]-1019803690|0,o=(o<<9|o>>>23)+i|0,r+=(o&a|i&~a)+n[3]-187363961|0,r=(r<<14|r>>>18)+o|0,a+=(r&i|o&~i)+n[8]+1163531501|0,a=(a<<20|a>>>12)+r|0,i+=(a&o|r&~o)+n[13]-1444681467|0,i=(i<<5|i>>>27)+a|0,o+=(i&r|a&~r)+n[2]-51403784|0,o=(o<<9|o>>>23)+i|0,r+=(o&a|i&~a)+n[7]+1735328473|0,r=(r<<14|r>>>18)+o|0,a+=(r&i|o&~i)+n[12]-1926607734|0,a=(a<<20|a>>>12)+r|0,i+=(a^r^o)+n[5]-378558|0,i=(i<<4|i>>>28)+a|0,o+=(i^a^r)+n[8]-2022574463|0,o=(o<<11|o>>>21)+i|0,r+=(o^i^a)+n[11]+1839030562|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^i)+n[14]-35309556|0,a=(a<<23|a>>>9)+r|0,i+=(a^r^o)+n[1]-1530992060|0,i=(i<<4|i>>>28)+a|0,o+=(i^a^r)+n[4]+1272893353|0,o=(o<<11|o>>>21)+i|0,r+=(o^i^a)+n[7]-155497632|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^i)+n[10]-1094730640|0,a=(a<<23|a>>>9)+r|0,i+=(a^r^o)+n[13]+681279174|0,i=(i<<4|i>>>28)+a|0,o+=(i^a^r)+n[0]-358537222|0,o=(o<<11|o>>>21)+i|0,r+=(o^i^a)+n[3]-722521979|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^i)+n[6]+76029189|0,a=(a<<23|a>>>9)+r|0,i+=(a^r^o)+n[9]-640364487|0,i=(i<<4|i>>>28)+a|0,o+=(i^a^r)+n[12]-421815835|0,o=(o<<11|o>>>21)+i|0,r+=(o^i^a)+n[15]+530742520|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^i)+n[2]-995338651|0,a=(a<<23|a>>>9)+r|0,i+=(r^(a|~o))+n[0]-198630844|0,i=(i<<6|i>>>26)+a|0,o+=(a^(i|~r))+n[7]+1126891415|0,o=(o<<10|o>>>22)+i|0,r+=(i^(o|~a))+n[14]-1416354905|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~i))+n[5]-57434055|0,a=(a<<21|a>>>11)+r|0,i+=(r^(a|~o))+n[12]+1700485571|0,i=(i<<6|i>>>26)+a|0,o+=(a^(i|~r))+n[3]-1894986606|0,o=(o<<10|o>>>22)+i|0,r+=(i^(o|~a))+n[10]-1051523|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~i))+n[1]-2054922799|0,a=(a<<21|a>>>11)+r|0,i+=(r^(a|~o))+n[8]+1873313359|0,i=(i<<6|i>>>26)+a|0,o+=(a^(i|~r))+n[15]-30611744|0,o=(o<<10|o>>>22)+i|0,r+=(i^(o|~a))+n[6]-1560198380|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~i))+n[13]+1309151649|0,a=(a<<21|a>>>11)+r|0,i+=(r^(a|~o))+n[4]-145523070|0,i=(i<<6|i>>>26)+a|0,o+=(a^(i|~r))+n[11]-1120210379|0,o=(o<<10|o>>>22)+i|0,r+=(i^(o|~a))+n[2]+718787259|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~i))+n[9]-343485551|0,a=(a<<21|a>>>11)+r|0,t[0]=i+t[0]|0,t[1]=a+t[1]|0,t[2]=r+t[2]|0,t[3]=o+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(ba.stateIdentity),this}appendStr(t){let n=this._buffer8,i=this._buffer32,a=this._bufferLength,r,o;for(o=0;o<t.length;o+=1){if(r=t.charCodeAt(o),r<128)n[a++]=r;else if(r<2048)n[a++]=(r>>>6)+192,n[a++]=r&63|128;else if(r<55296||r>56319)n[a++]=(r>>>12)+224,n[a++]=r>>>6&63|128,n[a++]=r&63|128;else{if(r=(r-55296)*1024+(t.charCodeAt(++o)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[a++]=(r>>>18)+240,n[a++]=r>>>12&63|128,n[a++]=r>>>6&63|128,n[a++]=r&63|128}a>=64&&(this._dataLength+=64,ba._md5cycle(this._state,i),a-=64,i[0]=i[16])}return this._bufferLength=a,this}appendAsciiStr(t){let n=this._buffer8,i=this._buffer32,a=this._bufferLength,r,o=0;for(;;){for(r=Math.min(t.length-o,64-a);r--;)n[a++]=t.charCodeAt(o++);if(a<64)break;this._dataLength+=64,ba._md5cycle(this._state,i),a=0}return this._bufferLength=a,this}appendByteArray(t){let n=this._buffer8,i=this._buffer32,a=this._bufferLength,r,o=0;for(;;){for(r=Math.min(t.length-o,64-a);r--;)n[a++]=t[o++];if(a<64)break;this._dataLength+=64,ba._md5cycle(this._state,i),a=0}return this._bufferLength=a,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,i=t.state,a=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,a[0]=i[0],a[1]=i[1],a[2]=i[2],a[3]=i[3],r=0;r<n.length;r+=1)this._buffer8[r]=n.charCodeAt(r)}end(t=!1){let n=this._bufferLength,i=this._buffer8,a=this._buffer32,r=(n>>2)+1;this._dataLength+=n;let o=this._dataLength*8;if(i[n]=128,i[n+1]=i[n+2]=i[n+3]=0,a.set(ba.buffer32Identity.subarray(r),r),n>55&&(ba._md5cycle(this._state,a),a.set(ba.buffer32Identity)),o<=4294967295)a[14]=o;else{let s=o.toString(16).match(/(.*?)(.{0,8})$/);if(s===null)return;let l=parseInt(s[2],16),c=parseInt(s[1],16)||0;a[14]=l,a[15]=c}return ba._md5cycle(this._state,a),t?this._state:ba._hex(this._state)}};or.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);or.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);or.hexChars="0123456789abcdef";or.hexOut=[];or.onePassHasher=new or;if(or.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var oxe=()=>e=>e.pipe(Dt(t=>ti(Se({},t),{schemes:t.schemes.map(n=>ti(Se({},n),{medications:n.medications.map(i=>ti(Se({},i),{id:i.id??or.hashStr(JSON.stringify(i))}))}))}))),$b=(()=>{const t=class t{constructor(){this.medicationSchemeApiService=q(tJ),this.authServiceSelector=q(zf),this.medicationSchemeStateSubject$=new Dr({status:er.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable()}fetchMedicationScheme(i,a=!1){return xn(this,null,function*(){let r=(!i.cache.get(Ec.MEDICATION_SCHEME)||a?this.medicationSchemeApiService.find(yield this.authServiceSelector.getInstance().getSsin()).pipe(oxe()):wt(i.cache.get(Ec.MEDICATION_SCHEME))).pipe(rxe(),_s(o=>{i.cache.set(Ec.MEDICATION_SCHEME,o.data),this.medicationSchemeStateSubject$.next(o)}));return axe(r)})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),$f=["*"];function sxe(e,t){e&1&&Ae(0)}var lxe=["tabListContainer"],cxe=["tabList"],dxe=["tabListInner"],uxe=["nextPaginator"],hxe=["previousPaginator"],pxe=e=>({animationDuration:e}),mxe=(e,t)=>({value:e,params:t});function fxe(e,t){}var gxe=["tabBodyWrapper"],vxe=["tabHeader"];function bxe(e,t){}function _xe(e,t){if(e&1&&z(0,bxe,0,0,"ng-template",12),e&2){let n=V().$implicit;W("cdkPortalOutlet",n.templateLabel)}}function yxe(e,t){if(e&1&&P(0),e&2){let n=V().$implicit;pe(n.textLabel)}}function xxe(e,t){if(e&1){let n=Nt();D(0,"div",7,2),ye("click",function(){let i=Oe(n),a=i.$implicit,r=i.$index,o=V(),s=Ha(1);return Re(o._handleClick(a,s,r))})("cdkFocusChange",function(i){let a=Oe(n).$index,r=V();return Re(r._tabFocusChanged(i,a))}),te(2,"span",8)(3,"div",9),D(4,"span",10)(5,"span",11),z(6,_xe,1,1,null,12)(7,yxe,1,1),I()()()}if(e&2){let n=t.$implicit,i=t.$index,a=Ha(1),r=V();ja(n.labelClass),Te("mdc-tab--active",r.selectedIndex===i),W("id",r._getTabLabelId(i))("disabled",n.disabled)("fitInkBarToContent",r.fitInkBarToContent),ke("tabIndex",r._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(i))("aria-selected",r.selectedIndex===i)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),C(3),W("matRippleTrigger",a)("matRippleDisabled",n.disabled||r.disableRipple),C(3),$(6,n.templateLabel?6:7)}}function wxe(e,t){e&1&&Ae(0)}function kxe(e,t){if(e&1){let n=Nt();D(0,"mat-tab-body",13),ye("_onCentered",function(){Oe(n);let i=V();return Re(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){Oe(n);let a=V();return Re(a._setTabBodyWrapperHeight(i))}),I()}if(e&2){let n=t.$implicit,i=t.$index,a=V();ja(n.bodyClass),Te("mat-mdc-tab-body-active",a.selectedIndex===i),W("id",a._getTabContentId(i))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",a.animationDuration)("preserveContent",a.preserveContent),ke("tabindex",a.contentTabIndex!=null&&a.selectedIndex===i?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(i))("aria-hidden",a.selectedIndex!==i)}}var Exe=new Z("MatTabContent"),Cxe=(()=>{const t=class t{constructor(i){this.template=i}};t.ɵfac=function(i){return new(i||t)(k(gi))},t.ɵdir=fe({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[ht([{provide:Exe,useExisting:t}])]});let e=t;return e})(),Sxe=new Z("MatTabLabel"),iJ=new Z("MAT_TAB"),Dxe=(()=>{const t=class t extends eue{constructor(i,a,r){super(i,a),this._closestTab=r}};t.ɵfac=function(i){return new(i||t)(k(gi),k(Fi),k(iJ,8))},t.ɵdir=fe({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[ht([{provide:Sxe,useExisting:t}]),je]});let e=t;return e})(),aJ=new Z("MAT_TAB_GROUP"),nJ=(()=>{const t=class t{get templateLabel(){return this._templateLabel}set templateLabel(i){this._setTemplateLabelInput(i)}get content(){return this._contentPortal}constructor(i,a){this._viewContainerRef=i,this._closestTabGroup=a,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new xe,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(i){(i.hasOwnProperty("textLabel")||i.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Zo(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(i){i&&i._closestTab===this&&(this._templateLabel=i)}};t.ɵfac=function(i){return new(i||t)(k(Fi),k(aJ,8))},t.ɵcmp=ve({type:t,selectors:[["mat-tab"]],contentQueries:function(i,a,r){if(i&1&&(lt(r,Dxe,5),lt(r,Cxe,7,gi)),i&2){let o;be(o=_e())&&(a.templateLabel=o.first),be(o=_e())&&(a._explicitContent=o.first)}},viewQuery:function(i,a){if(i&1&&gt(gi,7),i&2){let r;be(r=_e())&&(a._implicitContent=r.first)}},hostAttrs:["hidden",""],inputs:{disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],textLabel:[R.None,"label","textLabel"],ariaLabel:[R.None,"aria-label","ariaLabel"],ariaLabelledby:[R.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[ht([{provide:iJ,useExisting:t}]),dt,Gt,we],ngContentSelectors:$f,decls:1,vars:0,template:function(i,a){i&1&&(Pt(),z(0,sxe,1,0,"ng-template"))},encapsulation:2});let e=t;return e})(),bh="mdc-tab-indicator--active",Kb="mdc-tab-indicator--no-transition",Ixe=class{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){var i,a;let t=this._items.find(r=>r.elementRef.nativeElement===e),n=this._currentItem;if(t!==n&&(n==null||n.deactivateInkBar(),t)){let r=(a=n==null?void 0:(i=n.elementRef.nativeElement).getBoundingClientRect)==null?void 0:a.call(i);t.activateInkBar(r),this._currentItem=t}}},Axe=(()=>{const t=class t{constructor(){this._elementRef=q(Ce),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(i){this._fitToContent!==i&&(this._fitToContent=i,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(i){let a=this._elementRef.nativeElement;if(!i||!a.getBoundingClientRect||!this._inkBarContentElement){a.classList.add(bh);return}let r=a.getBoundingClientRect(),o=i.width/r.width,s=i.left-r.left;a.classList.add(Kb),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${o})`),a.getBoundingClientRect(),a.classList.remove(Kb),a.classList.add(bh),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(bh)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){var i;(i=this._inkBarElement)==null||i.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let i=this._elementRef.nativeElement.ownerDocument||document,a=this._inkBarElement=i.createElement("span"),r=this._inkBarContentElement=i.createElement("span");a.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",a.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement,(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,inputs:{fitInkBarToContent:[R.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",ge]},features:[dt]});let e=t;return e})(),rJ=(()=>{const t=class t extends Axe{constructor(i){super(),this.elementRef=i,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.ɵfac=function(i){return new(i||t)(k(Ce))},t.ɵdir=fe({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,a){i&2&&(ke("aria-disabled",!!a.disabled),Te("mat-mdc-tab-disabled",a.disabled))},inputs:{disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge]},standalone:!0,features:[dt,je]});let e=t;return e})(),Zb=Vn({passive:!0}),Txe=650,Oxe=100,Rxe=(()=>{const t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(i){let a=isNaN(i)?0:i;this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&this._keyManager.updateActiveItem(a))}constructor(i,a,r,o,s,l,c){this._elementRef=i,this._changeDetectorRef=a,this._viewportRuler=r,this._dir=o,this._ngZone=s,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new xe,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new xe,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ae,this.indexFocused=new ae,s.runOutsideAngular(()=>{Ir(i.nativeElement,"mouseleave").pipe(ft(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ir(this._previousPaginator.nativeElement,"touchstart",Zb).pipe(ft(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ir(this._nextPaginator.nativeElement,"touchstart",Zb).pipe(ft(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let i=this._dir?this._dir.change:wt("ltr"),a=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new rf(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(pi(1)).subscribe(r),mi(i,a,this._items.changes,this._itemsResized()).pipe(ft(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return typeof ResizeObserver!="function"?il:this._items.changes.pipe(Ei(this._items),ir(i=>new At(a=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>a.next(o));return i.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),sm(1),ki(i=>i.some(a=>a.contentRect.width>0&&a.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 i;(i=this._keyManager)==null||i.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(i){if(!Zi(i))switch(i.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let a=this._items.get(this.focusIndex);a&&!a.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(i))}break;default:this._keyManager.onKeydown(i)}}_onContentChanges(){let i=this._elementRef.nativeElement.textContent;i!==this._currentTextContent&&(this._currentTextContent=i||"",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(i){!this._isValidIndex(i)||this.focusIndex===i||!this._keyManager||this._keyManager.setActiveItem(i)}_isValidIndex(i){return this._items?!!this._items.toArray()[i]:!0}_setTabFocus(i){if(this._showPaginationControls&&this._scrollToLabel(i),this._items&&this._items.length){this._items.toArray()[i].focus();let a=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?a.scrollLeft=0:a.scrollLeft=a.scrollWidth-a.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let i=this.scrollDistance,a=this._getLayoutDirection()==="ltr"?-i:i;this._tabList.nativeElement.style.transform=`translateX(${Math.round(a)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(i){this._scrollTo(i)}_scrollHeader(i){let a=this._tabListContainer.nativeElement.offsetWidth,r=(i=="before"?-1:1)*a/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(i){this._stopInterval(),this._scrollHeader(i)}_scrollToLabel(i){if(this.disablePagination)return;let a=this._items?this._items.toArray()[i]:null;if(!a)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:s}=a.elementRef.nativeElement,l,c;this._getLayoutDirection()=="ltr"?(l=o,c=l+s):(c=this._tabListInner.nativeElement.offsetWidth-o,l=c-s);let u=this.scrollDistance,p=this.scrollDistance+r;l<u?this.scrollDistance-=u-l:c>p&&(this.scrollDistance+=Math.min(c-p,l-u))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let i=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;i||(this.scrollDistance=0),i!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=i}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let i=this._tabListInner.nativeElement.scrollWidth,a=this._tabListContainer.nativeElement.offsetWidth;return i-a||0}_alignInkBarToSelectedTab(){let i=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=i?i.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(i,a){a&&a.button!=null&&a.button!==0||(this._stopInterval(),r_(Txe,Oxe).pipe(ft(mi(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(i);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(i){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,i)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(Ko),k(Pi,8),k(Pe),k(Mt),k(Ti,8))},t.ɵdir=fe({type:t,inputs:{disablePagination:[R.HasDecoratorInputTransform,"disablePagination","disablePagination",ge],selectedIndex:[R.HasDecoratorInputTransform,"selectedIndex","selectedIndex",sn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[dt]});let e=t;return e})(),Nxe=(()=>{const t=class t extends Rxe{constructor(i,a,r,o,s,l,c){super(i,a,r,o,s,l,c),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Ixe(this._items),super.ngAfterContentInit()}_itemSelected(i){i.preventDefault()}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(Ko),k(Pi,8),k(Pe),k(Mt),k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,a,r){if(i&1&&lt(r,rJ,4),i&2){let o;be(o=_e())&&(a._items=o)}},viewQuery:function(i,a){if(i&1&&(gt(lxe,7),gt(cxe,7),gt(dxe,7),gt(uxe,5),gt(hxe,5)),i&2){let r;be(r=_e())&&(a._tabListContainer=r.first),be(r=_e())&&(a._tabList=r.first),be(r=_e())&&(a._tabListInner=r.first),be(r=_e())&&(a._nextPaginator=r.first),be(r=_e())&&(a._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,a){i&2&&Te("mat-mdc-tab-header-pagination-controls-enabled",a._showPaginationControls)("mat-mdc-tab-header-rtl",a._getLayoutDirection()=="rtl")},inputs:{disableRipple:[R.HasDecoratorInputTransform,"disableRipple","disableRipple",ge]},standalone:!0,features:[dt,je,we],ngContentSelectors:$f,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[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"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(i,a){if(i&1){let r=Nt();Pt(),D(0,"button",5,0),ye("click",function(){return Oe(r),Re(a._handlePaginatorClick("before"))})("mousedown",function(o){return Oe(r),Re(a._handlePaginatorPress("before",o))})("touchend",function(){return Oe(r),Re(a._stopInterval())}),te(2,"div",6),I(),D(3,"div",7,1),ye("keydown",function(o){return Oe(r),Re(a._handleKeydown(o))}),D(5,"div",8,2),ye("cdkObserveContent",function(){return Oe(r),Re(a._onContentChanges())}),D(7,"div",9,3),Ae(9),I()()(),D(10,"button",10,4),ye("mousedown",function(o){return Oe(r),Re(a._handlePaginatorPress("after",o))})("click",function(){return Oe(r),Re(a._handlePaginatorClick("after"))})("touchend",function(){return Oe(r),Re(a._stopInterval())}),te(12,"div",6),I()}i&2&&(Te("mat-mdc-tab-header-pagination-disabled",a._disableScrollBefore),W("matRippleDisabled",a._disableScrollBefore||a.disableRipple)("disabled",a._disableScrollBefore||null),C(3),Te("_mat-animation-noopable",a._animationMode==="NoopAnimations"),C(7),Te("mat-mdc-tab-header-pagination-disabled",a._disableScrollAfter),W("matRippleDisabled",a._disableScrollAfter||a.disableRipple)("disabled",a._disableScrollAfter||null))},dependencies:[Xd,mde],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;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.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)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.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);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let e=t;return e})(),Pxe=new Z("MAT_TABS_CONFIG"),Mxe={translateTab:aa("translateTab",[Zt("center, void, left-origin-center, right-origin-center",qe({transform:"none"})),Zt("left",qe({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Zt("right",qe({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Qt("* => left, * => right, left => center, right => center",ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Qt("void => left-origin-center",[qe({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Qt("void => right-origin-center",[qe({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),ai("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Lxe=(()=>{const t=class t extends On{constructor(i,a,r,o){super(i,a,o),this._host=r,this._centeringSub=nt.EMPTY,this._leavingSub=nt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ei(this._host._isCenterPosition(this._host._position))).subscribe(i=>{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()}};t.ɵfac=function(i){return new(i||t)(k(dr),k(Fi),k(Nn(()=>oJ)),k(Ye))},t.ɵdir=fe({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[je]});let e=t;return e})(),oJ=(()=>{const t=class t{set position(i){this._positionIndex=i,this._computePositionAnimationState()}constructor(i,a,r){this._elementRef=i,this._dir=a,this._dirChangeSubscription=nt.EMPTY,this._translateTabComplete=new xe,this._onCentering=new ae,this._beforeCentering=new ae,this._afterLeavingCenter=new ae,this._onCentered=new ae(!0),this.animationDuration="500ms",this.preserveContent=!1,a&&(this._dirChangeSubscription=a.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(om((o,s)=>o.fromState===s.fromState&&o.toState===s.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(i){let a=this._isCenterPosition(i.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(i){return i=="center"||i=="left-origin-center"||i=="right-origin-center"}_computePositionAnimationState(i=this._getLayoutDirection()){this._positionIndex<0?this._position=i=="ltr"?"left":"right":this._positionIndex>0?this._position=i=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(i){let a=this._getLayoutDirection();return a=="ltr"&&i<=0||a=="rtl"&&i>0?"left-origin-center":"right-origin-center"}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Pi,8),k(St))},t.ɵcmp=ve({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,a){if(i&1&&gt(On,5),i&2){let r;be(r=_e())&&(a._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[R.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[we],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,a){if(i&1){let r=Nt();D(0,"div",1,0),ye("@translateTab.start",function(o){return Oe(r),Re(a._onTranslateTabStarted(o))})("@translateTab.done",function(o){return Oe(r),Re(a._translateTabComplete.next(o))}),z(2,fxe,0,0,"ng-template",2),I()}i&2&&W("@translateTab",Wx(3,mxe,a._position,qa(1,pxe,a.animationDuration)))},dependencies:[Lxe,Zde],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Mxe.translateTab]}});let e=t;return e})(),Fxe=0,Vxe=(()=>{const t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(i){this._fitInkBarToContent=i,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){this._indexToSelect=isNaN(i)?null:i}get animationDuration(){return this._animationDuration}set animationDuration(i){let a=i+"";this._animationDuration=/^\d+$/.test(a)?i+"ms":a}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(i){this._contentTabIndex=isNaN(i)?null:i}get backgroundColor(){return this._backgroundColor}set backgroundColor(i){let a=this._elementRef.nativeElement.classList;a.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),i&&a.add("mat-tabs-with-background",`mat-background-${i}`),this._backgroundColor=i}constructor(i,a,r,o){this._elementRef=i,this._changeDetectorRef=a,this._animationMode=o,this._tabs=new Ao,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=nt.EMPTY,this._tabLabelSubscription=nt.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new ae,this.focusChange=new ae,this.animationDone=new ae,this.selectedTabChange=new ae(!0),this._isServer=!q(Mt).isBrowser,this._groupId=Fxe++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,(r==null?void 0:r.contentTabIndex)!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!(r!=null&&r.preserveContent),this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let i=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=i){let a=this._selectedIndex==null;if(!a){this.selectedTabChange.emit(this._createChangeEvent(i));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===i),a||(this.selectedIndexChange.emit(i),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((a,r)=>{a.position=r-i,this._selectedIndex!=null&&a.position==0&&!a.origin&&(a.origin=i-this._selectedIndex)}),this._selectedIndex!==i&&(this._selectedIndex=i,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let i=this._clampTabIndex(this._indexToSelect);if(i===this._selectedIndex){let a=this._tabs.toArray(),r;for(let o=0;o<a.length;o++)if(a[o].isActive){this._indexToSelect=this._selectedIndex=o,this._lastFocusedTabIndex=null,r=a[o];break}!r&&a[i]&&Promise.resolve().then(()=>{a[i].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(i))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ei(this._allTabs)).subscribe(i=>{this._tabs.reset(i.filter(a=>a._closestTabGroup===this||!a._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(i){let a=this._tabHeader;a&&(a.focusIndex=i)}_focusChanged(i){this._lastFocusedTabIndex=i,this.focusChange.emit(this._createChangeEvent(i))}_createChangeEvent(i){let a=new zxe;return a.index=i,this._tabs&&this._tabs.length&&(a.tab=this._tabs.toArray()[i]),a}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=mi(...this._tabs.map(i=>i._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(i){return Math.min(this._tabs.length-1,Math.max(i||0,0))}_getTabLabelId(i){return`mat-tab-label-${this._groupId}-${i}`}_getTabContentId(i){return`mat-tab-content-${this._groupId}-${i}`}_setTabBodyWrapperHeight(i){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let a=this._tabBodyWrapper.nativeElement;a.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(a.style.height=i+"px")}_removeTabBodyWrapperHeight(){let i=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=i.clientHeight,i.style.height="",this.animationDone.emit()}_handleClick(i,a,r){a.focusIndex=r,i.disabled||(this.selectedIndex=r)}_getTabIndex(i){let a=this._lastFocusedTabIndex??this.selectedIndex;return i===a?0:-1}_tabFocusChanged(i,a){i&&i!=="mouse"&&i!=="touch"&&(this._tabHeader.focusIndex=a)}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(Pxe,8),k(Ti,8))},t.ɵcmp=ve({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,a,r){if(i&1&&lt(r,nJ,5),i&2){let o;be(o=_e())&&(a._allTabs=o)}},viewQuery:function(i,a){if(i&1&&(gt(gxe,5),gt(vxe,5)),i&2){let r;be(r=_e())&&(a._tabBodyWrapper=r.first),be(r=_e())&&(a._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,a){i&2&&(ja("mat-"+(a.color||"primary")),Fn("--mat-tab-animation-duration",a.animationDuration),Te("mat-mdc-tab-group-dynamic-height",a.dynamicHeight)("mat-mdc-tab-group-inverted-header",a.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",a.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[R.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",ge],stretchTabs:[R.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",ge],dynamicHeight:[R.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",ge],selectedIndex:[R.HasDecoratorInputTransform,"selectedIndex","selectedIndex",sn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[R.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",sn],disablePagination:[R.HasDecoratorInputTransform,"disablePagination","disablePagination",ge],disableRipple:[R.HasDecoratorInputTransform,"disableRipple","disableRipple",ge],preserveContent:[R.HasDecoratorInputTransform,"preserveContent","preserveContent",ge],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[ht([{provide:aJ,useExisting:t}]),dt,we],ngContentSelectors:$f,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-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","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,a){if(i&1){let r=Nt();Pt(),D(0,"mat-tab-header",3,0),ye("indexFocused",function(o){return Oe(r),Re(a._focusChanged(o))})("selectFocusedIndex",function(o){return Oe(r),Re(a.selectedIndex=o)}),Ui(2,xxe,8,17,"div",4,Xi),I(),z(4,wxe,1,0),D(5,"div",5,1),Ui(7,kxe,1,13,"mat-tab-body",6,Xi),I()}i&2&&(W("selectedIndex",a.selectedIndex||0)("disableRipple",a.disableRipple)("disablePagination",a.disablePagination),C(2),Wi(a._tabs),C(2),$(4,a._isServer?4:-1),C(),Te("_mat-animation-noopable",a._animationMode==="NoopAnimations"),C(2),Wi(a._tabs))},dependencies:[Nxe,rJ,lf,Xd,On,oJ],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.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)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.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)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);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)}.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-mdc-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-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let e=t;return e})(),zxe=class{},Bxe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,Yt]});let e=t;return e})();v0(Ate());var jxe=["*"],lc;function Hxe(){if(lc===void 0&&(lc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(lc=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return lc}function ps(e){var t;return((t=Hxe())==null?void 0:t.createHTML(e))||e}function Qb(e){return Error(`Unable to find icon with the name "${e}"`)}function Uxe(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Xb(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Jb(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var yr=class{constructor(e,t,n){this.url=e,this.svgText=t,this.options=n}},Wxe=(()=>{const t=class t{constructor(i,a,r,o){this._httpClient=i,this._sanitizer=a,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(i,a,r){return this.addSvgIconInNamespace("",i,a,r)}addSvgIconLiteral(i,a,r){return this.addSvgIconLiteralInNamespace("",i,a,r)}addSvgIconInNamespace(i,a,r,o){return this._addSvgIconConfig(i,a,new yr(r,null,o))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,a,r,o){let s=this._sanitizer.sanitize(ca.HTML,r);if(!s)throw Jb(r);let l=ps(s);return this._addSvgIconConfig(i,a,new yr("",l,o))}addSvgIconSet(i,a){return this.addSvgIconSetInNamespace("",i,a)}addSvgIconSetLiteral(i,a){return this.addSvgIconSetLiteralInNamespace("",i,a)}addSvgIconSetInNamespace(i,a,r){return this._addSvgIconSetConfig(i,new yr(a,null,r))}addSvgIconSetLiteralInNamespace(i,a,r){let o=this._sanitizer.sanitize(ca.HTML,a);if(!o)throw Jb(a);let s=ps(o);return this._addSvgIconSetConfig(i,new yr("",s,r))}registerFontClassAlias(i,a=i){return this._fontCssClassesByAlias.set(i,a),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){let a=this._sanitizer.sanitize(ca.RESOURCE_URL,i);if(!a)throw Xb(i);let r=this._cachedIconsByUrl.get(a);return r?wt(cc(r)):this._loadSvgIconFromConfig(new yr(i,null)).pipe(_s(o=>this._cachedIconsByUrl.set(a,o)),Dt(o=>cc(o)))}getNamedSvgIcon(i,a=""){let r=e0(a,i),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,i),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(a);return s?this._getSvgFromIconSetConfigs(i,s):yie(Qb(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?wt(cc(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(Dt(a=>cc(a)))}_getSvgFromIconSetConfigs(i,a){let r=this._extractIconWithNameFromAnySet(i,a);if(r)return wt(r);let o=a.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(nm(l=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(ca.RESOURCE_URL,s.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(c)),wt(null)})));return am(o).pipe(Dt(()=>{let s=this._extractIconWithNameFromAnySet(i,a);if(!s)throw Qb(i);return s}))}_extractIconWithNameFromAnySet(i,a){for(let r=a.length-1;r>=0;r--){let o=a[r];if(o.svgText&&o.svgText.toString().indexOf(i)>-1){let s=this._svgElementFromConfig(o),l=this._extractSvgIconFromSet(s,i,o.options);if(l)return l}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(_s(a=>i.svgText=a),Dt(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?wt(null):this._fetchIcon(i).pipe(_s(a=>i.svgText=a))}_extractSvgIconFromSet(i,a,r){let o=i.querySelector(`[id="${a}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let l=this._svgElementFromString(ps("<svg></svg>"));return l.appendChild(s),this._setSvgAttributes(l,r)}_svgElementFromString(i){let a=this._document.createElement("DIV");a.innerHTML=i;let r=a.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(i){let a=this._svgElementFromString(ps("<svg></svg>")),r=i.attributes;for(let o=0;o<r.length;o++){let{name:s,value:l}=r[o];s!=="id"&&a.setAttribute(s,l)}for(let o=0;o<i.childNodes.length;o++)i.childNodes[o].nodeType===this._document.ELEMENT_NODE&&a.appendChild(i.childNodes[o].cloneNode(!0));return a}_setSvgAttributes(i,a){return i.setAttribute("fit",""),i.setAttribute("height","100%"),i.setAttribute("width","100%"),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),a&&a.viewBox&&i.setAttribute("viewBox",a.viewBox),i}_fetchIcon(i){let{url:a,options:r}=i,o=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw Uxe();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let s=this._sanitizer.sanitize(ca.RESOURCE_URL,a);if(!s)throw Xb(a);let l=this._inProgressUrlFetches.get(s);if(l)return l;let c=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(Dt(u=>ps(u)),l_(()=>this._inProgressUrlFetches.delete(s)),c_());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(i,a,r){return this._svgIconConfigs.set(e0(i,a),r),this}_addSvgIconSetConfig(i,a){let r=this._iconSetConfigs.get(i);return r?r.push(a):this._iconSetConfigs.set(i,[a]),this}_svgElementFromConfig(i){if(!i.svgElement){let a=this._svgElementFromString(i.svgText);this._setSvgAttributes(a,i.options),i.svgElement=a}return i.svgElement}_getIconConfigFromResolvers(i,a){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](a,i);if(o)return qxe(o)?new yr(o.url,null,o.options):new yr(o,null)}}};t.ɵfac=function(i){return new(i||t)(F(Cf,8),F(jw),F(Ye,8),F(Ua))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function cc(e){return e.cloneNode(!0)}function e0(e,t){return e+":"+t}function qxe(e){return!!(e.url&&e.options)}var Yxe=new Z("MAT_ICON_DEFAULT_OPTIONS"),Gxe=new Z("mat-icon-location",{providedIn:"root",factory:$xe});function $xe(){let e=q(Ye),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var sJ=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Kxe=sJ.map(e=>`[${e}]`).join(", "),Zxe=/^url\(['"]?#(.*?)['"]?\)$/,qr=(()=>{const t=class t{get color(){return this._color||this._defaultColor}set color(i){this._color=i}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){let a=this._cleanupFontValue(i);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){let a=this._cleanupFontValue(i);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}constructor(i,a,r,o,s,l){this._elementRef=i,this._iconRegistry=a,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=nt.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),r||i.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(i){if(!i)return["",""];let a=i.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let i=this._elementsWithExternalReferences;if(i&&i.size){let a=this._location.getPathname();a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();let a=this._location.getPathname();this._previousPath=a,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(a),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){let i=this._elementRef.nativeElement,a=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){let r=i.childNodes[a];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let i=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>i.classList.remove(r)),a.forEach(r=>i.classList.add(r)),this._previousFontSetClass=a,this.fontIcon!==this._previousFontIconClass&&!a.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return typeof i=="string"?i.trim().split(" ")[0]:i}_prependPathToReferences(i){let a=this._elementsWithExternalReferences;a&&a.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${i}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(i){let a=i.querySelectorAll(Kxe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)sJ.forEach(s=>{let l=a[o],c=l.getAttribute(s),u=c?c.match(Zxe):null;if(u){let p=r.get(l);p||(p=[],r.set(l,p)),p.push({name:s,value:u[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){let[a,r]=this._splitIconName(i);a&&(this._svgNamespace=a),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,a).pipe(pi(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${a}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(Wxe),Bo("aria-hidden"),k(Gxe),k(Ua),k(Yxe,8))},t.ɵcmp=ve({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,a){i&2&&(ke("data-mat-icon-type",a._usingFontIcon()?"font":"svg")("data-mat-icon-name",a._svgName||a.fontIcon)("data-mat-icon-namespace",a._svgNamespace||a.fontSet)("fontIcon",a._usingFontIcon()?a.fontIcon:null),ja(a.color?"mat-"+a.color:""),Te("mat-icon-inline",a.inline)("mat-icon-no-color",a.color!=="primary"&&a.color!=="accent"&&a.color!=="warn"))},inputs:{color:"color",inline:[R.HasDecoratorInputTransform,"inline","inline",ge],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[dt,we],ngContentSelectors:jxe,decls:1,vars:0,template:function(i,a){i&1&&(Pt(),Ae(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let e=t;return e})(),du=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,Yt]});let e=t;return e})(),Qxe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-error-display"]],inputs:{message:"message"},standalone:!0,features:[we],decls:3,vars:3,consts:[["color","warning","fontIcon","info",1,"material-icons"]],template:function(i,a){i&1&&(te(0,"mat-icon",0),P(1),O(2,"translate")),i&2&&(C(),ue(" ",M(2,1,"commons.errors."+a.message)," "))},dependencies:[qr,ri,_i],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#f443360d;color:#f44336;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}"]});let e=t;return e})(),Xxe=(()=>{const t=class t extends yve{constructor(){super(...arguments),this.version=Sc,this.authServiceSelector=q(zf),this.translateService=q(Ii),this.webComponentConfig=q(ru),this.injector=q(Hi)}onInitialized(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.injectService(),this.fetchData(!1),this.services.registerRefreshCallback(i=>xn(this,null,function*(){this.fetchData(!0),i()}))}onPropsChanged(i){i.language&&this.translateService.use(this.language)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["ng-component"]],features:[je],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function Jxe(e,t){if(e&1&&(D(0,"mat-option",2),P(1),O(2,"translate"),I()),e&2){let n=t.$implicit;W("value",n),C(),pe(M(2,2,"commons.sortDropdown."+n))}}function e1e(e,t){if(e&1){let n=Nt();D(0,"button",4),O(1,"translate"),ye("click",function(){Oe(n);let i=V();return Re(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),te(2,"mat-icon",5),I()}if(e&2){let n=V();W("disabled",n.disabled()),ke("aria-label",M(1,2,"commons.sortDropdown.sorting-ascendant"))}}function t1e(e,t){if(e&1){let n=Nt();D(0,"button",4),O(1,"translate"),ye("click",function(){Oe(n);let i=V();return Re(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),te(2,"mat-icon",6),I()}if(e&2){let n=V();W("disabled",n.disabled()),ke("aria-label",M(1,2,"commons.sortDropdown.sorting-sorting-descendent"))}}var i1e=(()=>{const t=class t{constructor(){this.sortData=Xm.required(),this.sortItems=pt.required(),this.disabled=pt(!1),this.sortDirection=Af}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-sort-dropdown"]],inputs:{sortData:[R.SignalBased,"sortData"],sortItems:[R.SignalBased,"sortItems"],disabled:[R.SignalBased,"disabled"]},outputs:{sortData:"sortDataChange"},standalone:!0,features:[we],decls:7,vars:3,consts:[[1,"wrap"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","","color","primary",3,"disabled"],["mat-icon-button","","color","primary",3,"click","disabled"],["fontIcon","sort",1,"material-icons-outlined"],["fontIcon","sort",1,"material-icons-outlined","descending"]],template:function(i,a){i&1&&(D(0,"div",0)(1,"mat-form-field")(2,"mat-select",1),ye("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Ui(3,Jxe,3,4,"mat-option",2,Xi),I()(),z(5,e1e,3,4,"button",3)(6,t1e,3,4),I()),i&2&&(C(2),W("value",a.sortData().sort)("disabled",a.disabled()),C(),Wi(a.sortItems()),C(2),$(5,a.sortData().order===a.sortDirection.ascending?5:6))},dependencies:[qr,ma,Jd,Ys,pw,hfe,ufe,M1,ri,_i],styles:[".wrap[_ngcontent-%COMP%]{width:100%;margin-bottom:16px;display:flex;justify-content:center;align-items:center}.wrap[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .descending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),a1e=["*"],n1e=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],r1e=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
30
- [mat-card-title], [mat-card-subtitle],
31
- [matCardTitle], [matCardSubtitle]`,"*"],o1e=new Z("MAT_CARD_CONFIG"),Kf=(()=>{const t=class t{constructor(i){this.appearance=(i==null?void 0:i.appearance)||"raised"}};t.ɵfac=function(i){return new(i||t)(k(o1e,8))},t.ɵcmp=ve({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&Te("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[we],ngContentSelectors:a1e,decls:1,vars:0,template:function(i,a){i&1&&(Pt(),Ae(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});let e=t;return e})(),Zf=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});let e=t;return e})(),s1e=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[we],ngContentSelectors:r1e,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,a){i&1&&(Pt(n1e),Ae(0),D(1,"div",0),Ae(2,1),I(),Ae(3,2))},encapsulation:2,changeDetection:0});let e=t;return e})(),lJ=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,fl,Yt]});let e=t;return e})(),l1e=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.error=pt.required()}get messageKey(){var o;let i=(o=this.error().error)==null?void 0:o.code,a="commons.errors.status-message-content";if(!i)return a;let r=`commons.errors.${i}`;return this.translate.instant(r)!==r?r:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-status-message"]],inputs:{error:[R.SignalBased,"error"]},standalone:!0,features:[we],decls:9,vars:6,consts:[["fontIcon","info",1,"material-icons"]],template:function(i,a){i&1&&(D(0,"mat-card")(1,"mat-card-header"),te(2,"mat-icon",0),P(3),O(4,"translate"),I(),D(5,"mat-card-content")(6,"span"),P(7),O(8,"translate"),I()()()),i&2&&(C(3),ue(" ",M(4,2,"commons.errors.status-message-title")," "),C(4),pe(M(8,4,a.messageKey)))},dependencies:[Kf,Zf,s1e,qr,ri,_i],styles:["mat-card-header[_ngcontent-%COMP%]{color:#e68619}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),c1e=["*"],d1e=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function u1e(e,t){e&1&&Ae(0)}function h1e(e,t){if(e&1&&(D(0,"div",0),z(1,u1e,1,0),I()),e&2){let n=V();W("ngClass",Ile(5,d1e,n.appearance==="custom-content",n.appearance==="circle",n.animation==="progress",n.animation==="progress-dark",n.animation==="pulse"))("ngStyle",n.theme),ke("aria-label",n.ariaLabel)("aria-valuetext",n.loadingText),C(),$(1,n.appearance==="custom-content"?1:-1)}}var cJ=new Z("ngx-skeleton-loader.config"),kl=(()=>{const t=class t{constructor(i){this.config=i;let{appearance:a="line",animation:r="progress",theme:o=null,loadingText:s="Loading...",count:l=1,ariaLabel:c="loading"}=i||{};this.appearance=a,this.animation=r,this.theme=o,this.loadingText=s,this.count=l,this.items=[],this.ariaLabel=c}ngOnInit(){this.validateInputValues()}validateInputValues(){/^\d+$/.test(`${this.count}`)||(this.count=1),this.appearance==="custom-content"&&Xle(),this.items.length=this.count,["progress","progress-dark","pulse","false"].indexOf(String(this.animation))===-1&&(this.animation="progress"),["circle","line","custom-content",""].indexOf(String(this.appearance))===-1&&(this.appearance="");let{theme:a}=this.config||{};a&&a.extendsFromRoot&&this.theme!==null&&(this.theme=Se(Se({},this.config.theme),this.theme))}ngOnChanges(i){["count","animation","appearance"].find(a=>i[a]&&(i[a].isFirstChange()||i[a].previousValue===i[a].currentValue))||this.validateInputValues()}};t.ɵfac=function(i){return new(i||t)(k(cJ,8))},t.ɵcmp=ve({type:t,selectors:[["ngx-skeleton-loader"]],inputs:{count:"count",loadingText:"loadingText",appearance:"appearance",animation:"animation",ariaLabel:"ariaLabel",theme:"theme"},features:[Gt],ngContentSelectors:c1e,decls:2,vars:0,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(i,a){i&1&&(Pt(),Ui(0,h1e,2,11,"div",0,Xi)),i&2&&Wi(a.items)},dependencies:[$d,r1],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=t;return e})(),El=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:cJ,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[fl]});let e=t;return e})();function p1e(e,t){}var ld=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}},dJ=(()=>{const t=class t extends df{constructor(i,a,r,o,s,l,c,u){super(),this._elementRef=i,this._focusTrapFactory=a,this._config=o,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=c,this._focusMonitor=u,this._platform=q(Mt),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=q(St),this.attachDomPortal=p=>{this._portalOutlet.hasAttached();let g=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),g},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(i){this._ariaLabelledByQueue.push(i),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(i){let a=this._ariaLabelledByQueue.indexOf(i);a>-1&&(this._ariaLabelledByQueue.splice(a,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();let a=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),a}attachTemplatePortal(i){this._portalOutlet.hasAttached();let a=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),a}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,a){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{i.removeEventListener("blur",r),i.removeEventListener("mousedown",r),i.removeAttribute("tabindex")};i.addEventListener("blur",r),i.addEventListener("mousedown",r)})),i.focus(a)}_focusByCssSelector(i,a){let r=this._elementRef.nativeElement.querySelector(i);r&&this._forceFocus(r,a)}_trapFocus(){var a;let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":(a=this._focusTrap)==null||a.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let i=this._config.restoreFocus,a=null;if(typeof i=="string"?a=this._document.querySelector(i):typeof i=="boolean"?a=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(a=i),this._config.restoreFocus&&a&&typeof a.focus=="function"){let r=Es(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(a,this._closeInteractionType),this._closeInteractionType=null):a.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let i=this._elementRef.nativeElement,a=Es();return i===a||i.contains(a)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Es()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(sf),k(Ye,8),k(ld),k(of),k(Pe),k(Qd),k(Ur))},t.ɵcmp=ve({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,a){if(i&1&&gt(On,7),i&2){let r;be(r=_e())&&(a._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,a){i&2&&ke("id",a._config.id||null)("role",a._config.role)("aria-modal",a._config.ariaModal)("aria-labelledby",a._config.ariaLabel?null:a._ariaLabelledByQueue[0])("aria-label",a._config.ariaLabel)("aria-describedby",a._config.ariaDescribedBy||null)},standalone:!0,features:[je,we],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,a){i&1&&z(0,p1e,0,0,"ng-template",0)},dependencies:[On],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let e=t;return e})(),_h=class{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new xe,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&&!Zi(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}},m1e=new Z("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=q(pa);return()=>e.scrollStrategies.block()}}),f1e=new Z("DialogData"),g1e=new Z("DefaultDialogConfig"),v1e=0,b1e=(()=>{const t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(i,a,r,o,s,l){this._overlay=i,this._injector=a,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new xe,this._afterOpenedAtThisLevel=new xe,this._ariaHiddenElements=new Map,this.afterAllClosed=Ts(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ei(void 0))),this._scrollStrategy=l}open(i,a){let r=this._defaultOptions||new ld;a=Se(Se({},r),a),a.id=a.id||`cdk-dialog-${v1e++}`,a.id&&this.getDialogById(a.id);let o=this._getOverlayConfig(a),s=this._overlay.create(o),l=new _h(s,a),c=this._attachContainer(s,l,a);return l.containerInstance=c,this._attachDialogContent(i,l,c,a),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){yh(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(a=>a.id===i)}ngOnDestroy(){yh(this._openDialogsAtThisLevel,i=>{i.config.closeOnDestroy===!1&&this._removeOpenDialog(i,!1)}),yh(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){let a=new Kd({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(a.backdropClass=i.backdropClass),a}_attachContainer(i,a,r){var u;let o=r.injector||((u=r.viewContainerRef)==null?void 0:u.injector),s=[{provide:ld,useValue:r},{provide:_h,useValue:a},{provide:Qd,useValue:i}],l;r.container?typeof r.container=="function"?l=r.container:(l=r.container.type,s.push(...r.container.providers(r))):l=dJ;let c=new Ws(l,r.viewContainerRef,Hi.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return i.attach(c).instance}_attachDialogContent(i,a,r,o){if(i instanceof gi){let s=this._createInjector(o,a,r,void 0),l={$implicit:o.data,dialogRef:a};o.templateContext&&(l=Se(Se({},l),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Zo(i,null,l,s))}else{let s=this._createInjector(o,a,r,this._injector),l=r.attachComponentPortal(new Ws(i,o.viewContainerRef,s,o.componentFactoryResolver));a.componentRef=l,a.componentInstance=l.instance}}_createInjector(i,a,r,o){var c;let s=i.injector||((c=i.viewContainerRef)==null?void 0:c.injector),l=[{provide:f1e,useValue:i.data},{provide:_h,useValue:a}];return i.providers&&(typeof i.providers=="function"?l.push(...i.providers(a,i,r)):l.push(...i.providers)),i.direction&&(!s||!s.get(Pi,null,{optional:!0}))&&l.push({provide:Pi,useValue:{value:i.direction,change:wt()}}),Hi.create({parent:s||o,providers:l})}_removeOpenDialog(i,a){let r=this.openDialogs.indexOf(i);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let i=this._overlayContainer.getContainerElement();if(i.parentElement){let a=i.parentElement.children;for(let r=a.length-1;r>-1;r--){let o=a[r];o!==i&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.ɵfac=function(i){return new(i||t)(F(pa),F(Hi),F(g1e,8),F(t,12),F(Zd),F(m1e))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function yh(e,t){let n=e.length;for(;n--;)t(e[n])}function _1e(e,t){}var Mp=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},xh="mdc-dialog--open",t0="mdc-dialog--opening",i0="mdc-dialog--closing",y1e=150,x1e=75,w1e=(()=>{const t=class t extends dJ{constructor(i,a,r,o,s,l,c,u,p){super(i,a,r,o,s,l,c,p),this._animationMode=u,this._animationStateChanged=new ae,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?n0(this._config.enterAnimationDuration)??y1e:0,this._exitAnimationDuration=this._animationsEnabled?n0(this._config.exitAnimationDuration)??x1e:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},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(a0,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(t0,xh)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(xh),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(xh),this._animationsEnabled?(this._hostElement.style.setProperty(a0,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(i0)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(i){this._actionSectionCount+=i,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(t0,i0)}_waitForAnimationToComplete(i,a){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(a,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 a=super.attachComponentPortal(i);return a.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),a}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(sf),k(Ye,8),k(Mp),k(of),k(Pe),k(Qd),k(Ti,8),k(Ur))},t.ɵcmp=ve({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,a){i&2&&(Da("id",a._config.id),ke("aria-modal",a._config.ariaModal)("role",a._config.role)("aria-labelledby",a._config.ariaLabel?null:a._ariaLabelledByQueue[0])("aria-label",a._config.ariaLabel)("aria-describedby",a._config.ariaDescribedBy||null),Te("_mat-animation-noopable",!a._animationsEnabled)("mat-mdc-dialog-container-with-actions",a._actionSectionCount>0))},standalone:!0,features:[je,we],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,a){i&1&&(D(0,"div",0)(1,"div",1),z(2,_1e,0,0,"ng-template",2),I()())},dependencies:[On],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.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)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.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}'],encapsulation:2});let e=t;return e})(),a0="--mat-dialog-transition-duration";function n0(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?cp(e.substring(0,e.length-2)):e.endsWith("s")?cp(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Dc=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(Dc||{}),Qf=class{constructor(e,t,n){this._ref=e,this._containerInstance=n,this._afterOpened=new xe,this._beforeClosed=new xe,this._state=Dc.OPEN,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(ki(i=>i.state==="opened"),pi(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(ki(i=>i.state==="closed"),pi(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),mi(this.backdropClick(),this.keydownEvents().pipe(ki(i=>i.keyCode===27&&!this.disableClose&&!Zi(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),uJ(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ki(t=>t.state==="closing"),pi(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=Dc.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=Dc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function uJ(e,t,n){return e._closeInteractionType=t,e.close(n)}var hJ=new Z("MatMdcDialogData"),k1e=new Z("mat-mdc-dialog-default-options"),E1e=new Z("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=q(pa);return()=>e.scrollStrategies.block()}}),C1e=0,uu=(()=>{const t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(i,a,r,o,s,l,c,u){this._overlay=i,this._defaultOptions=o,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new xe,this._afterOpenedAtThisLevel=new xe,this.dialogConfigClass=Mp,this.afterAllClosed=Ts(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ei(void 0))),this._dialog=a.get(b1e),this._dialogRefConstructor=Qf,this._dialogContainerType=w1e,this._dialogDataToken=hJ}open(i,a){let r;a=Se(Se({},this._defaultOptions||new Mp),a),a.id=a.id||`mat-mdc-dialog-${C1e++}`,a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(i,ti(Se({},a),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:a},{provide:ld,useValue:a}]},templateContext:()=>({dialogRef:r}),providers:(s,l,c)=>(r=new this._dialogRefConstructor(s,a,c),r.updatePosition(a==null?void 0:a.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(a=>a.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let a=i.length;for(;a--;)i[a].close()}};t.ɵfac=function(i){return new(i||t)(F(pa),F(Hi),F(nf,8),F(k1e,8),F(E1e),F(t,12),F(Zd),F(Ti,8))},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),S1e=0,pJ=(()=>{const t=class t{constructor(i,a,r){this.dialogRef=i,this._elementRef=a,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=bJ(this._elementRef,this._dialog.openDialogs))}ngOnChanges(i){let a=i._matDialogClose||i._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(i){uJ(this.dialogRef,i.screenX===0&&i.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.ɵfac=function(i){return new(i||t)(k(Qf,8),k(Ce),k(uu))},t.ɵdir=fe({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,a){i&1&&ye("click",function(r){return a._onButtonClick(r)}),i&2&&ke("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[R.None,"aria-label","ariaLabel"],type:"type",dialogResult:[R.None,"mat-dialog-close","dialogResult"],_matDialogClose:[R.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Gt]});let e=t;return e})(),mJ=(()=>{const t=class t{constructor(i,a,r){this._dialogRef=i,this._elementRef=a,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=bJ(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var i;(i=this._dialogRef)!=null&&i._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.ɵfac=function(i){return new(i||t)(k(Qf,8),k(Ce),k(uu))},t.ɵdir=fe({type:t,standalone:!0});let e=t;return e})(),fJ=(()=>{const t=class t extends mJ{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${S1e++}`}_onAdd(){var i,a;(a=(i=this._dialogRef._containerInstance)==null?void 0:i._addAriaLabelledBy)==null||a.call(i,this.id)}_onRemove(){var i,a,r;(r=(a=(i=this._dialogRef)==null?void 0:i._containerInstance)==null?void 0:a._removeAriaLabelledBy)==null||r.call(a,this.id)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,a){i&2&&Da("id",a.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[je]});let e=t;return e})(),gJ=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let e=t;return e})(),vJ=(()=>{const t=class t extends mJ{_onAdd(){var i,a;(a=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||a.call(i,1)}_onRemove(){var i,a;(a=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||a.call(i,-1)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,a){i&2&&Te("mat-mdc-dialog-actions-align-start",a.align==="start")("mat-mdc-dialog-actions-align-center",a.align==="center")("mat-mdc-dialog-actions-align-end",a.align==="end")},inputs:{align:"align"},standalone:!0,features:[je]});let e=t;return e})();function bJ(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-mdc-dialog-container");)n=n.parentElement;return n?t.find(i=>i.id===n.id):null}var D1e=(()=>{const t=class t{constructor(){this.creationDetails=q(hJ)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["ng-component"]],standalone:!0,features:[we],decls:39,vars:38,consts:[["mat-dialog-title",""],["mat-button","","color","primary","mat-dialog-close",""]],template:function(i,a){i&1&&(D(0,"h2",0),P(1),O(2,"translate"),I(),D(3,"mat-dialog-content")(4,"dl")(5,"dt"),P(6),O(7,"translate"),I(),D(8,"dd"),P(9),I(),D(10,"dt"),P(11),O(12,"translate"),I(),D(13,"dd"),P(14),O(15,"date"),I(),D(16,"dt"),P(17),O(18,"translate"),I(),D(19,"dd"),P(20),O(21,"fullname"),I(),D(22,"dt"),P(23),O(24,"translate"),I(),D(25,"dd"),P(26),O(27,"translate"),O(28,"firstLetterUppercase"),I(),D(29,"dt"),P(30),O(31,"translate"),I(),D(32,"dd"),P(33),O(34,"translate"),I()()(),D(35,"mat-dialog-actions")(36,"button",1),P(37),O(38,"translate"),I()()),i&2&&(C(),pe(M(2,13,"medicationSchemeCreationDetails.title")),C(5),ue("",M(7,15,"medicationSchemeCreationDetails.version"),":"),C(3),pe(a.creationDetails.version),C(2),ue("",M(12,17,"medicationSchemeCreationDetails.updated"),":"),C(3),pe(ni(15,19,a.creationDetails.lastChange.date,"dd/MM/yyyy")),C(3),ue("",M(18,22,"medicationSchemeCreationDetails.author"),":"),C(3),pe(M(21,24,a.creationDetails.lastChange==null?null:a.creationDetails.lastChange.author)),C(3),ue("",M(24,26,"medicationSchemeCreationDetails.profession"),":"),C(2),ke("translate","no"),C(),ue(" ",M(28,30,M(27,28,"commons.roles."+a.creationDetails.lastChange.author.role.toLowerCase()))," "),C(4),ue("",M(31,32,"medicationSchemeCreationDetails.source"),":"),C(3),pe(M(34,34,"commons.safes."+a.creationDetails.source.toLowerCase())),C(4),pe(M(38,36,"commons.close")))},dependencies:[fJ,gJ,vJ,pJ,ma,Wr,ri,_i,ml,Bf,Ga],styles:["dd[_ngcontent-%COMP%]{color:#001b2e;margin-inline-start:0;margin-bottom:16px}mat-dialog-actions[_ngcontent-%COMP%]{justify-content:end}"],changeDetection:0});let e=t;return e})(),I1e=()=>({height:"47px",width:"50%",margin:"0px"});function A1e(e,t){e&1&&te(0,"ngx-skeleton-loader",0),e&2&&W("count",1)("theme",on(2,I1e))}function T1e(e,t){if(e&1){let n=Nt();D(0,"dl")(1,"dt"),P(2),O(3,"translate"),I(),D(4,"dd"),P(5),I(),D(6,"dt"),P(7),O(8,"translate"),I(),D(9,"dd"),P(10),O(11,"date"),I(),D(12,"dt"),P(13),O(14,"translate"),I(),D(15,"dd"),P(16),O(17,"fullname"),O(18,"translate"),O(19,"firstLetterUppercase"),I(),D(20,"dt"),P(21),O(22,"translate"),I(),D(23,"dd"),P(24),O(25,"translate"),I()(),D(26,"div"),P(27),O(28,"translate"),D(29,"a",1),ye("click",function(){Oe(n);let i=V();return Re(i.openCreationDetails())}),P(30),O(31,"date"),I()()}if(e&2){let n,i=V();C(2),ue("",M(3,12,"medicationSchemeCreationDetails.version"),":"),C(3),pe(i.creationDetails().version),C(2),ue("",M(8,14,"medicationSchemeCreationDetails.updated"),":"),C(3),pe(ni(11,16,i.creationDetails().lastChange.date,"dd/MM/yyyy")),C(3),ue("",M(14,19,"medicationSchemeCreationDetails.updatedBy"),":"),C(2),ke("translate","no"),C(),qo(" ",M(17,21,(n=i.creationDetails().lastChange)==null?null:n.author),", ",M(19,25,M(18,23,"commons.roles."+i.creationDetails().lastChange.author.role.toLowerCase()))," "),C(5),ue("",M(22,27,"medicationSchemeCreationDetails.source"),":"),C(3),pe(M(25,29,"commons.safes."+i.creationDetails().source.toLowerCase())),C(3),ue(" ",M(28,31,"medicationSchemeCreationDetails.updated"),": "),C(3),pe(ni(31,33,i.creationDetails().lastChange.date,"dd/MM/yyyy"))}}var O1e=(()=>{const t=class t{constructor(){this.matDialog=q(uu),this.isLoading=pt.required(),this.creationDetails=pt.required()}openCreationDetails(){this.matDialog.open(D1e,{data:this.creationDetails(),panelClass:"mh-dialog-container"})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-creation-details"]],inputs:{isLoading:[R.SignalBased,"isLoading"],creationDetails:[R.SignalBased,"creationDetails"]},standalone:!0,features:[we],decls:2,vars:1,consts:[["appearance","line",3,"count","theme"],["mat-button","","color","primary",3,"click"]],template:function(i,a){i&1&&z(0,A1e,1,3,"ngx-skeleton-loader",0)(1,T1e,32,36),i&2&&$(0,a.isLoading()?0:a.creationDetails()?1:-1)},dependencies:[ma,j1,ri,_i,El,kl,Bf,Ga,ml],styles:["dl[_ngcontent-%COMP%]{display:flex}dt[_ngcontent-%COMP%]{color:#888;margin-right:8px}dd[_ngcontent-%COMP%]{margin-right:24px;margin-inline-start:0}@media only screen and (max-width: 600px){dl[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 600px){div[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})(),R1e=e=>({visibility:e});function N1e(e,t){if(e&1){let n=Nt();D(0,"mat-form-field")(1,"input",8),ye("dateChange",function(i){Oe(n);let a=V();return Re(a.onChangeDate(i))}),I(),te(2,"mat-datepicker",null,0),I(),D(4,"a",9),O(5,"translate"),ye("click",function(){Oe(n);let i=Ha(3);return Re(i.open())}),P(6),O(7,"date"),O(8,"firstLetterUppercase"),te(9,"br"),P(10),O(11,"date"),O(12,"firstLetterUppercase"),I()}if(e&2){let n=Ha(3),i=V();Fn("height","0px")("width","0px"),C(),W("matDatepicker",n),C(3),ke("aria-label",M(5,8,"medicationSchemeDateToggler.openCalendar")),C(2),ue(" ",M(8,15,Tr(7,10,i.activeDate().displayDate,"EEEE",void 0,i.locale))," "),C(4),ue(" ",M(12,22,Tr(11,17,i.activeDate().displayDate,"dd MMMM yyyy",void 0,i.locale))," ")}}function P1e(e,t){if(e&1&&(D(0,"span"),P(1),O(2,"date"),O(3,"date"),te(4,"br"),P(5),O(6,"date"),I()),e&2){let n=V(2);C(),qo(" ",Tr(2,3,n.activeDate().startOfWeek,"dd",void 0,n.locale)," - ",Tr(3,8,n.activeDate().endOfWeek,"dd",void 0,n.locale)," "),C(4),ue(" ",Tr(6,13,n.activeDate().endOfWeek,"MMMM y",void 0,n.locale)," ")}}function M1e(e,t){if(e&1&&(P(0),O(1,"date"),te(2,"br"),P(3," - "),te(4,"br"),P(5),O(6,"date")),e&2){let n=V(2);ue(" ",Tr(1,2,n.activeDate().startOfWeek,"dd MMMM y",void 0,n.locale)," "),C(5),ue(" ",Tr(6,7,n.activeDate().endOfWeek,"dd MMMM y",void 0,n.locale)," ")}}function L1e(e,t){if(e&1){let n=Nt();D(0,"mat-form-field")(1,"mat-date-range-input",10)(2,"input",11),ye("dateChange",function(i){Oe(n);let a=V();return Re(a.onChangeDate(i))}),I(),te(3,"input",12),I(),te(4,"mat-date-range-picker",null,0),I(),D(6,"a",9),O(7,"translate"),ye("click",function(){Oe(n);let i=Ha(5);return Re(i.open())}),z(8,P1e,7,18,"span")(9,M1e,7,12),I()}if(e&2){let n=Ha(5),i=V();Fn("height","0px")("width","0px"),C(),W("rangePicker",n),C(),W("value",i.activeDate().startOfWeek),C(),W("value",i.activeDate().endOfWeek),C(3),ke("aria-label",M(7,9,"medicationSchemeDateToggler.openCalendar")),C(2),$(8,i.activeDate().startOfWeek.getFullYear()===i.activeDate().endOfWeek.getFullYear()?8:9)}}var F1e=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.dateAdapter=q(Jt),this.destroyRef=q(Ba),this.activeDate=Xm.required(),this.fnsOptions={weekStartsOn:1},this.views=ua}ngOnInit(){this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(this.translate.currentLang),this.translate.onLangChange.pipe(nu(this.destroyRef)).subscribe(({lang:i})=>{this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(i)})}onChangeDate(i){this.activeDate().displayDate=new Date(i.value),this.emitDateChange()}onTogglePrevious(){switch(this.activeDate().view){case ua.DAY:this.activeDate().displayDate=Gf(this.activeDate().displayDate);break;case ua.WEEK:this.activeDate().displayDate=Qbe(this.activeDate().displayDate);break}this.emitDateChange()}onToggleNext(){switch(this.activeDate().view){case ua.DAY:this.activeDate().displayDate=zn(this.activeDate().displayDate,1);break;case ua.WEEK:this.activeDate().displayDate=Uf(this.activeDate().displayDate,1);break}this.emitDateChange()}onSetCurrent(){this.activeDate().displayDate=It(new Date),this.emitDateChange()}isDisplayDateToday(i){return Zbe(new Date(i))}isDisplayDateThisWeek(i){return Kbe(new Date(i),this.fnsOptions)}emitDateChange(){this.activeDate.set(ti(Se({},this.activeDate()),{startOfWeek:ka(this.activeDate().displayDate,this.fnsOptions),endOfWeek:Wf(this.activeDate().displayDate,this.fnsOptions)}))}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-date-toggler"]],inputs:{activeDate:[R.SignalBased,"activeDate"]},outputs:{activeDate:"activeDateChange"},standalone:!0,features:[we],decls:16,vars:16,consts:[["calendar",""],[1,"text-center"],[1,"items-center"],["mat-icon-button","","color","primary",3,"click"],["fontIcon","chevron_left",1,"material-icons-outlined"],["fontIcon","chevron_right",1,"material-icons-outlined"],["mat-button","","color","primary",3,"click","ngStyle"],["fontIcon","replay",1,"material-icons-outlined"],["matInput","","tabindex","-1",3,"dateChange","matDatepicker"],["mat-button","","color","primary",3,"click"],["tabindex","-1",3,"rangePicker"],["matStartDate","",3,"dateChange","value"],["matEndDate","",3,"value"]],template:function(i,a){i&1&&(D(0,"div",1)(1,"div",2)(2,"button",3),O(3,"translate"),ye("click",function(){return a.onTogglePrevious()}),te(4,"mat-icon",4),I(),D(5,"div"),z(6,N1e,13,24)(7,L1e,10,11),I(),D(8,"button",3),O(9,"translate"),ye("click",function(){return a.onToggleNext()}),te(10,"mat-icon",5),I()(),D(11,"a",6),O(12,"translate"),ye("click",function(){return a.onSetCurrent()}),te(13,"mat-icon",7),P(14),O(15,"translate"),I()()),i&2&&(C(2),ke("aria-label",M(3,6,"medicationSchemeDateToggler.previous"+a.activeDate().view)),C(4),$(6,a.activeDate().view===a.views.DAY?6:7),C(2),ke("aria-label",M(9,8,"medicationSchemeDateToggler.next"+a.activeDate().view)),C(3),W("ngStyle",qa(14,R1e,a.isDisplayDateToday(a.activeDate().displayDate)&&a.isDisplayDateThisWeek(a.activeDate().displayDate)?"hidden":"visible")),ke("aria-label",M(12,10,"medicationSchemeDateToggler.returnTo"+(a.activeDate().view===a.views.DAY?"Today":"CurrentWeek"))),C(3),ue(" ",M(15,12,"medicationSchemeDateToggler.returnTo"+(a.activeDate().view===a.views.DAY?"Today":"CurrentWeek"))," "))},dependencies:[Aue,Ys,pw,rpe,npe,$pe,Fpe,wf,Ype,Ew,Cw,Gpe,ma,j1,Jd,du,qr,ri,_i,Ga,ml,r1],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})(),V1e=[[["caption"]],[["colgroup"],["col"]],"*"],z1e=["caption","colgroup, col","*"];function B1e(e,t){e&1&&Ae(0,2)}function j1e(e,t){e&1&&(D(0,"thead",0),Ki(1,1),I(),D(2,"tbody",0),Ki(3,2)(4,3),I(),D(5,"tfoot",0),Ki(6,4),I())}function H1e(e,t){e&1&&Ki(0,1)(1,2)(2,3)(3,4)}var cn=new Z("CDK_TABLE"),Lp=(()=>{const t=class t{constructor(i){this.template=i}};t.ɵfac=function(i){return new(i||t)(k(gi))},t.ɵdir=fe({type:t,selectors:[["","cdkCellDef",""]],standalone:!0});let e=t;return e})(),Fp=(()=>{const t=class t{constructor(i){this.template=i}};t.ɵfac=function(i){return new(i||t)(k(gi))},t.ɵdir=fe({type:t,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let e=t;return e})(),U1e=(()=>{const t=class t{constructor(i){this.template=i}};t.ɵfac=function(i){return new(i||t)(k(gi))},t.ɵdir=fe({type:t,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let e=t;return e})(),Qs=(()=>{const t=class t{get name(){return this._name}set name(i){this._setNameInput(i)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){i!==this._stickyEnd&&(this._stickyEnd=i,this._hasStickyChanged=!0)}constructor(i){this._table=i,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};t.ɵfac=function(i){return new(i||t)(k(cn,8))},t.ɵdir=fe({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,a,r){if(i&1&&(lt(r,Lp,5),lt(r,Fp,5),lt(r,U1e,5)),i&2){let o;be(o=_e())&&(a.cell=o.first),be(o=_e())&&(a.headerCell=o.first),be(o=_e())&&(a.footerCell=o.first)}},inputs:{name:[R.None,"cdkColumnDef","name"],sticky:[R.HasDecoratorInputTransform,"sticky","sticky",ge],stickyEnd:[R.HasDecoratorInputTransform,"stickyEnd","stickyEnd",ge]},standalone:!0,features:[ht([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),dt]});let e=t;return e})(),_J=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},W1e=(()=>{const t=class t extends _J{constructor(i,a){super(i,a)}};t.ɵfac=function(i){return new(i||t)(k(Qs),k(Ce))},t.ɵdir=fe({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[je]});let e=t;return e})(),q1e=(()=>{const t=class t extends _J{constructor(i,a){var o;super(i,a);let r=(o=i._table)==null?void 0:o._getCellRole();r&&a.nativeElement.setAttribute("role",r)}};t.ɵfac=function(i){return new(i||t)(k(Qs),k(Ce))},t.ɵdir=fe({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[je]});let e=t;return e})(),r0=class{constructor(){this.tasks=[],this.endTasks=[]}},Vp=new Z("_COALESCED_STYLE_SCHEDULER"),yJ=(()=>{const t=class t{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new xe}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new r0,this._getScheduleObservable().pipe(ft(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let i=this._currentSchedule;this._currentSchedule=new r0;for(let a of i.tasks)a();for(let a of i.endTasks)a()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Rn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(pi(1))}};t.ɵfac=function(i){return new(i||t)(F(Pe))},t.ɵprov=J({token:t,factory:t.ɵfac});let e=t;return e})(),Xf=(()=>{const t=class t{constructor(i,a){this.template=i,this._differs=a}ngOnChanges(i){if(!this._columnsDiffer){let a=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof cd?i.headerCell.template:this instanceof xJ?i.footerCell.template:i.cell.template}};t.ɵfac=function(i){return new(i||t)(k(gi),k($o))},t.ɵdir=fe({type:t,features:[Gt]});let e=t;return e})(),cd=(()=>{const t=class t extends Xf{get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}constructor(i,a,r){super(i,a),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};t.ɵfac=function(i){return new(i||t)(k(gi),k($o),k(cn,8))},t.ɵdir=fe({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[R.None,"cdkHeaderRowDef","columns"],sticky:[R.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",ge]},standalone:!0,features:[dt,je,Gt]});let e=t;return e})(),xJ=(()=>{const t=class t extends Xf{get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}constructor(i,a,r){super(i,a),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};t.ɵfac=function(i){return new(i||t)(k(gi),k($o),k(cn,8))},t.ɵdir=fe({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[R.None,"cdkFooterRowDef","columns"],sticky:[R.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",ge]},standalone:!0,features:[dt,je,Gt]});let e=t;return e})(),zp=(()=>{const t=class t extends Xf{constructor(i,a,r){super(i,a),this._table=r}};t.ɵfac=function(i){return new(i||t)(k(gi),k($o),k(cn,8))},t.ɵdir=fe({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[R.None,"cdkRowDefColumns","columns"],when:[R.None,"cdkRowDefWhen","when"]},standalone:!0,features:[je]});let e=t;return e})(),Mo=(()=>{const t=class t{constructor(i){this._viewContainer=i,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};t.mostRecentCellOutlet=null,t.ɵfac=function(i){return new(i||t)(k(Fi))},t.ɵdir=fe({type:t,selectors:[["","cdkCellOutlet",""]],standalone:!0});let e=t;return e})(),o0=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,a){i&1&&Ki(0,0)},dependencies:[Mo],encapsulation:2});let e=t;return e})(),s0=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,a){i&1&&Ki(0,0)},dependencies:[Mo],encapsulation:2});let e=t;return e})(),Y1e=(()=>{const t=class t{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}};t.ɵfac=function(i){return new(i||t)(k(gi))},t.ɵdir=fe({type:t,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let e=t;return e})(),l0=["top","bottom","left","right"],G1e=class{constructor(e,t,n,i,a=!0,r=!0,o){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=o,this._cachedCellWidths=[],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){let n=[];for(let i of e)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let a=0;a<i.children.length;a++)n.push(i.children[a])}this._coalescedStyleScheduler.schedule(()=>{for(let i of n)this._removeStickyStyle(i,t)})}updateStickyColumns(e,t,n,i=!0){if(!e.length||!this._isBrowser||!(t.some(a=>a)||n.some(a=>a))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let a=e[0],r=a.children.length,o=this._getCellWidths(a,i),s=this._getStickyStartColumnPositions(o,t),l=this._getStickyEndColumnPositions(o,n),c=t.lastIndexOf(!0),u=n.indexOf(!0),p=this.direction==="rtl",g=p?"right":"left",b=p?"left":"right";for(let x of e)for(let y=0;y<r;y++){let E=x.children[y];t[y]&&this._addStickyStyle(E,g,s[y],y===c),n[y]&&this._addStickyStyle(E,b,l[y],y===u)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:c===-1?[]:o.slice(0,c+1).map((x,y)=>t[y]?x:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:o.slice(u).map((x,y)=>n[y+u]?x:null).reverse()}))})}stickRows(e,t,n){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{var c,u;let i=n==="bottom"?e.slice().reverse():e,a=n==="bottom"?t.slice().reverse():t,r=[],o=[],s=[];for(let p=0,g=0;p<i.length;p++){if(!a[p])continue;r[p]=g;let b=i[p];s[p]=this._isNativeHtmlTable?Array.from(b.children):[b];let x=b.getBoundingClientRect().height;g+=x,o[p]=x}let l=a.lastIndexOf(!0);for(let p=0;p<i.length;p++){if(!a[p])continue;let g=r[p],b=p===l;for(let x of s[p])this._addStickyStyle(x,n,g,b)}n==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:r,elements:s}):(u=this._positionListener)==null||u.stickyFooterRowsUpdated({sizes:o,offsets:r,elements:s})})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{let n=e.querySelector("tfoot");n&&(t.some(i=>!i)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))})}_removeStickyStyle(e,t){for(let n of t)e.style[n]="",e.classList.remove(this._borderCellCss[n]);l0.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,i){e.classList.add(this._stickCellCss),i&&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 i of l0)e.style[i]&&(n+=t[i]);return n?`${n}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],i=e.children;for(let a=0;a<i.length;a++){let r=i[a];n.push(r.getBoundingClientRect().width)}return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(e,t){let n=[],i=0;for(let a=0;a<e.length;a++)t[a]&&(n[a]=i,i+=e[a]);return n}_getStickyEndColumnPositions(e,t){let n=[],i=0;for(let a=e.length;a>0;a--)t[a]&&(n[a]=i,i+=e[a]);return n}},Bp=new Z("CDK_SPL"),wJ=(()=>{const t=class t{constructor(i,a){this.viewContainer=i,this.elementRef=a;let r=q(cn);r._rowOutlet=this,r._outletAssigned()}};t.ɵfac=function(i){return new(i||t)(k(Fi),k(Ce))},t.ɵdir=fe({type:t,selectors:[["","rowOutlet",""]],standalone:!0});let e=t;return e})(),kJ=(()=>{const t=class t{constructor(i,a){this.viewContainer=i,this.elementRef=a;let r=q(cn);r._headerRowOutlet=this,r._outletAssigned()}};t.ɵfac=function(i){return new(i||t)(k(Fi),k(Ce))},t.ɵdir=fe({type:t,selectors:[["","headerRowOutlet",""]],standalone:!0});let e=t;return e})(),EJ=(()=>{const t=class t{constructor(i,a){this.viewContainer=i,this.elementRef=a;let r=q(cn);r._footerRowOutlet=this,r._outletAssigned()}};t.ɵfac=function(i){return new(i||t)(k(Fi),k(Ce))},t.ɵdir=fe({type:t,selectors:[["","footerRowOutlet",""]],standalone:!0});let e=t;return e})(),CJ=(()=>{const t=class t{constructor(i,a){this.viewContainer=i,this.elementRef=a;let r=q(cn);r._noDataRowOutlet=this,r._outletAssigned()}};t.ɵfac=function(i){return new(i||t)(k(Fi),k(Ce))},t.ɵdir=fe({type:t,selectors:[["","noDataRowOutlet",""]],standalone:!0});let e=t;return e})(),c0=(()=>{const t=class t{_getCellRole(){if(this._cellRoleInternal===void 0){let i=this._elementRef.nativeElement.getAttribute("role"),a=i==="grid"||i==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&a==="cell"?null:a}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=i,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=i,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,a,r,o,s,l,c,u,p,g,b,x){this._differs=i,this._changeDetectorRef=a,this._elementRef=r,this._dir=s,this._platform=c,this._viewRepeater=u,this._coalescedStyleScheduler=p,this._viewportRuler=g,this._stickyPositioningListener=b,this._ngZone=x,this._onDestroy=new xe,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new ae,this.viewChange=new Dr({start:0,end:Number.MAX_VALUE}),o||r.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!c.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((i,a)=>this.trackBy?this.trackBy(a.dataIndex,a.data):a),this._viewportRuler.change().pipe(ft(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var i,a,r;[(i=this._rowOutlet)==null?void 0:i.viewContainer,(a=this._headerRowOutlet)==null?void 0:a.viewContainer,(r=this._footerRowOutlet)==null?void 0:r.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(o=>{o==null||o.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),$u(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let i=this._dataDiffer.diff(this._renderRows);if(!i){this._updateNoDataRow(),this.contentChanged.next();return}let a=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,a,(r,o,s)=>this._getEmbeddedViewArgs(r.item,s),r=>r.item.data,r=>{r.operation===Cs.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(r=>{let o=a.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&Pe.isInAngularZone()?this._ngZone.onStable.pipe(pi(1),ft(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){let i=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=d0(this._headerRowOutlet,"thead");r&&(r.style.display=i.length?"":"none")}let a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let i=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=d0(this._footerRowOutlet,"tfoot");r&&(r.style.display=i.length?"":"none")}let a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let i=this._getRenderedRows(this._headerRowOutlet),a=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...a,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((o,s)=>{this._addStickyColumnStyles([o],this._headerRowDefs[s])}),this._rowDefs.forEach(o=>{let s=[];for(let l=0;l<a.length;l++)this._renderRows[l].rowDef===o&&s.push(a[l]);this._addStickyColumnStyles(s,o)}),r.forEach((o,s)=>{this._addStickyColumnStyles([o],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.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 i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,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 i=[],a=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r<this._data.length;r++){let o=this._data[r],s=this._getRenderRowsForData(o,r,a.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let l=0;l<s.length;l++){let c=s[l],u=this._cachedRenderRowsMap.get(c.data);u.has(c.rowDef)?u.get(c.rowDef).push(c):u.set(c.rowDef,[c]),i.push(c)}}return i}_getRenderRowsForData(i,a,r){return this._getRowDefs(i,a).map(o=>{let s=r&&r.has(o)?r.get(o):[];if(s.length){let l=s.shift();return l.dataIndex=a,l}else return{data:i,rowDef:o,dataIndex:a}})}_cacheColumnDefs(){this._columnDefsByName.clear(),dc(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=dc(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=dc(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=dc(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let i=this._rowDefs.filter(a=>!a.when);!this.multiTemplateDataRows&&i.length>1,this._defaultRowDef=i[0]}_renderUpdatedColumns(){let i=(s,l)=>s||!!l.getColumnsDiff(),a=this._rowDefs.reduce(i,!1);a&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(i,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(i,!1);return o&&this._forceRenderFooterRows(),a||r||o}_switchDataSource(i){this._data=[],$u(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;$u(this.dataSource)?i=this.dataSource.connect(this):Yn(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=wt(this.dataSource)),this._renderChangeSubscription=i.pipe(ft(this._onDestroy)).subscribe(a=>{this._data=a||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,a)=>this._renderRow(this._headerRowOutlet,i,a)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,a)=>this._renderRow(this._footerRowOutlet,i,a)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,a){let r=Array.from(a.columns||[]).map(l=>this._columnDefsByName.get(l)),o=r.map(l=>l.sticky),s=r.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(i,o,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){let a=[];for(let r=0;r<i.viewContainer.length;r++){let o=i.viewContainer.get(r);a.push(o.rootNodes[0])}return a}_getRowDefs(i,a){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(a,i));else{let o=this._rowDefs.find(s=>s.when&&s.when(a,i))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(i,a){let r=i.rowDef,o={$implicit:i.data};return{templateRef:r.template,context:o,index:a}}_renderRow(i,a,r,o={}){let s=i.viewContainer.createEmbeddedView(a.template,o,r);return this._renderCellTemplateForItem(a,o),s}_renderCellTemplateForItem(i,a){for(let r of this._getCellTemplates(i))Mo.mostRecentCellOutlet&&Mo.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,a);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let i=this._rowOutlet.viewContainer;for(let a=0,r=i.length;a<r;a++){let o=i.get(a).context;o.count=r,o.first=a===0,o.last=a===r-1,o.even=a%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[a].dataIndex,o.renderIndex=a):o.index=this._renderRows[a].dataIndex}}_getCellTemplates(i){return!i||!i.columns?[]:Array.from(i.columns,a=>{let r=this._columnDefsByName.get(a);return i.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let i=(a,r)=>a||r.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let i=this._dir?this._dir.value:"ltr";this._stickyStyler=new G1e(this._isNativeHtmlTable,this.stickyCssClass,i,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:wt()).pipe(ft(this._onDestroy)).subscribe(a=>{this._stickyStyler.direction=a,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(a=>!a._table||a._table===this)}_updateNoDataRow(){let i=this._customNoDataRow||this._noDataRow;if(!i)return;let a=this._rowOutlet.viewContainer.length===0;if(a===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(a){let o=r.createEmbeddedView(i.templateRef),s=o.rootNodes[0];o.rootNodes.length===1&&(s==null?void 0:s.nodeType)===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(i._contentClassName))}else r.clear();this._isShowingNoDataRow=a,this._changeDetectorRef.markForCheck()}};t.ɵfac=function(i){return new(i||t)(k($o),k(St),k(Ce),Bo("role"),k(Pi,8),k(Ye),k(Mt),k(hp),k(Vp),k(Ko),k(Bp,12),k(Pe,8))},t.ɵcmp=ve({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,a,r){if(i&1&&(lt(r,Y1e,5),lt(r,Qs,5),lt(r,zp,5),lt(r,cd,5),lt(r,xJ,5)),i&2){let o;be(o=_e())&&(a._noDataRow=o.first),be(o=_e())&&(a._contentColumnDefs=o),be(o=_e())&&(a._contentRowDefs=o),be(o=_e())&&(a._contentHeaderRowDefs=o),be(o=_e())&&(a._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,a){i&2&&Te("cdk-table-fixed-layout",a.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[R.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",ge],fixedLayout:[R.HasDecoratorInputTransform,"fixedLayout","fixedLayout",ge]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[ht([{provide:cn,useExisting:t},{provide:hp,useClass:k1},{provide:Vp,useClass:yJ},{provide:Bp,useValue:null}]),dt,we],ngContentSelectors:z1e,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,a){i&1&&(Pt(V1e),Ae(0),Ae(1,1),z(2,B1e,1,0)(3,j1e,7,0)(4,H1e,4,0)),i&2&&(C(2),$(2,a._isServer?2:-1),C(),$(3,a._isNativeHtmlTable?3:4))},dependencies:[kJ,wJ,CJ,EJ],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let e=t;return e})();function dc(e,t){return e.concat(Array.from(t))}function d0(e,t){let n=t.toUpperCase(),i=e.viewContainer.element.nativeElement;for(;i;){let a=i.nodeType===1?i.nodeName:null;if(a===n)return i;if(a==="TABLE")break;i=i.parentNode}return null}var $1e=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[pp]});let e=t;return e})(),K1e=[[["caption"]],[["colgroup"],["col"]],"*"],Z1e=["caption","colgroup, col","*"];function Q1e(e,t){e&1&&Ae(0,2)}function X1e(e,t){e&1&&(D(0,"thead",0),Ki(1,1),I(),D(2,"tbody",2),Ki(3,3)(4,4),I(),D(5,"tfoot",0),Ki(6,5),I())}function J1e(e,t){e&1&&Ki(0,1)(1,3)(2,4)(3,5)}var SJ=(()=>{const t=class t extends c0{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,a){i&2&&Te("mdc-table-fixed-layout",a.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[ht([{provide:c0,useExisting:t},{provide:cn,useExisting:t},{provide:Vp,useClass:yJ},{provide:hp,useClass:k1},{provide:Bp,useValue:null}]),je,we],ngContentSelectors:Z1e,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,a){i&1&&(Pt(K1e),Ae(0),Ae(1,1),z(2,Q1e,1,0)(3,X1e,7,0)(4,J1e,4,0)),i&2&&(C(2),$(2,a._isServer?2:-1),C(),$(3,a._isNativeHtmlTable?3:4))},dependencies:[kJ,wJ,CJ,EJ],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, 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, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);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)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let e=t;return e})(),DJ=(()=>{const t=class t extends Lp{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","matCellDef",""]],standalone:!0,features:[ht([{provide:Lp,useExisting:t}]),je]});let e=t;return e})(),IJ=(()=>{const t=class t extends Fp{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[ht([{provide:Fp,useExisting:t}]),je]});let e=t;return e})(),AJ=(()=>{const t=class t extends Qs{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[R.None,"matColumnDef","name"]},standalone:!0,features:[ht([{provide:Qs,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),je]});let e=t;return e})(),TJ=(()=>{const t=class t extends W1e{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[je]});let e=t;return e})(),OJ=(()=>{const t=class t extends q1e{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[je]});let e=t;return e})(),RJ=(()=>{const t=class t extends cd{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[R.None,"matHeaderRowDef","columns"],sticky:[R.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",ge]},standalone:!0,features:[ht([{provide:cd,useExisting:t}]),dt,je]});let e=t;return e})(),NJ=(()=>{const t=class t extends zp{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[R.None,"matRowDefColumns","columns"],when:[R.None,"matRowDefWhen","when"]},standalone:!0,features:[ht([{provide:zp,useExisting:t}]),je]});let e=t;return e})(),PJ=(()=>{const t=class t extends o0{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({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"],standalone:!0,features:[ht([{provide:o0,useExisting:t}]),je,we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,a){i&1&&Ki(0,0)},dependencies:[Mo],encapsulation:2});let e=t;return e})(),MJ=(()=>{const t=class t extends s0{};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[ht([{provide:s0,useExisting:t}]),je,we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,a){i&1&&Ki(0,0)},dependencies:[Mo],encapsulation:2});let e=t;return e})(),LJ=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({imports:[Yt,$1e,Yt]});let e=t;return e})(),ewe=9007199254740991,FJ=class extends Gde{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new Dr([]),this._filter=new Dr(""),this._internalPageChanges=new xe,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,n)=>{let i=t[n];if(u1(i)){let a=Number(i);return a<ewe?a:i}return i},this.sortData=(t,n)=>{let i=n.active,a=n.direction;return!i||a==""?t:t.sort((r,o)=>{let s=this.sortingDataAccessor(r,i),l=this.sortingDataAccessor(o,i),c=typeof s,u=typeof l;c!==u&&(c==="number"&&(s+=""),u==="number"&&(l+=""));let p=0;return s!=null&&l!=null?s>l?p=1:s<l&&(p=-1):s!=null?p=1:l!=null&&(p=-1),p*(a=="asc"?1:-1)})},this.filterPredicate=(t,n)=>{let i=Object.keys(t).reduce((r,o)=>r+t[o]+"◬","").toLowerCase(),a=n.trim().toLowerCase();return i.indexOf(a)!=-1},this._data=new Dr(e),this._updateChangeSubscription()}_updateChangeSubscription(){var o;let e=this._sort?mi(this._sort.sortChange,this._sort.initialized):wt(null),t=this._paginator?mi(this._paginator.page,this._internalPageChanges,this._paginator.initialized):wt(null),n=this._data,i=mc([n,this._filter]).pipe(Dt(([s])=>this._filterData(s))),a=mc([i,e]).pipe(Dt(([s])=>this._orderData(s))),r=mc([a,t]).pipe(Dt(([s])=>this._pageData(s)));(o=this._renderChangesSubscription)==null||o.unsubscribe(),this._renderChangesSubscription=r.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){let n=Math.ceil(t.length/t.pageSize)-1||0,i=Math.min(t.pageIndex,n);i!==t.pageIndex&&(t.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var e;(e=this._renderChangesSubscription)==null||e.unsubscribe(),this._renderChangesSubscription=null}};function twe(e,t){if(e&1&&(P(0),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"date")),e&2){let n=V();qo(" ",M(2,4,M(1,2,"medicationSchemeListView.remarks.suspended")),": ",ni(3,6,n.lastDay,"dd/MM")," ")}}function iwe(e,t){if(e&1&&(P(0),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"date")),e&2){let n=V();qo(" ",M(2,4,M(1,2,"medicationSchemeListView.remarks.end")),": ",ni(3,6,n.lastIngestionDay,"dd/MM")," ")}}function awe(e,t){if(e&1&&(D(0,"span",0),z(1,twe,4,9),O(2,"suspensionType"),z(3,iwe,4,9),I()),e&2){let n=V();C(),$(1,ni(2,1,n.item().medication,t.lastIngestionDay)==="temporary"?1:3)}}function nwe(e,t){e&1&&(P(0),O(1,"translate"),O(2,"firstLetterUppercase")),e&2&&ue(" ",M(2,3,M(1,1,"medicationSchemeListView.remarks.lastDayTemporary"))," ")}function rwe(e,t){e&1&&(P(0),O(1,"translate"),O(2,"firstLetterUppercase")),e&2&&ue(" ",M(2,3,M(1,1,"medicationSchemeListView.remarks.lastDayDefinitive"))," ")}function owe(e,t){if(e&1&&(D(0,"span",0),z(1,nwe,3,5),O(2,"suspensionType"),z(3,rwe,3,5),I()),e&2){let n=V();C(),$(1,ni(2,1,n.item().medication,n.dateInfo().displayDate)==="temporary"?1:3)}}function swe(e,t){e&1&&(D(0,"span",0),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.remarks.ifneeded")," "))}var hu=(()=>{const t=class t{constructor(){this.dateInfo=pt.required(),this.item=pt.required(),this.views=ua}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-remark-flag"]],inputs:{dateInfo:[R.SignalBased,"dateInfo"],item:[R.SignalBased,"item"]},standalone:!0,features:[we],decls:5,vars:8,consts:[[1,"remark"]],template:function(i,a){if(i&1&&(z(0,awe,4,4,"span",0),O(1,"lastIngestionPeriod"),O(2,"isLastIngestionDay"),z(3,owe,4,4)(4,swe,3,3)),i&2){let r;$(0,(r=a.dateInfo().view===a.views.WEEK&&Rle(1,1,a.item(),a.dateInfo().startOfWeek,a.dateInfo().endOfWeek))?0:a.dateInfo().view===a.views.DAY&&ni(2,5,a.item(),a.dateInfo().displayDate)?3:a.dateInfo().view===a.views.LIST?4:-1,r)}},dependencies:[ri,_i,gye,fye,Ga,_ye,ml],styles:[".remark[_ngcontent-%COMP%]{white-space:nowrap;border:2px solid #e68619;font-weight:700;padding:4px 8px;border-radius:8px}"],changeDetection:0});let e=t;return e})(),lwe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["ng-component"]],standalone:!0,features:[we],decls:10,vars:9,consts:[["mat-dialog-title",""],["mat-button","","color","primary","mat-dialog-close",""]],template:function(i,a){i&1&&(D(0,"h2",0),P(1),O(2,"translate"),I(),D(3,"mat-dialog-content"),P(4),O(5,"translate"),I(),D(6,"mat-dialog-actions")(7,"button",1),P(8),O(9,"translate"),I()()),i&2&&(C(),pe(M(2,3,"medicationSchemeListView.toPlan")),C(3),ue(" ",M(5,5,"medicationSchemeListView.atYourConvenienceText"),`
32
- `),C(4),pe(M(9,7,"commons.close")))},dependencies:[fJ,gJ,vJ,pJ,ma,Wr,ri,_i],styles:["dd[_ngcontent-%COMP%]{color:#001b2e;margin-inline-start:0;margin-bottom:16px}mat-dialog-actions[_ngcontent-%COMP%]{justify-content:end}"],changeDetection:0});let e=t;return e})();function cwe(e,t){e&1&&(P(0),O(1,"translate")),e&2&&ue(" ",M(1,1,"commons.periodicities."+t)," ")}function dwe(e,t){e&1&&(P(0),O(1,"translate"),O(2,"firstLetterUppercase")),e&2&&ue(" ",M(2,3,M(1,1,"commons.period."+t))," ")}function uwe(e,t){if(e&1){let n=Nt();D(0,"div",0),P(1),O(2,"translate"),D(3,"button",1),O(4,"translate"),ye("click",function(){Oe(n);let i=V();return Re(i.openToPlanInfo())}),te(5,"mat-icon",2),I()(),D(6,"strong"),z(7,cwe,2,3)(8,dwe,3,5),I()}if(e&2){let n,i,a=V();C(),ue(" ",M(2,4,"medicationSchemeListView.toPlan")," "),C(2),ke("aria-label",M(4,6,"medicationSchemeDateToggler.moreInformations")),C(4),$(7,(n=(n=a.item().medication.frequency)==null?null:n.periodicity)?7:-1,n),C(),$(8,(i=(i=a.item().posology)==null||i.daytime==null?null:i.daytime.dayPeriod)?8:-1,i)}}function hwe(e,t){if(e&1&&(P(0),O(1,"posologyDayTime"),O(2,"firstLetterUppercase")),e&2){let n=V();ue(" ",M(2,3,M(1,1,n.item().posology)),`
33
- `)}}var VJ=(()=>{const t=class t{constructor(){this.dialog=q(uu),this.item=pt.required(),this.dayParts=Le}openToPlanInfo(){this.dialog.open(lwe,{panelClass:"mh-dialog-container"})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-day-part"]],inputs:{item:[R.SignalBased,"item"]},standalone:!0,features:[we],decls:2,vars:1,consts:[[1,"to-plan"],["mat-button","","color","primary",1,"btn-help",3,"click"],["fontIcon","help_outline",1,"material-icons-outlined"]],template:function(i,a){i&1&&z(0,uwe,9,8)(1,hwe,3,5),i&2&&$(0,a.item().posology.dayPart===a.dayParts.TO_PLAN?0:1)},dependencies:[ma,Wr,qr,ri,_i,Ga,vye],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}}.to-plan[_ngcontent-%COMP%] .btn-help[_ngcontent-%COMP%]{min-width:0px!important}"],changeDetection:0});let e=t;return e})(),pwe=()=>["moment","noData"],mwe=()=>["expandDetails"],fwe=e=>({count:e}),gwe=()=>({height:"47px",margin:"0px"});function vwe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.moment")," "))}function bwe(e,t){if(e&1&&(D(0,"td",21),P(1),O(2,"translate"),I()),e&2){let n=t.$implicit;C(),ue(" ",M(2,1,"medicationSchemeMoments."+n.posology.dayPart)," ")}}function _we(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.medication")," "))}function ywe(e,t){if(e&1){let n=Nt();D(0,"td",21)(1,"button",22),ye("click",function(){let i=Oe(n).$implicit,a=V();return Re(a.expandedElement=a.expandedElement===i?null:i)}),te(2,"mat-icon",23),D(3,"span",24),P(4),O(5,"translateValue"),O(6,"firstLetterUppercase"),I()()()}if(e&2){let n=t.$implicit,i=V();C(2),W("fontIcon",n===i.expandedElement?"expand_less":"expand_more"),C(2),pe(M(6,4,M(5,2,n.medication.name)))}}function xwe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.dose")," "))}function wwe(e,t){e&1&&(D(0,"div",25),P(1),O(2,"translateValue"),I()),e&2&&(C(),pe(M(2,1,t)))}function kwe(e,t){if(e&1&&(P(0),O(1,"translate")),e&2){let n=V();ue(" ",ni(1,1,"commons.administrationUnits."+n.unit,qa(4,fwe,n.value))," ")}}function Ewe(e,t){if(e&1&&(P(0),O(1,"quantity"),z(2,kwe,2,6)),e&2){let n=t;ue(" ",M(1,2,n.value)," "),C(2),$(2,n.unit?2:-1)}}function Cwe(e,t){if(e&1&&(D(0,"td",21),z(1,wwe,3,3,"div",25)(2,Ewe,3,4),I()),e&2){let n,i,a=t.$implicit;C(),$(1,(n=a.posology.text)?1:-1,n),C(),$(2,(i=a.posology.quantity)?2:-1,i)}}function Swe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.dayperiod")," "))}function Dwe(e,t){if(e&1&&(D(0,"td",21),te(1,"nihdi-medication-scheme-day-part",26),I()),e&2){let n=t.$implicit;C(),W("item",n)}}function Iwe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.remark")," "))}function Awe(e,t){if(e&1&&(D(0,"td",21),te(1,"nihdi-medication-scheme-remark-flag",27),I()),e&2){let n=t.$implicit,i=V();C(),W("item",n)("dateInfo",i.dateInfo())}}function Twe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.days")," "))}function Owe(e,t){e&1&&(D(0,"span"),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.days.allDays")," "))}function Rwe(e,t){e&1&&P(0,", ")}function Nwe(e,t){if(e&1&&(P(0),O(1,"weekdayName"),O(2,"translate"),O(3,"firstLetterUppercase"),z(4,Rwe,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;ue(" ",M(3,6,M(2,4,"medicationSchemeListView.days."+M(1,2,n))),""),C(4),$(4,i!==a-1?4:-1)}}function Pwe(e,t){if(e&1&&(D(0,"span",28),Ui(1,Nwe,5,8,null,null,Xi),I()),e&2){let n=V().$implicit,i=V();ke("aria-label",i.getAriaLabel(n.dates)),C(),Wi(n.dates)}}function Mwe(e,t){if(e&1&&(D(0,"td",21),z(1,Owe,3,3,"span")(2,Pwe,3,1),I()),e&2){let n=t.$implicit;Fn("white-space","nowrap"),C(),$(1,n.dates.length===7?1:n.dates.length<7?2:-1)}}function Lwe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.startCondition")," "))}function Fwe(e,t){if(e&1&&(D(0,"td",21),P(1),I()),e&2){let n=t.$implicit;C(),ue(" ",n.medication.treatmentStartCondition," ")}}function Vwe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.instructions")," "))}function zwe(e,t){if(e&1&&(D(0,"td",21),P(1),O(2,"translateValue"),I()),e&2){let n=t.$implicit;C(),ue(" ",M(2,1,n.medication.instructions)," ")}}function Bwe(e,t){e&1&&(D(0,"th",20),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.leaflet")," "))}function jwe(e,t){e&1&&(D(0,"a",29),O(1,"translateValue"),O(2,"translate"),te(3,"mat-icon",30),I()),e&2&&(W("href",M(1,2,t),Oy),ke("aria-label",M(2,4,"medicationSchemeListView.headers.leaflet")))}function Hwe(e,t){if(e&1&&(D(0,"td",21),z(1,jwe,4,6,"a",29),I()),e&2){let n,i=t.$implicit;C(),$(1,(n=i.medication.leaflet)?1:-1,n)}}function Uwe(e,t){if(e&1&&(D(0,"td",31)(1,"div",32),te(2,"nihdi-medication-scheme-details-row",33),I()()),e&2){let n=t.$implicit,i=V();Te("mh-detail-row--expanded",n===i.expandedElement),W("colSpan",i.columns().length),C(2),W("medication",n.medication)}}function Wwe(e,t){if(e&1&&(D(0,"td",21),P(1," / "),I()),e&2){let n=V();ke("colspan",n.columns().length-1)}}function qwe(e,t){e&1&&te(0,"tr",34)}function Ywe(e,t){if(e&1&&te(0,"tr",35),e&2){let n=V();W("hidden",n.isLoading())}}function Gwe(e,t){if(e&1&&te(0,"tr",35),e&2){let n=V();W("hidden",n.isLoading())}}function $we(e,t){if(e&1&&te(0,"tr",36),e&2){let n=V();W("hidden",n.isLoading())}}function Kwe(e,t){if(e&1&&te(0,"ngx-skeleton-loader",19),e&2){let n=V();W("count",n.dataSource().data.length<=0?3:n.dataSource.data.length>n.data.pagination.pageSize?n.data.pagination.pageSize:n.dataSource.data.length)("theme",on(2,gwe))}}var Zwe=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.isLoading=pt.required(),this.dateInfo=pt.required(),this.items=pt.required(),this.dataSource=Tn(()=>new FJ(this.items())),this.columns=Tn(()=>this.dateInfo().view===ua.WEEK?["moment","medication","dose","dayperiod","days","remark","leaflet"]:["moment","medication","dose","dayperiod","remark","leaflet"]),this.hasMedication=(i,a)=>a.medication,this.hasNoMedication=(i,a)=>!a.medication}getAriaLabel(i){let a=[Vt.MONDAY,Vt.TUESDAY,Vt.WEDNESDAY,Vt.THURSDAY,Vt.FRIDAY,Vt.SATURDAY,Vt.SUNDAY],r=i.map(o=>a[Vr(o)-1]).map(o=>this.translate.instant("commons.days."+o).toLowerCase()).join(", ");return this.translate.instant("medicationSchemeListView.toTake",{days:r})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-desktop"]],inputs:{isLoading:[R.SignalBased,"isLoading"],dateInfo:[R.SignalBased,"dateInfo"],items:[R.SignalBased,"items"]},standalone:!0,features:[we],decls:38,vars:14,consts:[["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","moment"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","medication"],["matColumnDef","dose"],["matColumnDef","dayperiod"],["matColumnDef","remark"],["matColumnDef","days"],["mat-cell","",3,"white-space",4,"matCellDef"],["matColumnDef","startCondition"],["matColumnDef","instructions"],["matColumnDef","leaflet"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["matColumnDef","noData"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["class","mh-detail-row","mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["appearance","line",3,"count","theme"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",1,"font",3,"click"],[1,"material-icons-outlined",3,"fontIcon"],[1,"textOverflow","align-left"],[1,"textOverflow"],[3,"item"],[3,"item","dateInfo"],[1,"chip"],["mat-icon-button","","color","primary","target","_blank",3,"href"],["fontIcon","menu_book",1,"material-icons-outlined"],["mat-cell","",3,"colSpan"],[1,"details"],[3,"medication"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row","",1,"mh-detail-row",3,"hidden"]],template:function(i,a){i&1&&(D(0,"table",0),O(1,"translate"),ui(2,1),z(3,vwe,3,3,"th",2)(4,bwe,3,3,"td",3),hi(),ui(5,4),z(6,_we,3,3,"th",2)(7,ywe,7,6,"td",3),hi(),ui(8,5),z(9,xwe,3,3,"th",2)(10,Cwe,3,2,"td",3),hi(),ui(11,6),z(12,Swe,3,3,"th",2)(13,Dwe,2,1,"td",3),hi(),ui(14,7),z(15,Iwe,3,3,"th",2)(16,Awe,2,2,"td",3),hi(),ui(17,8),z(18,Twe,3,3,"th",2)(19,Mwe,3,3,"td",9),hi(),ui(20,10),z(21,Lwe,3,3,"th",2)(22,Fwe,2,1,"td",3),hi(),ui(23,11),z(24,Vwe,3,3,"th",2)(25,zwe,3,3,"td",3),hi(),ui(26,12),z(27,Bwe,3,3,"th",2)(28,Hwe,2,1,"td",3),hi(),ui(29,13),z(30,Uwe,3,4,"td",14),hi(),ui(31,15),z(32,Wwe,2,1,"td",3),hi(),z(33,qwe,1,0,"tr",16)(34,Ywe,1,1,"tr",17)(35,Gwe,1,1,"tr",17)(36,$we,1,1,"tr",18),I(),z(37,Kwe,1,3,"ngx-skeleton-loader",19)),i&2&&(W("dataSource",a.dataSource()),ke("aria-label",M(1,10,"medicationSchemeDateToggler."+a.dateInfo().view)),C(33),W("matHeaderRowDef",a.columns()),C(),W("matRowDefColumns",a.columns())("matRowDefWhen",a.hasMedication),C(),W("matRowDefColumns",on(12,pwe))("matRowDefWhen",a.hasNoMedication),C(),W("matRowDefColumns",on(13,mwe))("matRowDefWhen",a.hasMedication),C(),$(37,a.isLoading()?37:-1))},dependencies:[LJ,SJ,IJ,RJ,AJ,DJ,NJ,TJ,OJ,PJ,MJ,ma,Wr,Yue,du,qr,ri,_i,hu,VJ,XX,xl,Ga,jf,Jbe],styles:["tr[_ngcontent-%COMP%]:not(.mh-detail-row) > td[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.chip[_ngcontent-%COMP%]{padding:4px 8px;border-radius:9999px;background-color:#b1edcf}.font[_ngcontent-%COMP%]{font-size:16px}"],changeDetection:0});let e=t;return e})(),Qwe=0,jp=new Z("CdkAccordion"),Xwe=(()=>{const t=class t{constructor(){this._stateChanges=new xe,this._openCloseAllActions=new xe,this.id=`cdk-accordion-${Qwe++}`,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(i){this._stateChanges.next(i)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=fe({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[R.HasDecoratorInputTransform,"multi","multi",ge]},exportAs:["cdkAccordion"],standalone:!0,features:[ht([{provide:jp,useExisting:t}]),dt,Gt]});let e=t;return e})(),Jwe=0,eke=(()=>{const t=class t{get expanded(){return this._expanded}set expanded(i){if(this._expanded!==i){if(this._expanded=i,this.expandedChange.emit(i),i){this.opened.emit();let a=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,a)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(i,a,r){this.accordion=i,this._changeDetectorRef=a,this._expansionDispatcher=r,this._openCloseAllSubscription=nt.EMPTY,this.closed=new ae,this.opened=new ae,this.destroyed=new ae,this.expandedChange=new ae,this.id=`cdk-accordion-child-${Jwe++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(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(i=>{this.disabled||(this.expanded=i)})}};t.ɵfac=function(i){return new(i||t)(k(jp,12),k(St),k(E1))},t.ɵdir=fe({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[R.HasDecoratorInputTransform,"expanded","expanded",ge],disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[ht([{provide:jp,useValue:void 0}]),dt]});let e=t;return e})(),tke=["body"],ike=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ake=["mat-expansion-panel-header","*","mat-action-row"];function nke(e,t){}var rke=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],oke=["mat-panel-title","mat-panel-description","*"];function ske(e,t){if(e&1&&(D(0,"span",1),cl(),D(1,"svg",2),te(2,"path",3),I()()),e&2){let n=V();W("@indicatorRotate",n._getExpandedState())}}var Hp=new Z("MAT_ACCORDION"),u0="225ms cubic-bezier(0.4,0.0,0.2,1)",zJ={indicatorRotate:aa("indicatorRotate",[Zt("collapsed, void",qe({transform:"rotate(0deg)"})),Zt("expanded",qe({transform:"rotate(180deg)"})),Qt("expanded <=> collapsed, void => collapsed",ai(u0))]),bodyExpansion:aa("bodyExpansion",[Zt("collapsed, void",qe({height:"0px",visibility:"hidden"})),Zt("expanded",qe({height:"*",visibility:""})),Qt("expanded <=> collapsed, void => collapsed",ai(u0))])},BJ=new Z("MAT_EXPANSION_PANEL"),lke=(()=>{const t=class t{constructor(i,a){this._template=i,this._expansionPanel=a}};t.ɵfac=function(i){return new(i||t)(k(gi),k(BJ,8))},t.ɵdir=fe({type:t,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});let e=t;return e})(),cke=0,jJ=new Z("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),HJ=(()=>{const t=class t extends eke{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}constructor(i,a,r,o,s,l,c){super(i,a,r),this._viewContainerRef=o,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new ae,this.afterCollapse=new ae,this._inputChanges=new xe,this._headerId=`mat-expansion-panel-header-${cke++}`,this.accordion=i,this._document=s,this._animationsDisabled=l==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Ei(null),ki(()=>this.expanded&&!this._portal),pi(1)).subscribe(()=>{this._portal=new Zo(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(i){this._inputChanges.next(i)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let i=this._document.activeElement,a=this._body.nativeElement;return i===a||a.contains(i)}return!1}_animationStarted(i){var a;!h0(i)&&!this._animationsDisabled&&this._body&&((a=this._body)==null||a.nativeElement.setAttribute("inert",""))}_animationDone(i){h0(i)||(i.toState==="expanded"?this.afterExpand.emit():i.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}};t.ɵfac=function(i){return new(i||t)(k(Hp,12),k(St),k(E1),k(Fi),k(Ye),k(Ti,8),k(jJ,8))},t.ɵcmp=ve({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,a,r){if(i&1&&lt(r,lke,5),i&2){let o;be(o=_e())&&(a._lazyContent=o.first)}},viewQuery:function(i,a){if(i&1&&gt(tke,5),i&2){let r;be(r=_e())&&(a._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,a){i&2&&Te("mat-expanded",a.expanded)("_mat-animation-noopable",a._animationsDisabled)("mat-expansion-panel-spacing",a._hasSpacing())},inputs:{hideToggle:[R.HasDecoratorInputTransform,"hideToggle","hideToggle",ge],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[ht([{provide:Hp,useValue:void 0},{provide:BJ,useExisting:t}]),dt,je,Gt,we],ngContentSelectors:ake,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,a){if(i&1){let r=Nt();Pt(ike),Ae(0),D(1,"div",1,0),ye("@bodyExpansion.start",function(o){return Oe(r),Re(a._animationStarted(o))})("@bodyExpansion.done",function(o){return Oe(r),Re(a._animationDone(o))}),D(3,"div",2),Ae(4,1),z(5,nke,0,0,"ng-template",3),I(),Ae(6,2),I()}i&2&&(C(),W("@bodyExpansion",a._getExpandedState())("id",a.id),ke("aria-labelledby",a._headerId),C(4),W("cdkPortalOutlet",a._portal))},dependencies:[On],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.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);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[zJ.bodyExpansion]},changeDetection:0});let e=t;return e})();function h0(e){return e.fromState==="void"}var UJ=(()=>{const t=class t{constructor(i,a,r,o,s,l,c){this.panel=i,this._element=a,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=l,this._parentChangeSubscription=nt.EMPTY,this.tabIndex=0;let u=i.accordion?i.accordion._stateChanges.pipe(ki(p=>!!(p.hideToggle||p.togglePosition))):il;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=mi(i.opened,i.closed,u,i._inputChanges.pipe(ki(p=>!!(p.hideToggle||p.disabled||p.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),i.closed.pipe(ki(()=>i._containsFocus())).subscribe(()=>r.focusVia(a,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 i=this._isExpanded();return i&&this.expandedHeight?this.expandedHeight:!i&&this.collapsedHeight?this.collapsedHeight:null}_keydown(i){switch(i.keyCode){case 32:case 13:Zi(i)||(i.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(i);return}}focus(i,a){i?this._focusMonitor.focusVia(this._element,i,a):this._element.nativeElement.focus(a)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(i=>{i&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};t.ɵfac=function(i){return new(i||t)(k(HJ,1),k(Ce),k(Ur),k(St),k(jJ,8),k(Ti,8),Bo("tabindex"))},t.ɵcmp=ve({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,a){i&1&&ye("click",function(){return a._toggle()})("keydown",function(r){return a._keydown(r)}),i&2&&(ke("id",a.panel._headerId)("tabindex",a.disabled?-1:a.tabIndex)("aria-controls",a._getPanelId())("aria-expanded",a._isExpanded())("aria-disabled",a.panel.disabled),Fn("height",a._getHeaderHeight()),Te("mat-expanded",a._isExpanded())("mat-expansion-toggle-indicator-after",a._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",a._getTogglePosition()==="before")("_mat-animation-noopable",a._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[R.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?0:sn(i)]},standalone:!0,features:[dt,we],ngContentSelectors:oke,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,a){i&1&&(Pt(rke),D(0,"span",0),Ae(1),Ae(2,1),Ae(3,2),I(),z(4,ske,3,1,"span",1)),i&2&&(Te("mat-content-hide-toggle",!a._showToggle()),C(4),$(4,a._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.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)}@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)}}.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)}.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)}.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)}.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);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[zJ.indicatorRotate]},changeDetection:0});let e=t;return e})(),dke=(()=>{const t=class t extends Xwe{constructor(){super(...arguments),this._ownHeaders=new Ao,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(Ei(this._headers)).subscribe(i=>{this._ownHeaders.reset(i.filter(a=>a.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new rf(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()}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵdir=fe({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,a,r){if(i&1&&lt(r,UJ,5),i&2){let o;be(o=_e())&&(a._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,a){i&2&&Te("mat-accordion-multi",a.multi)},inputs:{hideToggle:[R.HasDecoratorInputTransform,"hideToggle","hideToggle",ge],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[ht([{provide:Hp,useExisting:t}]),dt,je]});let e=t;return e})();function uke(e,t){return this.dates()}function hke(e,t){if(e&1&&(D(0,"span",0),P(1),O(2,"translate"),O(3,"firstLetterUppercase"),I()),e&2){let n=t.$implicit,i=V();W("ngClass",i.activeWeekDays().includes(n)?"active":"inactive"),C(),ue(" ",M(3,4,M(2,2,"medicationSchemeListView.days."+n))," ")}}var pke=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.dates=pt.required(),this.allDays=[Vt.MONDAY,Vt.TUESDAY,Vt.WEDNESDAY,Vt.THURSDAY,Vt.FRIDAY,Vt.SATURDAY,Vt.SUNDAY],this.activeWeekDays=Tn(()=>this.dates().map(i=>this.allDays[Vr(i)-1]))}get ariaLabel(){let i=this.dates().map(a=>this.allDays[Vr(a)-1]).map(a=>this.translate.instant("commons.days."+a).toLowerCase()).join(", ");return this.translate.instant("medicationSchemeListView.toTake",{days:i})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-weekdays-intake"]],hostVars:1,hostBindings:function(i,a){i&2&&ke("aria-label",a.ariaLabel)},inputs:{dates:[R.SignalBased,"dates"]},standalone:!0,features:[we],decls:2,vars:0,consts:[[3,"ngClass"]],template:function(i,a){i&1&&Ui(0,hke,4,6,"span",0,uke,!0),i&2&&Wi(a.allDays)},dependencies:[$d,ri,_i,Ga],styles:["[_nghost-%COMP%]{display:flex;margin:16px 0}@media only screen and (max-width: 600px){[_nghost-%COMP%]{justify-content:space-between}}@media only screen and (min-width: 600px){[_nghost-%COMP%] span[_ngcontent-%COMP%]{margin-right:8px}}[_nghost-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;border-radius:8px;padding:4px}@media (max-width: 360px){[_nghost-%COMP%] span[_ngcontent-%COMP%]{padding:2px}}[_nghost-%COMP%] .active[_ngcontent-%COMP%]{color:#001b2e;background:#dff8ec;border:2px solid #76e1b1}[_nghost-%COMP%] .inactive[_ngcontent-%COMP%]{color:#d9d9d9;background:transparent;border:2px solid #d9d9d9}"],changeDetection:0});let e=t;return e})(),mke=e=>({count:e});function fke(e,t){e&1&&(P(0),O(1,"translateValue")),e&2&&ue(" ",M(1,1,t)," ")}function gke(e,t){if(e&1&&(P(0),O(1,"translate")),e&2){let n=V();ue(" ",ni(1,1,"commons.administrationUnits."+n.unit,qa(4,mke,n.value))," ")}}function vke(e,t){if(e&1&&(P(0),O(1,"quantity"),z(2,gke,2,6)),e&2){let n=t;ue(" ",M(1,2,n.value)," "),C(2),$(2,n.unit?2:-1)}}function bke(e,t){e&1&&(D(0,"p"),P(1),I()),e&2&&(C(),pe(t))}function _ke(e,t){e&1&&(D(0,"p"),P(1),I()),e&2&&(C(),pe(t))}function yke(e,t){if(e&1&&(z(0,bke,2,1,"p")(1,_ke,2,1,"p"),O(2,"translateValue")),e&2){let n,i,a=V();$(0,(n=a.item().medication.treatmentStartCondition)?0:-1,n),C(),$(1,(i=M(2,2,a.item().medication.instructions))?1:-1,i)}}function xke(e,t){if(e&1&&te(0,"nihdi-medication-scheme-weekdays-intake",3),e&2){let n=V(2);W("dates",n.item().dates)}}function wke(e,t){if(e&1&&(z(0,xke,1,1,"nihdi-medication-scheme-weekdays-intake",3),te(1,"nihdi-medication-scheme-remark-flag",2)),e&2){let n=V();$(0,n.dateInfo().view===n.views.WEEK?0:-1),C(),W("item",n.item())("dateInfo",n.dateInfo())}}var kke=(()=>{const t=class t{constructor(){this.activeTab=pt.required(),this.dateInfo=pt.required(),this.item=pt.required(),this.dayParts=Le,this.views=ua}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-card"]],inputs:{activeTab:[R.SignalBased,"activeTab"],dateInfo:[R.SignalBased,"dateInfo"],item:[R.SignalBased,"item"]},standalone:!0,features:[we],decls:13,vars:10,consts:[[1,"textOverflow"],[3,"item"],[3,"item","dateInfo"],[3,"dates"]],template:function(i,a){if(i&1&&(D(0,"mat-card")(1,"mat-card-content")(2,"strong",0),P(3),O(4,"translateValue"),O(5,"firstLetterUppercase"),I(),D(6,"p",0),z(7,fke,2,3)(8,vke,3,4),I(),D(9,"p"),te(10,"nihdi-medication-scheme-day-part",1),I(),z(11,yke,3,4)(12,wke,2,3,"nihdi-medication-scheme-remark-flag",2),I()()),i&2){let r,o;C(3),pe(M(5,8,M(4,6,a.item().medication.name))),C(4),$(7,(r=a.item().posology.text)?7:-1,r),C(),$(8,(o=a.item().posology.quantity)?8:-1,o),C(2),W("item",a.item()),C(),$(11,a.activeTab()===a.dayParts.IF_NEEDED?11:-1),C(),$(12,a.activeTab()!==a.dayParts.IF_NEEDED?12:-1)}},dependencies:[lJ,Kf,Zf,ma,du,ri,_i,hu,pke,VJ,xl,Ga,jf],styles:["mat-card[_ngcontent-%COMP%]{margin-top:12px}mat-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:16px}"],changeDetection:0});let e=t;return e})(),Eke=()=>({height:"250px",margin:"3px"});function Cke(e,t){e&1&&te(0,"ngx-skeleton-loader",1),e&2&&W("count",2)("theme",on(2,Eke))}function Ske(e,t){if(e&1){let n=Nt();D(0,"nihdi-medication-scheme-card",3),ye("click",function(){let i=Oe(n).$implicit,a=V(4);return Re(a.clickDetails.emit(i.medication.id))}),I()}if(e&2){let n=t.$implicit,i=V(3).$implicit,a=V();W("activeTab",i.part)("dateInfo",a.dateInfo())("item",n)}}function Dke(e,t){if(e&1&&Ui(0,Ske,1,3,"nihdi-medication-scheme-card",2,Xi),e&2){let n=V();Wi(n)}}function Ike(e,t){if(e&1&&(D(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"strong"),P(3),O(4,"translate"),I()(),z(5,Cke,1,3,"ngx-skeleton-loader",1)(6,Dke,2,0),I()),e&2){let n=t,i=V().$implicit,a=V();W("disabled",!a.isLoading()&&n.length<=0),C(3),qo("",M(4,4,"medicationSchemeMoments."+i)," (",n.length,")"),C(2),$(5,a.isLoading()?5:6)}}function Ake(e,t){if(e&1&&(z(0,Ike,7,6,"mat-expansion-panel",0),O(1,"filterMedicationByDayPart")),e&2){let n,i=t.$implicit,a=V();$(0,(n=ni(1,1,a.items(),i))?0:-1,n)}}var Tke=(()=>{const t=class t{constructor(){this.isLoading=pt.required(),this.dateInfo=pt.required(),this.items=pt.required({transform:this.filterOutUndefinedMedications}),this.clickDetails=ul(),this.dayPartOrder=Object.values(Le)}filterOutUndefinedMedications(i){return i.filter(a=>a.medication)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-mobile"]],inputs:{isLoading:[R.SignalBased,"isLoading"],dateInfo:[R.SignalBased,"dateInfo"],items:[R.SignalBased,"items"]},outputs:{clickDetails:"clickDetails"},standalone:!0,features:[we],decls:3,vars:0,consts:[[3,"disabled"],["appearence","line",3,"count","theme"],[3,"activeTab","dateInfo","item"],[3,"click","activeTab","dateInfo","item"]],template:function(i,a){i&1&&(D(0,"mat-accordion"),Ui(1,Ake,2,4,null,null,Xi),I()),i&2&&(C(),Wi(a.dayPartOrder))},dependencies:[dke,HJ,UJ,El,kl,kke,k0e,ri,_i],styles:["mat-expansion-panel-header[_ngcontent-%COMP%]{color:#2473db}mat-card[_ngcontent-%COMP%]{margin-top:12px}.last-day-label[_ngcontent-%COMP%]{border:2px solid #e68619;font-weight:700;padding:4px 8px;border-radius:8px;min-width:140px!important}dd[_ngcontent-%COMP%]{margin-bottom:16px;margin-top:8px;margin-inline-start:12px}button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{padding:0;min-width:0px!important}"],changeDetection:0});let e=t;return e})();function Oke(e,t){if(e&1&&(D(0,"p",3),P(1),O(2,"translate"),I()),e&2){let n=V();C(),pe(M(2,1,"medicationSchemeListView.noMedications."+n.activeDate().view))}}var Rke=(()=>{const t=class t{constructor(){this.isLoading=pt.required(),this.filteredMedicationViewItems=pt.required(),this.activeDate=Xm.required(),this.clickDetails=ul()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-moment-view"]],inputs:{isLoading:[R.SignalBased,"isLoading"],filteredMedicationViewItems:[R.SignalBased,"filteredMedicationViewItems"],activeDate:[R.SignalBased,"activeDate"]},outputs:{activeDate:"activeDateChange",clickDetails:"clickDetails"},standalone:!0,features:[we],decls:4,vars:8,consts:[[3,"activeDateChange","activeDate"],[3,"isLoading","dateInfo","items"],[3,"clickDetails","isLoading","dateInfo","items"],[1,"no-content"]],template:function(i,a){i&1&&(D(0,"nihdi-medication-scheme-date-toggler",0),Go("activeDateChange",function(r){return pl(a.activeDate,r)||(a.activeDate=r),r}),I(),te(1,"nihdi-medication-scheme-desktop",1),D(2,"nihdi-medication-scheme-mobile",2),ye("clickDetails",function(r){return a.clickDetails.emit(r)}),I(),z(3,Oke,3,3,"p",3)),i&2&&(Yo("activeDate",a.activeDate),C(),W("isLoading",a.isLoading())("dateInfo",a.activeDate())("items",a.filteredMedicationViewItems()),C(),W("isLoading",a.isLoading())("dateInfo",a.activeDate())("items",a.filteredMedicationViewItems()),C(),$(3,!a.isLoading()&&a.filteredMedicationViewItems().length<=0?3:-1))},dependencies:[ma,ri,_i,Zwe,Tke,F1e],styles:["@media only screen and (min-width: 960px){nihdi-medication-scheme-mobile[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width: 960px){nihdi-medication-scheme-desktop[_ngcontent-%COMP%]{display:none}}.tab-label[_ngcontent-%COMP%]{font-weight:700;font-size:18px;padding-left:16px}.no-medication-label[_ngcontent-%COMP%]{font-weight:400;font-size:16px}"],changeDetection:0});let e=t;return e})(),Nke=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.isLoading=pt.required(),this.medicationScheme=pt.required(),this.view=pt.required(),this.clickDetails=ul(),this.loadingStatus=er,this.fnsOptions={weekStartsOn:1},this.dateToggleEmit=Bs({displayDate:new Date,startOfWeek:ka(new Date,this.fnsOptions),endOfWeek:Wf(new Date,this.fnsOptions)}),this.activeDate=Tn(()=>Se({view:this.view()},this.dateToggleEmit())),this.currentLang=qw(this.translate.onLangChange.pipe(Dt(i=>i.lang),Ei(this.translate.currentLang))),this.filteredMedicationViewItems=Tn(()=>{let i=this.medicationScheme(),a=Object.values(Le);if(!this.isLoading()&&i){let r=_0e(i.medications),o=this.filterMedications(r,this.activeDate());return a.forEach(s=>{o.some(l=>l.posology.dayPart===s)||o.push({medication:void 0,posology:{dayPart:s}})}),v0e(o,this.currentLang())}return[]})}filterMedications(i,a){if(this.view()==ua.DAY)return i.filter(o=>Gb(o,a.displayDate));let r=i0e(a.startOfWeek,a.endOfWeek);return i.map(o=>ti(Se({},o),{dates:r.filter(s=>Gb(o,s))})).filter(o=>o.dates.length)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-daily-weekly"]],inputs:{isLoading:[R.SignalBased,"isLoading"],medicationScheme:[R.SignalBased,"medicationScheme"],view:[R.SignalBased,"view"]},outputs:{clickDetails:"clickDetails"},standalone:!0,features:[we],decls:1,vars:3,consts:[[3,"activeDateChange","clickDetails","isLoading","filteredMedicationViewItems","activeDate"]],template:function(i,a){i&1&&(D(0,"nihdi-medication-scheme-moment-view",0),ye("activeDateChange",function(r){return a.dateToggleEmit.set(r)})("clickDetails",function(r){return a.clickDetails.emit(r)}),I()),i&2&&W("isLoading",a.isLoading())("filteredMedicationViewItems",a.filteredMedicationViewItems())("activeDate",a.activeDate())},dependencies:[Rke],encapsulation:2,changeDetection:0});let e=t;return e})(),WJ=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],qJ=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Pke(e,t){e&1&&(D(0,"span",3),Ae(1,1),I())}function Mke(e,t){e&1&&(D(0,"span",6),Ae(1,2),I())}function Lke(e,t){e&1&&(D(0,"span",3),Ae(1,1),D(2,"span",8),cl(),D(3,"svg",9),te(4,"path",10),I()()())}function Fke(e,t){e&1&&(D(0,"span",6),Ae(1,2),I())}var Vke='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.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)}.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)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.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)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-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)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.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)}.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)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.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}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',YJ=["*"],zke=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.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}",Jf=new Z("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),p0=new Z("MatChipAvatar"),m0=new Z("MatChipTrailingIcon"),f0=new Z("MatChipRemove"),eg=new Z("MatChip"),Up=(()=>{const t=class t{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,a){this._elementRef=i,this._parentChip=a,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,i.nativeElement.nodeName==="BUTTON"&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(eg))},t.ɵdir=fe({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&ye("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(ke("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),Te("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],tabIndex:[R.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?-1:sn(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[dt]});let e=t;return e})(),Bke=0,Wp=(()=>{const t=class t{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get ripple(){var i;return(i=this._rippleLoader)==null?void 0:i.getRipple(this._elementRef.nativeElement)}set ripple(i){var a;(a=this._rippleLoader)==null||a.attachRipple(this._elementRef.nativeElement,i)}constructor(i,a,r,o,s,l,c,u){var p;this._changeDetectorRef=i,this._elementRef=a,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=c,this._onFocus=new xe,this._onBlur=new xe,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${Bke++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new ae,this.destroyed=new ae,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=q(L1),this._document=s,this._animationsDisabled=l==="NoopAnimations",u!=null&&(this.tabIndex=parseInt(u)??-1),this._monitorFocus(),(p=this._rippleLoader)==null||p.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.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=mi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(pi(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}};t.ɵfac=function(i){return new(i||t)(k(St),k(Ce),k(Pe),k(Ur),k(Ye),k(Ti,8),k(hf,8),Bo("tabindex"))},t.ɵcmp=ve({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(lt(r,p0,5),lt(r,m0,5),lt(r,f0,5),lt(r,p0,5),lt(r,m0,5),lt(r,f0,5)),i&2){let o;be(o=_e())&&(a.leadingIcon=o.first),be(o=_e())&&(a.trailingIcon=o.first),be(o=_e())&&(a.removeIcon=o.first),be(o=_e())&&(a._allLeadingIcons=o),be(o=_e())&&(a._allTrailingIcons=o),be(o=_e())&&(a._allRemoveIcons=o)}},viewQuery:function(i,a){if(i&1&&gt(Up,5),i&2){let r;be(r=_e())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(i,a){i&1&&ye("keydown",function(r){return a._handleKeydown(r)}),i&2&&(Da("id",a.id),ke("role",a.role)("tabindex",a._getTabIndex())("aria-label",a.ariaLabel),ja("mat-"+(a.color||"primary")),Te("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[R.None,"aria-label","ariaLabel"],ariaDescription:[R.None,"aria-description","ariaDescription"],value:"value",color:"color",removable:[R.HasDecoratorInputTransform,"removable","removable",ge],highlighted:[R.HasDecoratorInputTransform,"highlighted","highlighted",ge],disableRipple:[R.HasDecoratorInputTransform,"disableRipple","disableRipple",ge],disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],tabIndex:[R.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?void 0:sn(i)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[ht([{provide:eg,useExisting:t}]),dt,we],ngContentSelectors:qJ,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-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,a){i&1&&(Pt(WJ),te(0,"span",0),D(1,"span",1)(2,"span",2),z(3,Pke,2,0,"span",3),D(4,"span",4),Ae(5),te(6,"span",5),I()()(),z(7,Mke,2,0,"span",6)),i&2&&(C(2),W("isInteractive",!1),C(),$(3,a.leadingIcon?3:-1),C(4),$(7,a._hasTrailingIcon()?7:-1))},dependencies:[Up],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.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)}.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)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.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)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-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)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.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)}.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)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.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}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let e=t;return e})(),GJ=(()=>{const t=class t extends Wp{constructor(){var i;super(...arguments),this._defaultOptions=q(Jf,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=((i=this._defaultOptions)==null?void 0:i.hideSingleSelectionIndicator)??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new ae}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(i){this._selectable=i,this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(i){this._setSelectedState(i,!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(i=!1){return this._setSelectedState(!this.selected,i,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(i,a,r){i!==this.selected&&(this._selected=i,r&&this.selectionChange.emit({source:this,isUserInput:a,selected:this.selected}),this._changeDetectorRef.markForCheck())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(i,a){i&2&&(Da("id",a.id),ke("tabindex",null)("aria-label",null)("aria-description",null)("role",a.role),Te("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--filter",!a._isBasicChip)("mdc-evolution-chip--selectable",!a._isBasicChip)("mat-mdc-chip-selected",a.selected)("mat-mdc-chip-multiple",a._chipListMultiple)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-chip-with-avatar",a.leadingIcon)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--selected",a.selected)("mdc-evolution-chip--selecting",!a._animationsDisabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-primary-graphic",a._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon()))},inputs:{selectable:[R.HasDecoratorInputTransform,"selectable","selectable",ge],selected:[R.HasDecoratorInputTransform,"selected","selected",ge]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[ht([{provide:Wp,useExisting:t},{provide:eg,useExisting:t}]),dt,je,we],ngContentSelectors:qJ,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],[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-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(i,a){i&1&&(Pt(WJ),te(0,"span",0),D(1,"span",1)(2,"button",2),z(3,Lke,5,0,"span",3),D(4,"span",4),Ae(5),te(6,"span",5),I()()(),z(7,Fke,2,0,"span",6),D(8,"span",7),P(9),I()),i&2&&(C(2),W("tabIndex",a.tabIndex)("_allowFocusWhenDisabled",!0),ke("aria-selected",a.ariaSelected)("aria-label",a.ariaLabel)("aria-describedby",a._ariaDescriptionId),C(),$(3,a._hasLeadingGraphic()?3:-1),C(4),$(7,a._hasTrailingIcon()?7:-1),C(),W("id",a._ariaDescriptionId),C(),pe(a.ariaDescription))},dependencies:[Up],styles:[Vke],encapsulation:2,changeDetection:0});let e=t;return e})(),jke=(()=>{const t=class t{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,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(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,a,r){this._elementRef=i,this._changeDetectorRef=a,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new xe,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Ao}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var i;(i=this._keyManager)==null||i.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){if(this.tabIndex!==-1){let i=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=i)}}_getChipStream(i){return this._chips.changes.pipe(Ei(null),ir(()=>mi(...this._chips.map(i))))}_originatesFromChip(i){let a=i.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var i;this._chips.changes.pipe(Ei(this._chips)).subscribe(a=>{let r=[];a.forEach(o=>o._getActions().forEach(s=>r.push(s))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new rf(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(ft(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(i=this._dir)==null||i.change.pipe(ft(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ei(null),ft(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(ft(this._destroyed)).subscribe(i=>{let a=this._chips.toArray().indexOf(i.chip);this._isValidIndex(a)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[i];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};t.ɵfac=function(i){return new(i||t)(k(Ce),k(St),k(Pi,8))},t.ɵcmp=ve({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,a,r){if(i&1&&lt(r,Wp,5),i&2){let o;be(o=_e())&&(a._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,a){i&1&&ye("keydown",function(r){return a._handleKeydown(r)}),i&2&&ke("role",a.role)},inputs:{disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],role:"role",tabIndex:[R.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?0:sn(i)]},standalone:!0,features:[dt,we],ngContentSelectors:YJ,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(Pt(),D(0,"div",0),Ae(1),I())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let e=t;return e})(),Hke=class{constructor(e,t){this.source=e,this.value=t}},Uke={provide:eu,useExisting:Nn(()=>$J),multi:!0},$J=(()=>{const t=class t extends jke{constructor(){var i;super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=q(Jf,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(a,r)=>a===r,this.required=!1,this._hideSingleSelectionIndicator=((i=this._defaultOptions)==null?void 0:i.hideSingleSelectionIndicator)??!1,this.change=new ae,this._chips=void 0}get multiple(){return this._multiple}set multiple(i){this._multiple=i,this._syncListboxProperties()}get selected(){let i=this._chips.toArray().filter(a=>a.selected);return this.multiple?i:i[0]}get selectable(){return this._selectable}set selectable(i){this._selectable=i,this._syncListboxProperties()}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(i=>i.selectionChange)}get chipBlurChanges(){return this._getChipStream(i=>i._onBlur)}get value(){return this._value}set value(i){this.writeValue(i),this._value=i}ngAfterContentInit(){this._pendingInitialValue!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(Ei(null),ft(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(ft(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(ft(this._destroyed)).subscribe(i=>{this.multiple||this._chips.forEach(a=>{a!==i.source&&a._setSelectedState(!1,!1,!1)}),i.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let i=this._getFirstSelectedChip();i&&!i.disabled?i.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(i){this._chips?this._setSelectionByValue(i,!1):i!=null&&(this._pendingInitialValue=i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_setSelectionByValue(i,a=!0){this._clearSelection(),Array.isArray(i)?i.forEach(r=>this._selectValue(r,a)):this._selectValue(i,a)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(i){i.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let i=null;Array.isArray(this.selected)?i=this.selected.map(a=>a.value):i=this.selected?this.selected.value:void 0,this._value=i,this.change.emit(new Hke(this,i)),this._onChange(i),this._changeDetectorRef.markForCheck()}_clearSelection(i){this._chips.forEach(a=>{a!==i&&a.deselect()})}_selectValue(i,a){let r=this._chips.find(o=>o.value!=null&&this.compareWith(o.value,i));return r&&(a?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(i=>{i._chipListMultiple=this.multiple,i.chipListSelectable=this._selectable,i._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,i._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(i){return!i.isInteractive}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["mat-chip-listbox"]],contentQueries:function(i,a,r){if(i&1&&lt(r,GJ,5),i&2){let o;be(o=_e())&&(a._chips=o)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(i,a){i&1&&ye("focus",function(){return a.focus()})("blur",function(){return a._blur()})("keydown",function(r){return a._keydown(r)}),i&2&&(Da("tabIndex",a.disabled||a.empty?-1:a.tabIndex),ke("role",a.role)("aria-describedby",a._ariaDescribedby||null)("aria-required",a.role?a.required:null)("aria-disabled",a.disabled.toString())("aria-multiselectable",a.multiple)("aria-orientation",a.ariaOrientation),Te("mat-mdc-chip-list-disabled",a.disabled)("mat-mdc-chip-list-required",a.required))},inputs:{multiple:[R.HasDecoratorInputTransform,"multiple","multiple",ge],ariaOrientation:[R.None,"aria-orientation","ariaOrientation"],selectable:[R.HasDecoratorInputTransform,"selectable","selectable",ge],compareWith:"compareWith",required:[R.HasDecoratorInputTransform,"required","required",ge],hideSingleSelectionIndicator:[R.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ge],value:"value"},outputs:{change:"change"},standalone:!0,features:[ht([Uke]),dt,je,we],ngContentSelectors:YJ,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(Pt(),D(0,"div",0),Ae(1),I())},styles:[zke],encapsulation:2,changeDetection:0});let e=t;return e})(),Wke=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[Qo,{provide:Jf,useValue:{separatorKeyCodes:[13]}}],imports:[Yt,pf,Yt]});let e=t;return e})(),qke=["*"];function Yke(e,t){if(e&1){let n=Nt();D(0,"div",2),ye("@arrowPosition.start",function(){Oe(n);let i=V();return Re(i._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){Oe(n);let i=V();return Re(i._disableViewStateAnimation=!1)}),te(1,"div",3),D(2,"div",4),te(3,"div",5)(4,"div",6)(5,"div",7),I()()}if(e&2){let n=V();W("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),C(2),W("@indicator",n._getArrowDirectionState()),C(),W("@leftPointer",n._getArrowDirectionState()),C(),W("@rightPointer",n._getArrowDirectionState())}}var KJ=new Z("MAT_SORT_DEFAULT_OPTIONS"),qp=(()=>{const t=class t{get direction(){return this._direction}set direction(i){this._direction=i}constructor(i){this._defaultOptions=i,this._initializedStream=new _d(1),this.sortables=new Map,this._stateChanges=new xe,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new ae,this.initialized=this._initializedStream}register(i){this.sortables.set(i.id,i)}deregister(i){this.sortables.delete(i.id)}sort(i){this.active!=i.id?(this.active=i.id,this.direction=i.start?i.start:this.start):this.direction=this.getNextSortDirection(i),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(i){var s;if(!i)return"";let a=(i==null?void 0:i.disableClear)??this.disableClear??!!((s=this._defaultOptions)!=null&&s.disableClear),r=Gke(i.start||this.start,a),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};t.ɵfac=function(i){return new(i||t)(k(KJ,8))},t.ɵdir=fe({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[R.None,"matSortActive","active"],start:[R.None,"matSortStart","start"],direction:[R.None,"matSortDirection","direction"],disableClear:[R.HasDecoratorInputTransform,"matSortDisableClear","disableClear",ge],disabled:[R.HasDecoratorInputTransform,"matSortDisabled","disabled",ge]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[dt,Gt]});let e=t;return e})();function Gke(e,t){let n=["asc","desc"];return e=="desc"&&n.reverse(),t||n.push(""),n}var qn=kue.ENTERING+" "+wue.STANDARD_CURVE,to={indicator:aa("indicator",[Zt("active-asc, asc",qe({transform:"translateY(0px)"})),Zt("active-desc, desc",qe({transform:"translateY(10px)"})),Qt("active-asc <=> active-desc",ai(qn))]),leftPointer:aa("leftPointer",[Zt("active-asc, asc",qe({transform:"rotate(-45deg)"})),Zt("active-desc, desc",qe({transform:"rotate(45deg)"})),Qt("active-asc <=> active-desc",ai(qn))]),rightPointer:aa("rightPointer",[Zt("active-asc, asc",qe({transform:"rotate(45deg)"})),Zt("active-desc, desc",qe({transform:"rotate(-45deg)"})),Qt("active-asc <=> active-desc",ai(qn))]),arrowOpacity:aa("arrowOpacity",[Zt("desc-to-active, asc-to-active, active",qe({opacity:1})),Zt("desc-to-hint, asc-to-hint, hint",qe({opacity:.54})),Zt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",qe({opacity:0})),Qt("* => asc, * => desc, * => active, * => hint, * => void",ai("0ms")),Qt("* <=> *",ai(qn))]),arrowPosition:aa("arrowPosition",[Qt("* => desc-to-hint, * => desc-to-active",ai(qn,lo([qe({transform:"translateY(-25%)"}),qe({transform:"translateY(0)"})]))),Qt("* => hint-to-desc, * => active-to-desc",ai(qn,lo([qe({transform:"translateY(0)"}),qe({transform:"translateY(25%)"})]))),Qt("* => asc-to-hint, * => asc-to-active",ai(qn,lo([qe({transform:"translateY(25%)"}),qe({transform:"translateY(0)"})]))),Qt("* => hint-to-asc, * => active-to-asc",ai(qn,lo([qe({transform:"translateY(0)"}),qe({transform:"translateY(-25%)"})]))),Zt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",qe({transform:"translateY(0)"})),Zt("hint-to-desc, active-to-desc, desc",qe({transform:"translateY(-25%)"})),Zt("hint-to-asc, active-to-asc, asc",qe({transform:"translateY(25%)"}))]),allowChildren:aa("allowChildren",[Qt("* <=> *",[U1("@*",H1(),{optional:!0})])])},dd=(()=>{const t=class t{constructor(){this.changes=new xe}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=J({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function $ke(e){return e||new dd}var Kke={provide:dd,deps:[[new Fo,new Vo,dd]],useFactory:$ke},Zke=(()=>{const t=class t{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(i){this._updateSortActionDescription(i)}constructor(i,a,r,o,s,l,c,u){this._intl=i,this._changeDetectorRef=a,this._sort=r,this._columnDef=o,this._focusMonitor=s,this._elementRef=l,this._ariaDescriber=c,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",u!=null&&u.arrowPosition&&(this.arrowPosition=u==null?void 0:u.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=!!i;a!==this._showIndicatorHint&&(this._setIndicatorHintVisible(a),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){var i;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription))}_setIndicatorHintVisible(i){this._isDisabled()&&i||(this._showIndicatorHint=i,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(i){this._viewState=i||{},this._disableViewStateAnimation&&(this._viewState={toState:i.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(i){!this._isDisabled()&&(i.keyCode===32||i.keyCode===13)&&(i.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let i=this._viewState.fromState;return(i?`${i}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(i){var a,r;this._sortButton&&((a=this._ariaDescriber)==null||a.removeDescription(this._sortButton,this._sortActionDescription),(r=this._ariaDescriber)==null||r.describe(this._sortButton,i)),this._sortActionDescription=i}_handleStateChanges(){this._rerenderSubscription=mi(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}};t.ɵfac=function(i){return new(i||t)(k(dd),k(St),k(qp,8),k("MAT_SORT_HEADER_COLUMN_DEF",8),k(Ur),k(Ce),k(_de,8),k(KJ,8))},t.ɵcmp=ve({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,a){i&1&&ye("click",function(){return a._handleClick()})("keydown",function(r){return a._handleKeydown(r)})("mouseenter",function(){return a._setIndicatorHintVisible(!0)})("mouseleave",function(){return a._setIndicatorHintVisible(!1)}),i&2&&(ke("aria-sort",a._getAriaSortAttribute()),Te("mat-sort-header-disabled",a._isDisabled()))},inputs:{id:[R.None,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[R.HasDecoratorInputTransform,"disabled","disabled",ge],sortActionDescription:"sortActionDescription",disableClear:[R.HasDecoratorInputTransform,"disableClear","disableClear",ge]},exportAs:["matSortHeader"],standalone:!0,features:[dt,we],ngContentSelectors:qke,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(i,a){i&1&&(Pt(),D(0,"div",0)(1,"div",1),Ae(2),I(),z(3,Yke,6,6,"div",2),I()),i&2&&(Te("mat-sort-header-sorted",a._isSorted())("mat-sort-header-position-before",a.arrowPosition==="before"),ke("tabindex",a._isDisabled()?null:0)("role",a._isDisabled()?null:"button"),C(3),$(3,a._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[to.indicator,to.leftPointer,to.rightPointer,to.arrowOpacity,to.arrowPosition,to.allowChildren]},changeDetection:0});let e=t;return e})(),Qke=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵmod=Ot({type:t}),t.ɵinj=Tt({providers:[Kke],imports:[Yt]});let e=t;return e})(),Xke=()=>["expandDetails"],Jke=e=>({view:e}),eEe=()=>({height:"47px",margin:"0px"});function tEe(e,t){e&1&&(D(0,"th",16),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.medication")," "))}function iEe(e,t){if(e&1){let n=Nt();D(0,"td",17)(1,"button",18),ye("click",function(){let i=Oe(n).$implicit,a=V();return Re(a.expandedElement=a.expandedElement===i?null:i)}),te(2,"mat-icon",19),D(3,"div",20),P(4),O(5,"translateValue"),O(6,"firstLetterUppercase"),I()()()}if(e&2){let n=t.$implicit,i=V();C(2),W("fontIcon",n===i.expandedElement?"expand_less":"expand_more"),C(2),pe(M(6,4,M(5,2,n.name)))}}function aEe(e,t){e&1&&te(0,"th",21)}function nEe(e,t){e&1&&(D(0,"span",22),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.future")," "))}function rEe(e,t){if(e&1&&(D(0,"td",17),z(1,nEe,3,3,"span",22),O(2,"isFutureMedication"),I()),e&2){let n=t.$implicit;C(),$(1,M(2,1,n)?1:-1)}}function oEe(e,t){e&1&&(D(0,"th",21),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.dose")," "))}function sEe(e,t){e&1&&(D(0,"div",23),P(1),I()),e&2&&(C(),pe(t))}function lEe(e,t){e&1&&(P(0),O(1,"translate")),e&2&&ue(" ",M(1,1,"medicationSchemeListView.consultDetails")," ")}function cEe(e,t){e&1&&(P(0),O(1,"translate")),e&2&&ue(" ",M(1,1,"medicationSchemeListView.notSpecified")," ")}function dEe(e,t){if(e&1&&(D(0,"td",17),z(1,sEe,2,1,"div",23),O(2,"dose"),z(3,lEe,2,3)(4,cEe,2,3),I()),e&2){let n,i=t.$implicit;C(),$(1,(n=M(2,1,i))?1:!(i.posology==null||i.posology[0]==null)&&i.posology[0].quantity||!(i.posology==null||i.posology[0]==null)&&i.posology[0].text?3:4,n)}}function uEe(e,t){e&1&&(D(0,"th",21),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.indication")," "))}function hEe(e,t){if(e&1&&(D(0,"div",23),P(1),O(2,"translateValue"),O(3,"firstLetterUppercase"),I()),e&2){let n=V().$implicit;C(),pe(M(3,3,M(2,1,n.indication)))}}function pEe(e,t){if(e&1&&(D(0,"td",17),z(1,hEe,4,5,"div",23),I()),e&2){let n=t.$implicit;C(),$(1,n.indication?1:-1)}}function mEe(e,t){e&1&&(D(0,"th",21),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.remark")," "))}function fEe(e,t){if(e&1&&te(0,"nihdi-medication-scheme-remark-flag",24),e&2){let n=V(2);W("dateInfo",qa(1,Jke,n.dateTogglerViews.LIST))}}function gEe(e,t){if(e&1&&(D(0,"td",17),z(1,fEe,1,3,"nihdi-medication-scheme-remark-flag",24),I()),e&2){let n=t.$implicit,i=V();C(),$(1,n.temporality===i.temporality.ONESHOT?1:-1)}}function vEe(e,t){e&1&&(D(0,"th",21),P(1),O(2,"translate"),I()),e&2&&(C(),ue(" ",M(2,1,"medicationSchemeListView.headers.leaflet")," "))}function bEe(e,t){e&1&&(D(0,"a",25),O(1,"translateValue"),O(2,"translate"),te(3,"mat-icon",26),I()),e&2&&(W("href",M(1,2,t),Oy),ke("aria-label",M(2,4,"medicationSchemeListView.headers.leaflet")))}function _Ee(e,t){if(e&1&&(D(0,"td",17),z(1,bEe,4,6,"a",25),I()),e&2){let n,i=t.$implicit;C(),$(1,(n=i.leaflet)?1:-1,n)}}function yEe(e,t){if(e&1&&(D(0,"td",27)(1,"div"),te(2,"nihdi-medication-scheme-details-row",28),I()()),e&2){let n=t.$implicit,i=V();Te("mh-detail-row--expanded",n===i.expandedElement),W("colSpan",i.columnsToDisplay().length),C(2),W("medication",n)}}function xEe(e,t){e&1&&te(0,"tr",29)}function wEe(e,t){if(e&1&&te(0,"tr",30),e&2){let n=V();W("hidden",n.isLoading())}}function kEe(e,t){if(e&1&&te(0,"tr",31),e&2){let n=V();W("hidden",n.isLoading())}}function EEe(e,t){e&1&&te(0,"ngx-skeleton-loader",15),e&2&&W("count",3)("theme",on(2,eEe))}var CEe=(()=>{const t=class t{set sort(i){this.dataSource.sort=i,this.dataSource.sortingDataAccessor=(a,r)=>this.getSortingAccessor(a,r)}constructor(){this.translate=q(Ii),this.isLoading=pt.required(),this.view=pt.required(),this.medications=pt.required(),this.temporality=Pa,this.dateTogglerViews=ua,this.dataSource=new FJ([]),this.columnsToDisplay=Tn(()=>{var i;return(i=this.medications())!=null&&i.some(a=>cu(a))?["name","future","dose","indication","remark","leaflet"]:["name","dose","indication","remark","leaflet"]}),Qx(()=>this.dataSource.data=this.medications())}getSortingAccessor(i,a){var r;return a!=="name"||!i[a]?"":(r=yl(i[a],this.translate.currentLang))==null?void 0:r.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLocaleLowerCase()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-list-desktop"]],viewQuery:function(i,a){if(i&1&&gt(qp,7),i&2){let r;be(r=_e())&&(a.sort=r.first)}},inputs:{isLoading:[R.SignalBased,"isLoading"],view:[R.SignalBased,"view"],medications:[R.SignalBased,"medications"]},standalone:!0,features:[we],decls:26,vars:9,consts:[["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","future"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","dose"],["matColumnDef","indication"],["matColumnDef","remark"],["matColumnDef","leaflet"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns"],["class","mh-detail-row","mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns"],["appearance","line",3,"count","theme"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-button","","color","primary",1,"font",3,"click"],[1,"material-icons-outlined",3,"fontIcon"],[1,"textOverflow","align-left"],["mat-header-cell",""],[1,"future"],[1,"textOverflow"],[3,"dateInfo"],["mat-icon-button","","color","primary","target","_blank",3,"href"],["fontIcon","menu_book",1,"material-icons-outlined"],["mat-cell","",3,"colSpan"],[3,"medication"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row","",1,"mh-detail-row",3,"hidden"]],template:function(i,a){i&1&&(D(0,"table",0),O(1,"translate"),ui(2,1),z(3,tEe,3,3,"th",2)(4,iEe,7,6,"td",3),hi(),ui(5,4),z(6,aEe,1,0,"th",5)(7,rEe,3,3,"td",3),hi(),ui(8,6),z(9,oEe,3,3,"th",5)(10,dEe,5,3,"td",3),hi(),ui(11,7),z(12,uEe,3,3,"th",5)(13,pEe,2,1,"td",3),hi(),ui(14,8),z(15,mEe,3,3,"th",5)(16,gEe,2,1,"td",3),hi(),ui(17,9),z(18,vEe,3,3,"th",5)(19,_Ee,2,1,"td",3),hi(),ui(20,10),z(21,yEe,3,4,"td",11),hi(),z(22,xEe,1,0,"tr",12)(23,wEe,1,1,"tr",13)(24,kEe,1,1,"tr",14),I(),z(25,EEe,1,3,"ngx-skeleton-loader",15)),i&2&&(W("dataSource",a.dataSource),ke("aria-label",M(1,6,"medicationSchemeListView."+a.view())),C(22),W("matHeaderRowDef",a.columnsToDisplay()),C(),W("matRowDefColumns",a.columnsToDisplay()),C(),W("matRowDefColumns",on(8,Xke)),C(),$(25,a.isLoading()?25:-1))},dependencies:[LJ,SJ,IJ,RJ,AJ,DJ,NJ,TJ,OJ,PJ,MJ,Qke,qp,Zke,Wr,du,qr,El,kl,ri,_i,hu,XX,xl,Ga,kk,ZX],styles:[".font[_ngcontent-%COMP%]{font-size:16px}.future[_ngcontent-%COMP%]{white-space:nowrap;border:2px solid #76e1b1;font-weight:700;padding:4px 8px;border-radius:8px}"],changeDetection:0});let e=t;return e})(),SEe=e=>({view:e});function DEe(e,t){e&1&&(D(0,"div",0)(1,"span",3),P(2),O(3,"translate"),I()()),e&2&&(C(2),pe(M(3,1,"medicationSchemeListView.future")))}function IEe(e,t){e&1&&P(0),e&2&&ue(" ",t," ")}function AEe(e,t){e&1&&(P(0),O(1,"translate")),e&2&&ue(" ",M(1,1,"medicationSchemeListView.consultDetails")," ")}function TEe(e,t){e&1&&(P(0),O(1,"translate")),e&2&&ue(" ",M(1,1,"medicationSchemeListView.notSpecified")," ")}function OEe(e,t){e&1&&(D(0,"p",1),P(1),O(2,"firstLetterUppercase"),I()),e&2&&(C(),ue(" ",M(2,1,t)," "))}function REe(e,t){if(e&1&&te(0,"nihdi-medication-scheme-remark-flag",2),e&2){let n=V();W("dateInfo",qa(1,SEe,n.dateTogglerViews.LIST))}}var NEe=(()=>{const t=class t{constructor(){this.medication=pt.required(),this.temporality=Pa,this.dateTogglerViews=ua}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-list-card"]],inputs:{medication:[R.SignalBased,"medication"]},standalone:!0,features:[we],decls:16,vars:15,consts:[[1,"text-end"],[1,"textOverflow"],[3,"dateInfo"],[1,"future"]],template:function(i,a){if(i&1&&(D(0,"mat-card")(1,"mat-card-content"),z(2,DEe,4,3,"div",0),O(3,"isFutureMedication"),D(4,"strong",1),P(5),O(6,"translateValue"),O(7,"firstLetterUppercase"),I(),D(8,"p",1),z(9,IEe,1,1),O(10,"dose"),z(11,AEe,2,3)(12,TEe,2,3),I(),z(13,OEe,3,3,"p",1),O(14,"translateValue"),z(15,REe,1,3,"nihdi-medication-scheme-remark-flag",2),I()()),i&2){let r,o,s;C(2),$(2,M(3,5,a.medication())?2:-1),C(3),pe(M(7,9,M(6,7,a.medication().name))),C(4),$(9,(r=M(10,11,a.medication()))?9:!((o=a.medication().posology)==null||o[0]==null)&&o[0].quantity||!((o=a.medication().posology)==null||o[0]==null)&&o[0].text?11:12,r),C(4),$(13,(s=M(14,13,a.medication().indication))?13:-1,s),C(2),$(15,a.medication().temporality===a.temporality.ONESHOT?15:-1)}},dependencies:[lJ,Kf,Zf,ma,ri,_i,hu,xl,Ga,kk,ZX],styles:["mat-card[_ngcontent-%COMP%]{margin-top:12px}mat-card[_ngcontent-%COMP%] .text-end[_ngcontent-%COMP%]{text-align:end;margin-bottom:12px}mat-card[_ngcontent-%COMP%] .text-end[_ngcontent-%COMP%] .future[_ngcontent-%COMP%]{white-space:nowrap;border:2px solid #76e1b1;font-weight:700;padding:4px 8px;border-radius:8px}mat-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:16px}"],changeDetection:0});let e=t;return e})(),PEe=()=>({height:"250px",margin:"3px"});function MEe(e,t){e&1&&te(0,"ngx-skeleton-loader",1),e&2&&W("count",2)("theme",on(2,PEe))}function LEe(e,t){if(e&1){let n=Nt();D(0,"nihdi-medication-scheme-list-card",3),ye("click",function(){let i=Oe(n).$implicit,a=V(2);return Re(a.clickDetails.emit(i.id))}),I()}if(e&2){let n=t.$implicit;W("medication",n)}}function FEe(e,t){if(e&1&&Ui(0,LEe,1,1,"nihdi-medication-scheme-list-card",2,Xi),e&2){let n=V();Wi(n.sortedMedications())}}var VEe=(()=>{const t=class t{constructor(){this.translate=q(Ii),this.isLoading=pt.required(),this.medications=pt.required(),this.clickDetails=ul(),this.sortedMedications=Tn(()=>b0e(this.medications(),this.translate.currentLang,this.sorting().order)),this.sortingDropdownSet=["medicationName"],this.sorting=Bs({sort:"medicationName",order:Af.ascending})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-list-mobile"]],inputs:{isLoading:[R.SignalBased,"isLoading"],medications:[R.SignalBased,"medications"]},outputs:{clickDetails:"clickDetails"},standalone:!0,features:[we],decls:3,vars:3,consts:[[3,"emitNewSortValue","sortDataChange","sortItems","sortData"],["appearence","line",3,"count","theme"],[3,"medication"],[3,"click","medication"]],template:function(i,a){i&1&&(D(0,"nihdi-sort-dropdown",0),ye("emitNewSortValue",function(r){return a.sorting.set(r)}),Go("sortDataChange",function(r){return pl(a.sorting,r)||(a.sorting=r),r}),I(),z(1,MEe,1,3,"ngx-skeleton-loader",1)(2,FEe,2,0)),i&2&&(W("sortItems",a.sortingDropdownSet),Yo("sortData",a.sorting),C(),$(1,a.isLoading()?1:2))},dependencies:[El,kl,i1e,NEe],encapsulation:2,changeDetection:0});let e=t;return e})(),zEe=()=>[];function BEe(e,t){if(e&1&&(D(0,"mat-chip-option",1),P(1),O(2,"translate"),I()),e&2){let n=t.$implicit,i=V();W("selected",n===i.filterTo())("value",n),C(),pe(M(2,3,"medicationSchemeListView."+n))}}function jEe(e,t){if(e&1&&(D(0,"p",4),P(1),O(2,"translate"),I()),e&2){let n=V(2);C(),ue(" ",M(2,1,"medicationSchemeListView.noMedications."+n.filterTo())," ")}}function HEe(e,t){if(e&1){let n=Nt();te(0,"nihdi-medication-scheme-list-desktop",2),D(1,"nihdi-medication-scheme-list-mobile",3),ye("clickDetails",function(i){Oe(n);let a=V();return Re(a.clickDetails.emit(i))}),I(),z(2,jEe,3,3,"p",4)}if(e&2){let n=t,i=V();W("isLoading",i.isLoading())("view",i.tab)("medications",n),C(),W("isLoading",i.isLoading())("medications",n),C(),$(2,!i.isLoading()&&n.length<=0?2:-1)}}var UEe=(()=>{const t=class t{constructor(){this.isLoading=pt.required(),this.medicationScheme=pt.required(),this.clickDetails=ul(),this.filterChips=["all","current","future"],this.filterTo=Bs("all")}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["nihdi-medication-scheme-list-view"]],inputs:{isLoading:[R.SignalBased,"isLoading"],medicationScheme:[R.SignalBased,"medicationScheme"]},outputs:{clickDetails:"clickDetails"},standalone:!0,features:[we],decls:5,vars:5,consts:[[3,"change"],[3,"selected","value"],[3,"isLoading","view","medications"],[3,"clickDetails","isLoading","medications"],[1,"no-content"]],template:function(i,a){if(i&1&&(D(0,"mat-chip-listbox",0),ye("change",function(r){return a.filterTo.set(r.value)}),Ui(1,BEe,3,5,"mat-chip-option",1,Xi),I(),z(3,HEe,3,6),O(4,"filterMedicationTo")),i&2){let r;C(),Wi(a.filterChips),C(2),$(3,(r=ni(4,1,((r=a.medicationScheme())==null?null:r.medications)||on(4,zEe),a.filterTo()))?3:-1,r)}},dependencies:[ma,Bxe,Wke,$J,GJ,CEe,VEe,ri,_i,mye],styles:["@media only screen and (min-width: 960px){nihdi-medication-scheme-list-mobile[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width: 960px){nihdi-medication-scheme-list-desktop[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})(),WEe=(e,t)=>[e,t],qEe=()=>({height:"50px",margin:"0px"}),YEe=e=>({safe:e});function GEe(e,t){e&1&&(D(0,"div"),P(1,"Component not properly initialized!"),I())}function $Ee(e,t){if(e&1&&te(0,"nihdi-status-message",0),e&2){let n=V();W("error",n.error)}}function KEe(e,t){if(e&1&&te(0,"nihdi-error-display",4),e&2){let n=V(2);W("message",n.data.errors[0].code)}}function ZEe(e,t){if(e&1){let n=Nt();D(0,"nihdi-medication-scheme-list-view",6),ye("clickDetails",function(i){Oe(n);let a=V(4);return Re(a.onSelectMedication.emit(i))}),I()}if(e&2){let n=V(2),i=V(2);W("isLoading",n.status===i.loadingStatus.LOADING)("medicationScheme",n==null||n.data==null?null:n.data.schemes[0])("view",i.view)}}function QEe(e,t){if(e&1&&te(0,"nihdi-error-display",4),e&2){let n=V(3);W("message",n.data.errors[0].code)}}function XEe(e,t){if(e&1){let n=Nt();D(0,"nihdi-medication-scheme-daily-weekly",6),ye("clickDetails",function(i){Oe(n);let a=V(5);return Re(a.onSelectMedication.emit(i))}),I()}if(e&2){let n=V().$implicit,i=V(2),a=V(2);W("isLoading",i.status===a.loadingStatus.LOADING)("medicationScheme",i==null||i.data==null?null:i.data.schemes[0])("view",n)}}function JEe(e,t){if(e&1&&(D(0,"mat-tab",3),O(1,"translate"),z(2,QEe,1,1,"nihdi-error-display",4)(3,XEe,1,3),I()),e&2){let n=t.$implicit,i=V(2);W("label",M(1,2,"medicationSchemeOverview."+n)),C(2),$(2,!(i==null||i.data==null)&&i.data.errors[0]?2:3)}}function eCe(e,t){e&1&&te(0,"ngx-skeleton-loader",5),e&2&&W("count",1)("theme",on(2,qEe))}function tCe(e,t){if(e&1&&(D(0,"p"),P(1),O(2,"translate"),O(3,"translate"),I()),e&2){let n=V(2);C(),ue(" ",ni(3,3,"medicationSchemeListView.disclaimer",qa(6,YEe,M(2,1,"commons.safes."+n.data.schemes[0].source)))," ")}}function iCe(e,t){if(e&1&&(te(0,"nihdi-medication-scheme-creation-details",1),D(1,"mat-tab-group",2)(2,"mat-tab",3),O(3,"translate"),z(4,KEe,1,1,"nihdi-error-display",4)(5,ZEe,1,3),I(),Ui(6,JEe,4,4,"mat-tab",3,Xi),I(),z(8,eCe,1,3,"ngx-skeleton-loader",5)(9,tCe,4,8)),e&2){let n=V(),i=V(2);W("isLoading",n.status===i.loadingStatus.LOADING)("creationDetails",i.creationDetails()),C(2),W("label",M(3,5,"medicationSchemeOverview.list")),C(2),$(4,!(n==null||n.data==null)&&n.data.errors[0]?4:5),C(2),Wi(Wx(7,WEe,i.viewsEnum.WEEK,i.viewsEnum.DAY)),C(2),$(8,n.status===i.loadingStatus.LOADING?8:n.status===i.loadingStatus.SUCCESS&&n.data.schemes[0]?9:-1)}}function aCe(e,t){if(e&1&&z(0,$Ee,1,1,"nihdi-status-message",0)(1,iCe,10,10),e&2){let n=V(2);$(0,t.status===n.loadingStatus.ERROR?0:1)}}function nCe(e,t){if(e&1&&z(0,aCe,2,1),e&2){let n,i=V();$(0,(n=i.medicationSchemeState())?0:-1,n)}}var rCe=(()=>{const t=class t extends Xxe{constructor(){super(...arguments),this.onSelectMedication=new ae,this.creationDetails=Tn(()=>{let i=this.medicationSchemeState();if(i.status===er.SUCCESS&&i.data.schemes[0]){let a=i.data.schemes[0];return{version:a.version,lastChange:a.lastChange,source:a.source}}}),this.loadingStatus=er,this.viewsEnum=ua}fetchData(i){return xn(this,null,function*(){return yield this.medicationSchemeService.fetchMedicationScheme(this.services,i)})}injectService(){V_(this.injector,()=>{this.medicationSchemeService=q($b),this.medicationSchemeState=qw(this.medicationSchemeService.medicationSchemeState$)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Xt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},standalone:!0,features:[ht([$b,JX,eJ,ixe]),je,we],decls:2,vars:1,consts:[[3,"error"],[3,"isLoading","creationDetails"],["mat-stretch-tabs","false"],[3,"label"],[3,"message"],["appearance","line",3,"count","theme"],[3,"clickDetails","isLoading","medicationScheme","view"]],template:function(i,a){i&1&&z(0,GEe,2,0,"div")(1,nCe,1,1),i&2&&$(0,a.isInitialized()?1:0)},dependencies:[Vxe,nJ,l1e,Qxe,UEe,Nke,O1e,El,kl,ri,_i],encapsulation:2,changeDetection:0});let e=t;return e})(),oCe=class{selectionFinished(e){return this.createWeekRange(e)}createPreview(e){return this.createWeekRange(e)}createWeekRange(e){let t={weekStartsOn:1};if(e){let n=ka(e,t),i=Wf(e,t);return new Ci(n,i)}return new Ci(null,null)}};Pme({providers:[pye,{provide:Gs,useClass:oCe}]}).then(e=>{let t=Dce(rCe,{injector:e.injector});customElements.define("vidis-medication-scheme-list",t)}).catch(e=>console.error(e));