@smals-belgium-shared/vidis-medication-scheme-detail 3.4.4-snapshot.6 → 3.4.4-snapshot.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,42 @@
1
+ var sre=Object.defineProperty;var xm=e=>{throw TypeError(e)};var lre=(e,t,i)=>t in e?sre(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var s=(e,t,i)=>lre(e,typeof t!="symbol"?t+"":t,i),wm=(e,t,i)=>t.has(e)||xm("Cannot "+i);var Vi=(e,t,i)=>(wm(e,t,"read from private field"),i?i.call(e):t.get(e)),Em=(e,t,i)=>t.has(e)?xm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Sm=(e,t,i,n)=>(wm(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i);var cre=Object.create,cc=Object.defineProperty,ure=Object.defineProperties,dre=Object.getOwnPropertyDescriptor,hre=Object.getOwnPropertyDescriptors,pre=Object.getOwnPropertyNames,Cl=Object.getOwnPropertySymbols,mre=Object.getPrototypeOf,dh=Object.prototype.hasOwnProperty,d0=Object.prototype.propertyIsEnumerable,km=(e,t,i)=>t in e?cc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ue=(e,t)=>{for(var i in t||(t={}))dh.call(t,i)&&km(e,i,t[i]);if(Cl)for(var i of Cl(t))d0.call(t,i)&&km(e,i,t[i]);return e},bt=(e,t)=>ure(e,hre(t)),h0=(e,t)=>{var i={};for(var n in e)dh.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Cl)for(var n of Cl(e))t.indexOf(n)<0&&d0.call(e,n)&&(i[n]=e[n]);return i},me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),K=(e,t)=>{for(var i in t)cc(e,i,{get:t[i],enumerable:!0})},fre=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of pre(t))!dh.call(e,a)&&a!==i&&cc(e,a,{get:()=>t[a],enumerable:!(n=dre(t,a))||n.enumerable});return e},p0=(e,t,i)=>(i=e!=null?cre(mre(e)):{},fre(t||!e||!e.__esModule?cc(i,"default",{value:e,enumerable:!0}):i,e)),Pt=(e,t,i)=>new Promise((n,a)=>{var r=u=>{try{l(i.next(u))}catch(c){a(c)}},o=u=>{try{l(i.throw(u))}catch(c){a(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(r,o);l((i=i.apply(e,t)).next())}),gre=me((e,t)=>{(function(i,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(i=typeof globalThis<"u"?globalThis:i||self,i.MessageFormat=n())})(e,function(){var i=function(){return i=Object.assign||function(p){for(var f,y=1,b=arguments.length;y<b;y++){f=arguments[y];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},i.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,y=f&&p[f],b=0;if(y)return y.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&b>=p.length&&(p=void 0),{value:p&&p[b++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var y=typeof Symbol=="function"&&p[Symbol.iterator];if(!y)return p;var b=y.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=b.next()).done;)E.push(_.value)}catch(D){k={error:D}}finally{try{_&&!_.done&&(y=b.return)&&y.call(b)}finally{if(k)throw k.error}}return E}function r(p,f,y){if(arguments.length===2)for(var b=0,_=f.length,E;b<_;b++)(E||!(b in f))&&(E||(E=Array.prototype.slice.call(f,0,b)),E[b]=f[b]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,y,b){super(f),this.token=y,this.type=b||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",u=p=>p%2===0?"2-digit":"numeric";function c(p,f){switch(p.char){case"y":return{year:u(p.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${p.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function h(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:y,desc:b,width:_}=p;if(y==="d")return u(_);f(`${b} is not supported`)}function v(p,f){let{char:y,desc:b,width:_}=p;if((y==="c"||y==="e")&&_<3){let E=`Numeric value is not supported for ${b}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=u(p.width),y;switch(p.char){case"h":y="h12";break;case"H":y="h23";break;case"k":y="h24";break;case"K":y="h11";break}return y?{hour:f,hourCycle:y}:{hour:f}}function x(p,f){let{char:y,desc:b,width:_}=p;switch(y){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${b} is not supported with width ${_}`);return;case"X":f(`${b} is not supported`);return}return"short"}function w(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return c(p,f);case"month":return{month:h(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:v(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:u(p.width)};case"sec":return{second:u(p.width)};case"tz":return{timeZoneName:x(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},b={timeZone:f},_=[];for(let E of p){let{error:k,field:D,str:N}=E;if(k){let de=new o(k.message,E);de.stack=k.stack,y(de)}if(N){let de=`Ignoring string part: ${N}`;y(new o(de,E,o.WARNING))}D&&(_.indexOf(D)===-1?_.push(D):y(new o(`Duplicate ${D} token`,E)));let z=w(E,(de,xe)=>y(new o(de,E,xe)));z&&Object.assign(b,z)}return b}let T={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"}},F=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function P(p,f){let y=p[f],b=1;for(;p[++f]===y;)++b;let _=T[y];if(!_){let E=`The letter ${y} is not a valid field identifier`;return{char:y,error:new Error(E),width:b}}return{char:y,field:_.field,desc:_.desc,width:b}}function re(p,f){let y=p[++f],b=2;if(y==="'")return{char:"'",str:y,width:b};for(;;){let _=p[++f];if(++b,_===void 0){let E=`Unterminated quoted literal in pattern: ${y||p}`;return{char:"'",error:new Error(E),str:y,width:b}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:y,width:b};++b}y+=_}}function ve(p,f){let y=p[f];if(!y)return null;if(F(y))return P(p,f);if(y==="'")return re(p,f);let b=y,_=1;for(;;){let E=p[++f];if(!E||F(E)||E==="'")return{char:y,str:b,width:_};b+=E,_+=1}}function ke(p){let f=[],y=0;for(;;){let b=ve(p,y);if(!b)return f;f.push(b),y+=b.width}}function Ft(p,f,y,b){typeof f=="string"&&(f=ke(f)),typeof y=="function"&&(b=y,y=void 0);let _=S(f,y,b),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function wt(p,f,y,b){typeof f=="string"&&(f=ke(f)),typeof y=="function"&&(b=y,y=void 0);let _=S(f,y,b);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
2
+ `)+`
3
+ })()`}class Qe extends Error{constructor(f,y){super(y),this.code=f}}class Dt extends Qe{constructor(f,y){super("BAD_OPTION",`Unknown ${f} option: ${y}`),this.stem=f,this.option=y}}class ie extends Qe{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class J extends Qe{constructor(f,y){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=y}}class Ie extends Qe{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class j extends Qe{constructor(f,y){super("BAD_PATTERN",y),this.char=f}}class H extends Qe{constructor(f,y,b){let _=b>1?`${b} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${y.length})`),this.stem=f,this.options=y}}function te(p,f){let{numberingSystem:y}=f;return Array.isArray(p)||(p=[p]),y?p.map(b=>{let _=b.indexOf("-u-")===-1?"u-nu":"nu";return`${b}-${_}-${y}`}).concat(p):p}function Pe(p,f){let y=+p+f/2;return y-y%+f}function Je(p){let{scale:f,unit:y}=p,b=typeof f=="number"&&f>=0?f:1;return y&&y.style==="percent"&&(b*=.01),b}function Zt(p){let f=Je(p),{precision:y}=p;return y&&y.style==="precision-increment"?b=>Pe(b,y.increment)*f:b=>b*f}function Le(p){let f=Je(p),{precision:y}=p;if(y&&y.style==="precision-increment"){let b=`+n + ${y.increment/2}`,_=`x - (x % +${y.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${b}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Be(p,f){let{decimal:y,group:b,integerWidth:_,notation:E,precision:k,roundingMode:D,sign:N,unit:z,unitPer:de,unitWidth:xe}=p,Re=(tt,Et)=>{},ne={};if(z)switch(z.style){case"base-unit":ne.style="decimal";break;case"currency":ne.style="currency",ne.currency=z.currency;break;case"measure-unit":ne.style="unit",ne.unit=z.unit.replace(/.*-/,""),de&&(ne.unit+="-per-"+de.replace(/.*-/,""));break;case"percent":ne.style="percent";break}switch(xe){case"unit-width-full-name":ne.currencyDisplay="name",ne.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":ne.currencyDisplay="code";break;case"unit-width-narrow":ne.currencyDisplay="narrowSymbol",ne.unitDisplay="narrow";break;case"unit-width-short":ne.currencyDisplay="symbol",ne.unitDisplay="short";break}switch(b){case"group-off":ne.useGrouping=!1;break;case"group-auto":ne.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":ne.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:tt,maxFraction:Et,minSignificant:jt,maxSignificant:on,source:qn}=k;typeof tt=="number"&&(ne.minimumFractionDigits=tt,typeof jt=="number"&&Re()),typeof Et=="number"&&(ne.maximumFractionDigits=Et),typeof jt=="number"&&(ne.minimumSignificantDigits=jt),typeof on=="number"&&(ne.maximumSignificantDigits=on);break}case"precision-integer":ne.maximumFractionDigits=0;break;case"precision-unlimited":ne.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":ne.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":Re(k.style);break}if(E)switch(E.style){case"compact-short":ne.notation="compact",ne.compactDisplay="short";break;case"compact-long":ne.notation="compact",ne.compactDisplay="long";break;case"notation-simple":ne.notation="standard";break;case"scientific":case"engineering":{let{expDigits:tt,expSign:Et,source:jt,style:on}=E;ne.notation=on;break}}if(_){let{min:tt,max:Et,source:jt}=_;if(tt>0&&(ne.minimumIntegerDigits=tt),Number(Et)>0){let on=ne.notation==="engineering"||ne.notation==="scientific";Et===3&&on?ne.notation="engineering":Re()}}switch(N){case"sign-auto":ne.signDisplay="auto";break;case"sign-always":ne.signDisplay="always";break;case"sign-except-zero":ne.signDisplay="exceptZero";break;case"sign-never":ne.signDisplay="never";break;case"sign-accounting":ne.currencySign="accounting";break;case"sign-accounting-always":ne.currencySign="accounting",ne.signDisplay="always";break;case"sign-accounting-except-zero":ne.currencySign="accounting",ne.signDisplay="exceptZero";break}return ne}function lt(p,f,y){let b=p[f];switch(b){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:b,currency:"default",width:_};case 2:return{char:b,currency:"iso-code",width:_};case 3:return{char:b,currency:"full-name",width:_};case 5:return{char:b,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return y(new j("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:b,pad:_,width:2};break}case"+":case"-":return{char:b,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:b,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let D=`Unterminated quoted literal in pattern: ${_}`;return y(new j("'",D)),{char:b,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:b,str:_,width:E};++E}_+=k}}}return null}let Wn=p=>p>="0"&&p<="9";function et(p,f){let y=p[f];if(Wn(y)){let b=y;for(;;){let _=p[++f];if(Wn(_))b+=_;else return{char:"0",digits:b,width:b.length}}}switch(y){case"#":{let b=1;for(;p[++f]==="#";)++b;return{char:y,width:b}}case"@":{let b=1;for(;p[++f]==="@";)++b;let _=b;for(f-=1;p[++f]==="#";)++_;return{char:y,min:b,width:_}}case"E":{let b=p[f+1]==="+";b&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(b?2:1)+_;if(_)return{char:y,expDigits:_,plus:b,width:E};break}case".":case",":return{char:y,width:1}}return null}function Kt(p,f,y){let b;(function(z){z[z.Prefix=0]="Prefix",z[z.Number=1]="Number",z[z.Suffix=2]="Suffix"})(b||(b={}));let _=[],E=[],k=[],D=b.Prefix,N="";for(;f<p.length;){let z=p[f];if(z===";"){f+=1;break}switch(D){case b.Prefix:{let de=lt(p,f,y);if(de)N&&(_.push({char:"'",str:N,width:N.length}),N=""),_.push(de),f+=de.width;else{let xe=et(p,f);xe?(N&&(_.push({char:"'",str:N,width:N.length}),N=""),D=b.Number,E.push(xe),f+=xe.width):(N+=z,f+=1)}break}case b.Number:{let de=et(p,f);de?(E.push(de),f+=de.width):D=b.Suffix;break}case b.Suffix:{let de=lt(p,f,y);de?(N&&(k.push({char:"'",str:N,width:N.length}),N=""),k.push(de),f+=de.width):(N+=z,f+=1);break}}}return N&&k.push({char:"'",str:N,width:N.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function Lt(p,f){let{pattern:y,pos:b}=Kt(p,0,f);if(b<p.length){let{pattern:_}=Kt(p,b,f);return{tokens:y,negative:_}}return{tokens:y}}function ci(p,f){let y={},b=!1,_=!1,E=0,k="",D=-1,N="",z=0;for(let xe=0;xe<p.length;++xe){let Re=p[xe];switch(Re.char){case"#":{if(D===-1){if(k){let ne="Pattern has # after integer digits";f(new j("#",ne))}E+=Re.width}else z+=Re.width;break}case"0":{if(D===-1)k+=Re.digits;else{if(z){let ne="Pattern has digits after # in fraction";f(new j("0",ne))}N+=Re.digits}break}case"@":{y.precision&&f(new J("precision",y.precision)),y.precision={style:"precision-fraction",minSignificant:Re.min,maxSignificant:Re.width};break}case",":b=!0;break;case".":if(D===1){let ne="Pattern has more than one decimal separator";f(new j(".",ne))}D=xe;break;case"E":{if(_&&f(new J("exponent",y.notation)),b){let ne="Exponential patterns may not contain grouping separators";f(new j("E",ne))}y.notation={style:"scientific"},Re.expDigits>1&&(y.notation.expDigits=Re.expDigits),Re.plus&&(y.notation.expSign="sign-always"),_=!0}}}b?y.group="group-auto":E+k.length>3&&(y.group="group-off");let de=+`${k||"0"}.${N}`;if(de&&(y.precision={style:"precision-increment",increment:de}),!_)k.length>1&&(y.integerWidth={min:k.length}),!y.precision&&(N.length||z)&&(y.precision={style:"precision-fraction",minFraction:N.length,maxFraction:N.length+z});else if((!y.precision||de)&&(y.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),y.precision)de||(y.integerWidth={min:1,max:1});else{let xe=k.length+N.length;D===-1?xe>0&&(y.precision={style:"precision-fraction",maxSignificant:xe}):(y.precision={style:"precision-fraction",maxSignificant:Math.max(1,xe)+z},xe>1&&(y.precision.minSignificant=xe))}return y}function na(p,f,y,b,_){let E=!1,k="";for(let D of p)switch(D.char){case"%":f.unit={style:D.style},_?E=!0:k="";break;case"¤":if(!y){let N="The ¤ pattern requires a currency";b(new j("¤",N));break}switch(f.unit={style:"currency",currency:y},D.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}_?E=!0:k="";break;case"*":break;case"+":E||(k+="+");break;case"'":E||(k+=D.str);break}return k}function Os(p,f){let y=!1,b="";for(let _ of p)switch(_.char){case"%":case"¤":f?y=!0:b="";break;case"-":y||(b+="-");break;case"'":y||(b+=_.str);break}return b}function Ns(p,f){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N=>{throw N},{tokens:b,negative:_}=Lt(p,y),E=ci(b.number,y),k=na(b.prefix,E,f,y,!0),D=na(b.suffix,E,f,y,!1);if(_){let N=Os(_.prefix,!0),z=Os(_.suffix,!1);E.affix={pos:[k,D],neg:[N,z]},E.sign="sign-never"}else(k||D)&&(E.affix={pos:[k,D]});return E}function bae(p){return["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(p)!==-1}function cm(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[y]=p.split("-",1);return f.indexOf(y)!==-1}let um={"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},dm={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function _ae(p){return p in um}function xae(p){return p in dm}function wae(p,f,y){if(_ae(p)){let b=um[p];if(f.length>b){if(b===0)for(let _ of f)y(new Dt(p,_));else y(new H(p,f,b));return!1}else if(xae(p)&&f.length<dm[p])return y(new Ie(p)),!1}return!0}function Kc(p,f){let y=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,b=p&&p.match(y);if(b){let _=b[1].length;switch(b[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+b[2].length}}}return null}function Eae(p,f,y){let b=Kc(p,"fraction");if(b){f.length>1&&y(new H(p,f,1));let E={style:"precision-fraction",source:p,minFraction:b.min};b.max!=null&&(E.maxFraction=b.max);let k=f[0],D=Kc(k,"significant");return D?(E.source=`${p}/${k}`,E.minSignificant=D.min,D.max!=null&&(E.maxSignificant=D.max)):k&&y(new Dt(p,k)),E}let _=Kc(p,"significant");if(_){for(let k of f)y(new Dt(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class Sae{constructor(f){this.skeleton={},this.onError=f}badOption(f,y){this.onError(new Dt(f,y))}assertEmpty(f){let y=this.skeleton[f];y&&this.onError(new J(f,y))}parseToken(f,y){if(!wae(f,y,this.onError))return;let b=y[0],_=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:f};break;case"scientific":case"engineering":{let E=null,k;for(let N of y)switch(N){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":k=N;break;default:/^\+e+$/.test(N)?E=N.length-1:this.badOption(f,N)}this.assertEmpty("notation");let D=y.join("/");_.notation=E&&k?{style:f,source:D,expDigits:E,expSign:k}:E?{style:f,source:D,expDigits:E}:k?{style:f,source:D,expSign:k}:{style:f,source:D};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(b)?(this.assertEmpty("unit"),_.unit={style:f,currency:b}):this.badOption(f,b);break;case"measure-unit":{cm(b)?(this.assertEmpty("unit"),_.unit={style:f,unit:b}):this.badOption(f,b);break}case"per-measure-unit":{cm(b)?(this.assertEmpty("unitPer"),_.unitPer=b):this.badOption(f,b);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=f;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),_.precision={style:f};break;case"precision-currency-standard":this.assertEmpty("precision"),b==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(b);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,b);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=f;break;case"integer-width":{if(/^\+0*$/.test(b))this.assertEmpty("integerWidth"),_.integerWidth={source:b,min:b.length-1};else{let E=b.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:b,min:E[1].length,max:E[0].length}):this.badOption(f,b)}break}case"scale":{let E=Number(b);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,b);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),_.group=f;break;case"latin":this.assertEmpty("numberingSystem"),_.numberingSystem="latn";break;case"numbering-system":{bae(b)?(this.assertEmpty("numberingSystem"),_.numberingSystem=b):this.badOption(f,b);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=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let E=Eae(f,y,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new ie(f))}}}}function hm(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},y=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";y.push({stem:k,options:E})}let b=new Sae(f);for(let{stem:_,options:E}of y)b.parseToken(_,E);return b.skeleton}function kae(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?hm(f.slice(2),b):Ns(f,y,b));let _=te(p,f),E=Be(f),k=Zt(f),D=new Intl.NumberFormat(_,E);if(f.affix){let[N,z]=f.affix.pos,[de,xe]=f.affix.neg||["",""];return Re=>{let ne=D.format(k(Re));return Re<0?`${de}${ne}${xe}`:`${N}${ne}${z}`}}return N=>D.format(k(N))}function Cae(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?hm(f.slice(2),b):Ns(f,y,b));let _=te(p,f),E=Be(f),k=Le(f),D=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],N="nf.format(value)";if(k&&(D.push(`var mod = ${k};`),N="nf.format(mod(value))"),f.affix){let[z,de]=f.affix.pos.map(xe=>JSON.stringify(xe));if(f.affix.neg){let[xe,Re]=f.affix.neg.map(ne=>JSON.stringify(ne));N=`value < 0 ? ${xe} + ${N} + ${Re} : ${z} + ${N} + ${de}`}else N=`${z} + ${N} + ${de}`}return D.push(`return function(value) { return ${N}; }`),D.join(`
4
+ `)+`
5
+ })()`}var Jc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Iae(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var po={},pm={},mm={exports:{}};(function(p){(function(f,y){p.exports?p.exports=y():f.moo=y()})(Jc,function(){var f=Object.prototype.hasOwnProperty,y=Object.prototype.toString,b=typeof new RegExp().sticky=="boolean";function _(M){return M&&y.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function D(M){var $=new RegExp("|"+M);return $.exec("").length-1}function N(M){return"("+M+")"}function z(M){if(!M.length)return"(?!)";var $=M.map(function(ce){return"(?:"+ce+")"}).join("|");return"(?:"+$+")"}function de(M){if(typeof M=="string")return"(?:"+k(M)+")";if(_(M)){if(M.ignoreCase)throw new Error("RegExp /i flag not allowed");if(M.global)throw new Error("RegExp /g flag is implied");if(M.sticky)throw new Error("RegExp /y flag is implied");if(M.multiline)throw new Error("RegExp /m flag is implied");return M.source}else throw new Error("Not a pattern: "+M)}function xe(M,$){return M.length>$?M:Array($-M.length+1).join(" ")+M}function Re(M,$){for(var ce=M.length,he=0;;){var Ce=M.lastIndexOf(`
6
+ `,ce-1);if(Ce===-1||(he++,ce=Ce,he===$)||ce===0)break}var ye=he<$?0:ce+1;return M.substring(ye).split(`
7
+ `)}function ne(M){for(var $=Object.getOwnPropertyNames(M),ce=[],he=0;he<$.length;he++){var Ce=$[he],ye=M[Ce],je=[].concat(ye);if(Ce==="include"){for(var ot=0;ot<je.length;ot++)ce.push({include:je[ot]});continue}var Ye=[];je.forEach(function(Ee){E(Ee)?(Ye.length&&ce.push(Et(Ce,Ye)),ce.push(Et(Ce,Ee)),Ye=[]):Ye.push(Ee)}),Ye.length&&ce.push(Et(Ce,Ye))}return ce}function tt(M){for(var $=[],ce=0;ce<M.length;ce++){var he=M[ce];if(he.include){for(var Ce=[].concat(he.include),ye=0;ye<Ce.length;ye++)$.push({include:Ce[ye]});continue}if(!he.type)throw new Error("Rule has no type: "+JSON.stringify(he));$.push(Et(he.type,he))}return $}function Et(M,$){if(E($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var ce={defaultType:M,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var he in $)f.call($,he)&&(ce[he]=$[he]);if(typeof ce.type=="string"&&M!==ce.type)throw new Error("Type transform cannot be a string (type '"+ce.type+"' for token '"+M+"')");var Ce=ce.match;return ce.match=Array.isArray(Ce)?Ce:Ce?[Ce]:[],ce.match.sort(function(ye,je){return _(ye)&&_(je)?0:_(je)?-1:_(ye)?1:je.length-ye.length}),ce}function jt(M){return Array.isArray(M)?tt(M):ne(M)}var on=Et("error",{lineBreaks:!0,shouldThrow:!0});function qn(M,$){for(var ce=null,he=Object.create(null),Ce=!0,ye=null,je=[],ot=[],Ye=0;Ye<M.length;Ye++)M[Ye].fallback&&(Ce=!1);for(var Ye=0;Ye<M.length;Ye++){var Ee=M[Ye];if(Ee.include)throw new Error("Inheritance is not allowed in stateless lexers");if(Ee.error||Ee.fallback){if(ce)throw!Ee.fallback==!ce.fallback?new Error("Multiple "+(Ee.fallback?"fallback":"error")+" rules not allowed (for token '"+Ee.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+Ee.defaultType+"')");ce=Ee}var Tt=Ee.match.slice();if(Ce)for(;Tt.length&&typeof Tt[0]=="string"&&Tt[0].length===1;){var pr=Tt.shift();he[pr.charCodeAt(0)]=Ee}if(Ee.pop||Ee.push||Ee.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+Ee.defaultType+"')");if(Ee.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+Ee.defaultType+"')")}if(Tt.length!==0){Ce=!1,je.push(Ee);for(var hi=0;hi<Tt.length;hi++){var Da=Tt[hi];if(_(Da)){if(ye===null)ye=Da.unicode;else if(ye!==Da.unicode&&Ee.fallback===!1)throw new Error("If one rule is /u then all must be")}}var mr=z(Tt.map(de)),$n=new RegExp(mr);if($n.test(""))throw new Error("RegExp matches empty string: "+$n);var fo=D(mr);if(fo>0)throw new Error("RegExp has capture groups: "+$n+`
8
+ Use (?: … ) instead`);if(!Ee.lineBreaks&&$n.test(`
9
+ `))throw new Error("Rule should declare lineBreaks: "+$n);ot.push(N(mr))}}var fr=ce&&ce.fallback,go=b&&!fr?"ym":"gm",js=b||fr?"":"|";ye===!0&&(go+="u");var ore=new RegExp(z(ot)+js,go);return{regexp:ore,groups:je,fast:he,error:ce||on}}function aa(M){var $=qn(jt(M));return new ft({start:$},"start")}function Ri(M,$,ce){var he=M&&(M.push||M.next);if(he&&!ce[he])throw new Error("Missing state '"+he+"' (in token '"+M.defaultType+"' of state '"+$+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+$+"')")}function Fi(M,$){var ce=M.$all?jt(M.$all):[];delete M.$all;var he=Object.getOwnPropertyNames(M);$||($=he[0]);for(var Ce=Object.create(null),ye=0;ye<he.length;ye++){var je=he[ye];Ce[je]=jt(M[je]).concat(ce)}for(var ye=0;ye<he.length;ye++)for(var je=he[ye],ot=Ce[je],Ye=Object.create(null),Ee=0;Ee<ot.length;Ee++){var Tt=ot[Ee];if(Tt.include){var pr=[Ee,1];if(Tt.include!==je&&!Ye[Tt.include]){Ye[Tt.include]=!0;var hi=Ce[Tt.include];if(!hi)throw new Error("Cannot include nonexistent state '"+Tt.include+"' (in state '"+je+"')");for(var Da=0;Da<hi.length;Da++){var mr=hi[Da];ot.indexOf(mr)===-1&&pr.push(mr)}}ot.splice.apply(ot,pr),Ee--}}for(var $n=Object.create(null),ye=0;ye<he.length;ye++){var je=he[ye];$n[je]=qn(Ce[je],!0)}for(var ye=0;ye<he.length;ye++){for(var fo=he[ye],fr=$n[fo],go=fr.groups,Ee=0;Ee<go.length;Ee++)Ri(go[Ee],fo,$n);for(var js=Object.getOwnPropertyNames(fr.fast),Ee=0;Ee<js.length;Ee++)Ri(fr.fast[js[Ee]],fo,$n)}return new ft($n,$)}function Li(M){for(var $=typeof Map<"u",ce=$?new Map:Object.create(null),he=Object.getOwnPropertyNames(M),Ce=0;Ce<he.length;Ce++){var ye=he[Ce],je=M[ye],ot=Array.isArray(je)?je:[je];ot.forEach(function(Ye){if(typeof Ye!="string")throw new Error("keyword must be string (in keyword '"+ye+"')");$?ce.set(Ye,ye):ce[Ye]=ye})}return function(Ye){return $?ce.get(Ye):ce[Ye]}}var ft=function(M,$){this.startState=$,this.states=M,this.buffer="",this.stack=[],this.reset()};ft.prototype.reset=function(M,$){return this.buffer=M||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},ft.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}},ft.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var $=this.states[M];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},ft.prototype.popState=function(){this.setState(this.stack.pop())},ft.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Fs=b?function(M,$){return M.exec($)}:function(M,$){var ce=M.exec($);return ce[0].length===0?null:ce};ft.prototype._getGroup=function(M){for(var $=this.groups.length,ce=0;ce<$;ce++)if(M[ce+1]!==void 0)return this.groups[ce];throw new Error("Cannot find token type for matched text")};function Ls(){return this.value}if(ft.prototype.next=function(){var M=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",$}var ce=this.buffer;if(M!==ce.length){var je=this.fast[ce.charCodeAt(M)];if(je)return this._token(je,ce.charAt(M),M);var he=this.re;he.lastIndex=M;var Ce=Fs(he,ce),ye=this.error;if(Ce==null)return this._token(ye,ce.slice(M,ce.length),M);var je=this._getGroup(Ce),ot=Ce[0];return ye.fallback&&Ce.index!==M?(this.queuedGroup=je,this.queuedText=ot,this._token(ye,ce.slice(M,Ce.index),M)):this._token(je,ot,M)}},ft.prototype._token=function(M,$,ce){var he=0;if(M.lineBreaks){var Ce=/\n/g,ye=1;if($===`
10
+ `)he=1;else for(;Ce.exec($);)he++,ye=Ce.lastIndex}var je={type:typeof M.type=="function"&&M.type($)||M.defaultType,value:typeof M.value=="function"?M.value($):$,text:$,toString:Ls,offset:ce,lineBreaks:he,line:this.line,col:this.col},ot=$.length;if(this.index+=ot,this.line+=he,he!==0?this.col=ot-ye+1:this.col+=ot,M.shouldThrow){var Ye=new Error(this.formatError(je,"invalid syntax"));throw Ye}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),je},typeof Symbol<"u"&&Symbol.iterator){var ji=function(M){this.lexer=M};ji.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},ji.prototype[Symbol.iterator]=function(){return this},ft.prototype[Symbol.iterator]=function(){return new ji(this)}}return ft.prototype.formatError=function(he,$){if(he==null)var ce=this.buffer.slice(this.index),he={text:ce,offset:this.index,lineBreaks:ce.indexOf(`
11
+ `)===-1?0:1,line:this.line,col:this.col};var Ce=2,ye=Math.max(he.line-Ce,1),je=he.line+Ce,ot=String(je).length,Ye=Re(this.buffer,this.line-he.line+Ce+1).slice(0,5),Ee=[];Ee.push($+" at line "+he.line+" col "+he.col+":"),Ee.push("");for(var Tt=0;Tt<Ye.length;Tt++){var pr=Ye[Tt],hi=ye+Tt;Ee.push(xe(String(hi),ot)+" "+pr),hi===he.line&&Ee.push(xe("",ot+he.col+1)+"^")}return Ee.join(`
12
+ `)},ft.prototype.clone=function(){return new ft(this.states,this.state)},ft.prototype.has=function(M){return!0},{compile:aa,states:Fi,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Li}})})(mm);var Dae=mm.exports;(function(p){var f=Jc&&Jc.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let y=f(Dae);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:b=>b.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:b=>b.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:b=>b.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:b=>b.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:b=>b.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:b=>b.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:b=>b.substring(0,b.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=y.default.states(p.states)})(pm),Object.defineProperty(po,"__esModule",{value:!0});var fm=po.parse=po.ParseError=void 0;let gm=pm,Ps=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Xc=p=>p==="plural"||p==="select"||p==="selectordinal";function Tae(p,f){let y="",b="";for(let _ of f){let E=_.ctx.text;switch(b+=E,_.type){case"content":y+=_.value;break;case"argument":case"function":case"octothorpe":y+=E;break;default:throw new zt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:y.trim(),ctx:Object.assign({},f[0].ctx,{text:b})}]}let Oae=["number","date","time","spellout","ordinal","duration"],vm=["zero","one","two","few","many","other"];class zt extends Error{constructor(f,y){super(gm.lexer.formatError(f,y))}}po.ParseError=zt;class Nae{constructor(f,y){var b,_,E,k;this.lexer=gm.lexer.reset(f),this.cardinalKeys=(b=y==null?void 0:y.cardinal)!==null&&b!==void 0?b:vm,this.ordinalKeys=(_=y==null?void 0:y.ordinal)!==null&&_!==void 0?_:vm,this.strict=(E=y==null?void 0:y.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=y==null?void 0:y.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,y,b){if(b[0]==="="){if(y==="select")throw new zt(f,`The case ${b} is not valid with select`)}else if(y!=="select"){let _=y==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(b)){let E=`The ${y} case ${b} is not valid in this locale`;throw new zt(f,E)}}}parseSelect(f,y,b,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:b};_==="plural"||_==="selectordinal"?y=!0:this.strict&&(y=!1);for(let D of this.lexer)switch(D.type){case"offset":if(_==="select")throw new zt(D,"Unexpected plural offset for select");if(k.cases.length>0)throw new zt(D,"Plural offset must be set before cases");k.pluralOffset=Number(D.value),b.text+=D.text,b.lineBreaks+=D.lineBreaks;break;case"case":{this.checkSelectKey(D,_,D.value),k.cases.push({key:D.value,tokens:this.parseBody(y),ctx:Ps(D)});break}case"end":return k;default:throw new zt(D,`Unexpected lexer token: ${D.type}`)}throw new zt(null,"Unexpected message end")}parseArgToken(f,y){let b=Ps(f),_=this.lexer.next();if(!_)throw new zt(null,"Unexpected message end");if(b.text+=_.text,b.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!Oae.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new zt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:b};case"func-simple":{let E=this.lexer.next();if(!E)throw new zt(null,"Unexpected message end");if(E.type!=="end")throw new zt(E,`Unexpected lexer token: ${E.type}`);if(b.text+=E.text,Xc(_.value.toLowerCase()))throw new zt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:b}}case"func-args":{if(Xc(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new zt(_,k)}let E=this.parseBody(this.strict?!1:y);return this.strict&&E.length>0&&(E=Tae(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:b}}case"select":if(Xc(_.value))return this.parseSelect(f,y,b,_.value);throw new zt(_,`Unexpected select type ${_.value}`);default:throw new zt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,y){let b=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),b.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),b.push({type:"octothorpe",ctx:Ps(E)});else{if(E.type==="end"&&!y)return b;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let D=`Unsupported escape pattern: ${k}`;throw new zt(E,D)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Ps(E)},b.push(_))}}if(y)return b;throw new zt(null,"Unexpected message end")}}function Pae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Nae(p,f).parse()}fm=po.parse=Pae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function Mae(p,f,y){return mo(p).format(f-y)}function Aae(p,f,y,b){var _=f-y;if(isNaN(_))throw new Error("`"+b+"` or its offset is not a number");return mo(p).format(_)}function Rae(p,f,y,b,_){if({}.hasOwnProperty.call(b,p))return b[p];f&&(p-=f);var E=y(p,_);return E in b?b[E]:b.other}function Fae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Lae(p,f){for(var y=0;y<p.length;++y)if(!f||f[p[y]]===void 0)throw new Error("Message requires argument '".concat(p[y],"'"))}var jae=Object.freeze({__proto__:null,_nf:mo,number:Mae,plural:Rae,reqArgs:Lae,select:Fae,strictNumber:Aae});function Vae(p,f,y){var b={day:"numeric",month:"short",year:"numeric"};switch(y){case"full":b.weekday="long";case"long":b.month="long";break;case"short":b.month="numeric"}return new Date(p).toLocaleDateString(f,b)}function zae(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var y=p%60,b=[Math.round(y)===y?y:y.toFixed(3)];p<60?b.unshift(0):(p=Math.round((p-Number(b[0]))/60),b.unshift(p%60),p>=60&&(p=Math.round((p-Number(b[0]))/60),b.unshift(p)));var _=b.shift();return f+_+":"+b.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var Qc={};function Ms(p,f){var y=String(p)+JSON.stringify(f);return Qc[y]||(Qc[y]=new Intl.NumberFormat(p,f)),Qc[y]}function Bae(p,f,y,b){var _=y&&y.split(":")||[],E=_[0],k=_[1],D={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||b,minimumFractionDigits:2,maximumFractionDigits:2}};return Ms(f,D[E]||{}).format(p)}var Hae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Uae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Gae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function Wae(p,f,y){var b={second:"numeric",minute:"numeric",hour:"numeric"};switch(y){case"full":case"long":b.timeZoneName="short";break;case"short":delete b.second}return new Date(p).toLocaleTimeString(f,b)}var eu=Object.freeze({__proto__:null,date:Vae,duration:zae,numberCurrency:Hae,numberFmt:Bae,numberInteger:Uae,numberPercent:Gae,time:Wae}),qae={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}},tu=Iae(qae);function $ae(p){let f=0;for(let y=0;y<p.length;++y){let b=p.charCodeAt(y);f=(f<<5)-f+b,f|=0}return f}function ia(p,f){f&&(p+=" "+$ae(p).toString(36));let y=p.trim().replace(/\W+/g,"_");return tu.ES3[y]||tu.ESnext[y]||/^\d/.test(y)?"_"+y:y}function nu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!tu.ES3[f])return p?p+"."+f:f;{let y=JSON.stringify(f);return p?p+"["+y+"]":y}}var Yae=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Zae=new RegExp("^"+Yae.join("|^"));function Kae(p,f){var y=Zae.test(f),b=JSON.stringify(y?"‏":"‎");return"".concat(b," + ").concat(p," + ").concat(b)}var Jae="@messageformat/runtime",Xae="@messageformat/runtime/lib/cardinals",ym="@messageformat/runtime/lib/plurals",Qae="@messageformat/runtime/lib/formatters",ere=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,y,b){var _,E,k=this,D=this.options,N=D.localeCodeFromKey,z=D.requireAllArguments,de=D.strict,xe=D.strictPluralKeys;if(typeof f=="object"){var Re={};try{for(var ne=n(Object.keys(f)),tt=ne.next();!tt.done;tt=ne.next()){var Et=tt.value,jt=N?N(Et):Et,on=b&&jt&&b[jt]||y;Re[Et]=this.compile(f[Et],on,b)}}catch(ft){_={error:ft}}finally{try{tt&&!tt.done&&(E=ne.return)&&E.call(ne)}finally{if(_)throw _.error}}return Re}this.plural=y;var qn={cardinal:y.cardinals,ordinal:y.ordinals,strict:de,strictPluralKeys:xe};this.arguments=[];var aa=fm(f,qn).map(function(ft){return k.token(ft,null)}),Ri=this.arguments.length>0,Fi=this.concatenate(aa,!0);if(z&&Ri){this.setRuntimeFn("reqArgs");var Li=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Li,", d); return ").concat(Fi,"; }")}return"(".concat(Ri?"d":"",") => ").concat(Fi)},p.prototype.cases=function(f,y){var b=this,_=!0,E=f.cases.map(function(de){var xe=de.key,Re=de.tokens;xe==="other"&&(_=!1);var ne=Re.map(function(tt){return b.token(tt,y)});return"".concat(nu(null,xe.replace(/^=/,"")),": ").concat(b.concatenate(ne,!1))});if(_){var k=f.type,D=this.plural,N=D.cardinals,z=D.ordinals;if(k==="select"||k==="plural"&&N.includes("other")||k==="selectordinal"&&z.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,y){var b=this.options.returnType==="values";return b&&(y||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,y){if(f.type==="content")return JSON.stringify(f.value);var b=this.plural,_=b.id,E=b.lc,k,D;switch("arg"in f?(this.arguments.push(f.arg),k=[nu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?Kae(String(k[0]),E):String(k[0]);case"select":D="select",y&&this.options.strict&&(y=null),k.push(this.cases(f,y)),this.setRuntimeFn("select");break;case"selectordinal":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var N=this.options.customFormatters[f.key],z=N&&"module"in N&&typeof N.module=="function";if(!N){if(f.key==="date"){D=this.setDateFormatter(f,k,y);break}else if(f.key==="number"){D=this.setNumberFormatter(f,k,y);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){y&&this.options.strict&&(y=null);var de=this.getFormatterArg(f,y);de&&k.push(de)}D=z?ia("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(D,f.key);break}case"octothorpe":if(!y)return'"#"';k=[JSON.stringify(this.plural.locale),nu("d",y.arg),y.pluralOffset||0],this.options.strict?(D="strictNumber",k.push(JSON.stringify(y.arg)),this.setRuntimeFn("strictNumber")):(D="number",this.setRuntimeFn("number"));break}if(!D)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(D,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,y){if(ia(f)!==f)throw new SyntaxError("Reserved word used as ".concat(y," identifier: ").concat(f));var b=this.runtime[f];if(!b||b.type===y)return b;throw new TypeError("Cannot override ".concat(b.type," runtime function as ").concat(y,": ").concat(f))},p.prototype.setLocale=function(f,y){var b=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,D=_.isDefault,N,z,de;if(!y&&D&&E){if(b)return;N=function(xe){return E(xe)},z=Xae,de=function(){return String(E)}}else{if(b&&(!D||b.module===ym))return;N=function(xe,Re){return k(xe,Re)},z=D?ym:k.module||null,de=function(){return String(k)}}this.runtime[f]=Object.assign(N,{id:f,module:z,toString:de,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(jae[f],{id:f,module:Jae,type:"runtime"}))},p.prototype.getFormatterArg=function(f,y){var b,_,E,k,D=this,N=f.key,z=f.param,de=this.options.customFormatters[N]||bm(N)&&eu[N];if(!de||!z)return null;var xe="arg"in de&&de.arg||"string";if(xe==="options"){var Re="";try{for(var ne=n(z),tt=ne.next();!tt.done;tt=ne.next()){var Et=tt.value;if(Et.type==="content")Re+=Et.value;else throw new SyntaxError("Expected literal options for ".concat(N," formatter"))}}catch(ji){b={error:ji}}finally{try{tt&&!tt.done&&(_=ne.return)&&_.call(ne)}finally{if(b)throw b.error}}var jt={};try{for(var on=n(Re.split(",")),qn=on.next();!qn.done;qn=on.next()){var aa=qn.value,Ri=aa.indexOf(":");if(Ri===-1)jt[aa.trim()]=null;else{var Fi=aa.substring(0,Ri).trim(),Li=aa.substring(Ri+1).trim();if(Li==="true")jt[Fi]=!0;else if(Li==="false")jt[Fi]=!1;else if(Li==="null")jt[Fi]=null;else{var ft=Number(Li);jt[Fi]=Number.isFinite(ft)?ft:Li}}}}catch(ji){E={error:ji}}finally{try{qn&&!qn.done&&(k=on.return)&&k.call(on)}finally{if(E)throw E.error}}return JSON.stringify(jt)}else{var Fs=z.map(function(ji){return D.token(ji,y)});if(xe==="raw")return"[".concat(Fs.join(", "),"]");var Ls=Fs.join(" + ");return Ls?"(".concat(Ls,").trim()"):'""'}},p.prototype.setFormatter=function(f,y){if(!this.runtimeIncludes(f,"formatter")){var b=this.options.customFormatters[y||f];if(b){var _=typeof b=="function"?{formatter:b}:b;this.runtime[f]=Object.assign(_.formatter.bind({}),i(i({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in b&&b.module&&b.id?{id:ia(b.id),module:typeof b.module=="function"?b.module(this.plural.locale):b.module}:{id:null,module:null})}else if(bm(f))this.runtime[f]=Object.assign(eu[f],{type:"formatter"},{id:f,module:Qae});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale,D=E&&E.length===1&&E[0];if(D&&D.type==="content"&&/^\s*::/.test(D.value)){var N=D.value.trim().substr(2),z=ia("date_".concat(k,"_").concat(N),!0);if(!this.runtimeIncludes(z,"formatter")){var de=Ft(k,N,this.options.timeZone);this.runtime[z]=Object.assign(de,{id:z,module:null,toString:function(){return wt(k,N,_.options.timeZone)},type:"formatter"})}return z}if(y.push(JSON.stringify(k)),E&&E.length>0){b&&this.options.strict&&(b=null);var xe=E.map(function(Re){return _.token(Re,b)});y.push("("+(xe.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return y.unshift(JSON.stringify(k)),y.push("0"),this.setRuntimeFn("number"),"number";if(y.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var D=E[0].value.trim();switch(D){case"currency":return y.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 N=D.match(/^currency:([A-Z]+)$/);if(N)return y.push(JSON.stringify(N[1])),this.setFormatter("numberCurrency"),"numberCurrency";var z=ia("number_".concat(k,"_").concat(D),!0);if(!this.runtimeIncludes(z,"formatter")){var de=this.options.currency,xe=kae(k,D,de);this.runtime[z]=Object.assign(xe,{id:null,module:null,toString:function(){return Cae(k,D,de)},type:"formatter"})}return z}b&&this.options.strict&&(b=null);var Re=E.map(function(ne){return _.token(ne,b)});return y.push("("+(Re.join(" + ")||'""')+").trim()"),y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function bm(p){return p in eu}let U=p=>p==1?"one":"other",Oi=p=>p==0||p==1?"one":"other",ui=p=>p>=0&&p<=1?"one":"other",Wt=p=>{let f=String(p).split("."),y=!f[1];return p==1&&y?"one":"other"},ze=p=>"other",Ni=p=>p==1?"one":p==2?"two":"other";var tre=Object.freeze({__proto__:null,af:U,ak:Oi,am:ui,an:U,ar:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},ars:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},as:ui,asa:U,ast:Wt,az:U,bal:U,be:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2);return b==1&&_!=11?"one":b>=2&&b<=4&&(_<12||_>14)?"few":y&&b==0||b>=5&&b<=9||_>=11&&_<=14?"many":"other"},bem:U,bez:U,bg:U,bho:Oi,bm:ze,bn:ui,bo:ze,br:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2),E=y&&f[0].slice(-6);return b==1&&_!=11&&_!=71&&_!=91?"one":b==2&&_!=12&&_!=72&&_!=92?"two":(b==3||b==4||b==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&y&&E==0?"many":"other"},brx:U,bs:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),N=b.slice(-2);return _&&E==1&&k!=11||D==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(N<12||N>14)?"few":"other"},ca:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},ce:U,ceb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:U,chr:U,ckb:U,cs:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),y=f[0],b=Number(f[0])==p;return p==1||!b&&(y==0||y==1)?"one":"other"},de:Wt,doi:ui,dsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:U,dz:ze,ee:U,el:U,en:Wt,eo:U,es:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1?"one":y!=0&&_==0&&b?"many":"other"},et:Wt,eu:U,fa:ui,ff:p=>p>=0&&p<2?"one":"other",fi:Wt,fil:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:U,fr:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p>=0&&p<2?"one":y!=0&&_==0&&b?"many":"other"},fur:U,fy:Wt,ga:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Wt,gsw:U,gu:ui,guw:Oi,gv:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(E==0||E==20||E==40||E==60||E==80)?"few":b?"other":"many"},ha:U,haw:U,he:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return y==1&&b||y==0&&!b?"one":y==2&&b?"two":"other"},hi:ui,hnj:ze,hr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),N=b.slice(-2);return _&&E==1&&k!=11||D==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(N<12||N>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:U,hy:p=>p>=0&&p<2?"one":"other",ia:Wt,id:ze,ig:ze,ii:ze,io:Wt,is:p=>{let f=String(p).split("."),y=f[0],b=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=y.slice(-1),k=y.slice(-2);return _&&E==1&&k!=11||b%10==1&&b%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},iu:Ni,ja:ze,jbo:ze,jgo:U,jmc:U,jv:ze,jw:ze,ka:U,kab:p=>p>=0&&p<2?"one":"other",kaj:U,kcg:U,kde:ze,kea:ze,kk:U,kkj:U,kl:U,km:ze,kn:ui,ko:ze,ks:U,ksb:U,ksh:p=>p==0?"zero":p==1?"one":"other",ku:U,kw:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2),_=y&&f[0].slice(-3),E=y&&f[0].slice(-5),k=y&&f[0].slice(-6);return p==0?"zero":p==1?"one":b==2||b==22||b==42||b==62||b==82||y&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":b==3||b==23||b==43||b==63||b==83?"few":p!=1&&(b==1||b==21||b==41||b==61||b==81)?"many":"other"},ky:U,lag:p=>{let f=String(p).split("."),y=f[0];return p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:U,lg:U,lij:Wt,lkt:ze,ln:Oi,lo:ze,lt:p=>{let f=String(p).split("."),y=f[1]||"",b=Number(f[0])==p,_=b&&f[0].slice(-1),E=b&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":y!=0?"many":"other"},lv:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),N=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&N==1&&D!=11||b!=2&&N==1?"one":"other"},mas:U,mg:Oi,mgo:U,mk:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),N=b.slice(-2);return _&&E==1&&k!=11||D==1&&N!=11?"one":"other"},ml:U,mn:U,mo:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:U,ms:ze,mt:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||b>=3&&b<=10?"few":b>=11&&b<=19?"many":"other"},my:ze,nah:U,naq:Ni,nb:U,nd:U,ne:U,nl:Wt,nn:U,nnh:U,no:U,nqo:ze,nr:U,nso:Oi,ny:U,nyn:U,om:U,or:U,os:U,osa:ze,pa:Oi,pap:U,pcm:ui,pl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return p==1&&b?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&y!=1&&(_==0||_==1)||b&&_>=5&&_<=9||b&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),N=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&N==1&&D!=11||b!=2&&N==1?"one":"other"},ps:U,pt:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return y==0||y==1?"one":y!=0&&_==0&&b?"many":"other"},pt_PT:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},rm:U,ro:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:U,ru:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},rwk:U,sah:ze,saq:U,sat:Ni,sc:Wt,scn:Wt,sd:U,sdh:U,se:Ni,seh:U,ses:ze,sg:ze,sh:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),N=b.slice(-2);return _&&E==1&&k!=11||D==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(N<12||N>14)?"few":"other"},shi:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"";return p==0||p==1||y==0&&b==1?"one":"other"},sk:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},sl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(_==3||_==4)||!b?"few":"other"},sma:Ni,smi:Ni,smj:Ni,smn:Ni,sms:Ni,sn:U,so:U,sq:U,sr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),N=b.slice(-2);return _&&E==1&&k!=11||D==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(N<12||N>14)?"few":"other"},ss:U,ssy:U,st:U,su:ze,sv:Wt,sw:Wt,syr:U,ta:U,te:U,teo:U,th:ze,ti:Oi,tig:U,tk:U,tl:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:U,to:ze,tpi:ze,tr:U,ts:U,tzm:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:U,uk:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},und:ze,ur:Wt,uz:U,ve:U,vec:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},vi:ze,vo:U,vun:U,wa:Oi,wae:U,wo:ze,xh:U,xog:U,yi:Wt,yo:ze,yue:ze,zh:ze,zu:ui});let Pi="zero",X="one",rt="two",De="few",Te="many",A="other",L={cardinal:[X,A],ordinal:[A]},Ia={cardinal:[X,A],ordinal:[X,A]},Ue={cardinal:[A],ordinal:[A]},di={cardinal:[X,rt,A],ordinal:[A]};var _m=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[Pi,X,rt,De,Te,A],ordinal:[A]},ars:{cardinal:[Pi,X,rt,De,Te,A],ordinal:[A]},as:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},asa:L,ast:L,az:{cardinal:[X,A],ordinal:[X,De,Te,A]},bal:Ia,be:{cardinal:[X,De,Te,A],ordinal:[De,A]},bem:L,bez:L,bg:L,bho:L,bm:Ue,bn:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},bo:Ue,br:{cardinal:[X,rt,De,Te,A],ordinal:[A]},brx:L,bs:{cardinal:[X,De,A],ordinal:[A]},ca:{cardinal:[X,Te,A],ordinal:[X,rt,De,A]},ce:L,ceb:L,cgg:L,chr:L,ckb:L,cs:{cardinal:[X,De,Te,A],ordinal:[A]},cy:{cardinal:[Pi,X,rt,De,Te,A],ordinal:[Pi,X,rt,De,Te,A]},da:L,de:L,doi:L,dsb:{cardinal:[X,rt,De,A],ordinal:[A]},dv:L,dz:Ue,ee:L,el:L,en:{cardinal:[X,A],ordinal:[X,rt,De,A]},eo:L,es:{cardinal:[X,Te,A],ordinal:[A]},et:L,eu:L,fa:L,ff:L,fi:L,fil:Ia,fo:L,fr:{cardinal:[X,Te,A],ordinal:[X,A]},fur:L,fy:L,ga:{cardinal:[X,rt,De,Te,A],ordinal:[X,A]},gd:{cardinal:[X,rt,De,A],ordinal:[X,rt,De,A]},gl:L,gsw:L,gu:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},guw:L,gv:{cardinal:[X,rt,De,Te,A],ordinal:[A]},ha:L,haw:L,he:di,hi:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},hnj:Ue,hr:{cardinal:[X,De,A],ordinal:[A]},hsb:{cardinal:[X,rt,De,A],ordinal:[A]},hu:Ia,hy:Ia,ia:L,id:Ue,ig:Ue,ii:Ue,io:L,is:L,it:{cardinal:[X,Te,A],ordinal:[Te,A]},iu:di,ja:Ue,jbo:Ue,jgo:L,jmc:L,jv:Ue,jw:Ue,ka:{cardinal:[X,A],ordinal:[X,Te,A]},kab:L,kaj:L,kcg:L,kde:Ue,kea:Ue,kk:{cardinal:[X,A],ordinal:[Te,A]},kkj:L,kl:L,km:Ue,kn:L,ko:Ue,ks:L,ksb:L,ksh:{cardinal:[Pi,X,A],ordinal:[A]},ku:L,kw:{cardinal:[Pi,X,rt,De,Te,A],ordinal:[X,Te,A]},ky:L,lag:{cardinal:[Pi,X,A],ordinal:[A]},lb:L,lg:L,lij:{cardinal:[X,A],ordinal:[Te,A]},lkt:Ue,ln:L,lo:{cardinal:[A],ordinal:[X,A]},lt:{cardinal:[X,De,Te,A],ordinal:[A]},lv:{cardinal:[Pi,X,A],ordinal:[A]},mas:L,mg:L,mgo:L,mk:{cardinal:[X,A],ordinal:[X,rt,Te,A]},ml:L,mn:L,mo:{cardinal:[X,De,A],ordinal:[X,A]},mr:{cardinal:[X,A],ordinal:[X,rt,De,A]},ms:{cardinal:[A],ordinal:[X,A]},mt:{cardinal:[X,rt,De,Te,A],ordinal:[A]},my:Ue,nah:L,naq:di,nb:L,nd:L,ne:Ia,nl:L,nn:L,nnh:L,no:L,nqo:Ue,nr:L,nso:L,ny:L,nyn:L,om:L,or:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},os:L,osa:Ue,pa:L,pap:L,pcm:L,pl:{cardinal:[X,De,Te,A],ordinal:[A]},prg:{cardinal:[Pi,X,A],ordinal:[A]},ps:L,pt:{cardinal:[X,Te,A],ordinal:[A]},pt_PT:{cardinal:[X,Te,A],ordinal:[A]},rm:L,ro:{cardinal:[X,De,A],ordinal:[X,A]},rof:L,ru:{cardinal:[X,De,Te,A],ordinal:[A]},rwk:L,sah:Ue,saq:L,sat:di,sc:{cardinal:[X,A],ordinal:[Te,A]},scn:{cardinal:[X,A],ordinal:[Te,A]},sd:L,sdh:L,se:di,seh:L,ses:Ue,sg:Ue,sh:{cardinal:[X,De,A],ordinal:[A]},shi:{cardinal:[X,De,A],ordinal:[A]},si:L,sk:{cardinal:[X,De,Te,A],ordinal:[A]},sl:{cardinal:[X,rt,De,A],ordinal:[A]},sma:di,smi:di,smj:di,smn:di,sms:di,sn:L,so:L,sq:{cardinal:[X,A],ordinal:[X,Te,A]},sr:{cardinal:[X,De,A],ordinal:[A]},ss:L,ssy:L,st:L,su:Ue,sv:Ia,sw:L,syr:L,ta:L,te:L,teo:L,th:Ue,ti:L,tig:L,tk:{cardinal:[X,A],ordinal:[De,A]},tl:Ia,tn:L,to:Ue,tpi:Ue,tr:L,ts:L,tzm:L,ug:L,uk:{cardinal:[X,De,Te,A],ordinal:[De,A]},und:Ue,ur:L,uz:L,ve:L,vec:{cardinal:[X,Te,A],ordinal:[Te,A]},vi:{cardinal:[A],ordinal:[X,A]},vo:L,vun:L,wa:L,wae:L,wo:Ue,xh:L,xog:L,yi:L,yo:Ue,yue:Ue,zh:Ue,zu:L});let ee=(p,f)=>f?"other":p==1?"one":"other",Mi=(p,f)=>f?"other":p==0||p==1?"one":"other",hr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",On=(p,f)=>{let y=String(p).split("."),b=!y[1];return f?"other":p==1&&b?"one":"other"},Ge=(p,f)=>"other",Ai=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var As=Object.freeze({__proto__:null,af:ee,ak:Mi,am:hr,an:ee,ar:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:ee,ast:On,az:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-1),E=b.slice(-2),k=b.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":b==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:ee,bez:ee,bg:ee,bho:Mi,bm:Ge,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:Ge,br:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2),k=b&&y[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&b&&k==0?"many":"other"},brx:ee,bs:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),N=_.slice(-1),z=_.slice(-2);return f?"other":E&&k==1&&D!=11||N==1&&z!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||N>=2&&N<=4&&(z<12||z>14)?"few":"other"},ca:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},ce:ee,ceb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},cgg:ee,chr:ee,ckb:ee,cs:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let y=String(p).split("."),b=y[0],_=Number(y[0])==p;return f?"other":p==1||!_&&(b==0||b==1)?"one":"other"},de:On,doi:hr,dsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},dv:ee,dz:Ge,ee,el:ee,en:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&b?"one":"other"},eo:ee,es:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1?"one":b!=0&&E==0&&_?"many":"other"},et:On,eu:ee,fa:hr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:On,fil:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},fo:ee,fr:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":b!=0&&E==0&&_?"many":"other"},fur:ee,fy:On,ga:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:On,gsw:ee,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Mi,gv:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:ee,haw:ee,he:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":b==1&&_||b==0&&!_?"one":b==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Ge,hr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),N=_.slice(-1),z=_.slice(-2);return f?"other":E&&k==1&&D!=11||N==1&&z!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||N>=2&&N<=4&&(z<12||z>14)?"few":"other"},hsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:On,id:Ge,ig:Ge,ii:Ge,io:On,is:(p,f)=>{let y=String(p).split("."),b=y[0],_=(y[1]||"").replace(/0+$/,""),E=Number(y[0])==p,k=b.slice(-1),D=b.slice(-2);return f?"other":E&&k==1&&D!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},iu:Ai,ja:Ge,jbo:Ge,jgo:ee,jmc:ee,jv:Ge,jw:Ge,ka:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-2);return f?b==1?"one":b==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:ee,kcg:ee,kde:Ge,kea:Ge,kk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||b&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:ee,kl:ee,km:Ge,kn:hr,ko:Ge,ks:ee,ksb:ee,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:ee,kw:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2),E=b&&y[0].slice(-3),k=b&&y[0].slice(-5),D=b&&y[0].slice(-6);return f?b&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||b&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&D==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:ee,lag:(p,f)=>{let y=String(p).split("."),b=y[0];return f?"other":p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:ee,lg:ee,lij:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&b?"one":"other"},lkt:Ge,ln:Mi,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),N=b.slice(-2),z=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&N>=11&&N<=19?"zero":k==1&&D!=11||_==2&&z==1&&N!=11||_!=2&&z==1?"one":"other"},mas:ee,mg:Mi,mgo:ee,mk:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),N=_.slice(-1),z=_.slice(-2);return f?k==1&&D!=11?"one":k==2&&D!=12?"two":(k==7||k==8)&&D!=17&&D!=18?"many":"other":E&&k==1&&D!=11||N==1&&z!=11?"one":"other"},ml:ee,mn:ee,mo:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ge,nah:ee,naq:Ai,nb:ee,nd:ee,ne:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?b&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:On,nn:ee,nnh:ee,no:ee,nqo:Ge,nr:ee,nso:Mi,ny:ee,nyn:ee,om:ee,or:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==5||b&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:ee,osa:Ge,pa:Mi,pap:ee,pcm:hr,pl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&b!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),N=b.slice(-2),z=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&N>=11&&N<=19?"zero":k==1&&D!=11||_==2&&z==1&&N!=11||_!=2&&z==1?"one":"other"},ps:ee,pt:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":b==0||b==1?"one":b!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},rm:ee,ro:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:ee,ru:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:ee,sah:Ge,saq:ee,sat:Ai,sc:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},scn:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},sd:ee,sdh:ee,se:Ai,seh:ee,ses:Ge,sg:Ge,sh:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),N=_.slice(-1),z=_.slice(-2);return f?"other":E&&k==1&&D!=11||N==1&&z!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||N>=2&&N<=4&&(z<12||z>14)?"few":"other"},shi:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"";return f?"other":p==0||p==1||b==0&&_==1?"one":"other"},sk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Ai,smi:Ai,smj:Ai,smn:Ai,sms:Ai,sn:ee,so:ee,sq:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),N=_.slice(-1),z=_.slice(-2);return f?"other":E&&k==1&&D!=11||N==1&&z!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||N>=2&&N<=4&&(z<12||z>14)?"few":"other"},ss:ee,ssy:ee,st:ee,su:Ge,sv:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&b?"one":"other"},sw:On,syr:ee,ta:ee,te:ee,teo:ee,th:Ge,ti:Mi,tig:ee,tk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},tn:ee,to:Ge,tpi:Ge,tr:ee,ts:ee,tzm:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:ee,uk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),N=b.slice(-1),z=b.slice(-2);return f?k==3&&D!=13?"few":"other":_&&N==1&&z!=11?"one":_&&N>=2&&N<=4&&(z<12||z>14)?"few":_&&N==0||_&&N>=5&&N<=9||_&&z>=11&&z<=14?"many":"other"},und:Ge,ur:On,uz:ee,ve:ee,vec:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:ee,vun:ee,wa:Mi,wae:ee,wo:Ge,xh:ee,xog:ee,yi:On,yo:Ge,yue:Ge,zh:Ge,zu:hr});function iu(p){if(typeof p!="string"||p.length<2)throw new RangeError("Invalid language tag: ".concat(p));if(p.startsWith("pt-PT"))return"pt-PT";var f=p.match(/.+?(?=[-_])/);return f?f[0]:p}function Rs(p){if(typeof p=="function"){var f=iu(p.name);return{isDefault:!1,id:ia(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var y=iu(p),b=ia(y);return are(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:tre[b],getPlural:As[b],cardinals:_m[b].cardinal,ordinals:_m[b].ordinal}:null}function nre(p){var f=Object.keys(As).filter(function(y){return y!==p});return f.unshift(p),f.map(Rs)}function ire(p){var f=iu(p);return ia(f)in As}function are(p){return p in As}var rre=function(){function p(f,y){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:y&&y.strictNumberSign||!1,strictPluralKeys:!0},y),f==="*")this.plurals=nre(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Rs).filter(Boolean);else if(f){var b=Rs(f);b&&(this.plurals=[b])}if(this.plurals.length===0){var b=Rs(p.defaultLocale);this.plurals=[b]}}return p.escape=function(f,y){var b=y?/[#{}]/g:/[{}]/g;return String(f).replace(b,"'$&'")},p.supportedLocalesOf=function(f){var y=Array.isArray(f)?f:[f];return y.filter(ire)},p.prototype.resolvedOptions=function(){return i(i({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var y,b,_=new ere(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],D=[];try{for(var N=n(Object.entries(_.runtime)),z=N.next();!z.done;z=N.next()){var de=a(z.value,2),xe=de[0],Re=de[1];k.push(xe),D.push(Re)}}catch(tt){y={error:tt}}finally{try{z&&!z.done&&(b=N.return)&&b.call(N)}finally{if(y)throw y.error}}var ne=new(Function.bind.apply(Function,r(r([void 0],a(k),!1),[E],!1)));return ne.apply(void 0,r([],a(D),!1))},p.defaultLocale="en",p}();return rre})}),In=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var i=function n(a,r){t(this,n),this.data=a,this.text=r.text||a,this.options=r};e.default=i}),vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,F){for(var P=0;P<F.length;P++){var re=F[P];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(T,re.key,re)}}return function(T,F,P){return F&&S(T.prototype,F),P&&S(T,P),T}}(),i=In(),n=a(i);function a(S){return S&&S.__esModule?S:{default:S}}function r(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")}function o(S,T){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:S}function l(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(S,T):S.__proto__=T)}var u=function(S){l(T,S);function T(F,P){return r(this,T),F=F.toUpperCase(),P.mod43&&(F+=g(w(F))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,F,P))}return t(T,[{key:"encode",value:function(){for(var F=m("*"),P=0;P<this.data.length;P++)F+=m(this.data[P])+"0";return F+=m("*"),{data:F,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.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","-","."," ","$","/","+","%","*"],h=[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 m(S){return v(x(S))}function v(S){return h[S].toString(2)}function g(S){return c[S]}function x(S){return c.indexOf(S)}function w(S){for(var T=0,F=0;F<S.length;F++)T+=x(S[F]);return T=T%43,T}e.CODE39=u}),is=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function i(c,h,m){return h in c?Object.defineProperty(c,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[h]=m,c}var n=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},i(t,o,n),i(t,l,a),i(t,u,r),t),e.SWAP={101:n,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]}),uc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){o(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,S=void 0;if(v[0]>=200){S=v.shift()-105;var T=a.SWAP[S];T!==void 0?w=m.next(v,g+1,T):((x===a.SET_A||x===a.SET_B)&&S===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),w=m.next(v,g+1,x))}else S=m.correctIndex(v,x),w=m.next(v,g+1,x);var F=m.getBar(S),P=S*g;return{result:F+w.result,checksum:P+w.checksum}}}]),m}(n.default);e.default=c}),yre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=is(),i=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,u){var c=u?t.A_CHARS:t.B_CHARS,h=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(h)return h[1]+"Ì"+o(l.substring(h[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+r(l.substring(m.length),!u)}function o(l){var u=a(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var h=i(l)>=n(l);return u+String.fromCharCode(h?206:205)+r(l,h)}e.default=function(l){var u=void 0,c=a(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var h=i(l)>n(l);u=(h?t.A_START_CHAR:t.B_START_CHAR)+r(l,h)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uc(),i=r(t),n=yre(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(i.default);e.default=c}),_re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Ere=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=bre(),i=c(t),n=_re(),a=c(n),r=xre(),o=c(r),l=wre(),u=c(l);function c(h){return h&&h.__esModule?h:{default:h}}e.CODE128=i.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=u.default}),as=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"]}),rs=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=as(),i=function(n,a,r){var o=n.split("").map(function(u,c){return t.BINARIES[a[c]]}).map(function(u,c){return u?u[n[c]]:""});if(r){var l=n.length-1;o=o.map(function(u,c){return c<l?u+r:u})}return o.join("")};e.default=i}),m0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){u(this,g);var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:i.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:i.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:i.SIDE_BIN,options:w}]}},{key:"encodeFlat",value:function(){var x=[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(o.default);e.default=m}),Sre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=function v(g,x,w){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,x);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:v(T,x,w)}else{if("value"in S)return S.value;var F=S.get;return F===void 0?void 0:F.call(w)}},n=as(),a=m0(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,w,S){return S%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=h(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.lastChar=w.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===h(this.data)}},{key:"leftText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),w=n.EAN13_STRUCTURE[this.data[0]];return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{key:"rightText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=i(g.prototype.__proto__||Object.getPrototypeOf(g.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}}]),g}(r.default);e.default=m}),kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),i=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var S=Object.getPrototypeOf(v);return S===null?void 0:m(S,g,x)}else{if("value"in w)return w.value;var T=w.get;return T===void 0?void 0:T.call(x)}},n=m0(),a=r(n);function r(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},h=function(m){u(v,m);function v(g,x){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=h}),Cre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var S=0;S<w.length;S++){var T=w[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,w,S){return w&&g(x.prototype,w),S&&g(x,S),x}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function c(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function h(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(w){return+w}).reduce(function(w,S,T){return T%2?w+S*9:w+S*3},0);return x%10},v=function(g){h(x,g);function x(w,S){return u(this,x),c(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,S))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=i.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(o.default);e.default=v}),Ire=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(o.default);e.default=m}),f0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var i=rs(),n=o(i),a=In(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.displayValue=w.displayValue,w.fontSize>w.width*10?S.fontSize=w.width*10:S.fontSize=w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(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,n.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,n.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,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,n.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,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,n.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}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=h}),Dre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(S,T){for(var F=0;F<T.length;F++){var P=T[F];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(S,P.key,P)}}return function(S,T,F){return T&&w(S.prototype,T),F&&w(S,F),S}}(),i=rs(),n=l(i),a=In(),r=l(a),o=f0();function l(w){return w&&w.__esModule?w:{default:w}}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function c(w,S){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(w,S):w.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(w){h(S,w);function S(T,F){u(this,S);var P=c(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,F));if(P.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)P.middleDigits=T,P.upcA=x(T,"0"),P.text=F.text||""+P.upcA[0]+T+P.upcA[P.upcA.length-1],P.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(P.middleDigits=T.substring(1,T.length-1),P.upcA=x(P.middleDigits,T[0]),P.upcA[P.upcA.length-1]===T[T.length-1])P.isValid=!0;else return c(P);else return c(P);return P.displayValue=F.displayValue,F.fontSize>F.width*10?P.fontSize=F.width*10:P.fontSize=F.fontSize,P.guardHeight=F.height+P.fontSize/2+F.textMargin,P}return t(S,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var T="";return T+="101",T+=this.encodeMiddleDigits(),T+="010101",{data:T,text:this.text}}},{key:"guardedEncoding",value:function(){var T=[];return this.displayValue&&T.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),T.push({data:"101",options:{height:this.guardHeight}}),T.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),T.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&T.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),T}},{key:"encodeMiddleDigits",value:function(){var T=this.upcA[0],F=this.upcA[this.upcA.length-1],P=v[parseInt(F)][parseInt(T)];return(0,n.default)(this.middleDigits,P)}}]),S}(r.default);function x(w,S){for(var T=parseInt(w[w.length-1]),F=m[T],P="",re=0,ve=0;ve<F.length;ve++){var ke=F[ve];ke==="X"?P+=w[re++]:P+=ke}return P=""+S+P,""+P+(0,o.checksum)(P)}e.default=g}),Tre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Sre(),i=g(t),n=kre(),a=g(n),r=Cre(),o=g(r),l=Ire(),u=g(l),c=f0(),h=g(c),m=Dre(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=i.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=h.default,e.UPCE=v.default}),Ore=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"]}),g0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=Ore(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:i.START_BIN+g+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=i.BINARIES[v[1]];return i.BINARIES[v[0]].split("").map(function(x,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=c}),Nre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=g0(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){var m=h.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},c=function(h){l(m,h);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),Pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=g0(),i=r(t),n=Nre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=i.default,e.ITF14=a.default}),os=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){l(m,h);function m(v,g){return r(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=c(w,4-w.length);for(var S=0;S<w.length;S++)v+=w[S]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(h,m){for(var v=0;v<m;v++)h="0"+h;return h}e.default=u}),dc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=i;function t(n){for(var a=0,r=0;r<n.length;r++){var o=parseInt(n[r]);(r+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function i(n){for(var a=0,r=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=r[o%r.length]*l}return(11-a%11)%11}}),Mre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod10)(m),v))}return h}(i.default);e.default=u}),Are=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod11)(m),v))}return h}(i.default);e.default=u}),Rre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=os(),i=m(t),n=Mre(),a=m(n),r=Are(),o=m(r),l=Rre(),u=m(l),c=Fre(),h=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=i.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=h.default}),jre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h);var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v));return g.number=parseInt(m,10),g}return t(h,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),h}(n.default);e.pharmacode=u}),Vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(h,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.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"}}}]),h}(n.default);e.codabar=u}),zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),v0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=zre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(S){return i.MULTI_SYMBOLS[S]||S}),g=v.map(function(S){return m.getEncoding(S)}).join(""),x=m.checksum(v,20),w=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(w)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return i.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return i.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return i.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(w,S,T){var F=T%g+1;return w+m.symbolValue(S)*F},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=c}),Bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=v0(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),h}(n.default);e.default=u}),Hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=v0(),i=r(t),n=Bre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),Ure=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),h}(n.default);e.GenericBarcode=u}),Gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=vre(),i=Ere(),n=Tre(),a=Pre(),r=Lre(),o=jre(),l=Vre(),u=Hre(),c=Ure();e.default={CODE39:t.CODE39,CODE128:i.CODE128,CODE128A:i.CODE128A,CODE128B:i.CODE128B,CODE128C:i.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.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:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),hc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r])}return i};e.default=function(i,n){return t({},i,n)}}),Wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=[];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||"",n.push(r)}return a(i),n}}),qre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){return i.marginTop=i.marginTop||i.margin,i.marginBottom=i.marginBottom||i.margin,i.marginRight=i.marginRight||i.margin,i.marginLeft=i.marginLeft||i.margin,i}}),y0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof i[a]=="string"&&(i[a]=parseInt(i[a],10)));return typeof i.displayValue=="string"&&(i.displayValue=i.displayValue!="false"),i}}),b0=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}),$re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=y0(),i=r(t),n=b0(),a=r(n);function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in a.default)a.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,i.default)(u),u}e.default=o}),_0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=hc(),i=n(t);function n(h){return h&&h.__esModule?h:{default:h}}function a(h,m){return m.height+(m.displayValue&&h.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(h,m,v){if(v.displayValue&&m<h){if(v.textAlign=="center")return Math.floor((h-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(h-m)}return 0}function o(h,m,v){for(var g=0;g<h.length;g++){var x=h[g],w=(0,i.default)(m,x.options),S;w.displayValue?S=c(x.text,w,v):S=0;var T=x.data.length*w.width;x.width=Math.ceil(Math.max(S,T)),x.height=a(x,w),x.barcodePadding=r(S,T,w)}}function l(h){for(var m=0,v=0;v<h.length;v++)m+=h[v].width;return m}function u(h){for(var m=0,v=0;v<h.length;v++)h[v].height>m&&(m=h[v].height);return m}function c(h,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(h);if(!x)return 0;var w=x.width;return w}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),Yre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,h){for(var m=0;m<h.length;m++){var v=h[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,h,m){return h&&u(c.prototype,h),m&&u(c,m),c}}(),i=hc(),n=r(i),a=_0();function r(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,h,m){o(this,u),this.canvas=c,this.encodings=h,this.options=m}return t(u,[{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 h=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(h,this.encodings[c]),this.drawCanvasText(h,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 h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=h+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,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,h){var m=this.canvas.getContext("2d"),v=h.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var x=0;x<v.length;x++){var w=x*c.width+h.barcodePadding;v[x]==="1"?m.fillRect(w,g,c.width,c.height):v[x]&&m.fillRect(w,g,c.width,c.height*v[x])}}},{key:"drawCanvasText",value:function(c,h){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,x;c.textPosition=="top"?x=c.marginTop+c.fontSize-c.textMargin:x=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||h.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=h.width-1,m.textAlign="right"):(g=h.width/2,m.textAlign="center"),m.fillText(h.text,g,x)}}},{key:"moveCanvasDrawing",value:function(c){var h=this.canvas.getContext("2d");h.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),Zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=hc(),n=r(i),a=_0();function r(c){return c&&c.__esModule?c:{default:c}}function o(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(h,m,v){o(this,c),this.svg=h,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var h=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),x=this.createGroup(h,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),h+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=h+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(h,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var w=0,S=0,T=0;T<g.length;T++)S=T*m.width+v.barcodePadding,g[T]==="1"?w++:w>0&&(this.drawRect(S-m.width*w,x,m.width*w,m.height,h),w=0);w>0&&this.drawRect(S-m.width*(w-1),x,m.width*w,m.height,h)}},{key:"drawSVGText",value:function(h,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("font-family",m.font),g.setAttribute("font-size",m.fontSize),m.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),m.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),h.appendChild(g)}}},{key:"setSvgAttributes",value:function(h,m){var v=this.svg;v.setAttribute("width",h+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+h+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(h,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+h+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(h,m){h.setAttribute("fill",m.lineColor)}},{key:"drawRect",value:function(h,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",h),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),c}();e.default=u}),Kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r,o,l){i(this,a),this.object=r,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),Jre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Yre(),i=l(t),n=Zre(),a=l(n),r=Kre(),o=l(r);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:i.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),x0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function i(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var a=function(l){n(u,l);function u(c,h){t(this,u);var m=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=h,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),r=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=o}),Xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},i=$re(),n=l(i),a=Jre(),r=l(a),o=x0();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return h(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(u(v[x]));return g}}function h(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),Qre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r){i(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(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),eoe=me((e,t)=>{var i=Gre(),n=P(i),a=hc(),r=P(a),o=Wre(),l=P(o),u=qre(),c=P(u),h=Xre(),m=P(h),v=y0(),g=P(v),x=Qre(),w=P(x),S=x0(),T=b0(),F=P(T);function P(ie){return ie&&ie.__esModule?ie:{default:ie}}var re=function(){},ve=function(ie,J,Ie){var j=new re;if(typeof ie>"u")throw Error("No element to render on was provided.");return j._renderProperties=(0,m.default)(ie),j._encodings=[],j._options=F.default,j._errorHandler=new w.default(j),typeof J<"u"&&(Ie=Ie||{},Ie.format||(Ie.format=Qe()),j.options(Ie)[Ie.format](J,Ie).render()),j};ve.getModule=function(ie){return n.default[ie]};for(ke in n.default)n.default.hasOwnProperty(ke)&&Ft(n.default,ke);var ke;function Ft(ie,J){re.prototype[J]=re.prototype[J.toUpperCase()]=re.prototype[J.toLowerCase()]=function(Ie,j){var H=this;return H._errorHandler.wrapBarcodeCall(function(){j.text=typeof j.text>"u"?void 0:""+j.text;var te=(0,r.default)(H._options,j);te=(0,g.default)(te);var Pe=ie[J],Je=wt(Ie,Pe,te);return H._encodings.push(Je),H})}}function wt(ie,J,Ie){ie=""+ie;var j=new J(ie,Ie);if(!j.valid())throw new S.InvalidInputException(j.constructor.name,ie);var H=j.encode();H=(0,l.default)(H);for(var te=0;te<H.length;te++)H[te].options=(0,r.default)(Ie,H[te].options);return H}function Qe(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}re.prototype.options=function(ie){return this._options=(0,r.default)(this._options,ie),this},re.prototype.blank=function(ie){var J=new Array(ie+1).join("0");return this._encodings.push({data:J}),this},re.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ie;for(var J in this._renderProperties){ie=this._renderProperties[J];var Ie=(0,r.default)(this._options,ie.options);Ie.format=="auto"&&(Ie.format=Qe()),this._errorHandler.wrapBarcodeCall(function(){var j=Ie.value,H=n.default[Ie.format.toUpperCase()],te=wt(j,H,Ie);Dt(ie,te,Ie)})}}},re.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ie=0;ie<this._renderProperties.length;ie++)Dt(this._renderProperties[ie],this._encodings,this._options);else Dt(this._renderProperties,this._encodings,this._options);return this},re.prototype._defaults=F.default;function Dt(ie,J,Ie){J=(0,l.default)(J);for(var j=0;j<J.length;j++)J[j].options=(0,r.default)(Ie,J[j].options),(0,c.default)(J[j].options);(0,c.default)(Ie);var H=ie.renderer,te=new H(ie.element,J,Ie);te.render(),ie.afterRender&&ie.afterRender()}typeof window<"u"&&(window.JsBarcode=ve),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ie,J){var Ie=[];return jQuery(this).each(function(){Ie.push(this)}),ve(Ie,ie,J)}),t.exports=ve});function hh(e,t){return Object.is(e,t)}var St=null,cl=!1,ph=1,Sn=Symbol("SIGNAL");function Oe(e){let t=St;return St=e,t}function toe(){return St}var Yr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function pc(e){if(cl)throw new Error("");if(St===null)return;St.consumerOnSignalRead(e);let t=St.nextProducerIndex++;if(vc(St),t<St.producerNode.length&&St.producerNode[t]!==e&&Lo(St)){let i=St.producerNode[t];gc(i,St.producerIndexOfThis[t])}St.producerNode[t]!==e&&(St.producerNode[t]=e,St.producerIndexOfThis[t]=Lo(St)?S0(e,St,t):0),St.producerLastReadVersion[t]=e.version}function noe(){ph++}function ss(e){if(!(Lo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ph)){if(!e.producerMustRecompute(e)&&!mh(e)){Il(e);return}e.producerRecomputeValue(e),Il(e)}}function w0(e){if(e.liveConsumerNode===void 0)return;let t=cl;cl=!0;try{for(let i of e.liveConsumerNode)i.dirty||ioe(i)}finally{cl=t}}function E0(){return(St==null?void 0:St.consumerAllowSignalWrites)!==!1}function ioe(e){var t;e.dirty=!0,w0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Il(e){e.dirty=!1,e.lastCleanEpoch=ph}function Fo(e){return e&&(e.nextProducerIndex=0),Oe(e)}function mc(e,t){if(Oe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Lo(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)gc(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function mh(e){vc(e);for(let t=0;t<e.producerNode.length;t++){let i=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==i.version||(ss(i),n!==i.version))return!0}return!1}function fc(e){if(vc(e),Lo(e))for(let t=0;t<e.producerNode.length;t++)gc(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 S0(e,t,i){if(k0(e),e.liveConsumerNode.length===0&&C0(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=S0(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function gc(e,t){if(k0(e),e.liveConsumerNode.length===1&&C0(e))for(let n=0;n<e.producerNode.length;n++)gc(e.producerNode[n],e.producerIndexOfThis[n]);let i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];vc(a),a.producerIndexOfThis[n]=t}}function Lo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function vc(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function k0(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function C0(e){return e.producerNode!==void 0}function aoe(e,t){let i=Object.create(roe);i.computation=e,t!==void 0&&(i.equal=t);let n=()=>{if(ss(i),pc(i),i.value===fa)throw i.error;return i.value};return n[Sn]=i,n}var za=Symbol("UNSET"),Tr=Symbol("COMPUTING"),fa=Symbol("ERRORED"),roe=bt(ue({},Yr),{value:za,dirty:!0,error:null,equal:hh,kind:"computed",producerMustRecompute(e){return e.value===za||e.value===Tr},producerRecomputeValue(e){if(e.value===Tr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Tr;let i=Fo(e),n,a=!1;try{n=e.computation(),Oe(null),a=t!==za&&t!==fa&&n!==fa&&e.equal(t,n)}catch(r){n=fa,e.error=r}finally{mc(e,i)}if(a){e.value=t;return}e.value=n,e.version++}});function ooe(){throw new Error}var I0=ooe;function D0(e){I0(e)}function soe(e){I0=e}function loe(e,t){let i=Object.create(O0);i.value=e,t!==void 0&&(i.equal=t);let n=()=>(pc(i),i.value);return n[Sn]=i,n}function yc(e,t){E0()||D0(e),e.equal(e.value,t)||(e.value=t,coe(e))}function T0(e,t){E0()||D0(e),yc(e,t(e.value))}var O0=bt(ue({},Yr),{equal:hh,value:void 0,kind:"signal"});function coe(e){e.version++,noe(),w0(e)}function Cm(e,t,i){let n=Object.create(hoe);n.source=e,n.computation=t,i!=null&&(n.equal=i);let a=()=>{if(ss(n),pc(n),n.value===fa)throw n.error;return n.value};return a[Sn]=n,a}function uoe(e,t){ss(e),yc(e,t),Il(e)}function doe(e,t){ss(e),T0(e,t),Il(e)}var hoe=bt(ue({},Yr),{value:za,dirty:!0,error:null,equal:hh,kind:"linkedSignal",producerMustRecompute(e){return e.value===za||e.value===Tr},producerRecomputeValue(e){if(e.value===Tr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Tr;let i=Fo(e),n;try{let a=e.source(),r=t===za||t===fa?void 0:{source:e.sourceValue,value:t};n=e.computation(a,r),e.sourceValue=a}catch(a){n=fa,e.error=a}finally{mc(e,i)}if(t!==za&&n!==fa&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function poe(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var ad;function ul(){return ad}function sa(e){let t=ad;return ad=e,t}var N0=Symbol("NotFound");function it(e){return typeof e=="function"}function fh(e){let t=e(i=>{Error.call(i),i.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var au=fh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
+ ${t.map((i,n)=>`${n+1}) ${i.toString()}`).join(`
14
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Dl(e,t){if(e){let i=e.indexOf(t);0<=i&&e.splice(i,1)}}var pn=class rd{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:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let r of i)r.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(it(n))try{n()}catch(r){t=r instanceof au?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{Im(r)}catch(o){t=t??[],o instanceof au?t=[...t,...o.errors]:t.push(o)}}if(t)throw new au(t)}}add(t){var i;if(t&&t!==this)if(this.closed)Im(t);else{if(t instanceof rd){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}}_hasParent(t){let{_parentage:i}=this;return i===t||Array.isArray(i)&&i.includes(t)}_addParent(t){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t}_removeParent(t){let{_parentage:i}=this;i===t?this._parentage=null:Array.isArray(i)&&Dl(i,t)}remove(t){let{_finalizers:i}=this;i&&Dl(i,t),t instanceof rd&&t._removeParent(this)}};pn.EMPTY=(()=>{let e=new pn;return e.closed=!0,e})();var P0=pn.EMPTY;function M0(e){return e instanceof pn||e&&"closed"in e&&it(e.remove)&&it(e.add)&&it(e.unsubscribe)}function Im(e){it(e)?e():e.unsubscribe()}var moe={Promise:void 0},foe={setTimeout(e,t,...i){return setTimeout(e,t,...i)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function A0(e){foe.setTimeout(()=>{throw e})}function od(){}function dl(e){e()}var gh=class extends pn{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,M0(e)&&e.add(this)):this.destination=yoe}static create(e,t,i){return new jo(e,t,i)}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()}}},goe=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){Vs(i)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){Vs(i)}else Vs(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Vs(t)}}},jo=class extends gh{constructor(e,t,i){super();let n;it(e)||!e?n={next:e??void 0,error:t??void 0,complete:i??void 0}:n=e,this.destination=new goe(n)}};function Vs(e){A0(e)}function voe(e){throw e}var yoe={closed:!0,next:od,error:voe,complete:od},vh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Zr(e){return e}function boe(e){return e.length===0?Zr:e.length===1?e[0]:function(t){return e.reduce((i,n)=>n(i),t)}}var ht=(()=>{class e{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new e;return n.source=this,n.operator=i,n}subscribe(i,n,a){let r=xoe(i)?i:new jo(i,n,a);return dl(()=>{let{operator:o,source:l}=this;r.add(o?o.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Dm(n),new n((a,r)=>{let o=new jo({next:l=>{try{i(l)}catch(u){r(u),o.unsubscribe()}},error:r,complete:a});this.subscribe(o)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[vh](){return this}pipe(...i){return boe(i)(this)}toPromise(i){return i=Dm(i),new i((n,a)=>{let r;this.subscribe(o=>r=o,o=>a(o),()=>n(r))})}}return e.create=t=>new e(t),e})();function Dm(e){var t;return(t=e??moe.Promise)!==null&&t!==void 0?t:Promise}function _oe(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function xoe(e){return e&&e instanceof gh||_oe(e)&&M0(e)}function woe(e){return it(e==null?void 0:e.lift)}function tn(e){return t=>{if(woe(t))return t.lift(function(i){try{return e(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function $t(e,t,i,n,a){return new Eoe(e,t,i,n,a)}var Eoe=class extends gh{constructor(e,t,i,n,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}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))}}},Soe=fh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),be=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new Tm(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new Soe}next(i){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:a,observers:r}=this;return n||a?P0:(this.currentObservers=null,r.push(i),new pn(()=>{this.currentObservers=null,Dl(r,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:a,isStopped:r}=this;n?i.error(a):r&&i.complete()}asObservable(){let i=new ht;return i.source=this,i}}return e.create=(t,i)=>new Tm(t,i),e})(),Tm=class extends be{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.next)===null||i===void 0||i.call(t,e)}error(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.error)===null||i===void 0||i.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,i;return(i=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&i!==void 0?i:P0}},yh=class extends be{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:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}},bh={now(){return(bh.delegate||Date).now()},delegate:void 0},R0=class extends be{constructor(e=1/0,t=1/0,i=bh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,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:i,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:r}=this;t||(i.push(e),!n&&i.push(a.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:n}=this,a=n.slice();for(let r=0;r<a.length&&!e.closed;r+=i?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<i.length&&i.splice(0,i.length-a),!n){let r=t.now(),o=0;for(let l=1;l<i.length&&i[l]<=r;l+=2)o=l;o&&i.splice(0,o+1)}}},koe=class extends pn{constructor(e,t){super()}schedule(e,t=0){return this}},sd={setInterval(e,t,...i){let{delegate:n}=sd;return n!=null&&n.setInterval?n.setInterval(e,t,...i):setInterval(e,t,...i)},clearInterval(e){return clearInterval(e)},delegate:void 0},Coe=class extends koe{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;let n=this.id,a=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(a,n,t)),this.pending=!0,this.delay=t,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,i=0){return sd.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return t;t!=null&&sd.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(e,t);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n;try{this.work(e)}catch(a){i=!0,n=a||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Dl(i,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},ld=class F0{constructor(t,i=F0.now){this.schedulerActionCtor=t,this.now=i}schedule(t,i=0,n){return new this.schedulerActionCtor(this,t).schedule(n,i)}};ld.now=bh.now;var Ioe=class extends ld{constructor(e,t=ld.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}},_h=new Ioe(Coe),Doe=_h,L0=new ht(e=>e.complete());function j0(e){return e&&it(e.schedule)}function xh(e){return e[e.length-1]}function V0(e){return it(xh(e))?e.pop():void 0}function ls(e){return j0(xh(e))?e.pop():void 0}function Toe(e,t){return typeof xh(e)=="number"?e.pop():t}function Ooe(e,t,i,n){function a(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function l(h){try{c(n.next(h))}catch(m){o(m)}}function u(h){try{c(n.throw(h))}catch(m){o(m)}}function c(h){h.done?r(h.value):a(h.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Om(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Or(e){return this instanceof Or?(this.v=e,this):new Or(e)}function Noe(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(e,t||[]),a,r=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(g){return function(x){return Promise.resolve(x).then(g,m)}}function l(g,x){n[g]&&(a[g]=function(w){return new Promise(function(S,T){r.push([g,w,S,T])>1||u(g,w)})},x&&(a[g]=x(a[g])))}function u(g,x){try{c(n[g](x))}catch(w){v(r[0][3],w)}}function c(g){g.value instanceof Or?Promise.resolve(g.value.v).then(h,m):v(r[0][2],g)}function h(g){u("next",g)}function m(g){u("throw",g)}function v(g,x){g(x),r.shift(),r.length&&u(r[0][0],r[0][1])}}function Poe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof Om=="function"?Om(e):e[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(r){i[r]=e[r]&&function(o){return new Promise(function(l,u){o=e[r](o),a(l,u,o.done,o.value)})}}function a(r,o,l,u){Promise.resolve(u).then(function(c){r({value:c,done:l})},o)}}var z0=e=>e&&typeof e.length=="number"&&typeof e!="function";function B0(e){return it(e==null?void 0:e.then)}function H0(e){return it(e[vh])}function U0(e){return Symbol.asyncIterator&&it(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 Moe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var W0=Moe();function q0(e){return it(e==null?void 0:e[W0])}function $0(e){return Noe(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:i,done:n}=yield Or(t.read());if(n)return yield Or(void 0);yield yield Or(i)}}finally{t.releaseLock()}})}function Y0(e){return it(e==null?void 0:e.getReader)}function gn(e){if(e instanceof ht)return e;if(e!=null){if(H0(e))return Aoe(e);if(z0(e))return Roe(e);if(B0(e))return Foe(e);if(U0(e))return Z0(e);if(q0(e))return Loe(e);if(Y0(e))return joe(e)}throw G0(e)}function Aoe(e){return new ht(t=>{let i=e[vh]();if(it(i.subscribe))return i.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Roe(e){return new ht(t=>{for(let i=0;i<e.length&&!t.closed;i++)t.next(e[i]);t.complete()})}function Foe(e){return new ht(t=>{e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,A0)})}function Loe(e){return new ht(t=>{for(let i of e)if(t.next(i),t.closed)return;t.complete()})}function Z0(e){return new ht(t=>{Voe(e,t).catch(i=>t.error(i))})}function joe(e){return Z0($0(e))}function Voe(e,t){var i,n,a,r;return Ooe(this,void 0,void 0,function*(){try{for(i=Poe(e);n=yield i.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(r=i.return)&&(yield r.call(i))}finally{if(a)throw a.error}}t.complete()})}function Yi(e,t,i,n=0,a=!1){let r=t.schedule(function(){i(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(r),!a)return r}function K0(e,t=0){return tn((i,n)=>{i.subscribe($t(n,a=>Yi(n,e,()=>n.next(a),t),()=>Yi(n,e,()=>n.complete(),t),a=>Yi(n,e,()=>n.error(a),t)))})}function J0(e,t=0){return tn((i,n)=>{n.add(e.schedule(()=>i.subscribe(n),t))})}function zoe(e,t){return gn(e).pipe(J0(t),K0(t))}function Boe(e,t){return gn(e).pipe(J0(t),K0(t))}function Hoe(e,t){return new ht(i=>{let n=0;return t.schedule(function(){n===e.length?i.complete():(i.next(e[n++]),i.closed||this.schedule())})})}function Uoe(e,t){return new ht(i=>{let n;return Yi(i,t,()=>{n=e[W0](),Yi(i,t,()=>{let a,r;try{({value:a,done:r}=n.next())}catch(o){i.error(o);return}r?i.complete():i.next(a)},0,!0)}),()=>it(n==null?void 0:n.return)&&n.return()})}function X0(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(i=>{Yi(i,t,()=>{let n=e[Symbol.asyncIterator]();Yi(i,t,()=>{n.next().then(a=>{a.done?i.complete():i.next(a.value)})},0,!0)})})}function Goe(e,t){return X0($0(e),t)}function Woe(e,t){if(e!=null){if(H0(e))return zoe(e,t);if(z0(e))return Hoe(e,t);if(B0(e))return Boe(e,t);if(U0(e))return X0(e,t);if(q0(e))return Uoe(e,t);if(Y0(e))return Goe(e,t)}throw G0(e)}function ir(e,t){return t?Woe(e,t):gn(e)}function yt(...e){let t=ls(e);return ir(e,t)}function qoe(e,t){let i=it(e)?e:()=>e,n=a=>a.error(i());return new ht(n)}function Oo(e){return!!e&&(e instanceof ht||it(e.lift)&&it(e.subscribe))}var $oe=fh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Yoe(e,t){return new Promise((i,n)=>{let a=!1,r;e.subscribe({next:o=>{r=o,a=!0},error:n,complete:()=>{a?i(r):n(new $oe)}})})}function Zoe(e){return e instanceof Date&&!isNaN(e)}function Bt(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>{n.next(e.call(t,r,a++))}))})}var{isArray:Koe}=Array;function Joe(e,t){return Koe(t)?e(...t):e(t)}function Q0(e){return Bt(t=>Joe(e,t))}var{isArray:Xoe}=Array,{getPrototypeOf:Qoe,prototype:ese,keys:tse}=Object;function ev(e){if(e.length===1){let t=e[0];if(Xoe(t))return{args:t,keys:null};if(nse(t)){let i=tse(t);return{args:i.map(n=>t[n]),keys:i}}}return{args:e,keys:null}}function nse(e){return e&&typeof e=="object"&&Qoe(e)===ese}function tv(e,t){return e.reduce((i,n,a)=>(i[n]=t[a],i),{})}function ise(...e){let t=ls(e),i=V0(e),{args:n,keys:a}=ev(e);if(n.length===0)return ir([],t);let r=new ht(ase(n,t,a?o=>tv(a,o):Zr));return i?r.pipe(Q0(i)):r}function ase(e,t,i=Zr){return n=>{Nm(t,()=>{let{length:a}=e,r=new Array(a),o=a,l=a;for(let u=0;u<a;u++)Nm(t,()=>{let c=ir(e[u],t),h=!1;c.subscribe($t(n,m=>{r[u]=m,h||(h=!0,l--),l||n.next(i(r.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Nm(e,t,i){e?Yi(i,e,t):t()}function rse(e,t,i,n,a,r,o,l){let u=[],c=0,h=0,m=!1,v=()=>{m&&!u.length&&!c&&t.complete()},g=w=>c<n?x(w):u.push(w),x=w=>{c++;let S=!1;gn(i(w,h++)).subscribe($t(t,T=>{t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<n;){let T=u.shift();o?Yi(t,o,()=>x(T)):x(T)}v()}catch(T){t.error(T)}}))};return e.subscribe($t(t,g,()=>{m=!0,v()})),()=>{}}function Vo(e,t,i=1/0){return it(t)?Vo((n,a)=>Bt((r,o)=>t(n,r,a,o))(gn(e(n,a))),i):(typeof t=="number"&&(i=t),tn((n,a)=>rse(n,a,e,i)))}function nv(e=1/0){return Vo(Zr,e)}function ose(){return nv(1)}function zo(...e){return ose()(ir(e,ls(e)))}function Tl(e){return new ht(t=>{gn(e()).subscribe(t)})}function iv(...e){let t=V0(e),{args:i,keys:n}=ev(e),a=new ht(r=>{let{length:o}=i;if(!o){r.complete();return}let l=new Array(o),u=o,c=o;for(let h=0;h<o;h++){let m=!1;gn(i[h]).subscribe($t(r,v=>{m||(m=!0,c--),l[h]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||r.next(n?tv(n,l):l),r.complete())}))}});return t?a.pipe(Q0(t)):a}function sse(e=0,t,i=Doe){let n=-1;return t!=null&&(j0(t)?i=t:n=t),new ht(a=>{let r=Zoe(e)?+e-i.now():e;r<0&&(r=0);let o=0;return i.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},r)})}function cs(...e){let t=ls(e),i=Toe(e,1/0),n=e;return n.length?n.length===1?gn(n[0]):nv(i)(ir(n,t)):L0}function bi(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>e.call(t,r,a++)&&n.next(r)))})}function lse(e){return tn((t,i)=>{let n=!1,a=null,r=null,o=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,n){n=!1;let c=a;a=null,i.next(c)}o&&i.complete()},u=()=>{r=null,o&&i.complete()};t.subscribe($t(i,c=>{n=!0,a=c,r||gn(e(c)).subscribe(r=$t(i,l,u))},()=>{o=!0,(!n||!r||r.closed)&&i.complete()}))})}function av(e,t=_h){return lse(()=>sse(e,t))}function rv(e){return tn((t,i)=>{let n=null,a=!1,r;n=t.subscribe($t(i,void 0,void 0,o=>{r=gn(e(o,rv(e)(t))),n?(n.unsubscribe(),n=null,r.subscribe(i)):a=!0})),a&&(n.unsubscribe(),n=null,r.subscribe(i))})}function ov(e,t){return it(t)?Vo(e,t,1):Vo(e,1)}function sv(e,t=_h){return tn((i,n)=>{let a=null,r=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let c=r;r=null,n.next(c)}};function u(){let c=o+e,h=t.now();if(h<c){a=this.schedule(void 0,c-h),n.add(a);return}l()}i.subscribe($t(n,c=>{r=c,o=t.now(),a||(a=t.schedule(u,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{r=a=null}))})}function Vn(e){return e<=0?()=>L0:tn((t,i)=>{let n=0;t.subscribe($t(i,a=>{++n<=e&&(i.next(a),e<=n&&i.complete())}))})}function cse(e,t=Zr){return e=e??use,tn((i,n)=>{let a,r=!0;i.subscribe($t(n,o=>{let l=t(o);(r||!e(a,l))&&(r=!1,a=l,n.next(o))}))})}function use(e,t){return e===t}function lv(e){return tn((t,i)=>{try{t.subscribe(i)}finally{i.add(e)}})}function cv(e={}){let{connector:t=()=>new be,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return r=>{let o,l,u,c=0,h=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,h=m=!1},x=()=>{let w=o;g(),w==null||w.unsubscribe()};return tn((w,S)=>{c++,!m&&!h&&v();let T=u=u??t();S.add(()=>{c--,c===0&&!m&&!h&&(l=ru(x,a))}),T.subscribe(S),!o&&c>0&&(o=new jo({next:F=>T.next(F),error:F=>{m=!0,v(),l=ru(g,i,F),T.error(F)},complete:()=>{h=!0,v(),l=ru(g,n),T.complete()}}),gn(w).subscribe(o))})(r)}}function ru(e,t,...i){if(t===!0){e();return}if(t===!1)return;let n=new jo({next:()=>{n.unsubscribe(),e()}});return gn(t(...i)).subscribe(n)}function Pm(e,t,i){let n;return n=e,cv({connector:()=>new R0(n,t,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function uv(e){return bi((t,i)=>e<=i)}function Nr(...e){let t=ls(e);return tn((i,n)=>{(t?zo(e,i,t):zo(e,i)).subscribe(n)})}function Bo(e,t){return tn((i,n)=>{let a=null,r=0,o=!1,l=()=>o&&!a&&n.complete();i.subscribe($t(n,u=>{a==null||a.unsubscribe();let c=0,h=r++;gn(e(u,h)).subscribe(a=$t(n,m=>n.next(t?t(u,m,h,c++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function Hi(e){return tn((t,i)=>{gn(e).subscribe($t(i,()=>i.complete(),od)),!i.closed&&t.subscribe(i)})}function hl(e,t,i){let n=it(e)||t||i?{next:e,error:t,complete:i}:e;return n?tn((a,r)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe($t(r,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),r.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),r.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),r.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Zr}var dv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Z=class extends Error{constructor(t,i){super(hv(t,i));s(this,"code");this.code=t}};function dse(e){return`NG0${Math.abs(e)}`}function hv(e,t){return`${dse(e)}${t?": "+t:""}`}var pv=Symbol("InputSignalNode#UNSET"),hse=bt(ue({},O0),{transformFn:void 0,applyValueToInputSignal(e,t){yc(e,t)}});function mv(e,t){let i=Object.create(hse);i.value=e,i.transformFn=t==null?void 0:t.transform;function n(){if(pc(i),i.value===pv){let a=null;throw new Z(-950,a)}return i.value}return n[Sn]=i,n}function us(e){return{toString:e}.toString()}var zs="__parameters__";function pse(e){return function(...t){}}function fv(e,t,i){return us(()=>{let n=pse();function a(...r){if(this instanceof a)return n.apply(this,r),this;let o=new a(...r);return l.annotation=o,l;function l(u,c,h){let m=u.hasOwnProperty(zs)?u[zs]:Object.defineProperty(u,zs,{value:[]})[zs];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(o),u}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var Sr=globalThis;function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function mse(e,t){for(let i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function zn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(zn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let i=e.toString();if(i==null)return""+i;let n=i.indexOf(`
15
+ `);return n>=0?i.slice(0,n):i}function cd(e,t){return e?t?`${e} ${t}`:e:t||""}var fse=at({__forward_ref__:at});function gv(e){return e.__forward_ref__=gv,e.toString=function(){return zn(this())},e}function qt(e){return vv(e)?e():e}function vv(e){return typeof e=="function"&&e.hasOwnProperty(fse)&&e.__forward_ref__===gv}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nn(e){return{providers:e.providers||[],imports:e.imports||[]}}function wh(e){return Mm(e,yv)||Mm(e,bv)}function Mm(e,t){return e.hasOwnProperty(t)?e[t]:null}function gse(e){return e&&(e[yv]||e[bv])||null}function Am(e){return e&&(e.hasOwnProperty(Rm)||e.hasOwnProperty(vse))?e[Rm]:null}var yv=at({ɵprov:at}),Rm=at({ɵinj:at}),bv=at({ngInjectableDef:at}),vse=at({ngInjectorDef:at}),se=class{constructor(e,t){s(this,"_desc");s(this,"ngMetadataName","InjectionToken");s(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=W({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 yse=at({ɵcmp:at}),bse=at({ɵdir:at}),_se=at({ɵpipe:at}),Ol=at({ɵfac:at}),No=at({__NG_ELEMENT_ID__:at}),Fm=at({__NG_ENV_ID__:at});function bc(e){return typeof e=="string"?e:e==null?"":String(e)}function xse(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():bc(e)}function xv(e,t){throw new Z(-200,e)}function Eh(e,t){throw new Z(-201,!1)}var Me=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}(Me||{}),ud;function wv(){return ud}function dn(e){let t=ud;return ud=e,t}function Ev(e,t,i){let n=wh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&Me.Optional)return null;if(t!==void 0)return t;Eh()}var wse={},qa=wse,dd="__NG_DI_FLAG__",Sv=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let i=t;return this.injector.get(e,i.optional?N0:qa,i)}},Nl="ngTempTokenPath",Ese="ngTokenPath",Sse=/\n/gm,kse="ɵ",Lm="__source";function Cse(e,t=Me.Default){if(ul()===void 0)throw new Z(-203,!1);if(ul()===null)return Ev(e,void 0,t);{let i=ul(),n;return i instanceof Sv?n=i.injector:n=i,n.get(e,t&Me.Optional?null:void 0,t)}}function pe(e,t=Me.Default){return(wv()||Cse)(qt(e),t)}function C(e,t=Me.Default){return pe(e,_c(t))}function _c(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function hd(e){let t=[];for(let i=0;i<e.length;i++){let n=qt(e[i]);if(Array.isArray(n)){if(n.length===0)throw new Z(900,!1);let a,r=Me.Default;for(let o=0;o<n.length;o++){let l=n[o],u=Ise(l);typeof u=="number"?u===-1?a=l.token:r|=u:a=l}t.push(pe(a,r))}else t.push(pe(n))}return t}function kv(e,t){return e[dd]=t,e.prototype[dd]=t,e}function Ise(e){return e[dd]}function Dse(e,t,i,n){let a=e[Nl];throw t[Lm]&&a.unshift(t[Lm]),e.message=Tse(`
16
+ `+e.message,a,i,n),e[Ese]=a,e[Nl]=null,e}function Tse(e,t,i,n=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==kse?e.slice(2):e;let a=zn(t);if(Array.isArray(t))a=t.map(zn).join(" -> ");else if(typeof t=="object"){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];r.push(o+":"+(typeof l=="string"?JSON.stringify(l):zn(l)))}a=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${a}]: ${e.replace(Sse,`
18
+ `)}`}var Ose=kv(fv("Optional"),8),Nse=kv(fv("SkipSelf"),4);function $a(e,t){return e.hasOwnProperty(Ol)?e[Ol]:null}function Pse(e,t,i){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],r=t[n];if(i&&(a=i(a),r=i(r)),r!==a)return!1}return!0}function Mse(e){return e.flat(Number.POSITIVE_INFINITY)}function Sh(e,t){e.forEach(i=>Array.isArray(i)?Sh(i,t):t(i))}function Cv(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Pl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ase(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Rse(e,t,i,n){let a=e.length;if(a==t)e.push(i,n);else if(a===1)e.push(n,e[0]),e[0]=i;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=i,e[t+1]=n}}function kh(e,t,i){let n=ds(e,t);return n>=0?e[n|1]=i:(n=~n,Rse(e,n,t,i)),n}function ou(e,t){let i=ds(e,t);if(i>=0)return e[i|1]}function ds(e,t){return Fse(e,t,1)}function Fse(e,t,i){let n=0,a=e.length>>i;for(;a!==n;){let r=n+(a-n>>1),o=e[r<<i];if(t===o)return r<<i;o>t?a=r:n=r+1}return~(a<<i)}var xi={},hn=[],Ml=new se(""),Iv=new se("",-1),Dv=new se(""),Tv=class{get(e,t=qa){if(t===qa){let i=new Error(`NullInjectorError: No provider for ${zn(e)}!`);throw i.name="NullInjectorError",i}return t}};function jr(e){return e[yse]||null}function Ov(e){return e[bse]||null}function Lse(e){return e[_se]||null}function Ch(e){return{ɵproviders:e}}function jse(...e){return{ɵproviders:Nv(!0,e),ɵfromNgModule:!0}}function Nv(e,...t){let i=[],n=new Set,a,r=o=>{i.push(o)};return Sh(t,o=>{let l=o;pd(l,r,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Pv(a,r),i}function Pv(e,t){for(let i=0;i<e.length;i++){let{ngModule:n,providers:a}=e[i];Ih(a,r=>{t(r,n)})}}function pd(e,t,i,n){if(e=qt(e),!e)return!1;let a=null,r=Am(e),o=!r&&jr(e);if(!r&&!o){let u=e.ngModule;if(r=Am(u),r)a=u;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=n.has(a);if(o){if(l)return!1;if(n.add(a),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)pd(c,t,i,n)}}else if(r){if(r.imports!=null&&!l){n.add(a);let c;try{Sh(r.imports,h=>{pd(h,t,i,n)&&(c||(c=[]),c.push(h))})}finally{}c!==void 0&&Pv(c,t)}if(!l){let c=$a(a)||(()=>new a);t({provide:a,useFactory:c,deps:hn},a),t({provide:Dv,useValue:a,multi:!0},a),t({provide:Ml,useValue:()=>pe(a),multi:!0},a)}let u=r.providers;if(u!=null&&!l){let c=e;Ih(u,h=>{t(h,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Ih(e,t){for(let i of e)_v(i)&&(i=i.ɵproviders),Array.isArray(i)?Ih(i,t):t(i)}var Vse=at({provide:String,useValue:at});function Mv(e){return e!==null&&typeof e=="object"&&Vse in e}function zse(e){return!!(e&&e.useExisting)}function Bse(e){return!!(e&&e.useFactory)}function Vr(e){return typeof e=="function"}function Hse(e){return!!e.useClass}var Dh=new se(""),pl={},jm={},su;function xc(){return su===void 0&&(su=new Tv),su}var wi=class{},Th=class extends wi{constructor(t,i,n,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=i,this.source=n,this.scopes=a,fd(t,o=>this.processProvider(o)),this.records.set(Iv,kr(void 0,this)),a.has("environment")&&this.records.set(wi,kr(void 0,this));let r=this.records.get(Dh);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Dv,hn,Me.Self))}get destroyed(){return this._destroyed}retrieve(t,i){let n=i;return this.get(t,n.optional?N0:qa,n)}destroy(){ko(this),this._destroyed=!0;let t=Oe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(t)}}onDestroy(t){return ko(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ko(this);let i=sa(this),n=dn(void 0);try{return t()}finally{sa(i),dn(n)}}get(t,i=qa,n=Me.Default){if(ko(this),t.hasOwnProperty(Fm))return t[Fm](this);n=_c(n);let a=sa(this),r=dn(void 0);try{if(!(n&Me.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=$se(t)&&wh(t);u&&this.injectableDefInScope(u)?l=kr(md(t),pl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Me.Self?xc():this.parent;return i=n&Me.Optional&&i===qa?null:i,o.get(t,i)}catch(o){if(o.name==="NullInjectorError"){if((o[Nl]=o[Nl]||[]).unshift(zn(t)),a)throw o;return Dse(o,t,"R3InjectorError",this.source)}else throw o}finally{dn(r),sa(a)}}resolveInjectorInitializers(){let t=Oe(null),i=sa(this),n=dn(void 0);try{let a=this.get(Ml,hn,Me.Self);for(let r of a)r()}finally{sa(i),dn(n),Oe(t)}}toString(){let t=[],i=this.records;for(let n of i.keys())t.push(zn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qt(t);let i=Vr(t)?t:qt(t&&t.provide),n=Gse(t);if(!Vr(t)&&t.multi===!0){let a=this.records.get(i);a||(a=kr(void 0,pl,!0),a.factory=()=>hd(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,n)}hydrate(t,i,n){let a=Oe(null);try{return i.value===jm?xv(zn(t)):i.value===pl&&(i.value=jm,i.value=i.factory(void 0,n)),typeof i.value=="object"&&i.value&&qse(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Oe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let i=qt(t.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){let i=this._onDestroyHooks.indexOf(t);i!==-1&&this._onDestroyHooks.splice(i,1)}};function md(e){let t=wh(e),i=t!==null?t.factory:$a(e);if(i!==null)return i;if(e instanceof se)throw new Z(204,!1);if(e instanceof Function)return Use(e);throw new Z(204,!1)}function Use(e){if(e.length>0)throw new Z(204,!1);let t=gse(e);return t!==null?()=>t.factory(e):()=>new e}function Gse(e){if(Mv(e))return kr(void 0,e.useValue);{let t=Av(e);return kr(t,pl)}}function Av(e,t,i){let n;if(Vr(e)){let a=qt(e);return $a(a)||md(a)}else if(Mv(e))n=()=>qt(e.useValue);else if(Bse(e))n=()=>e.useFactory(...hd(e.deps||[]));else if(zse(e))n=(a,r)=>pe(qt(e.useExisting),r!==void 0&&r&Me.Optional?Me.Optional:void 0);else{let a=qt(e&&(e.useClass||e.provide));if(Wse(e))n=()=>new a(...hd(e.deps));else return $a(a)||md(a)}return n}function ko(e){if(e.destroyed)throw new Z(205,!1)}function kr(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Wse(e){return!!e.deps}function qse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function $se(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function fd(e,t){for(let i of e)Array.isArray(i)?fd(i,t):i&&_v(i)?fd(i.ɵproviders,t):t(i)}function wc(e,t){let i;e instanceof Th?(ko(e),i=e):i=new Sv(e);let n=sa(i),a=dn(void 0);try{return t()}finally{sa(n),dn(a)}}function Rv(){return wv()!==void 0||ul()!=null}function hs(e){if(!Rv())throw new Z(-203,!1)}function Yse(e){return typeof e=="function"}var Xi=0,Se=1,_e=2,en=3,ti=4,vn=5,zr=6,Pr=7,Ut=8,Br=9,Ki=10,It=11,Ho=12,Vm=13,Kr=14,Hn=15,Ya=16,Cr=17,ni=18,Ec=19,Fv=20,ga=21,lu=22,Ui=23,Bn=24,va=25,_t=26,Lv=1,Za=7,Al=8,Hr=9,Xt=10;function ya(e){return Array.isArray(e)&&typeof e[Lv]=="object"}function Qi(e){return Array.isArray(e)&&e[Lv]===!0}function Oh(e){return(e.flags&4)!==0}function Jr(e){return e.componentOffset>-1}function Sc(e){return(e.flags&1)===1}function Ei(e){return!!e.template}function Rl(e){return(e[_e]&512)!==0}function Xr(e){return(e[_e]&256)===256}var Zse=class{constructor(e,t,i){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};function jv(e,t,i,n){t!==null?t.applyValueToInputSignal(t,n):e[i]=n}var Nh=(()=>{let e=()=>Vv;return e.ngInherit=!0,e})();function Vv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jse),Kse}function Kse(){let e=Bv(this),t=e==null?void 0:e.current;if(t){let i=e.previous;if(i===xi)e.previous=t;else for(let n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Jse(e,t,i,n,a){let r=this.declaredInputs[n],o=Bv(e)||Xse(e,{previous:xi,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new Zse(c&&c.currentValue,i,u===xi),jv(e,t,a,i)}var zv="__ngSimpleChanges__";function Bv(e){return e[zv]||null}function Xse(e,t){return e[zv]=t}var Ka=function(e,t=null,i){},Qse="svg",ele="math";function Si(e){for(;Array.isArray(e);)e=e[Xi];return e}function Hv(e,t){return Si(t[e])}function Di(e,t){return Si(t[e.index])}function Ph(e,t){return e.data[t]}function ps(e,t){return e[t]}function Mh(e,t,i,n){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}function ki(e,t){let i=t[e];return ya(i)?i:i[Xi]}function tle(e){return(e[_e]&4)===4}function Ah(e){return(e[_e]&128)===128}function nle(e){return Qi(e[en])}function Ja(e,t){return t==null?null:e[t]}function Uv(e){e[Cr]=0}function Rh(e){e[_e]&1024||(e[_e]|=1024,Ah(e)&&Qr(e))}function ile(e,t){for(;e>0;)t=t[Kr],e--;return t}function ms(e){var t;return!!(e[_e]&9216||(t=e[Bn])!=null&&t.dirty)}function gd(e){var t;(t=e[Ki].changeDetectionScheduler)==null||t.notify(8),e[_e]&64&&(e[_e]|=1024),ms(e)&&Qr(e)}function Qr(e){var i;(i=e[Ki].changeDetectionScheduler)==null||i.notify(0);let t=Xa(e);for(;t!==null&&!(t[_e]&8192||(t[_e]|=8192,!Ah(t)));)t=Xa(t)}function Gv(e,t){if(Xr(e))throw new Z(911,!1);e[ga]===null&&(e[ga]=[]),e[ga].push(t)}function ale(e,t){if(e[ga]===null)return;let i=e[ga].indexOf(t);i!==-1&&e[ga].splice(i,1)}function Xa(e){let t=e[en];return Qi(t)?t[en]:t}function Fh(e){return e[Pr]??(e[Pr]=[])}function Lh(e){return e.cleanup??(e.cleanup=[])}function rle(e,t,i,n){let a=Fh(t);a.push(i),e.firstCreatePass&&Lh(e).push(n,a.length-1)}var Ne={lFrame:Qv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},vd=!1;function ole(){return Ne.lFrame.elementDepthCount}function sle(){Ne.lFrame.elementDepthCount++}function lle(){Ne.lFrame.elementDepthCount--}function cle(){return Ne.bindingsEnabled}function Wv(){return Ne.skipHydrationRootTNode!==null}function ule(e){return Ne.skipHydrationRootTNode===e}function dle(){Ne.skipHydrationRootTNode=null}function we(){return Ne.lFrame.lView}function mt(){return Ne.lFrame.tView}function ba(e){return Ne.lFrame.contextLView=e,e[Ut]}function _a(e){return Ne.lFrame.contextLView=null,e}function cn(){let e=qv();for(;e!==null&&e.type===64;)e=e.parent;return e}function qv(){return Ne.lFrame.currentTNode}function hle(){let e=Ne.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Sa(e,t){let i=Ne.lFrame;i.currentTNode=e,i.isParent=t}function jh(){return Ne.lFrame.isParent}function Vh(){Ne.lFrame.isParent=!1}function $v(){return Ne.lFrame.contextLView}function Yv(){return vd}function Fl(e){let t=vd;return vd=e,t}function eo(){let e=Ne.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ple(e){return Ne.lFrame.bindingIndex=e}function to(){return Ne.lFrame.bindingIndex++}function Zv(e){let t=Ne.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function mle(){return Ne.lFrame.inI18n}function fle(e,t){let i=Ne.lFrame;i.bindingIndex=i.bindingRootIndex=e,yd(t)}function gle(){return Ne.lFrame.currentDirectiveIndex}function yd(e){Ne.lFrame.currentDirectiveIndex=e}function vle(e){let t=Ne.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Kv(){return Ne.lFrame.currentQueryIndex}function zh(e){Ne.lFrame.currentQueryIndex=e}function yle(e){let t=e[Se];return t.type===2?t.declTNode:t.type===1?e[vn]:null}function Jv(e,t,i){if(i&Me.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(i&Me.Host))&&(a=yle(r),!(a===null||(r=r[Kr],a.type&10))););if(a===null)return!1;t=a,e=r}let n=Ne.lFrame=Xv();return n.currentTNode=t,n.lView=e,!0}function Bh(e){let t=Xv(),i=e[Se];Ne.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Xv(){let e=Ne.lFrame,t=e===null?null:e.child;return t===null?Qv(e):t}function Qv(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 ey(){let e=Ne.lFrame;return Ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ty=ey;function Hh(){let e=ey();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 ble(e){return(Ne.lFrame.contextLView=ile(e,Ne.lFrame.contextLView))[Ut]}function ea(){return Ne.lFrame.selectedIndex}function Qa(e){Ne.lFrame.selectedIndex=e}function Uh(){let e=Ne.lFrame;return Ph(e.tView,e.selectedIndex)}function _le(){return Ne.lFrame.currentNamespace}var ny=!0;function kc(){return ny}function Cc(e){ny=e}function xle(e,t,i){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(n){let o=Vv(t);(i.preOrderHooks??(i.preOrderHooks=[])).push(e,o),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,o)}a&&(i.preOrderHooks??(i.preOrderHooks=[])).push(0-e,a),r&&((i.preOrderHooks??(i.preOrderHooks=[])).push(e,r),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,r))}function Gh(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i<n;i++){let a=e.data[i].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-i,r),o&&((e.contentHooks??(e.contentHooks=[])).push(i,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(i,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-i,l),u&&((e.viewHooks??(e.viewHooks=[])).push(i,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(i,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(i,c)}}function ml(e,t,i){iy(e,t,3,i)}function fl(e,t,i,n){(e[_e]&3)===i&&iy(e,t,i,n)}function cu(e,t){let i=e[_e];(i&3)===t&&(i&=16383,i+=1,e[_e]=i)}function iy(e,t,i,n){let a=n!==void 0?e[Cr]&65535:0,r=n??-1,o=t.length-1,l=0;for(let u=a;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[Cr]+=65536),(l<r||r==-1)&&(wle(e,i,t,u),e[Cr]=(e[Cr]&4294901760)+u+2),u++}function zm(e,t){let i=Oe(null);try{t.call(e)}finally{Oe(i)}}function wle(e,t,i,n){let a=i[n]<0,r=i[n+1],o=a?-i[n]:i[n],l=e[o];a?e[_e]>>14<e[Cr]>>16&&(e[_e]&3)===t&&(e[_e]+=16384,zm(l,r)):zm(l,r)}var Mr=-1,fs=class{constructor(e,t,i){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=i}};function Ele(e){return(e.flags&8)!==0}function Sle(e){return(e.flags&16)!==0}function kle(e,t,i){let n=0;for(;n<i.length;){let a=i[n];if(typeof a=="number"){if(a!==0)break;n++;let r=i[n++],o=i[n++],l=i[n++];e.setAttribute(t,o,l,r)}else{let r=a,o=i[++n];Cle(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),n++}}return n}function ay(e){return e===3||e===4||e===6}function Cle(e){return e.charCodeAt(0)===64}function Ur(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let i=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?i=a:i===0||(i===-1||i===2?Bm(e,i,a,null,t[++n]):Bm(e,i,a,null,null))}}return e}function Bm(e,t,i,n,a){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===i){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,i),a!==null&&e.splice(r++,0,a)}function ry(e){return e!==Mr}function Ll(e){return e&32767}function Ile(e){return e>>16}function jl(e,t){let i=Ile(e),n=t;for(;i>0;)n=n[Kr],i--;return n}var bd=!0;function Vl(e){let t=bd;return bd=e,t}var Dle=256,oy=Dle-1,sy=5,Tle=0,_i={};function Ole(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(No)&&(n=i[No]),n==null&&(n=i[No]=Tle++);let a=n&oy,r=1<<a;t.data[e+(a>>sy)]|=r}function zl(e,t){let i=ly(e,t);if(i!==-1)return i;let n=t[Se];n.firstCreatePass&&(e.injectorIndex=t.length,uu(n.data,e),uu(t,null),uu(n.blueprint,null));let a=Wh(e,t),r=e.injectorIndex;if(ry(a)){let o=Ll(a),l=jl(a,t),u=l[Se].data;for(let c=0;c<8;c++)t[r+c]=l[o+c]|u[o+c]}return t[r+8]=a,r}function uu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ly(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Wh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let i=0,n=null,a=t;for(;a!==null;){if(n=py(a),n===null)return Mr;if(i++,a=a[Kr],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Mr}function _d(e,t,i){Ole(e,t,i)}function Nle(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let i=e.attrs;if(i){let n=i.length,a=0;for(;a<n;){let r=i[a];if(ay(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<n&&typeof i[a]=="string";)a++;else{if(r===t)return i[a+1];a=a+2}}}return null}function cy(e,t,i){if(i&Me.Optional||e!==void 0)return e;Eh()}function uy(e,t,i,n){if(i&Me.Optional&&n===void 0&&(n=null),(i&(Me.Self|Me.Host))===0){let a=e[Br],r=dn(void 0);try{return a?a.get(t,n,i&Me.Optional):Ev(t,n,i&Me.Optional)}finally{dn(r)}}return cy(n,t,i)}function dy(e,t,i,n=Me.Default,a){if(e!==null){if(t[_e]&2048&&!(n&Me.Self)){let o=Rle(e,t,i,n,_i);if(o!==_i)return o}let r=hy(e,t,i,n,_i);if(r!==_i)return r}return uy(t,i,n,a)}function hy(e,t,i,n,a){let r=Mle(i);if(typeof r=="function"){if(!Jv(t,e,n))return n&Me.Host?cy(a,i,n):uy(t,i,n,a);try{let o;if(o=r(n),o==null&&!(n&Me.Optional))Eh(i);else return o}finally{ty()}}else if(typeof r=="number"){let o=null,l=ly(e,t),u=Mr,c=n&Me.Host?t[Hn][vn]:null;for((l===-1||n&Me.SkipSelf)&&(u=l===-1?Wh(e,t):t[l+8],u===Mr||!Um(n,!1)?l=-1:(o=t[Se],l=Ll(u),t=jl(u,t)));l!==-1;){let h=t[Se];if(Hm(r,l,h.data)){let m=Ple(l,t,i,o,n,c);if(m!==_i)return m}u=t[l+8],u!==Mr&&Um(n,t[Se].data[l+8]===c)&&Hm(r,l,t)?(o=h,l=Ll(u),t=jl(u,t)):l=-1}}return a}function Ple(e,t,i,n,a,r){let o=t[Se],l=o.data[e+8],u=n==null?Jr(l)&&bd:n!=o&&(l.type&3)!==0,c=a&Me.Host&&r===l,h=gl(l,o,i,u,c);return h!==null?Uo(t,o,h,l,a):_i}function gl(e,t,i,n,a){let r=e.providerIndexes,o=t.data,l=r&1048575,u=e.directiveStart,c=e.directiveEnd,h=r>>20,m=n?l:l+h,v=a?l+h:c;for(let g=m;g<v;g++){let x=o[g];if(g<u&&i===x||g>=u&&x.type===i)return g}if(a){let g=o[u];if(g&&Ei(g)&&g.type===i)return u}return null}function Uo(e,t,i,n,a){let r=e[i],o=t.data;if(r instanceof fs){let l=r;l.resolving&&xv(xse(o[i]));let u=Vl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?dn(l.injectImpl):null;Jv(e,n,Me.Default);try{r=e[i]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&i>=n.directiveStart&&xle(i,o[i],t)}finally{c!==null&&dn(c),Vl(u),l.resolving=!1,ty()}}return r}function Mle(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(No)?e[No]:void 0;return typeof t=="number"?t>=0?t&oy:Ale:t}function Hm(e,t,i){let n=1<<e;return!!(i[t+(e>>sy)]&n)}function Um(e,t){return!(e&Me.Self)&&!(e&Me.Host&&t)}var Po=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,i){return dy(this._tNode,this._lView,e,_c(i),t)}};function Ale(){return new Po(cn(),we())}function Gt(e){return us(()=>{let t=e.prototype.constructor,i=t[Ol]||xd(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let r=a[Ol]||xd(a);if(r&&r!==i)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function xd(e){return vv(e)?()=>{let t=xd(qt(e));return t&&t()}:$a(e)}function Rle(e,t,i,n,a){let r=e,o=t;for(;r!==null&&o!==null&&o[_e]&2048&&!Rl(o);){let l=hy(r,o,i,n|Me.Self,_i);if(l!==_i)return l;let u=r.parent;if(!u){let c=o[Fv];if(c){let h=c.get(i,_i,n);if(h!==_i)return h}u=py(o),o=o[Kr]}r=u}return a}function py(e){let t=e[Se],i=t.type;return i===2?t.declTNode:i===1?e[vn]:null}function Fle(e){return Nle(cn(),e)}function Gm(e,t=null,i=null,n){let a=Lle(e,t,i,n);return a.resolveInjectorInitializers(),a}function Lle(e,t=null,i=null,n,a=new Set){let r=[i||hn,jse(e)];return n=n||(typeof e=="object"?void 0:zn(e)),new Th(r,t||xc(),n||null,a)}var pi,st=(pi=class{static create(t,i){if(Array.isArray(t))return Gm({name:""},i,t,"");{let n=t.name??"";return Gm({name:n},t.parent,t.providers,n)}}},s(pi,"THROW_IF_NOT_FOUND",qa),s(pi,"NULL",new Tv),s(pi,"ɵprov",W({token:pi,providedIn:"any",factory:()=>pe(Iv)})),s(pi,"__NG_ELEMENT_ID__",-1),pi),jle=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Fle(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},Vle=new se("");Vle.__NG_ELEMENT_ID__=e=>{let t=cn();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Me.Optional)return null;throw new Z(204,!1)};var my=!1,ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",zle),s(e,"__NG_ENV_ID__",i=>i),e})(),fy=class extends ii{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let i=this._lView;return Xr(i)?(t(),()=>{}):(Gv(i,t),()=>ale(i,t))}};function zle(){return new fy(we())}var no=class{},gy=new se("",{providedIn:"root",factory:()=>!1}),vy=new se(""),yy=new se(""),gs=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new yh(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Ble=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Rv()&&(this.destroyRef=C(ii,{optional:!0})??void 0,this.pendingTasks=C(gs,{optional:!0})??void 0)}emit(t){let i=Oe(null);try{super.next(t)}finally{Oe(i)}}subscribe(t,i,n){var u,c,h;let a=t,r=i||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(u=m.next)==null?void 0:u.bind(m),r=(c=m.error)==null?void 0:c.bind(m),o=(h=m.complete)==null?void 0:h.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:r,complete:o});return t instanceof pn&&t.add(l),l}wrapInTimeout(t){return i=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(i)}finally{n!==void 0&&((r=this.pendingTasks)==null||r.remove(n))}})}}},Ht=Ble;function Go(...e){}function by(e){let t,i;function n(){e=Go;try{i!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(i),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(i=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Wm(e){return queueMicrotask(()=>e()),()=>{e=Go}}var qh="isAngularZone",Bl=qh+"_ID",Hle=0,We=class wd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht(!1));s(this,"onMicrotaskEmpty",new Ht(!1));s(this,"onStable",new Ht(!1));s(this,"onError",new Ht(!1));let{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=my}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=r,Wle(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(qh)===!0}static assertInAngularZone(){if(!wd.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(wd.isInAngularZone())throw new Z(909,!1)}run(t,i,n){return this._inner.run(t,i,n)}runTask(t,i,n,a){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+a,t,Ule,Go,Go);try{return r.runTask(o,i,n)}finally{r.cancelTask(o)}}runGuarded(t,i,n){return this._inner.runGuarded(t,i,n)}runOutsideAngular(t){return this._outer.run(t)}},Ule={};function $h(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 Gle(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){by(()=>{e.callbackScheduled=!1,Ed(e),e.isCheckStableRunning=!0,$h(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ed(e)}function Wle(e){let t=()=>{Gle(e)},i=Hle++;e._inner=e._inner.fork({name:"angular",properties:{[qh]:!0,[Bl]:i,[Bl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if($le(u))return n.invokeTask(r,o,l,u);try{return qm(e),n.invokeTask(r,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),$m(e)}},onInvoke:(n,a,r,o,l,u,c)=>{try{return qm(e),n.invoke(r,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Yle(u)&&t(),$m(e)}},onHasTask:(n,a,r,o)=>{n.hasTask(r,o),a===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Ed(e),$h(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function Ed(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $m(e){e._nesting--,$h(e)}var qle=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht);s(this,"onMicrotaskEmpty",new Ht);s(this,"onStable",new Ht);s(this,"onError",new Ht)}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}};function $le(e){return _y(e,"__ignore_ng_zone__")}function Yle(e){return _y(e,"__scheduler_tick__")}function _y(e,t){var i,n;return!Array.isArray(e)||e.length!==1?!1:((n=(i=e[0])==null?void 0:i.data)==null?void 0:n[t])===!0}var ai=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},Zle=new se("",{providedIn:"root",factory:()=>{let e=C(We),t=C(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),Kle=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(ai,{optional:!0}));s(this,"destroyRef",C(ii));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var i,n;let t=(i=this.listeners)==null?void 0:i.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var i;if(this.destroyed){console.warn(hv(953,!1));return}if(this.listeners===null)return;let t=Oe(null);try{for(let n of this.listeners)try{n(e)}catch(a){(i=this.errorHandler)==null||i.handleError(a)}}finally{Oe(t)}}};function Ym(e){return new Kle}function Zm(e,t){return mv(e,t)}function Jle(e){return mv(pv,e)}var fe=(Zm.required=Jle,Zm);function Xle(){return io(cn(),we())}function io(e,t){return new Rt(Di(e,t))}var Rt=(()=>{class e{constructor(i){s(this,"nativeElement");this.nativeElement=i}}return s(e,"__NG_ELEMENT_ID__",Xle),e})();function Qle(e){return e instanceof Rt?e.nativeElement:e}function Km(e){return typeof e=="function"&&e[Sn]!==void 0}function Sd(e,t){let i=loe(e,t==null?void 0:t.equal),n=i[Sn];return i.set=a=>yc(n,a),i.update=a=>T0(n,a),i.asReadonly=xy.bind(i),i}function xy(){let e=this[Sn];if(e.readonlyFn===void 0){let t=()=>this();t[Sn]=e,e.readonlyFn=t}return e.readonlyFn}function ece(){return this._results[Symbol.iterator]()}var c0,Hl=(c0=Symbol.iterator,class{constructor(e=!1){s(this,"_emitDistinctChangesOnly");s(this,"dirty",!0);s(this,"_onDirty");s(this,"_results",[]);s(this,"_changesDetected",!1);s(this,"_changes");s(this,"length",0);s(this,"first");s(this,"last");s(this,c0,ece);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new be)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let i=Mse(e);(this._changesDetected=!Pse(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function wy(e){return(e.flags&128)===128}var Ey=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ey||{}),Sy=new Map,tce=0;function nce(){return tce++}function ice(e){Sy.set(e[Ec],e)}function kd(e){Sy.delete(e[Ec])}var Jm="__ngContext__";function ao(e,t){ya(t)?(e[Jm]=t[Ec],ice(t)):e[Jm]=t}function ky(e){return Iy(e[Ho])}function Cy(e){return Iy(e[ti])}function Iy(e){for(;e!==null&&!Qi(e);)e=e[ti];return e}var Cd;function ace(e){Cd=e}function rce(){if(Cd!==void 0)return Cd;if(typeof document<"u")return document;throw new Z(210,!1)}var Yh=new se("",{providedIn:"root",factory:()=>oce}),oce="ng",Dy=new se(""),Ic=new se("",{providedIn:"platform",factory:()=>"unknown"}),ar=new se(""),Zh=new se("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=rce().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Ty=!1,sce=new se("",{providedIn:"root",factory:()=>Ty}),Kh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Kh||{}),vs=new se(""),Xm=new Set;function rr(e){var t;Xm.has(e)||(Xm.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Jh=(()=>{class e{constructor(i,n){s(this,"view");s(this,"node");this.view=i,this.node=n}}return s(e,"__NG_ELEMENT_ID__",lce),e})();function lce(){return new Jh(we(),cn())}var Ir=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ir||{}),Oy=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),cce=[Ir.EarlyRead,Ir.Write,Ir.MixedReadWrite,Ir.Read],uce=(()=>{const t=class t{constructor(){s(this,"ngZone",C(We));s(this,"scheduler",C(no));s(this,"errorHandler",C(ai,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(vs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of cce)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[a];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:a}=n;a!==void 0?((a[va]??(a[va]=[])).push(n),Qr(a),a[_e]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,a){return a?a.run(Kh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),dce=class{constructor(e,t,i,n,a,r=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=i,this.once=n,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,i;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(i=this.view)==null?void 0:i[va];e&&(this.view[va]=e.filter(n=>n!==this))}};function Ny(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return rr("NgAfterRender"),Py(e,i,t,!1)}function Xh(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return rr("NgAfterNextRender"),Py(e,i,t,!0)}function hce(e,t){if(e instanceof Function){let i=[void 0,void 0,void 0,void 0];return i[t]=e,i}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Py(e,t,i,n){let a=t.get(Oy);a.impl??(a.impl=t.get(uce));let r=t.get(vs,null,{optional:!0}),o=(i==null?void 0:i.phase)??Ir.MixedReadWrite,l=(i==null?void 0:i.manualCleanup)!==!0?t.get(ii):null,u=t.get(Jh,null,{optional:!0}),c=new dce(a.impl,hce(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var pce=()=>null;function My(e,t,i=!1){return pce()}function Ay(e,t){let i=e.contentQueries;if(i!==null){let n=Oe(null);try{for(let a=0;a<i.length;a+=2){let r=i[a],o=i[a+1];if(o!==-1){let l=e.data[o];zh(r),l.contentQueries(2,t[o],o)}}}finally{Oe(n)}}}function Id(e,t,i){zh(0);let n=Oe(null);try{t(e,i)}finally{Oe(n)}}function Qh(e,t,i){if(Oh(t)){let n=Oe(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let o=a;o<r;o++){let l=e.data[o];if(l.contentQueries){let u=i[o];l.contentQueries(1,u,o)}}}finally{Oe(n)}}}var Gi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Gi||{}),Bs;function mce(){if(Bs===void 0&&(Bs=null,Sr.trustedTypes))try{Bs=Sr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bs}function Dc(e){var t;return((t=mce())==null?void 0:t.createHTML(e))||e}var or=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dv})`}},fce=class extends or{getTypeName(){return"HTML"}},gce=class extends or{getTypeName(){return"Style"}},vce=class extends or{getTypeName(){return"Script"}},yce=class extends or{getTypeName(){return"URL"}},bce=class extends or{getTypeName(){return"ResourceURL"}};function la(e){return e instanceof or?e.changingThisBreaksApplicationSecurity:e}function _r(e,t){let i=_ce(e);if(i!=null&&i!==t){if(i==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${dv})`)}return i===t}function _ce(e){return e instanceof or&&e.getTypeName()||null}function xce(e){return new fce(e)}function wce(e){return new gce(e)}function Ece(e){return new vce(e)}function Sce(e){return new yce(e)}function kce(e){return new bce(e)}function Cce(e){let t=new Dce(e);return Tce()?new Ice(t):t}var Ice=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(Dc(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):((t=i.firstChild)==null||t.remove(),i)}catch{return null}}},Dce=class{constructor(e){s(this,"defaultDoc");s(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Dc(e),t}};function Tce(){try{return!!new window.DOMParser().parseFromString(Dc(""),"text/html")}catch{return!1}}var Oce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ep(e){return e=String(e),e.match(Oce)?e:"unsafe:"+e}function ta(e){let t={};for(let i of e.split(","))t[i]=!0;return t}function ys(...e){let t={};for(let i of e)for(let n in i)i.hasOwnProperty(n)&&(t[n]=!0);return t}var Ry=ta("area,br,col,hr,img,wbr"),Fy=ta("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ly=ta("rp,rt"),Nce=ys(Ly,Fy),Pce=ys(Fy,ta("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")),Mce=ys(Ly,ta("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")),Qm=ys(Ry,Pce,Mce,Nce),jy=ta("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ace=ta("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"),Rce=ta("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"),Fce=ys(jy,Ace,Rce),Lce=ta("script,style,template"),jce=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,i=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild){n.push(t),t=Bce(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=zce(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=ef(e).toLowerCase();if(!Qm.hasOwnProperty(t))return this.sanitizedSomething=!0,!Lce.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let i=e.attributes;for(let n=0;n<i.length;n++){let a=i.item(n),r=a.name,o=r.toLowerCase();if(!Fce.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;jy[o]&&(l=ep(l)),this.buf.push(" ",r,'="',tf(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=ef(e).toLowerCase();Qm.hasOwnProperty(t)&&!Ry.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(tf(e))}};function Vce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function zce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Vy(t);return t}function Bce(e){let t=e.firstChild;if(t&&Vce(e,t))throw Vy(t);return t}function ef(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Vy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Hce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Uce=/([^\#-~ |!])/g;function tf(e){return e.replace(/&/g,"&amp;").replace(Hce,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(Uce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hs;function Gce(e,t){let i=null;try{Hs=Hs||Cce(e);let n=t?String(t):"";i=Hs.getInertBodyElement(n);let a=5,r=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=r,r=i.innerHTML,i=Hs.getInertBodyElement(n)}while(n!==r);let o=new jce().sanitizeChildren(nf(i)||i);return Dc(o)}finally{if(i){let n=nf(i)||i;for(;n.firstChild;)n.firstChild.remove()}}}function nf(e){return"content"in e&&Wce(e)?e.content:null}function Wce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var qce=/^>|^->|<!--|-->|--!>|<!-$/g,$ce=/(<|>)/g,Yce="​$1​";function Zce(e){return e.replace(qce,t=>t.replace($ce,Yce))}function Kce(e,t){return e.createText(t)}function Jce(e,t,i){e.setValue(t,i)}function Xce(e,t){return e.createComment(Zce(t))}function zy(e,t,i){return e.createElement(t,i)}function Ul(e,t,i,n,a){e.insertBefore(t,i,n,a)}function By(e,t,i){e.appendChild(t,i)}function af(e,t,i,n,a){n!==null?Ul(e,t,i,n,a):By(e,t,i)}function Qce(e,t,i){e.removeChild(null,t,i)}function eue(e,t,i){e.setAttribute(t,"style",i)}function tue(e,t,i){i===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Hy(e,t,i){let{mergedAttrs:n,classes:a,styles:r}=i;n!==null&&kle(e,t,n),a!==null&&tue(e,t,a),r!==null&&eue(e,t,r)}var wn=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}(wn||{});function Uy(e){let t=nue();return t?t.sanitize(wn.URL,e)||"":_r(e,"URL")?la(e):ep(bc(e))}function nue(){let e=we();return e&&e[Ki].sanitizer}function iue(e,t,i){let n=e.length;for(;;){let a=e.indexOf(t,i);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===n||e.charCodeAt(a+r)<=32)return a}i=a+1}}var Gy="ng-template";function aue(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&iue(t[a+1].toLowerCase(),i,0)!==-1)return!0}else if(tp(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()===i)return!0}return!1}function tp(e){return e.type===4&&e.value!==Gy}function rue(e,t,i){let n=e.type===4&&!i?Gy:e.value;return t===n}function oue(e,t,i){let n=4,a=e.attrs,r=a!==null?cue(a):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Yn(n)&&!Yn(u))return!1;if(o&&Yn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!rue(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!aue(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=sue(u,a,tp(e),i);if(h===-1){if(Yn(n))return!1;o=!0;continue}if(c!==""){let m;if(h>r?m="":m=a[h+1].toLowerCase(),n&2&&c!==m){if(Yn(n))return!1;o=!0}}}}return Yn(n)||o}function Yn(e){return(e&1)===0}function sue(e,t,i,n){if(t===null)return-1;let a=0;if(n||!i){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 l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=r?1:2}return-1}else return uue(t,e)}function Wy(e,t,i=!1){for(let n=0;n<t.length;n++)if(oue(e,t[n],i))return!0;return!1}function lue(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function cue(e){for(let t=0;t<e.length;t++){let i=e[t];if(ay(i))return t}return e.length}function uue(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){let n=e[i];if(typeof n=="number")return-1;if(n===t)return i;i++}return-1}function due(e,t){e:for(let i=0;i<t.length;i++){let n=t[i];if(e.length===n.length){for(let a=0;a<e.length;a++)if(e[a]!==n[a])continue e;return!0}}return!1}function rf(e,t){return e?":not("+t.trim()+")":t}function hue(e){let t=e[0],i=1,n=2,a="",r=!1;for(;i<e.length;){let o=e[i];if(typeof o=="string")if(n&2){let l=e[++i];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!Yn(o)&&(t+=rf(r,a),a=""),n=o,r=r||!Yn(n);i++}return a!==""&&(t+=rf(r,a)),t}function pue(e){return e.map(hue).join(",")}function mue(e){let t=[],i=[],n=1,a=2;for(;n<e.length;){let r=e[n];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++n]):a===8&&i.push(r);else{if(!Yn(a))break;a=r}n++}return i.length&&t.push(1,...i),t}var ri={};function np(e,t,i,n,a,r,o,l,u,c,h){let m=_t+n,v=m+a,g=fue(m,v),x=typeof c=="function"?c():c;return g[Se]={type:e,blueprint:g,template:i,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:x,incompleteFirstPass:!1,ssrId:h}}function fue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function gue(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=np(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ip(e,t,i,n,a,r,o,l,u,c,h){let m=t.blueprint.slice();return m[Xi]=a,m[_e]=n|4|128|8|64|1024,(c!==null||e&&e[_e]&2048)&&(m[_e]|=2048),Uv(m),m[en]=m[Kr]=e,m[Ut]=i,m[Ki]=o||e&&e[Ki],m[It]=l||e&&e[It],m[Br]=u||e&&e[Br]||null,m[vn]=r,m[Ec]=nce(),m[zr]=h,m[Fv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function vue(e,t,i){let n=Di(t,e),a=gue(i),r=e[Ki].rendererFactory,o=ap(e,ip(e,a,null,qy(i),n,t,null,r.createRenderer(n,i),null,null,null));return e[t.index]=o}function qy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function $y(e,t,i,n){if(i===0)return-1;let a=t.length;for(let r=0;r<i;r++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function ap(e,t){return e[Ho]?e[Vm][ti]=t:e[Ho]=t,e[Vm]=t,t}function O(e=1){Yy(mt(),we(),ea()+e)}function Yy(e,t,i,n){if((t[_e]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ml(t,a,i)}else{let a=e.preOrderHooks;a!==null&&fl(t,a,0,i)}Qa(i)}var Tc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tc||{});function Dd(e,t,i,n){let a=Oe(null);try{let[r,o,l]=e.inputs[i],u=null;o&Tc.SignalBased&&(u=t[r][Sn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,i,r):jv(t,u,r,n)}finally{Oe(a)}}function Zy(e,t,i,n,a){let r=ea(),o=n&2;try{Qa(-1),o&&t.length>_t&&Yy(e,t,_t,!1),Ka(o?2:0,a),i(n,a)}finally{Qa(r)}}function Oc(e,t,i){xue(e,t,i),(i.flags&64)===64&&wue(e,t,i)}function rp(e,t,i=Di){let n=t.localNames;if(n!==null){let a=t.index+1;for(let r=0;r<n.length;r+=2){let o=n[r+1],l=o===-1?i(t,e):e[o];e[a++]=l}}}function yue(e,t,i,n){let a=n.get(sce,Ty)||i===Gi.ShadowDom;return e.selectRootElement(t,a)}function bue(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ky(e,t,i,n,a,r,o,l){if(!l&&sp(t,e,i,n,a)){Jr(t)&&_ue(i,t.index);return}if(t.type&3){let u=Di(t,i);n=bue(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function _ue(e,t){let i=ki(t,e);i[_e]&16||(i[_e]|=64)}function xue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Jr(i)&&vue(t,i,e.data[n+i.componentOffset]),e.firstCreatePass||zl(i,t);let r=i.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],u=Uo(t,e,o,i);if(ao(u,t),r!==null&&Cue(t,o-n,u,l,i,r),Ei(l)){let c=ki(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function wue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=gle();try{Qa(r);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];yd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Eue(u,c)}}finally{Qa(-1),yd(o)}}function Eue(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function op(e,t){let i=e.directiveRegistry,n=null;if(i)for(let a=0;a<i.length;a++){let r=i[a];Wy(t,r.selectors,!1)&&(n??(n=[]),Ei(r)?n.unshift(r):n.push(r))}return n}function Sue(e,t,i,n,a,r){let o=Di(e,t);kue(t[It],o,r,e.value,i,n,a)}function kue(e,t,i,n,a,r,o){if(r==null)e.removeAttribute(t,a,i);else{let l=o==null?bc(r):o(r,n||"",a);e.setAttribute(t,a,l,i)}}function Cue(e,t,i,n,a,r){let o=r[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];Dd(n,i,u,c)}}function Iue(e,t){let i=e[Br],n=i?i.get(ai,null):null;n&&n.handleError(t)}function sp(e,t,i,n,a){var u,c;let r=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let h=0;h<o.length;h+=2){let m=o[h],v=o[h+1],g=t.data[m];Dd(g,i[m],v,a),l=!0}if(r)for(let h of r){let m=i[h],v=t.data[h];Dd(v,m,n,a),l=!0}return l}function Due(e,t){let i=ki(t,e),n=i[Se];Tue(n,i);let a=i[Xi];a!==null&&i[zr]===null&&(i[zr]=My(a,i[Br])),lp(n,i,i[Ut]),Ka(19,i[Ut])}function Tue(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}function lp(e,t,i){var n;Bh(t);try{let a=e.viewQuery;a!==null&&Id(1,a,i);let r=e.template;r!==null&&Zy(e,t,r,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[ni])==null||n.finishViewCreation(e),e.staticContentQueries&&Ay(e,t),e.staticViewQueries&&Id(2,e.viewQuery,i);let o=e.components;o!==null&&Oue(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,Hh()}}function Oue(e,t){for(let i=0;i<t.length;i++)Due(e,t[i])}function bs(e,t,i,n){let a=Oe(null);try{let r=t.tView,o=e[_e]&4096?4096:16,l=ip(e,r,i,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[Ya]=u;let c=e[ni];return c!==null&&(l[ni]=c.createEmbeddedView(r)),lp(r,l,i),l}finally{Oe(a)}}function Gr(e,t){return!t||t.firstChild===null||wy(e)}var Nue;function cp(e,t){return Nue(e,t)}var da=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(da||{});function up(e){return(e.flags&32)===32}function Dr(e,t,i,n,a){if(n!=null){let r,o=!1;Qi(n)?r=n:ya(n)&&(o=!0,n=n[Xi]);let l=Si(n);e===0&&i!==null?a==null?By(t,i,l):Ul(t,i,l,a||null,!0):e===1&&i!==null?Ul(t,i,l,a||null,!0):e===2?Qce(t,l,o):e===3&&t.destroyNode(l),r!=null&&Bue(t,e,r,i,a)}}function Pue(e,t){Jy(e,t),t[Xi]=null,t[vn]=null}function Mue(e,t,i,n,a,r){n[Xi]=a,n[vn]=t,Mc(e,n,i,1,a,r)}function Jy(e,t){var i;(i=t[Ki].changeDetectionScheduler)==null||i.notify(9),Mc(e,t,t[It],2,null,null)}function Aue(e){let t=e[Ho];if(!t)return du(e[Se],e);for(;t;){let i=null;if(ya(t))i=t[Ho];else{let n=t[Xt];n&&(i=n)}if(!i){for(;t&&!t[ti]&&t!==e;)ya(t)&&du(t[Se],t),t=t[en];t===null&&(t=e),ya(t)&&du(t[Se],t),i=t&&t[ti]}t=i}}function dp(e,t){let i=e[Hr],n=i.indexOf(t);i.splice(n,1)}function Nc(e,t){if(Xr(t))return;let i=t[It];i.destroyNode&&Mc(e,t,i,3,null,null),Aue(t)}function du(e,t){if(Xr(t))return;let i=Oe(null);try{t[_e]&=-129,t[_e]|=256,t[Bn]&&fc(t[Bn]),Fue(e,t),Rue(e,t),t[Se].type===1&&t[It].destroy();let n=t[Ya];if(n!==null&&Qi(t[en])){n!==t[en]&&dp(n,t);let a=t[ni];a!==null&&a.detachView(e)}kd(t)}finally{Oe(i)}}function Rue(e,t){let i=e.cleanup,n=t[Pr];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let l=i[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[i[o+1]];i[o].call(l)}n!==null&&(t[Pr]=null);let a=t[ga];if(a!==null){t[ga]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let r=t[Ui];if(r!==null){t[Ui]=null;for(let o of r)o.destroy()}}function Fue(e,t){let i;if(e!=null&&(i=e.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let a=t[i[n]];if(!(a instanceof fs)){let r=i[n+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let l=a[r[o]],u=r[o+1];try{u.call(l)}finally{}}else try{r.call(a)}finally{}}}}function Xy(e,t,i){return Lue(e,t.parent,i)}function Lue(e,t,i){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return i[Xi];if(Jr(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===Gi.None||a===Gi.Emulated)return null}return Di(n,i)}function Qy(e,t,i){return Vue(e,t,i)}function jue(e,t,i){return e.type&40?Di(e,i):null}var Vue=jue;function Pc(e,t,i,n){let a=Xy(e,n,t),r=t[It],o=n.parent||t[vn],l=Qy(o,n,t);if(a!=null)if(Array.isArray(i))for(let u=0;u<i.length;u++)af(r,a,i[u],l,!1);else af(r,a,i,l,!1)}function Co(e,t){if(t!==null){let i=t.type;if(i&3)return Di(t,e);if(i&4)return Td(-1,e[t.index]);if(i&8){let n=t.child;if(n!==null)return Co(e,n);{let a=e[t.index];return Qi(a)?Td(-1,a):Si(a)}}else{if(i&128)return Co(e,t.next);if(i&32)return cp(t,e)()||Si(e[t.index]);{let n=eb(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Xa(e[Hn]);return Co(a,n)}else return Co(e,t.next)}}}return null}function eb(e,t){if(t!==null){let i=e[Hn][vn],n=t.projection;return i.projection[n]}return null}function Td(e,t){let i=Xt+e+1;if(i<t.length){let n=t[i],a=n[Se].firstChild;if(a!==null)return Co(n,a)}return t[Za]}function hp(e,t,i,n,a,r,o){for(;i!=null;){if(i.type===128){i=i.next;continue}let l=n[i.index],u=i.type;if(o&&t===0&&(l&&ao(Si(l),n),i.flags|=2),!up(i))if(u&8)hp(e,t,i.child,n,a,r,!1),Dr(t,e,a,l,r);else if(u&32){let c=cp(i,n),h;for(;h=c();)Dr(t,e,a,h,r);Dr(t,e,a,l,r)}else u&16?tb(e,t,n,i,a,r):Dr(t,e,a,l,r);i=o?i.projectionNext:i.next}}function Mc(e,t,i,n,a,r){hp(i,n,e.firstChild,t,a,r,!1)}function zue(e,t,i){let n=t[It],a=Xy(e,i,t),r=i.parent||t[vn],o=Qy(r,i,t);tb(n,0,t,i,a,o)}function tb(e,t,i,n,a,r){let o=i[Hn],l=o[vn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];Dr(t,e,a,c,r)}else{let u=l,c=o[en];wy(n)&&(u.flags|=128),hp(e,t,u,c,a,r,!0)}}function Bue(e,t,i,n,a){let r=i[Za],o=Si(i);r!==o&&Dr(t,e,n,r,a);for(let l=Xt;l<i.length;l++){let u=i[l];Mc(u[Se],u,e,t,n,r)}}function Hue(e,t,i,n,a){if(t)a?e.addClass(i,n):e.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:da.DashCase;a==null?e.removeStyle(i,n,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=da.Important),e.setStyle(i,n,a,r))}}function Gl(e,t,i,n,a=!1){for(;i!==null;){if(i.type===128){i=a?i.projectionNext:i.next;continue}let r=t[i.index];r!==null&&n.push(Si(r)),Qi(r)&&Uue(r,n);let o=i.type;if(o&8)Gl(e,t,i.child,n);else if(o&32){let l=cp(i,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=eb(t,i);if(Array.isArray(l))n.push(...l);else{let u=Xa(t[Hn]);Gl(u[Se],u,l,n,!0)}}i=a?i.projectionNext:i.next}return n}function Uue(e,t){for(let i=Xt;i<e.length;i++){let n=e[i],a=n[Se].firstChild;a!==null&&Gl(n[Se],n,a,t)}e[Za]!==e[Xi]&&t.push(e[Za])}function nb(e){if(e[va]!==null){for(let t of e[va])t.impl.addSequence(t);e[va].length=0}}var ib=[];function Gue(e){return e[Bn]??Wue(e)}function Wue(e){let t=ib.pop()??Object.create($ue);return t.lView=e,t}function que(e){e.lView[Bn]!==e&&(e.lView=null,ib.push(e))}var $ue=bt(ue({},Yr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Qr(e.lView)},consumerOnSignalRead(){this.lView[Bn]=this}});function Yue(e){let t=e[Bn]??Object.create(Zue);return t.lView=e,t}var Zue=bt(ue({},Yr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Xa(e.lView);for(;t&&!ab(t[Se]);)t=Xa(t);t&&Rh(t)},consumerOnSignalRead(){this.lView[Bn]=this}});function ab(e){return e.type!==2}function rb(e){if(e[Ui]===null)return;let t=!0;for(;t;){let i=!1;for(let n of e[Ui])n.dirty&&(i=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=i&&!!(e[_e]&8192)}}var Kue=100;function ob(e,t=!0,i=0){var a,r;let n=e[Ki].rendererFactory;(a=n.begin)==null||a.call(n);try{Jue(e,i)}catch(o){throw t&&Iue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function Jue(e,t){let i=Yv();try{Fl(!0),Od(e,t);let n=0;for(;ms(e);){if(n===Kue)throw new Z(103,!1);n++,Od(e,1)}}finally{Fl(i)}}function Xue(e,t,i,n){if(Xr(t))return;let a=t[_e],r=!1,o=!1;Bh(t);let l=!0,u=null,c=null;ab(e)?(c=Gue(t),u=Fo(c)):toe()===null?(l=!1,c=Yue(t),u=Fo(c)):t[Bn]&&(fc(t[Bn]),t[Bn]=null);try{Uv(t),ple(e.bindingStartIndex),i!==null&&Zy(e,t,i,2,n);let h=(a&3)===3;if(!r)if(h){let g=e.preOrderCheckHooks;g!==null&&ml(t,g,null)}else{let g=e.preOrderHooks;g!==null&&fl(t,g,0,null),cu(t,0)}if(o||Que(t),rb(t),sb(t,0),e.contentQueries!==null&&Ay(e,t),!r)if(h){let g=e.contentCheckHooks;g!==null&&ml(t,g)}else{let g=e.contentHooks;g!==null&&fl(t,g,1),cu(t,1)}tde(e,t);let m=e.components;m!==null&&cb(t,m,0);let v=e.viewQuery;if(v!==null&&Id(2,v,n),!r)if(h){let g=e.viewCheckHooks;g!==null&&ml(t,g)}else{let g=e.viewHooks;g!==null&&fl(t,g,2),cu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[lu]){for(let g of t[lu])g();t[lu]=null}r||(nb(t),t[_e]&=-73)}catch(h){throw Qr(t),h}finally{c!==null&&(mc(c,u),l&&que(c)),Hh()}}function sb(e,t){for(let i=ky(e);i!==null;i=Cy(i))for(let n=Xt;n<i.length;n++){let a=i[n];lb(a,t)}}function Que(e){for(let t=ky(e);t!==null;t=Cy(t)){if(!(t[_e]&2))continue;let i=t[Hr];for(let n=0;n<i.length;n++){let a=i[n];Rh(a)}}}function ede(e,t,i){let n=ki(t,e);lb(n,i),Ka(19,n[Ut])}function lb(e,t){Ah(e)&&Od(e,t)}function Od(e,t){let i=e[Se],n=e[_e],a=e[Bn],r=!!(t===0&&n&16);if(r||(r=!!(n&64&&t===0)),r||(r=!!(n&1024)),r||(r=!!(a!=null&&a.dirty&&mh(a))),r||(r=!1),a&&(a.dirty=!1),e[_e]&=-9217,r)Xue(i,e,i.template,e[Ut]);else if(n&8192){rb(e),sb(e,1);let o=i.components;o!==null&&cb(e,o,1),nb(e)}}function cb(e,t,i){for(let n=0;n<t.length;n++)ede(e,t[n],i)}function tde(e,t){let i=e.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let a=i[n];if(a<0)Qa(~a);else{let r=a,o=i[++n],l=i[++n];fle(o,r);let u=t[r];Ka(24,u),l(2,u),Ka(25,u)}}}finally{Qa(-1)}}function pp(e,t){var n;let i=Yv()?64:1088;for((n=e[Ki].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[_e]|=i;let a=Xa(e);if(Rl(e)&&!a)return e;e=a}return null}function ub(e,t,i,n){return[e,!0,0,t,null,n,null,i,null,null]}function db(e,t){let i=Xt+t;if(i<e.length)return e[i]}function _s(e,t,i,n=!0){let a=t[Se];if(nde(a,t,e,i),n){let o=Td(i,e),l=t[It],u=l.parentNode(e[Za]);u!==null&&Mue(a,e[vn],l,t,u,o)}let r=t[zr];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function hb(e,t){let i=Wo(e,t);return i!==void 0&&Nc(i[Se],i),i}function Wo(e,t){if(e.length<=Xt)return;let i=Xt+t,n=e[i];if(n){let a=n[Ya];a!==null&&a!==e&&dp(a,n),t>0&&(e[i-1][ti]=n[ti]);let r=Pl(e,Xt+t);Pue(n[Se],n);let o=r[ni];o!==null&&o.detachView(r[Se]),n[en]=null,n[ti]=null,n[_e]&=-129}return n}function nde(e,t,i,n){let a=Xt+n,r=i.length;n>0&&(i[a-1][ti]=t),n<r-Xt?(t[ti]=i[a],Cv(i,Xt+n,t)):(i.push(t),t[ti]=null),t[en]=i;let o=t[Ya];o!==null&&i!==o&&pb(o,t);let l=t[ni];l!==null&&l.insertView(e),gd(t),t[_e]|=128}function pb(e,t){let i=e[Hr],n=t[en];if(ya(n))e[_e]|=2;else{let a=n[en][Hn];t[Hn]!==a&&(e[_e]|=2)}i===null?e[Hr]=[t]:i.push(t)}var qo=class{constructor(e,t,i=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get rootNodes(){let e=this._lView,t=e[Se];return Gl(t,e,t.firstChild,[])}get context(){return this._lView[Ut]}set context(e){this._lView[Ut]=e}get destroyed(){return Xr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[en];if(Qi(e)){let t=e[Al],i=t?t.indexOf(this):-1;i>-1&&(Wo(e,i),Pl(t,i))}this._attachedToViewContainer=!1}Nc(this._lView[Se],this._lView)}onDestroy(e){Gv(this._lView,e)}markForCheck(){pp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_e]&=-129}reattach(){gd(this._lView),this._lView[_e]|=128}detectChanges(){this._lView[_e]|=1024,ob(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Rl(this._lView),t=this._lView[Ya];t!==null&&!e&&dp(t,this._lView),Jy(this._lView[Se],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=Rl(this._lView),i=this._lView[Ya];i!==null&&!t&&pb(i,this._lView),gd(this._lView)}};function ide(e){return ms(e._lView)||!!(e._lView[_e]&64)}function ade(e){Rh(e._cdRefInjectingView||e._lView)}var Wr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",sde),e})(),rde=Wr,ode=class extends rde{constructor(t,i,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=i,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,n){let a=bs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:n});return new qo(a)}};function sde(){return Ac(cn(),we())}function Ac(e,t){return e.type&4?new ode(t,e,io(e,t)):null}function ro(e,t,i,n,a){let r=e.data[t];if(r===null)r=lde(e,t,i,n,a),mle()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=hle();r.injectorIndex=o===null?-1:o.injectorIndex}return Sa(r,!0),r}function lde(e,t,i,n,a){let r=qv(),o=jh(),l=o?r:r&&r.parent,u=e.data[t]=ude(e,l,i,t,n,a);return cde(e,u,r,o),u}function cde(e,t,i,n){e.firstChild===null&&(e.firstChild=t),i!==null&&(n?i.child==null&&t.parent!==null&&(i.child=t):i.next===null&&(i.next=t,t.prev=i))}function ude(e,t,i,n,a,r){let o=t?t.injectorIndex:-1,l=0;return Wv()&&(l|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var dde=()=>null;function qr(e,t){return dde()}var hde=class{},mb=class{},pde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${zn(e)}.`)}},nd,xs=(nd=class{},s(nd,"NULL",new pde),nd),oi=class{},oo=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>mde()),e})();function mde(){let e=we(),t=cn(),i=ki(t.index,e);return(ya(i)?i:e)[It]}var fde=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),hu={},gde=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,i){i=_c(i);let n=this.injector.get(e,hu,i);return n!==hu||t===hu?n:this.parentInjector.get(e,t,i)}};function Nd(e,t,i){let n=i?e.styles:null,a=i?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")r=l;else if(r==1)a=cd(a,l);else if(r==2){let u=l,c=t[++o];n=cd(n,u+": "+c+";")}}i?e.styles=n:e.stylesWithoutHost=n,i?e.classes=a:e.classesWithoutHost=a}function Qt(e,t=Me.Default){let i=we();if(i===null)return pe(e,t);let n=cn();return dy(n,i,qt(e),t)}function mp(e,t,i,n,a){let r=n===null?null:{"":-1},o=a(e,i);if(o!==null){let l,u=null,c=null,h=yde(o);h===null?l=o:[l,u,c]=h,xde(e,t,i,l,r,u,c)}r!==null&&n!==null&&vde(i,n,r)}function vde(e,t,i){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=i[t[a+1]];if(r==null)throw new Z(-301,!1);n.push(t[a],r)}}function yde(e){let t=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Ei(l)&&(t=l),l.findHostDirectiveDefs!==null){i=!0;break}}if(!i)return null;let n=null,a=null,r=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),r??(r=new Map),bde(o,n,r,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,r]):null}function bde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function _de(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function xde(e,t,i,n,a,r,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&Ei(g)&&(u=!0,_de(e,i,v)),_d(zl(i,t),e,g.type)}Ide(i,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,h=!1,m=$y(e,t,l,null);l>0&&(i.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(i.mergedAttrs=Ur(i.mergedAttrs,g.hostAttrs),Ede(e,i,t,m,g),Cde(m,g,a),o!==null&&o.has(g)){let[w,S]=o.get(g);i.directiveToIndex.set(g.type,[m,w+i.directiveStart,S+i.directiveStart])}else(r===null||!r.has(g))&&i.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(i.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(i.flags|=64);let x=g.type.prototype;!c&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(i.index),c=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(i.index),h=!0),m++}wde(e,i,r)}function wde(e,t,i){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(i===null||!i.has(a))of(0,t,a,n),of(1,t,a,n),lf(t,n,!1);else{let r=i.get(a);sf(0,t,r,n),sf(1,t,r,n),lf(t,n,!0)}}}function of(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[r]??(o[r]=[]),o[r].push(n),fb(t,r)}}function sf(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,r),fb(t,o)}}function fb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function lf(e,t,i){let{attrs:n,inputs:a,hostDirectiveInputs:r}=e;if(n===null||!i&&a===null||i&&r===null||tp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!i&&a.hasOwnProperty(u)){let c=a[u];for(let h of c)if(h===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(i&&r.hasOwnProperty(u)){let c=r[u];for(let h=0;h<c.length;h+=2)if(c[h]===t){o??(o=[]),o.push(c[h+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function Ede(e,t,i,n,a){e.data[n]=a;let r=a.factory||(a.factory=$a(a.type)),o=new fs(r,Ei(a),Qt);e.blueprint[n]=o,i[n]=o,Sde(e,t,n,$y(e,i,a.hostVars,ri),a)}function Sde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;kde(o)!=l&&o.push(l),o.push(i,n,r)}}function kde(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function Cde(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;Ei(t)&&(i[""]=e)}}function Ide(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function gb(e,t,i,n,a,r,o,l){let u=t.consts,c=Ja(u,o),h=ro(t,e,2,n,c);return mp(t,i,h,Ja(u,l),a),h.mergedAttrs=Ur(h.mergedAttrs,h.attrs),h.attrs!==null&&Nd(h,h.attrs,!1),h.mergedAttrs!==null&&Nd(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function vb(e,t){Gh(e,t),Oh(t)&&e.queries.elementEnd(t)}var Dde=class extends xs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let i=jr(t);return new fp(i,this.ngModule)}};function Tde(e){return Object.keys(e).map(t=>{let[i,n,a]=e[t],r={propName:i,templateName:t,isSignal:(n&Tc.SignalBased)!==0};return a&&(r.transform=a),r})}function Ode(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Nde(e,t,i){let n=t instanceof wi?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new gde(i,n):i}function Pde(e){let t=e.get(oi,null);if(t===null)throw new Z(407,!1);let i=e.get(fde,null),n=e.get(no,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function Mde(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return zy(t,i,i==="svg"?Qse:i==="math"?ele:null)}var fp=class extends mb{constructor(t,i){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=pue(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=Tde(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Ode(this.componentDef.outputs)),this.cachedOutputs}create(t,i,n,a){let r=Oe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.18"]:mue(this.componentDef.selectors[0]),u=np(0,null,null,1,0,null,null,null,null,[l],null),c=Nde(o,a||this.ngModule,t),h=Pde(c),m=h.rendererFactory.createRenderer(null,o),v=n?yue(m,n,o.encapsulation,c):Mde(o,m),g=ip(null,u,null,512|qy(o),null,null,h,m,c,null,My(v,c,!0));g[_t]=v,Bh(g);let x=null;try{let w=gb(_t,u,g,"#host",()=>[this.componentDef],!0,0);v&&(Hy(m,v,w),ao(v,g)),Oc(u,g,w),Qh(u,w,g),vb(u,w),i!==void 0&&Rde(w,this.ngContentSelectors,i),x=ki(w.index,g),g[Ut]=x[Ut],lp(u,g,null)}catch(w){throw x!==null&&kd(x),kd(g),w}finally{Ka(23),Hh()}return new Ade(this.componentType,g)}finally{Oe(r)}}},Ade=class extends hde{constructor(t,i){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=i,this._tNode=Ph(i[Se],_t),this.location=io(this._tNode,i),this.instance=ki(this._tNode.index,i)[Ut],this.hostView=this.changeDetectorRef=new qo(i,void 0,!1),this.componentType=t}setInput(t,i){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;let a=this._rootLView;sp(n,a[Se],a,t,i),this.previousInputValues.set(t,i);let r=ki(n.index,a);pp(r,1)}get injector(){return new Po(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Rde(e,t,i){let n=e.projection=[];for(let a=0;a<t.length;a++){let r=i[a];n.push(r!=null&&r.length?Array.from(r):null)}}var ws=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Fde),e})();function Fde(){let e=cn();return bb(e,we())}var Lde=ws,yb=class extends Lde{constructor(t,i,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=i,this._hostLView=n}get element(){return io(this._hostTNode,this._hostLView)}get injector(){return new Po(this._hostTNode,this._hostLView)}get parentInjector(){let t=Wh(this._hostTNode,this._hostLView);if(ry(t)){let i=jl(t,this._hostLView),n=Ll(t),a=i[Se].data[n+8];return new Po(a,i)}else return new Po(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let i=cf(this._lContainer);return i!==null&&i[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,i,n){let a,r;typeof n=="number"?a=n:n!=null&&(a=n.index,r=n.injector);let o=qr(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(i||{},r,o);return this.insertImpl(l,a,Gr(this._hostTNode,o)),l}createComponent(t,i,n,a,r){let o=t&&!Yse(t),l;if(o)l=i;else{let x=i||{};l=x.index,n=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let u=o?t:new fp(jr(t)),c=n||this.parentInjector;if(!r&&u.ngModule==null){let x=(o?c:this.parentInjector).get(wi,null);x&&(r=x)}let h=jr(u.componentType??{}),m=qr(this._lContainer,(h==null?void 0:h.id)??null),v=null,g=u.create(c,a,v,r);return this.insertImpl(g.hostView,l,Gr(this._hostTNode,m)),g}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,n){let a=t._lView;if(nle(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[en],c=new yb(u,u[vn],u[en]);c.detach(c.indexOf(t))}}let r=this._adjustIndex(i),o=this._lContainer;return _s(o,a,r,n),t.attachToViewContainerRef(),Cv(pu(o),r,t),t}move(t,i){return this.insert(t,i)}indexOf(t){let i=cf(this._lContainer);return i!==null?i.indexOf(t):-1}remove(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);n&&(Pl(pu(this._lContainer),i),Nc(n[Se],n))}detach(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);return n&&Pl(pu(this._lContainer),i)!=null?new qo(n):null}_adjustIndex(t,i=0){return t??this.length+i}};function cf(e){return e[Al]}function pu(e){return e[Al]||(e[Al]=[])}function bb(e,t){let i,n=t[e.index];return Qi(n)?i=n:(i=ub(n,t,null,e),t[e.index]=i,ap(t,i)),Vde(i,t,e,n),new yb(i,e,t)}function jde(e,t){let i=e[It],n=i.createComment(""),a=Di(t,e),r=i.parentNode(a);return Ul(i,r,n,i.nextSibling(a),!1),n}var Vde=zde;function zde(e,t,i,n){if(e[Za])return;let a;i.type&8?a=Si(n):a=jde(t,i),e[Za]=a}var Bde=class _b{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new _b(this.queryList)}setDirty(){this.queryList.setDirty()}},Hde=class xb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let i=t.queries;if(i!==null){let n=t.contentQueries!==null?t.contentQueries[0]:i.length,a=[];for(let r=0;r<n;r++){let o=i.getByIndex(r),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new xb(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)gp(t,i).matches!==null&&this.queries[i].setDirty()}},wb=class{constructor(e,t,i=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=i,typeof e=="string"?this.predicate=Xde(e):this.predicate=e}},Ude=class Eb{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let n=0;n<this.length;n++){let a=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(t,a);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new Eb(i):null}template(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Gde=class Sb{constructor(t,i=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new Sb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let r=n[a];this.matchTNodeWithReadOption(t,i,Wde(i,r)),this.matchTNodeWithReadOption(t,i,gl(i,t,r,!1,!1))}else n===Wr?i.type&4&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,gl(i,t,n,!1,!1))}matchTNodeWithReadOption(t,i,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===Rt||a===ws||a===Wr&&i.type&4)this.addMatch(i.index,-2);else{let r=gl(i,t,a,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(t,i){this.matches===null?this.matches=[t,i]:this.matches.push(t,i)}};function Wde(e,t){let i=e.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===t)return i[n+1]}return null}function qde(e,t){return e.type&11?io(e,t):e.type&4?Ac(e,t):null}function $de(e,t,i,n){return i===-1?qde(t,e):i===-2?Yde(e,t,n):Uo(e,e[Se],i,t)}function Yde(e,t,i){if(i===Rt)return io(t,e);if(i===Wr)return Ac(t,e);if(i===ws)return bb(t,e)}function kb(e,t,i,n){let a=t[ni].queries[n];if(a.matches===null){let r=e.data,o=i.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let h=r[c];l.push($de(t,h,o[u+1],i.metadata.read))}}a.matches=l}return a.matches}function Pd(e,t,i,n){let a=e.queries.getByIndex(i),r=a.matches;if(r!==null){let o=kb(e,t,a,i);for(let l=0;l<r.length;l+=2){let u=r[l];if(u>0)n.push(o[l/2]);else{let c=r[l+1],h=t[-u];for(let m=Xt;m<h.length;m++){let v=h[m];v[Ya]===v[en]&&Pd(v[Se],v,c,n)}if(h[Hr]!==null){let m=h[Hr];for(let v=0;v<m.length;v++){let g=m[v];Pd(g[Se],g,c,n)}}}}}return n}function Zde(e,t){return e[ni].queries[t].queryList}function Cb(e,t,i){let n=new Hl((i&4)===4);return rle(e,t,n,n.destroy),(t[ni]??(t[ni]=new Hde)).queries.push(new Bde(n))-1}function Kde(e,t,i){let n=mt();return n.firstCreatePass&&(Ib(n,new wb(e,t,i),-1),(t&2)===2&&(n.staticViewQueries=!0)),Cb(n,we(),t)}function Jde(e,t,i,n){let a=mt();if(a.firstCreatePass){let r=cn();Ib(a,new wb(t,i,n),r.index),Qde(a,e)}return Cb(a,we(),i)}function Xde(e){return e.split(",").map(t=>t.trim())}function Ib(e,t,i){e.queries===null&&(e.queries=new Ude),e.queries.track(new Gde(t,i))}function Qde(e,t){let i=e.contentQueries||(e.contentQueries=[]),n=i.length?i[i.length-1]:-1;t!==n&&i.push(e.queries.length-1,t)}function gp(e,t){return e.queries.getByIndex(t)}function ehe(e,t){let i=e[Se],n=gp(i,t);return n.crossesNgTemplate?Pd(i,e,t,[]):kb(i,e,n,t)}var $o=class{},Db=class extends $o{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new Dde(this));s(this,"instance",null);let i=new Th([...t.providers,{provide:$o,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],t.parent||xc(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function the(e,t,i=null){return new Db({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var nhe=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let a=Nv(!1,n.type),r=a.length>0?the([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",W({token:t,providedIn:"environment",factory:()=>new t(pe(wi))}));let e=t;return e})();function Ae(e){return us(()=>{let t=Tb(e),i=bt(ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ey.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(nhe).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gi.Emulated,styles:e.styles||hn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&rr("NgStandalone"),Ob(i);let n=e.dependencies;return i.directiveDefs=uf(n,!1),i.pipeDefs=uf(n,!0),i.id=she(i),i})}function ihe(e){return jr(e)||Ov(e)}function ahe(e){return e!==null}function an(e){return us(()=>({type:e.type,bootstrap:e.bootstrap||hn,declarations:e.declarations||hn,imports:e.imports||hn,exports:e.exports||hn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rhe(e,t){if(e==null)return xi;let i={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],r,o,l,u;Array.isArray(a)?(l=a[0],r=a[1],o=a[2]??r,u=a[3]||null):(r=a,o=a,l=Tc.None,u=null),i[r]=[n,l,u],t[r]=o}return i}function ohe(e){if(e==null)return xi;let t={};for(let i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function rn(e){return us(()=>{let t=Tb(e);return Ob(t),t})}function Yt(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 Tb(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||xi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||hn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:rhe(e.inputs,t),outputs:ohe(e.outputs),debugInfo:null}}function Ob(e){var t;(t=e.features)==null||t.forEach(i=>i(e))}function uf(e,t){if(!e)return null;let i=t?Lse:ihe;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(ahe)}function she(e){let t=0,i=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,i,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of n.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function lhe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=lhe(e.type),i=!0,n=[e];for(;t;){let a;if(Ei(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(i){n.push(a);let o=e;o.inputs=mu(e.inputs),o.declaredInputs=mu(e.declaredInputs),o.outputs=mu(e.outputs);let l=a.hostBindings;l&&phe(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&dhe(e,u),c&&hhe(e,c),che(e,a),mse(e.outputs,a.outputs),Ei(a)&&a.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let o=0;o<r.length;o++){let l=r[o];l&&l.ngInherit&&l(e),l===Gn&&(i=!1)}}t=Object.getPrototypeOf(t)}uhe(n)}function che(e,t){for(let i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;let n=t.inputs[i];n!==void 0&&(e.inputs[i]=n,e.declaredInputs[i]=t.declaredInputs[i])}}function uhe(e){let t=0,i=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=Ur(a.hostAttrs,i=Ur(i,a.hostAttrs))}}function mu(e){return e===xi?{}:e===hn?[]:e}function dhe(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function hhe(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function phe(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function mhe(e){let t=i=>{let n=Array.isArray(e);i.hostDirectives===null?(i.findHostDirectiveDefs=Nb,i.hostDirectives=n?e.map(Md):[e]):n?i.hostDirectives.unshift(...e.map(Md)):i.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Nb(e,t,i){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let r of a)df(Md(r),t,i)}else df(n,t,i)}function df(e,t,i){let n=Ov(e.directive);fhe(n.declaredInputs,e.inputs),Nb(n,t,i),i.set(n,e),t.push(n)}function Md(e){return typeof e=="function"?{directive:qt(e),inputs:xi,outputs:xi}:{directive:qt(e.directive),inputs:hf(e.inputs),outputs:hf(e.outputs)}}function hf(e){if(e===void 0||e.length===0)return xi;let t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function fhe(e,t){for(let i in t)if(t.hasOwnProperty(i)){let n=t[i],a=e[i];e[n]=a}}function Pb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Es(e,t,i){return e[t]=i}function Mb(e,t){return e[t]}function kn(e,t,i){let n=e[t];return Object.is(n,i)?!1:(e[t]=i,!0)}function Wl(e,t,i,n){let a=kn(e,t,i);return kn(e,t+1,n)||a}function ghe(e,t,i,n,a){let r=Wl(e,t,i,n);return kn(e,t+2,a)||r}function vhe(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function yhe(e,t,i,n,a,r,o,l,u){let c=t.consts,h=ro(t,e,4,o||null,l||null);mp(t,i,h,Ja(c,u),op),h.mergedAttrs=Ur(h.mergedAttrs,h.attrs),Gh(t,h);let m=h.tView=np(2,h,n,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,h),m.queries=t.queries.embeddedTView(h)),h}function Ab(e,t,i,n,a,r,o,l,u,c){let h=i+_t,m=t.firstCreatePass?yhe(h,t,e,n,a,r,o,l,u):t.data[h];Sa(m,!1);let v=bhe(t,e);kc()&&Pc(t,e,v,m),ao(v,e);let g=ub(v,e,v,m);return e[h]=g,ap(e,g),Sc(m)&&Oc(t,e,m),u!=null&&rp(e,m,c),m}function oe(e,t,i,n,a,r,o,l){let u=we(),c=mt(),h=Ja(c.consts,r);return Ab(u,c,e,t,i,n,a,h,o,l),oe}var bhe=_he;function _he(e,t,i,n){return Cc(!0),t[It].createComment("")}var xhe=new se(""),Rb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new whe}));let e=t;return e})(),whe=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,i=this.queues.get(t);i.has(e)&&(i.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(e)||(this.queuedEffectCount++,i.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Fb(e){return!!e&&typeof e.then=="function"}function Ehe(e){return!!e&&typeof e.subscribe=="function"}var She=new se(""),Lb=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",C(She,{optional:!0})??[]);s(this,"injector",C(st))}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=wc(this.injector,r);if(Fb(o))n.push(o);else if(Ehe(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(r=>{this.reject(r)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),khe=new se("");function Che(){soe(()=>{throw new Z(600,!1)})}function Ihe(e){return e.isBoundToModule}var Dhe=10,wa=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(Zle));s(this,"afterRenderManager",C(Oy));s(this,"zonelessEnabled",C(gy));s(this,"rootEffectScheduler",C(Rb));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new be);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(gs).hasPendingTasks.pipe(Bt(n=>!n)));s(this,"_injector",C(wi));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let n=Oe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,Oe(n),this.afterTick.next()}});C(vs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(a=>{n=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,r=st.NULL){let o=n instanceof mb;if(!this._injector.get(Lb).done){let g="";throw new Z(405,g)}let l;o?l=n:l=this._injector.get(xs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=Ihe(l)?void 0:this._injector.get($o),c=a||l.selector,h=l.create(r,[],c,u),m=h.location.nativeElement,v=h.injector.get(xhe,null);return v==null||v.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),vl(this.components,h),v==null||v.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Kh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Dhe;)this.synchronizeOnce()}synchronizeOnce(){var n,a,r,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)The(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(n=this._rendererFactory)==null?void 0:n.begin)==null||a.call(n),(o=(r=this._rendererFactory)==null?void 0:r.end)==null||o.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ms(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let a=n;this._views.push(a),a.attachToAppRef(this)}detachView(n){let a=n;vl(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(khe,[]).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Z(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function vl(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function The(e,t,i,n){!i&&!ms(e)||ob(e,t,i&&!n?0:1)}function Vt(e,t,i,n){let a=we(),r=to();if(kn(a,r,t)){mt();let o=Uh();Sue(o,a,e,t,i,n)}return Vt}function Ohe(e,t,i,n){return kn(e,to(),i)?t+bc(i)+n:ri}function Us(e,t){return e<<17|t<<2}function er(e){return e>>17&32767}function Nhe(e){return(e&2)==2}function Phe(e,t){return e&131071|t<<17}function Ad(e){return e|2}function $r(e){return(e&131068)>>2}function fu(e,t){return e&-131069|t<<2}function Mhe(e){return(e&1)===1}function Rd(e){return e|1}function Ahe(e,t,i,n,a,r){let o=r?t.classBindings:t.styleBindings,l=er(o),u=$r(o);e[n]=i;let c=!1,h;if(Array.isArray(i)){let m=i;h=m[1],(h===null||ds(m,h)>0)&&(c=!0)}else h=i;if(a)if(u!==0){let m=er(e[l+1]);e[n+1]=Us(m,l),m!==0&&(e[m+1]=fu(e[m+1],n)),e[l+1]=Phe(e[l+1],n)}else e[n+1]=Us(l,0),l!==0&&(e[l+1]=fu(e[l+1],n)),l=n;else e[n+1]=Us(u,0),l===0?l=n:e[u+1]=fu(e[u+1],n),u=n;c&&(e[n+1]=Ad(e[n+1])),pf(e,h,n,!0),pf(e,h,n,!1),Rhe(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function Rhe(e,t,i,n,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&ds(r,t)>=0&&(i[n+1]=Rd(i[n+1]))}function pf(e,t,i,n){let a=e[i+1],r=t===null,o=n?er(a):$r(a),l=!1;for(;o!==0&&(l===!1||r);){let u=e[o],c=e[o+1];Fhe(u,t)&&(l=!0,e[o+1]=n?Rd(c):Ad(c)),o=n?er(c):$r(c)}l&&(e[i+1]=n?Ad(a):Rd(a))}function Fhe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ds(e,t)>=0:!1}var Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lhe(e){return e.substring(Qn.key,Qn.keyEnd)}function jhe(e){return Vhe(e),jb(e,Vb(e,0,Qn.textEnd))}function jb(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=zhe(e,Qn.key=t,i),Vb(e,t,i))}function Vhe(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function Vb(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function zhe(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}function q(e,t,i){let n=we(),a=to();if(kn(n,a,t)){let r=mt(),o=Uh();Ky(r,o,n,e,t,n[It],i,!1)}return q}function Fd(e,t,i,n,a){sp(t,e,i,a?"class":"style",n)}function vp(e,t,i){return zb(e,t,i,!1),vp}function mn(e,t){return zb(e,t,null,!0),mn}function Ss(e){Hhe(Yhe,Bhe,e,!0)}function Bhe(e,t){for(let i=jhe(t);i>=0;i=jb(t,i))kh(e,Lhe(t),!0)}function zb(e,t,i,n){let a=we(),r=mt(),o=Zv(2);if(r.firstUpdatePass&&Hb(r,e,o,n),t!==ri&&kn(a,o,t)){let l=r.data[ea()];Ub(r,l,a,a[It],e,a[o+1]=Khe(t,i),n,o)}}function Hhe(e,t,i,n){let a=mt(),r=Zv(2);a.firstUpdatePass&&Hb(a,null,r,n);let o=we();if(i!==ri&&kn(o,r,i)){let l=a.data[ea()];if(Gb(l,n)&&!Bb(a,r)){let u=l.classesWithoutHost;u!==null&&(i=cd(u,i||"")),Fd(a,l,o,i,n)}else Zhe(a,l,o,o[It],o[r+1],o[r+1]=$he(e,t,i),n,r)}}function Bb(e,t){return t>=e.expandoStartIndex}function Hb(e,t,i,n){let a=e.data;if(a[i+1]===null){let r=a[ea()],o=Bb(e,i);Gb(r,n)&&t===null&&!o&&(t=!1),t=Uhe(a,r,t,n),Ahe(a,r,t,i,o,n)}}function Uhe(e,t,i,n){let a=vle(e),r=n?t.residualClasses:t.residualStyles;if(a===null)(n?t.classBindings:t.styleBindings)===0&&(i=gu(null,e,t,i,n),i=Yo(i,t.attrs,n),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(i=gu(a,e,t,i,n),r===null){let l=Ghe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=gu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),Whe(e,t,n,l))}else r=qhe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Ghe(e,t,i){let n=i?t.classBindings:t.styleBindings;if($r(n)!==0)return e[er(n)]}function Whe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[er(a)]=n}function qhe(e,t,i){let n,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let o=e[r].hostAttrs;n=Yo(n,o,i)}return Yo(n,t.attrs,i)}function gu(e,t,i,n,a){let r=null,o=i.directiveEnd,l=i.directiveStylingLast;for(l===-1?l=i.directiveStart:l++;l<o&&(r=t[l],n=Yo(n,r.hostAttrs,a),r!==e);)l++;return e!==null&&(i.directiveStylingLast=l),n}function Yo(e,t,i){let n=i?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===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),kh(e,o,i?!0:t[++r]))}return e===void 0?null:e}function $he(e,t,i){if(i==null||i==="")return hn;let n=[],a=la(i);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(n,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(n,r,a[r]);else typeof a=="string"&&t(n,a);return n}function Yhe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&kh(e,n,i)}function Zhe(e,t,i,n,a,r,o,l){a===ri&&(a=hn);let u=0,c=0,h=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;h!==null||m!==null;){let v=u<a.length?a[u+1]:void 0,g=c<r.length?r[c+1]:void 0,x=null,w;h===m?(u+=2,c+=2,v!==g&&(x=m,w=g)):m===null||h!==null&&h<m?(u+=2,x=h):(c+=2,x=m,w=g),x!==null&&Ub(e,t,i,n,x,w,o,l),h=u<a.length?a[u]:null,m=c<r.length?r[c]:null}}function Ub(e,t,i,n,a,r,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],h=Mhe(c)?mf(u,t,i,a,$r(c),o):void 0;if(!ql(h)){ql(r)||Nhe(c)&&(r=mf(u,null,i,a,l,o));let m=Hv(ea(),i);Hue(n,o,m,a,r)}}function mf(e,t,i,n,a,r){let o=t===null,l;for(;a>0;){let u=e[a],c=Array.isArray(u),h=c?u[1]:u,m=h===null,v=i[a+1];v===ri&&(v=m?hn:void 0);let g=m?ou(v,n):h===n?v:void 0;if(c&&!ql(g)&&(g=ou(u,n)),ql(g)&&(l=g,o))return l;let x=e[a+1];a=o?er(x):$r(x)}if(t!==null){let u=r?t.residualClasses:t.residualStyles;u!=null&&(l=ou(u,n))}return l}function ql(e){return e!==void 0}function Khe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=zn(la(e)))),e}function Gb(e,t){return(e.flags&(t?8:16))!==0}var Jhe=class{destroy(e){}updateValue(e,t){}swap(e,t){let i=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-i>1){let r=this.detach(i);this.attach(i,a),this.attach(n,r)}else this.attach(i,a)}move(e,t){this.attach(t,this.detach(e))}};function vu(e,t,i,n,a){return e===i&&Object.is(t,n)?1:Object.is(a(e,t),a(i,n))?-1:0}function Xhe(e,t,i){let n,a,r=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=o&&r<=l;){let u=e.at(r),c=t[r],h=vu(r,u,r,c,i);if(h!==0){h<0&&e.updateValue(r,c),r++;continue}let m=e.at(o),v=t[l],g=vu(o,m,l,v,i);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let x=i(r,u),w=i(o,m),S=i(r,c);if(Object.is(S,w)){let T=i(l,v);Object.is(T,x)?(e.swap(r,o),e.updateValue(o,v),l--,o--):e.move(o,r),e.updateValue(r,c),r++;continue}if(n??(n=new vf),a??(a=gf(e,r,o,i)),Ld(e,n,r,S))e.updateValue(r,c),r++,o++;else if(a.has(S))n.set(x,e.detach(r)),o--;else{let T=e.create(r,t[r]);e.attach(r,T),r++,o++}}for(;r<=l;)ff(e,n,i,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&r<=o;){let c=e.at(r),h=u.value,m=vu(r,c,r,h,i);if(m!==0)m<0&&e.updateValue(r,h),r++,u=l.next();else{n??(n=new vf),a??(a=gf(e,r,o,i));let v=i(r,h);if(Ld(e,n,r,v))e.updateValue(r,h),r++,o++,u=l.next();else if(!a.has(v))e.attach(r,e.create(r,h)),r++,o++,u=l.next();else{let g=i(r,c);n.set(g,e.detach(r)),o--}}}for(;!u.done;)ff(e,n,i,e.length,u.value),u=l.next()}for(;r<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Ld(e,t,i,n){return t!==void 0&&t.has(n)?(e.attach(i,t.get(n)),t.delete(n),!0):!1}function ff(e,t,i,n,a){if(Ld(e,t,n,i(n,a)))e.updateValue(n,a);else{let r=e.create(n,a);e.attach(n,r)}}function gf(e,t,i,n){let a=new Set;for(let r=t;r<=i;r++)a.add(n(r,e.at(r)));return a}var vf=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(i);)i=n.get(i);n.set(i,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,i]of this.kvMap)if(e(i,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(i);)i=n.get(i),e(i,t)}}};function Q(e,t){rr("NgControlFlow");let i=we(),n=to(),a=i[n]!==ri?i[n]:-1,r=a!==-1?$l(i,_t+a):void 0,o=0;if(kn(i,n,e)){let l=Oe(null);try{if(r!==void 0&&hb(r,o),e!==-1){let u=_t+e,c=$l(i,u),h=jd(i[Se],u),m=qr(c,h.tView.ssrId),v=bs(i,h,t,{dehydratedView:m});_s(c,v,o,Gr(h,m))}}finally{Oe(l)}}else if(r!==void 0){let l=db(r,o);l!==void 0&&(l[Ut]=t)}}var Qhe=class{constructor(e,t,i){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Xt}};function ks(e,t){return t}var epe=class{constructor(e,t,i){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=i}};function so(e,t,i,n,a,r,o,l,u,c,h,m,v){rr("NgControlFlow");let g=we(),x=mt(),w=u!==void 0,S=we(),T=o,F=new epe(w,T);S[_t+e]=F,Ab(g,x,e+1,t,i,n,a,Ja(x.consts,r))}var tpe=class extends Jhe{constructor(t,i,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=i,this.templateTNode=n}get length(){return this.lContainer.length-Xt}at(t){return this.getLView(t)[Ut].$implicit}attach(t,i){let n=i[zr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),_s(this.lContainer,i,t,Gr(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),npe(this.lContainer,t)}create(t,i){var r;let n=qr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new Qhe(this.lContainer,i,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var i;Nc(t[Se],t),(i=this.operationsCounter)==null||i.recordDestroy()}updateValue(t,i){this.getLView(t)[Ut].$implicit=i}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ut].$index=t}getLView(t){return ipe(this.lContainer,t)}};function lo(e){let t=Oe(null),i=ea();try{let n=we(),a=n[Se],r=n[i],o=i+1,l=$l(n,o);if(r.liveCollection===void 0){let c=jd(a,o);r.liveCollection=new tpe(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(Xhe(u,e,r.trackByFn),u.updateIndexes(),r.hasEmptyBlock){let c=to(),h=u.length===0;if(kn(n,c,h)){let m=i+2,v=$l(n,m);if(h){let g=jd(a,m),x=qr(v,g.tView.ssrId),w=bs(n,g,void 0,{dehydratedView:x});_s(v,w,0,Gr(g,x))}else hb(v,0)}}}finally{Oe(t)}}function $l(e,t){return e[t]}function npe(e,t){return Wo(e,t)}function ipe(e,t){return db(e,t)}function jd(e,t){return Ph(e,t)}function V(e,t,i,n){let a=we(),r=mt(),o=_t+e,l=a[It],u=r.firstCreatePass?gb(o,r,a,t,op,cle(),i,n):r.data[o],c=ape(r,a,u,l,t);a[o]=c;let h=Sc(u);return Sa(u,!0),Hy(l,c,u),!up(u)&&kc()&&Pc(r,a,c,u),(ole()===0||h)&&ao(c,a),sle(),h&&(Oc(r,a,u),Qh(r,u,a)),n!==null&&rp(a,u),V}function B(){let e=cn();jh()?Vh():(e=e.parent,Sa(e,!1));let t=e;ule(t)&&dle(),lle();let i=mt();return i.firstCreatePass&&vb(i,t),t.classesWithoutHost!=null&&Ele(t)&&Fd(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Sle(t)&&Fd(i,t,we(),t.stylesWithoutHost,!1),B}function le(e,t,i,n){return V(e,t,i,n),B(),le}var ape=(e,t,i,n,a,r)=>(Cc(!0),zy(n,a,_le()));function rpe(e,t,i,n,a){let r=t.consts,o=Ja(r,n),l=ro(t,e,8,"ng-container",o);o!==null&&Nd(l,o,!0);let u=Ja(r,a);return mp(t,i,l,u,op),l.mergedAttrs=Ur(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Wb(e,t,i){let n=we(),a=mt(),r=e+_t,o=a.firstCreatePass?rpe(r,a,n,t,i):a.data[r];Sa(o,!0);let l=ope(a,n);return n[r]=l,kc()&&Pc(a,n,l,o),ao(l,n),Sc(o)&&(Oc(a,n,o),Qh(a,o,n)),i!=null&&rp(n,o),Wb}function qb(){let e=cn(),t=mt();return jh()?Vh():(e=e.parent,Sa(e,!1)),t.firstCreatePass&&(Gh(t,e),Oh(e)&&t.queries.elementEnd(e)),qb}function ka(e,t,i){return Wb(e,t,i),qb(),ka}var ope=(e,t,i,n)=>(Cc(!0),Xce(t[It],""));function Rc(){return we()}function Fc(e,t,i){let n=we(),a=to();if(kn(n,a,t)){let r=mt(),o=Uh();Ky(r,o,n,e,t,n[It],i,!0)}return Fc}var Ta=void 0;function spe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var lpe=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["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"]],Ta,[["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"]],Ta,[["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}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",spe],Mo={};function cpe(e,t,i){typeof t!="string"&&(i=t,t=e[At.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Mo[t]=e,i&&(Mo[t][At.ExtraData]=i)}function si(e){let t=upe(e),i=yf(t);if(i)return i;let n=t.split("-")[0];if(i=yf(n),i)return i;if(n==="en")return lpe;throw new Z(701,!1)}function yf(e){return e in Mo||(Mo[e]=Sr.ng&&Sr.ng.common&&Sr.ng.common.locales&&Sr.ng.common.locales[e]),Mo[e]}var At=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}(At||{});function upe(e){return e.toLowerCase().replace(/_/g,"-")}var Vd="en-US";function dpe(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function bf(e,t,i){return function n(a){if(a===Function)return i;let r=Jr(e)?ki(e.index,t):t;pp(r,5);let o=t[Ut],l=_f(t,o,i,a),u=n.__ngNextListenerFn__;for(;u;)l=_f(t,o,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function _f(e,t,i,n){let a=Oe(null);try{return Ka(6,t,i),i(n)!==!1}catch(r){return hpe(e,r),!1}finally{Oe(a)}}function hpe(e,t){let i=e[Br],n=i?i.get(ai,null):null;n&&n.handleError(t)}function xf(e,t,i,n,a,r){let o=t[i],l=t[Se],u=l.data[i].outputs[n],c=o[u],h=l.firstCreatePass?Lh(l):null,m=Fh(t),v=c.subscribe(r),g=m.length;m.push(r,v),h&&h.push(a,e.index,g,-(g+1))}function Ti(e,t,i,n){let a=we(),r=mt(),o=cn();return mpe(r,a,a[It],o,e,t,n),Ti}function ppe(e,t,i,n){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let o=a[r];if(o===i&&a[r+1]===n){let l=t[Pr],u=a[r+2];return l.length>u?l[u]:null}typeof o=="string"&&(r+=2)}return null}function mpe(e,t,i,n,a,r,o){var m,v;let l=Sc(n),u=e.firstCreatePass?Lh(e):null,c=Fh(t),h=!0;if(n.type&3||o){let g=Di(n,t),x=o?o(g):g,w=c.length,S=o?F=>o(Si(F[n.index])):n.index,T=null;if(!o&&l&&(T=ppe(e,t,a,n.index)),T!==null){let F=T.__ngLastListenerFn__||T;F.__ngNextListenerFn__=r,T.__ngLastListenerFn__=r,h=!1}else{r=bf(n,t,r);let F=i.listen(x,a,r);c.push(r,F),u&&u.push(a,S,w,w+1)}}else r=bf(n,t,r);if(h){let g=(m=n.outputs)==null?void 0:m[a],x=(v=n.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let S=x[w],T=x[w+1];xf(n,t,S,T,a,r)}if(g&&g.length)for(let w of g)xf(n,t,w,a,a,r)}}function ae(e=1){return ble(e)}function fpe(e,t){let i=null,n=lue(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){i=a;continue}if(n===null?Wy(e,r,!0):due(n,r))return a}return i}function Dn(e){let t=we()[Hn][vn];if(!t.projection){let i=e?e.length:1,n=t.projection=Ase(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?fpe(r,e):0;o!==null&&(a[o]?a[o].projectionNext=r:n[o]=r,a[o]=r)}r=r.next}}}function nt(e,t=0,i,n,a,r){let o=we(),l=mt(),u=null,c=ro(l,_t+e,16,null,null);c.projection===null&&(c.projection=t),Vh();let h=!o[zr]||Wv();o[Hn][vn].projection[c.projection]===null&&u!==null?gpe(o,l,u):h&&!up(c)&&zue(l,o,c)}function gpe(e,t,i){let n=_t+i,a=t.data[n],r=e[n],o=qr(r,a.tView.ssrId),l=bs(e,a,void 0,{dehydratedView:o});_s(r,l,0,Gr(a,o))}function Fa(e,t,i,n){Jde(e,t,i,n)}function Yl(e,t,i){Kde(e,t,i)}function Kn(e){let t=we(),i=mt(),n=Kv();zh(n+1);let a=gp(i,n);if(e.dirty&&tle(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=ehe(t,n);e.reset(r,Qle),e.notifyOnChanges()}return!0}return!1}function Jn(){return Zde(we(),Kv())}function sr(e){let t=$v();return ps(t,_t+e)}function ge(e,t=""){let i=we(),n=mt(),a=e+_t,r=n.firstCreatePass?ro(n,a,1,t,null):n.data[a],o=vpe(n,i,r,t);i[a]=o,kc()&&Pc(n,i,o,r),Sa(r,!1)}var vpe=(e,t,i,n,a)=>(Cc(!0),Kce(t[It],n));function Mt(e){return qe("",e,""),Mt}function qe(e,t,i){let n=we(),a=Ohe(n,e,t,i);return a!==ri&&ype(n,ea(),a),qe}function ype(e,t,i){let n=Hv(t,e);Jce(e[It],n,i)}var $b={};function Yb(e){let t=mt(),i=we(),n=e+_t,a=ro(t,n,128,null,null);return Sa(a,!1),Mh(t,i,n,$b),Yb}function wf(e){rr("NgLet");let t=mt(),i=we(),n=ea();return Mh(t,i,n,e),e}function Ef(e){let t=$v(),i=ps(t,_t+e);if(i===$b)throw new Z(314,!1);return i}function bpe(e,t,i){let n=mt();if(n.firstCreatePass){let a=Ei(e);zd(i,n.data,n.blueprint,a,!0),zd(t,n.data,n.blueprint,a,!1)}}function zd(e,t,i,n,a){if(e=qt(e),Array.isArray(e))for(let r=0;r<e.length;r++)zd(e[r],t,i,n,a);else{let r=mt(),o=we(),l=cn(),u=Vr(e)?e:qt(e.provide),c=Av(e),h=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Vr(e)||!e.multi){let g=new fs(c,a,Qt),x=bu(u,t,a?h:h+v,m);x===-1?(_d(zl(l,o),r,u),yu(r,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(g),o.push(g)):(i[x]=g,o[x]=g)}else{let g=bu(u,t,h+v,m),x=bu(u,t,h,h+v),w=g>=0&&i[g],S=x>=0&&i[x];if(a&&!S||!a&&!w){_d(zl(l,o),r,u);let T=wpe(a?xpe:_pe,i.length,a,n,c);!a&&S&&(i[x].providerFactory=T),yu(r,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(T),o.push(T)}else{let T=Zb(i[a?x:g],c,!a&&n);yu(r,e,g>-1?g:x,T)}!a&&n&&S&&i[x].componentProviders++}}}function yu(e,t,i,n){let a=Vr(t),r=Hse(t);if(a||r){let o=(r?qt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let u=l.indexOf(i);u===-1?l.push(i,[n,o]):l[u+1].push(n,o)}else l.push(i,o)}}}function Zb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function bu(e,t,i,n){for(let a=i;a<n;a++)if(t[a]===e)return a;return-1}function _pe(e,t,i,n,a){return Bd(this.multi,[])}function xpe(e,t,i,n,a){let r=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Uo(n,n[Se],this.providerFactory.index,a);o=u.slice(0,l),Bd(r,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Bd(r,o);return o}function Bd(e,t){for(let i=0;i<e.length;i++){let n=e[i];t.push(n())}return t}function wpe(e,t,i,n,a){let r=new fs(e,i,Qt);return r.multi=[],r.index=t,r.componentProviders=0,Zb(r,a,n&&!i),r}function Kb(e,t=[]){return i=>{i.providersResolver=(n,a)=>bpe(n,a?a(e):e,t)}}function Epe(e,t,i){let n=eo()+e,a=we();return a[n]===ri?Es(a,n,t()):Mb(a,n)}function Cn(e,t,i,n){return Jb(we(),eo(),e,t,i,n)}function Spe(e,t,i,n,a,r,o,l){let u=eo()+e,c=we(),h=vhe(c,u,i,n,a,r);return kn(c,u+4,o)||h?Es(c,u+5,t(i,n,a,r,o)):Mb(c,u+5)}function yp(e,t){let i=e[t];return i===ri?void 0:i}function Jb(e,t,i,n,a,r){let o=t+i;return kn(e,o,a)?Es(e,o+1,r?n.call(r,a):n(a)):yp(e,o+1)}function kpe(e,t,i,n,a,r,o){let l=t+i;return Wl(e,l,a,r)?Es(e,l+2,o?n.call(o,a,r):n(a,r)):yp(e,l+2)}function Cpe(e,t,i,n,a,r,o,l){let u=t+i;return ghe(e,u,a,r,o)?Es(e,u+3,l?n.call(l,a,r,o):n(a,r,o)):yp(e,u+3)}function R(e,t){let i=mt(),n,a=e+_t;i.firstCreatePass?(n=Ipe(t,i.pipeRegistry),i.data[a]=n,n.onDestroy&&(i.destroyHooks??(i.destroyHooks=[])).push(a,n.onDestroy)):n=i.data[a];let r=n.factory||(n.factory=$a(n.type)),o=dn(Qt);try{let l=Vl(!1),u=r();return Vl(l),Mh(i,we(),a,u),u}finally{dn(o)}}function Ipe(e,t){if(t)for(let i=t.length-1;i>=0;i--){let n=t[i];if(e===n.name)return n}}function Y(e,t,i){let n=e+_t,a=we(),r=ps(a,n);return bp(a,n)?Jb(a,eo(),t,r.transform,i,r):r.transform(i)}function dt(e,t,i,n){let a=e+_t,r=we(),o=ps(r,a);return bp(r,a)?kpe(r,eo(),t,o.transform,i,n,o):o.transform(i,n)}function fn(e,t,i,n,a){let r=e+_t,o=we(),l=ps(o,r);return bp(o,r)?Cpe(o,eo(),t,l.transform,i,n,a,l):l.transform(i,n,a)}function bp(e,t){return e[Se].data[t].pure}function Zl(e,t){return Ac(e,t)}var Dpe=class{constructor(e){s(this,"full");s(this,"major");s(this,"minor");s(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Sf=new Dpe("19.2.18"),Tpe=(()=>{const t=class t{constructor(){s(this,"zone",C(We));s(this,"changeDetectionScheduler",C(no));s(this,"applicationRef",C(wa));s(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ope({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new We(bt(ue({},Npe()),{scheduleInRootZone:i}))),[{provide:We,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Tpe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Ppe);return()=>{n.initialize()}}},t===!0?{provide:vy,useValue:!0}:[],{provide:yy,useValue:i??my}]}function Npe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Ppe=(()=>{const t=class t{constructor(){s(this,"subscription",new pn);s(this,"initialized",!1);s(this,"zone",C(We));s(this,"pendingTasks",C(gs))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{We.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{We.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Mpe=(()=>{var t;const i=class i{constructor(){s(this,"appRef",C(wa));s(this,"taskService",C(gs));s(this,"ngZone",C(We));s(this,"zonelessEnabled",C(gy));s(this,"tracing",C(vs,{optional:!0}));s(this,"disableScheduling",C(vy,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new pn);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Bl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(yy,{optional:!0})??!1));s(this,"cancelScheduledCallback",null);s(this,"useMicrotaskScheduler",!1);s(this,"runningTick",!1);s(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof qle||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Wm:by;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Bl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Wm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};s(i,"ɵfac",function(a){return new(a||i)}),s(i,"ɵprov",W({token:i,factory:i.ɵfac,providedIn:"root"}));let e=i;return e})();function Ape(){return typeof $localize<"u"&&$localize.locale||Vd}var Lc=new se("",{providedIn:"root",factory:()=>C(Lc,Me.Optional|Me.SkipSelf)||Ape()}),Hd=new se(""),Rpe=new se("");function vo(e){return!e.moduleRef}function Fpe(e){let t=vo(e)?e.r3Injector:e.moduleRef.injector,i=t.get(We);return i.run(()=>{vo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(ai,null),a;if(i.runOutsideAngular(()=>{a=i.onError.subscribe({next:r=>{n.handleError(r)}})}),vo(e)){let r=()=>t.destroy(),o=e.platformInjector.get(Hd);o.add(r),t.onDestroy(()=>{a.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Hd);o.add(r),e.moduleRef.onDestroy(()=>{vl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(r)})}return jpe(n,i,()=>{let r=t.get(Lb);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Lc,Vd);if(dpe(o||Vd),!t.get(Rpe,!0))return vo(e)?t.get(wa):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vo(e)){let l=t.get(wa);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Lpe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Lpe(e,t){let i=e.injector.get(wa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>i.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(i);else throw new Z(-403,!1);t.push(e)}function jpe(e,t,i){try{let n=i();return Fb(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var yl=null;function Vpe(e=[],t){return st.create({name:t,providers:[{provide:Dh,useValue:"platform"},{provide:Hd,useValue:new Set([()=>yl=null])},...e]})}function zpe(e=[]){if(yl)return yl;let t=Vpe(e);return yl=t,Che(),Bpe(t),t}function Bpe(e){let t=e.get(Dy,null);wc(e,()=>{t==null||t.forEach(i=>i())})}function Hpe(){return!1}var lr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Upe),e})();function Upe(e){return Gpe(cn(),we(),(e&16)===16)}function Gpe(e,t,i){if(Jr(e)&&!i){let n=ki(e.index,t);return new qo(n,n)}else if(e.type&175){let n=t[Hn];return new qo(n,t)}return null}var Wpe=class{constructor(){}supports(e){return e instanceof Map||Pb(e)}create(){return new qpe}},qpe=class{constructor(){s(this,"_records",new Map);s(this,"_mapHead",null);s(this,"_appendAfter",null);s(this,"_previousMapHead",null);s(this,"_changesHead",null);s(this,"_changesTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_removalsHead",null);s(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||Pb(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(i,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,i);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._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 n=this._records.get(e);this._maybeAddToChanges(n,t);let a=n._prev,r=n._next;return a&&(a._next=r),r&&(r._prev=a),n._next=null,n._prev=null,n}let i=new $pe(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_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(i=>t(e[i],i))}},$pe=class{constructor(e){s(this,"key");s(this,"previousValue",null);s(this,"currentValue",null);s(this,"_nextPrevious",null);s(this,"_next",null);s(this,"_prev",null);s(this,"_nextAdded",null);s(this,"_nextRemoved",null);s(this,"_nextChanged",null);this.key=e}};function kf(){return new _p([new Wpe])}var _p=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let r=a.factories.slice();n=n.concat(r)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||kf()),deps:[[t,new Nse,new Ose]]}}find(n){let a=this.factories.find(r=>r.supports(n));if(a)return a;throw new Z(901,!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:kf}));let e=t;return e})();function Ype(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??zpe(n),o=[Ope({}),{provide:no,useExisting:Mpe},...i||[]],l=new Db({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Fpe({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function ei(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function jc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Zpe(e){return poe(e)}function Wi(e,t){return aoe(e,t==null?void 0:t.equal)}var u0,Kpe=(u0=Sn,class{constructor(e){s(this,u0);this[Sn]=e}destroy(){this[Sn].destroy()}});function xp(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st),n=(t==null?void 0:t.manualCleanup)!==!0?i.get(ii):null,a,r=i.get(Jh,null,{optional:!0}),o=i.get(no);return r!==null&&!(t!=null&&t.forceRoot)?(a=Qpe(r.view,o,e),n instanceof fy&&n._lView===r.view&&(n=null)):a=eme(e,i.get(Rb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new Kpe(a)}var Xb=bt(ue({},Yr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Go,run(){if(this.dirty=!1,this.hasRun&&!mh(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Fo(this),i=Fl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Fl(i),mc(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Jpe=bt(ue({},Xb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Xpe=bt(ue({},Xb),{consumerMarkedDirty(){this.view[_e]|=8192,Qr(this.view),this.notifier.notify(13)},destroy(){var e;fc(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Ui])==null||e.delete(this)}});function Qpe(e,t,i){let n=Object.create(Xpe);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=i,e[Ui]??(e[Ui]=new Set),e[Ui].add(n),n.consumerMarkedDirty(n),n}function eme(e,t,i){let n=Object.create(Jpe);return n.fn=e,n.scheduler=t,n.notifier=i,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var tme=e=>e;function nme(e,t){if(typeof e=="function"){let i=Cm(e,tme,t==null?void 0:t.equal);return Cf(i)}else{let i=Cm(e.source,e.computation,e.equal);return Cf(i)}}function Cf(e){let t=e[Sn],i=e;return i.set=n=>uoe(t,n),i.update=n=>doe(t,n),i.asReadonly=xy.bind(e),i}function Qb(e,t){let i=jr(e),n=t.elementInjector||xc();return new fp(i).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var ime={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function ame(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function rme(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var _u;function ome(e,t){if(!_u){let i=Element.prototype;_u=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?_u.call(e,t):!1}function sme(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[ame(n)]=[i,a]}),t}function lme(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function cme(e,t){let i=e.childNodes,n=t.map(()=>[]),a=-1;t.some((r,o)=>r==="*"?(a=o,!0):!1);for(let r=0,o=i.length;r<o;++r){let l=i[r],u=ume(l,t,a);u!==-1&&n[u].push(l)}return n}function ume(e,t,i){let n=i;return rme(e)&&t.some((a,r)=>a!=="*"&&ome(e,a)?(n=r,!0):!1),n}var dme=10,hme=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(xs).resolveComponentFactory(e);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(e){return new pme(this.componentFactory,e,this.inputMap)}},pme=class{constructor(e,t,i){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new R0(1));s(this,"events",this.eventEmitters.pipe(Bo(e=>cs(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(We),this.appRef=this.injector.get(wa),this.cdScheduler=t.get(no),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=ime.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},dme))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),ide(this.componentRef.hostView)&&(ade(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=cme(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:i,templateName:n})=>{let a=e.instance[i];return new ht(r=>{let o=a.subscribe(l=>r.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},mme=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function fme(e,t){let i=lme(e,t.injector),n=t.strategyFactory||new hme(e,t.injector),a=sme(i);class r extends mme{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);i.forEach(({propName:c,transform:h})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,h)})}return this._ngElementStrategy}attributeChangedCallback(u,c,h,m){let[v,g]=a[u];this.ngElementStrategy.setInputValue(v,h,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(r,"observedAttributes",Object.keys(a)),i.forEach(({propName:o,transform:l})=>{Object.defineProperty(r.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),r}var He=new se(""),e1=null;function Ao(){return e1}function gme(e){e1??(e1=e)}var vme=class{},t1=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(yme),providedIn:"platform"}));let e=t;return e})(),yme=(()=>{const t=class t extends t1{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(He));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ao().getBaseHref(this._doc)}onPopState(a){let r=Ao().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=Ao().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}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(a){this._location.pathname=a}pushState(a,r,o){this._history.pushState(a,r,o)}replaceState(a,r,o){this._history.replaceState(a,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",W({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function n1(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function If(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ba(e){return e&&e[0]!=="?"?`?${e}`:e}var wp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(_me),providedIn:"root"}));let e=t;return e})(),bme=new se(""),_me=(()=>{const t=class t extends wp{constructor(a,r){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((o=C(He).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return n1(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+Ba(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${r}${o}`:r}pushState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.pushState(a,r,u)}replaceState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.replaceState(a,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(t1),pe(bme,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),i1=(()=>{const t=class t{constructor(n){s(this,"_subject",new be);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=Eme(If(Df(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+Ba(a))}normalize(n){return t.stripTrailingSlash(wme(this._basePath,Df(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",r=null){this._locationStrategy.pushState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}replaceState(n,a="",r=null){this._locationStrategy.replaceState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(r=>r(n,a))}subscribe(n,a,r){return this._subject.subscribe({next:n,error:a??void 0,complete:r??void 0})}};s(t,"normalizeQueryParams",Ba),s(t,"joinWithSlash",n1),s(t,"stripTrailingSlash",If),s(t,"ɵfac",function(n){return new(n||t)(pe(wp))}),s(t,"ɵprov",W({token:t,factory:()=>xme(),providedIn:"root"}));let e=t;return e})();function xme(){return new i1(pe(wp))}function wme(e,t){if(!e||!t.startsWith(e))return t;let i=t.substring(e.length);return i===""||["/",";","?","#"].includes(i[0])?i:t}function Df(e){return e.replace(/\/index.html$/,"")}function Eme(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var sn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(sn||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),_n=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(_n||{}),Vc={MinusSign:5};function Sme(e){return si(e)[At.LocaleId]}function kme(e,t,i){let n=si(e),a=[n[At.DayPeriodsFormat],n[At.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function Cme(e,t,i){let n=si(e),a=[n[At.DaysFormat],n[At.DaysStandalone]],r=Un(a,t);return Un(r,i)}function Ime(e,t,i){let n=si(e),a=[n[At.MonthsFormat],n[At.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function Dme(e,t){let i=si(e)[At.Eras];return Un(i,t)}function Gs(e,t){let i=si(e);return Un(i[At.DateFormat],t)}function Ws(e,t){let i=si(e);return Un(i[At.TimeFormat],t)}function qs(e,t){let i=si(e)[At.DateTimeFormat];return Un(i,t)}function zc(e,t){return si(e)[At.NumberSymbols][t]}function a1(e){if(!e[At.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[At.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Tme(e){let t=si(e);return a1(t),(t[At.ExtraData][2]||[]).map(i=>typeof i=="string"?xu(i):[xu(i[0]),xu(i[1])])}function Ome(e,t,i){let n=si(e);a1(n);let a=[n[At.ExtraData][0],n[At.ExtraData][1]],r=Un(a,t)||[];return Un(r,i)||[]}function Un(e,t){for(let i=t;i>-1;i--)if(typeof e[i]<"u")return e[i];throw new Error("Locale data API: locale data undefined")}function xu(e){let[t,i]=e.split(":");return{hours:+t,minutes:+i}}var Nme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gr={},Pme=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Mme(e,t,i,n){let a=Hme(e);t=zi(i,t)||t;let r=[],o;for(;t;)if(o=Pme.exec(t),o){r=r.concat(o.slice(1));let c=r.pop();if(!c)break;t=c}else{r.push(t);break}let l=a.getTimezoneOffset();n&&(l=o1(n,l),a=Bme(a,n));let u="";return r.forEach(c=>{let h=Vme(c);u+=h?h(a,i,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Kl(e,t,i){let n=new Date(0);return n.setFullYear(e,t,i),n.setHours(0,0,0),n}function zi(e,t){let i=Sme(e);if(gr[i]??(gr[i]={}),gr[i][t])return gr[i][t];let n="";switch(t){case"shortDate":n=Gs(e,_n.Short);break;case"mediumDate":n=Gs(e,_n.Medium);break;case"longDate":n=Gs(e,_n.Long);break;case"fullDate":n=Gs(e,_n.Full);break;case"shortTime":n=Ws(e,_n.Short);break;case"mediumTime":n=Ws(e,_n.Medium);break;case"longTime":n=Ws(e,_n.Long);break;case"fullTime":n=Ws(e,_n.Full);break;case"short":let a=zi(e,"shortTime"),r=zi(e,"shortDate");n=$s(qs(e,_n.Short),[a,r]);break;case"medium":let o=zi(e,"mediumTime"),l=zi(e,"mediumDate");n=$s(qs(e,_n.Medium),[o,l]);break;case"long":let u=zi(e,"longTime"),c=zi(e,"longDate");n=$s(qs(e,_n.Long),[u,c]);break;case"full":let h=zi(e,"fullTime"),m=zi(e,"fullDate");n=$s(qs(e,_n.Full),[h,m]);break}return n&&(gr[i][t]=n),n}function $s(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(i,n){return t!=null&&n in t?t[n]:i})),e}function Xn(e,t,i="-",n,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=i));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),r+o}function Ame(e,t){return Xn(e,3).substring(0,t)}function Ot(e,t,i=0,n=!1,a=!1){return function(r,o){let l=Rme(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Ame(l,t);let u=zc(o,Vc.MinusSign);return Xn(l,t,u,n,a)}}function Rme(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Xe(e,t,i=sn.Format,n=!1){return function(a,r){return Fme(a,r,e,t,i,n)}}function Fme(e,t,i,n,a,r){switch(i){case 2:return Ime(t,a,n)[e.getMonth()];case 1:return Cme(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=Tme(t),h=Ome(t,a,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=o>=g.hours&&l>=g.minutes,S=o<x.hours||o===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&S)return!0}else if(w||S)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return h[m]}return kme(t,a,n)[o<12?0:1];case 3:return Dme(t,n)[e.getFullYear()<=0?0:1];default:let u=i;throw new Error(`unexpected translation type ${u}`)}}function Ys(e){return function(t,i,n){let a=-1*n,r=zc(i,Vc.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Xn(o,2,r)+Xn(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+Xn(o,1,r);case 2:return"GMT"+(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);case 3:return n===0?"Z":(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Lme=0,bl=4;function jme(e){let t=Kl(e,Lme,1).getDay();return Kl(e,0,1+(t<=bl?bl:bl+7)-t)}function r1(e){let t=e.getDay(),i=t===0?-3:bl-t;return Kl(e.getFullYear(),e.getMonth(),e.getDate()+i)}function wu(e,t=!1){return function(i,n){let a;if(t){let r=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,o=i.getDate();a=1+Math.floor((o+r)/7)}else{let r=r1(i),o=jme(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Xn(a,e,zc(n,Vc.MinusSign))}}function Zs(e,t=!1){return function(i,n){let a=r1(i).getFullYear();return Xn(a,e,zc(n,Vc.MinusSign),t)}}var Eu={};function Vme(e){if(Eu[e])return Eu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ke.Abbreviated);break;case"GGGG":t=Xe(3,Ke.Wide);break;case"GGGGG":t=Xe(3,Ke.Narrow);break;case"y":t=Ot(0,1,0,!1,!0);break;case"yy":t=Ot(0,2,0,!0,!0);break;case"yyy":t=Ot(0,3,0,!1,!0);break;case"yyyy":t=Ot(0,4,0,!1,!0);break;case"Y":t=Zs(1);break;case"YY":t=Zs(2,!0);break;case"YYY":t=Zs(3);break;case"YYYY":t=Zs(4);break;case"M":case"L":t=Ot(1,1,1);break;case"MM":case"LL":t=Ot(1,2,1);break;case"MMM":t=Xe(2,Ke.Abbreviated);break;case"MMMM":t=Xe(2,Ke.Wide);break;case"MMMMM":t=Xe(2,Ke.Narrow);break;case"LLL":t=Xe(2,Ke.Abbreviated,sn.Standalone);break;case"LLLL":t=Xe(2,Ke.Wide,sn.Standalone);break;case"LLLLL":t=Xe(2,Ke.Narrow,sn.Standalone);break;case"w":t=wu(1);break;case"ww":t=wu(2);break;case"W":t=wu(1,!0);break;case"d":t=Ot(2,1);break;case"dd":t=Ot(2,2);break;case"c":case"cc":t=Ot(7,1);break;case"ccc":t=Xe(1,Ke.Abbreviated,sn.Standalone);break;case"cccc":t=Xe(1,Ke.Wide,sn.Standalone);break;case"ccccc":t=Xe(1,Ke.Narrow,sn.Standalone);break;case"cccccc":t=Xe(1,Ke.Short,sn.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ke.Abbreviated);break;case"EEEE":t=Xe(1,Ke.Wide);break;case"EEEEE":t=Xe(1,Ke.Narrow);break;case"EEEEEE":t=Xe(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ke.Abbreviated);break;case"aaaa":t=Xe(0,Ke.Wide);break;case"aaaaa":t=Xe(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ke.Abbreviated,sn.Standalone,!0);break;case"bbbb":t=Xe(0,Ke.Wide,sn.Standalone,!0);break;case"bbbbb":t=Xe(0,Ke.Narrow,sn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ke.Abbreviated,sn.Format,!0);break;case"BBBB":t=Xe(0,Ke.Wide,sn.Format,!0);break;case"BBBBB":t=Xe(0,Ke.Narrow,sn.Format,!0);break;case"h":t=Ot(3,1,-12);break;case"hh":t=Ot(3,2,-12);break;case"H":t=Ot(3,1);break;case"HH":t=Ot(3,2);break;case"m":t=Ot(4,1);break;case"mm":t=Ot(4,2);break;case"s":t=Ot(5,1);break;case"ss":t=Ot(5,2);break;case"S":t=Ot(6,1);break;case"SS":t=Ot(6,2);break;case"SSS":t=Ot(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ys(0);break;case"ZZZZZ":t=Ys(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ys(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ys(2);break;default:return null}return Eu[e]=t,t}function o1(e,t){e=e.replace(/:/g,"");let i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function zme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Bme(e,t,i){let n=e.getTimezoneOffset(),a=o1(t,n);return zme(e,-1*(a-n))}function Hme(e){if(Tf(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(l=>+l);return Kl(a,r-1,o)}let i=parseFloat(e);if(!isNaN(e-i))return new Date(i);let n;if(n=e.match(Nme))return Ume(n)}let t=new Date(e);if(!Tf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Ume(e){let t=new Date(0),i=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-i,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,o,l,u,c),t}function Tf(e){return e instanceof Date&&!isNaN(e.valueOf())}var Su=/\s+/,Of=[],Ep=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Of);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(Su):Of}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Su):n}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let a of n)this._updateState(a,!0);else if(n!=null)for(let a of Object.keys(n))this._updateState(a,!!n[a]);this._applyStateDiff()}_updateState(n,a){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],r=n[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(n,a){n=n.trim(),n.length>0&&n.split(Su).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Rt),Qt(oo))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Gme=(()=>{const t=class t{constructor(n,a,r){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=a,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[r,o]=n.split("."),l=r.indexOf("-")===-1?void 0:da.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(n){n.forEachRemovedItem(a=>this._setStyle(a.key,null)),n.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),n.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Rt),Qt(_p),Qt(oo))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),Sp=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(n,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(ws))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Nh]}));let e=t;return e})();function Wme(e,t){return new Z(2100,!1)}var qme="mediumDate",$me=new se(""),Yme=new se(""),kp=(()=>{const t=class t{constructor(n,a,r){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=r}transform(n,a,r,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??qme,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Mme(n,c,o||this.locale,h)}catch(c){throw Wme(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Lc,16),Qt($me,24),Qt(Yme,24))}),s(t,"ɵpipe",Yt({name:"date",type:t,pure:!0}));let e=t;return e})();function Zme(e,t){return{key:e,value:t}}var Kme=(()=>{const t=class t{constructor(n){s(this,"differs");s(this,"differ");s(this,"keyValues",[]);s(this,"compareFn",Nf);this.differs=n}transform(n,a=Nf){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??(this.differ=this.differs.find(n).create());let r=this.differ.diff(n),o=a!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(l=>{this.keyValues.push(Zme(l.key,l.currentValue))})),(r||o)&&(a&&this.keyValues.sort(a),this.compareFn=a),this.keyValues}};s(t,"ɵfac",function(n){return new(n||t)(Qt(_p,16))}),s(t,"ɵpipe",Yt({name:"keyvalue",type:t,pure:!1}));let e=t;return e})();function Nf(e,t){let i=e.key,n=t.key;if(i===n)return 0;if(i==null)return 1;if(n==null)return-1;if(typeof i=="string"&&typeof n=="string")return i<n?-1:1;if(typeof i=="number"&&typeof n=="number")return i-n;if(typeof i=="boolean"&&typeof n=="boolean")return i<n?-1:1;let a=String(i),r=String(n);return a==r?0:a<r?-1:1}var s1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})();function l1(e,t){t=encodeURIComponent(t);for(let i of e.split(";")){let n=i.indexOf("="),[a,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var c1="browser",Jme="server";function Xme(e){return e===c1}function u1(e){return e===Jme}var d1=class{};function Bc(e,t,i){return cpe(e,t,i)}var Ud=new se(""),h1=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,r,o){return this._findPluginFor(a).addEventListener(n,a,r,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(r=>r.supports(n)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(pe(Ud),pe(We))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),p1=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},_l="ng-app-id";function Pf(e){for(let t of e)t.remove()}function Mf(e,t){let i=t.createElement("style");return i.textContent=e,i}function Qme(e,t,i,n){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${_l}="${t}"],link[${_l}="${t}"]`);if(a)for(let o of a)o.removeAttribute(_l),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&i.set(o.textContent,{usage:0,elements:[o]})}function Gd(e,t){let i=t.createElement("link");return i.setAttribute("rel","stylesheet"),i.setAttribute("href",e),i}var m1=(()=>{const t=class t{constructor(n,a,r,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=r,this.isServer=u1(o),Qme(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let r of n)this.addUsage(r,this.inline,Mf);a==null||a.forEach(r=>this.addUsage(r,this.external,Gd))}removeStyles(n,a){for(let r of n)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,a,r){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(n,this.doc)))})}removeUsage(n,a){let r=a.get(n);r&&(r.usage--,r.usage<=0&&(Pf(r.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Pf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(n,Mf(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(n,Gd(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(_l,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe(Yh),pe(Zh,8),pe(Ic))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),ku={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Cp=/%COMP%/g,f1="%COMP%",efe=`_nghost-${f1}`,tfe=`_ngcontent-${f1}`,nfe=!0,ife=new se("",{providedIn:"root",factory:()=>nfe});function afe(e){return tfe.replace(Cp,e)}function rfe(e){return efe.replace(Cp,e)}function g1(e,t){return t.map(i=>i.replace(Cp,e))}var Wd=(()=>{const t=class t{constructor(n,a,r,o,l,u,c,h=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=h,this.tracingService=m,this.platformIsServer=u1(u),this.defaultRenderer=new Ip(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===Gi.ShadowDom&&(a=bt(ue({},a),{encapsulation:Gi.Emulated}));let r=this.getOrCreateRenderer(n,a);return r instanceof Rf?r.applyToHost(n):r instanceof qd&&r.applyStyles(),r}getOrCreateRenderer(n,a){let r=this.rendererByCompId,o=r.get(a.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case Gi.Emulated:o=new Rf(c,h,a,this.appId,m,l,u,v,g);break;case Gi.ShadowDom:return new ofe(c,h,n,a,l,u,this.nonce,v,g);default:o=new qd(c,h,a,m,l,u,v,g);break}r.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(pe(h1),pe(m1),pe(Yh),pe(ife),pe(He),pe(Ic),pe(We),pe(Zh),pe(vs,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Ip=class{constructor(e,t,i,n,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=i,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(ku[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Af(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(Af(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){t.remove()}selectRootElement(e,t){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new Z(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;let a=ku[n];a?e.setAttributeNS(a,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let n=ku[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,n){n&(da.DashCase|da.Important)?e.style.setProperty(t,i,n&da.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&da.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e!=null&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,n){var r;if(typeof e=="string"&&(e=Ao().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(i);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Af(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ofe=class extends Ip{constructor(t,i,n,a,r,o,l,u,c){var v;super(t,r,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=a.styles;h=g1(a.id,h);for(let g of h){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=Gd(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,i){return super.appendChild(this.nodeOrShadowRoot(t),i)}insertBefore(t,i,n){return super.insertBefore(this.nodeOrShadowRoot(t),i,n)}removeChild(t,i){return super.removeChild(null,i)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},qd=class extends Ip{constructor(t,i,n,a,r,o,l,u,c){var m;super(t,r,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=i,this.removeStylesOnCompDestroy=a;let h=n.styles;this.styles=c?g1(c,h):h,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Rf=class extends qd{constructor(t,i,n,a,r,o,l,u,c){let h=a+"-"+n.id;super(t,i,n,r,o,l,u,c,h);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=afe(h),this.hostAttr=rfe(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,i){let n=super.createElement(t,i);return super.setAttribute(n,this.contentAttr,""),n}},sfe=class v1 extends vme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){gme(new v1)}onAndCancel(i,n,a,r){return i.addEventListener(n,a,r),()=>{i.removeEventListener(n,a,r)}}dispatchEvent(i,n){i.dispatchEvent(n)}remove(i){i.remove()}createElement(i,n){return n=n||this.getDefaultDocument(),n.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,n){return n==="window"?window:n==="document"?i:n==="body"?i.body:null}getBaseHref(i){let n=lfe();return n==null?null:cfe(n)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return l1(document.cookie,i)}},Io=null;function lfe(){return Io=Io||document.head.querySelector("base"),Io?Io.getAttribute("href"):null}function cfe(e){return new URL(e,document.baseURI).pathname}var ufe=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),dfe=(()=>{const t=class t extends p1{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,r,o){return n.addEventListener(a,r,o),()=>this.removeEventListener(n,a,r,o)}removeEventListener(n,a,r,o){return n.removeEventListener(a,r,o)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Ff=["alt","control","meta","shift"],hfe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},pfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},mfe=(()=>{const t=class t extends p1{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,r,o){let l=t.parseEventName(a),u=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ao().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let a=n.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",u=a.indexOf("code");if(u>-1&&(a.splice(u,1),l="code."),Ff.forEach(h=>{let m=a.indexOf(h);m>-1&&(a.splice(m,1),l+=h+".")}),l+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=l,c}static matchEventFullKeyCode(n,a){let r=hfe[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Ff.forEach(l=>{if(l!==r){let u=pfe[l];u(n)&&(o+=l+".")}}),o+=r,o===a)}static eventCallback(n,a,r){return o=>{t.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function ffe(e){return Ype(gfe(e))}function gfe(e){return{appProviders:[...xfe,...(e==null?void 0:e.providers)??[]],platformProviders:_fe}}function vfe(){sfe.makeCurrent()}function yfe(){return new ai}function bfe(){return ace(document),document}var _fe=[{provide:Ic,useValue:c1},{provide:Dy,useValue:vfe,multi:!0},{provide:He,useFactory:bfe}],xfe=[{provide:Dh,useValue:"root"},{provide:ai,useFactory:yfe},{provide:Ud,useClass:dfe,multi:!0,deps:[He]},{provide:Ud,useClass:mfe,multi:!0,deps:[He]},Wd,m1,h1,{provide:oi,useExisting:Wd},{provide:d1,useClass:ufe},[]],Dp=class{},y1=class{},tr=class xl{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
19
+ `).forEach(i=>{let n=i.indexOf(":");if(n>0){let a=i.slice(0,n),r=i.slice(n+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((i,n)=>{this.addHeaderEntry(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let i=this.headers.get(t.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,i){return this.clone({name:t,value:i,op:"a"})}set(t,i){return this.clone({name:t,value:i,op:"s"})}delete(t,i){return this.clone({name:t,value:i,op:"d"})}maybeSetNormalizedName(t,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,t)}init(){this.lazyInit&&(this.lazyInit instanceof xl?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(i=>{this.headers.set(i,t.headers.get(i)),this.normalizedNames.set(i,t.normalizedNames.get(i))})}clone(t){let i=new xl;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof xl?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([t]),i}applyUpdate(t){let i=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,i);let a=(t.op==="a"?this.headers.get(i):void 0)||[];a.push(...n),this.headers.set(i,a);break;case"d":let r=t.value;if(!r)this.headers.delete(i),this.normalizedNames.delete(i);else{let o=this.headers.get(i);if(!o)return;o=o.filter(l=>r.indexOf(l)===-1),o.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,o)}break}}addHeaderEntry(t,i){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(i):this.headers.set(n,[i])}setHeaderEntries(t,i){let n=(Array.isArray(i)?i:[i]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>t(this.normalizedNames.get(i),this.headers.get(i)))}},wfe=class{encodeKey(e){return Lf(e)}encodeValue(e){return Lf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Efe(e,t){let i=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[r,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=i.get(r)||[];l.push(o),i.set(r,l)}),i}var Sfe=/%(\d[a-f0-9])/gi,kfe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Lf(e){return encodeURIComponent(e).replace(Sfe,(t,i)=>kfe[i]??t)}function Ks(e){return`${e}`}var Ar=class b1{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new wfe,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=Efe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(i=>{let n=t.fromObject[i],a=Array.isArray(n)?n.map(Ks):[Ks(n)];this.map.set(i,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let i=this.map.get(t);return i?i[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,i){return this.clone({param:t,value:i,op:"a"})}appendAll(t){let i=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(r=>{i.push({param:n,value:r,op:"a"})}):i.push({param:n,value:a,op:"a"})}),this.clone(i)}set(t,i){return this.clone({param:t,value:i,op:"s"})}delete(t,i){return this.clone({param:t,value:i,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let i=this.encoder.encodeKey(t);return this.map.get(t).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let i=new b1({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(t),i}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 i=(t.op==="a"?this.map.get(t.param):void 0)||[];i.push(Ks(t.value)),this.map.set(t.param,i);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(Ks(t.value));a!==-1&&n.splice(a,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Cfe=class{constructor(){s(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 Ife(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function jf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Vf(e){return typeof Blob<"u"&&e instanceof Blob}function zf(e){return typeof FormData<"u"&&e instanceof FormData}function Dfe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Bf="Content-Type",Hf="Accept",_1="X-Request-URL",x1="text/plain",w1="application/json",Tfe=`${w1}, ${x1}, */*`,Cu=class E1{constructor(t,i,n,a){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=i,this.method=t.toUpperCase();let r;if(Ife(this.method)||a?(this.body=n!==void 0?n:null,r=a):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new tr),this.context??(this.context=new Cfe),!this.params)this.params=new Ar,this.urlWithParams=i;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=i;else{let l=i.indexOf("?"),u=l===-1?"?":l<i.length-1?"&":"";this.urlWithParams=i+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||jf(this.body)||Vf(this.body)||zf(this.body)||Dfe(this.body)?this.body:this.body instanceof Ar?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||zf(this.body)?null:Vf(this.body)?this.body.type||null:jf(this.body)?null:typeof this.body=="string"?x1:this.body instanceof Ar?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?w1:null}clone(t={}){let i=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,h=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(h=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),h)),new E1(i,n,o,{params:h,headers:c,context:m,reportProgress:u,responseType:a,withCredentials:l,transferCache:r})}},Rr=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}(Rr||{}),Tp=class{constructor(e,t=200,i="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new tr,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ofe=class S1 extends Tp{constructor(i={}){super(i);s(this,"type",Rr.ResponseHeader)}clone(i={}){return new S1({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},k1=class C1 extends Tp{constructor(i={}){super(i);s(this,"body");s(this,"type",Rr.Response);this.body=i.body!==void 0?i.body:null}clone(i={}){return new C1({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},Uf=class extends Tp{constructor(t){super(t,0,"Unknown Error");s(this,"name","HttpErrorResponse");s(this,"message");s(this,"error");s(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Nfe=200,Pfe=204;function Iu(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 Cs=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,r={}){let o;if(n instanceof Cu)o=n;else{let c;r.headers instanceof tr?c=r.headers:c=new tr(r.headers);let h;r.params&&(r.params instanceof Ar?h=r.params:h=new Ar({fromObject:r.params})),o=new Cu(n,a,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=yt(o).pipe(ov(c=>this.handler.handle(c)));if(n instanceof Cu||r.observe==="events")return l;let u=l.pipe(bi(c=>c instanceof k1));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Bt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Z(2806,!1);return c.body}));case"blob":return u.pipe(Bt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Z(2807,!1);return c.body}));case"text":return u.pipe(Bt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Z(2808,!1);return c.body}));case"json":default:return u.pipe(Bt(c=>c.body))}case"response":return u;default:throw new Z(2809,!1)}}delete(n,a={}){return this.request("DELETE",n,a)}get(n,a={}){return this.request("GET",n,a)}head(n,a={}){return this.request("HEAD",n,a)}jsonp(n,a){return this.request("JSONP",n,{params:new Ar().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,r={}){return this.request("PATCH",n,Iu(r,a))}post(n,a,r={}){return this.request("POST",n,Iu(r,a))}put(n,a,r={}){return this.request("PUT",n,Iu(r,a))}};s(t,"ɵfac",function(n){return new(n||t)(pe(Dp))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Mfe=new se("");function Afe(e,t){return t(e)}function Rfe(e,t,i){return(n,a)=>wc(i,()=>t(n,r=>e(r,a)))}var Op=new se(""),Ffe=new se(""),Lfe=new se("",{providedIn:"root",factory:()=>!0}),Gf=(()=>{const t=class t extends Dp{constructor(a,r){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",C(gs));s(this,"contributeToStability",C(Lfe));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Op),...this.injector.get(Ffe,[])]));this.chain=r.reduceRight((o,l)=>Rfe(o,l,this.injector),Afe)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(lv(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};s(t,"ɵfac",function(a){return new(a||t)(pe(y1),pe(wi))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),jfe=/^\)\]\}',?\n/,Vfe=RegExp(`^${_1}:`,"m");function zfe(e){return"responseURL"in e&&e.responseURL?e.responseURL:Vfe.test(e.getAllResponseHeaders())?e.getResponseHeader(_1):null}var Wf=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new Z(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?ir(a.ɵloadImpl()):yt(null)).pipe(Bo(()=>new ht(r=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((w,S)=>o.setRequestHeader(w,S.join(","))),n.headers.has(Hf)||o.setRequestHeader(Hf,Tfe),!n.headers.has(Bf)){let w=n.detectContentTypeHeader();w!==null&&o.setRequestHeader(Bf,w)}if(n.responseType){let w=n.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let w=o.statusText||"OK",S=new tr(o.getAllResponseHeaders()),T=zfe(o)||n.url;return u=new Ofe({headers:S,status:o.status,statusText:w,url:T}),u},h=()=>{let{headers:w,status:S,statusText:T,url:F}=c(),P=null;S!==Pfe&&(P=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=P?Nfe:0);let re=S>=200&&S<300;if(n.responseType==="json"&&typeof P=="string"){let ve=P;P=P.replace(jfe,"");try{P=P!==""?JSON.parse(P):null}catch(ke){P=ve,re&&(re=!1,P={error:ke,text:P})}}re?(r.next(new k1({body:P,headers:w,status:S,statusText:T,url:F||void 0})),r.complete()):r.error(new Uf({error:P,headers:w,status:S,statusText:T,url:F||void 0}))},m=w=>{let{url:S}=c(),T=new Uf({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});r.error(T)},v=!1,g=w=>{v||(r.next(c()),v=!0);let S={type:Rr.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(S.total=w.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),r.next(S)},x=w=>{let S={type:Rr.UploadProgress,loaded:w.loaded};w.lengthComputable&&(S.total=w.total),r.next(S)};return o.addEventListener("load",h),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",x)),o.send(l),r.next({type:Rr.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",h),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",x)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(pe(d1))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),I1=new se(""),Bfe="XSRF-TOKEN",Hfe=new se("",{providedIn:"root",factory:()=>Bfe}),Ufe="X-XSRF-TOKEN",Gfe=new se("",{providedIn:"root",factory:()=>Ufe}),D1=class{},Wfe=(()=>{const t=class t{constructor(n,a){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=a}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=l1(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe(Hfe))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),qfe=/^(?:https?:)?\/\//i;function $fe(e,t){if(!C(I1)||e.method==="GET"||e.method==="HEAD"||qfe.test(e.url))return t(e);let i=C(D1).getToken(),n=C(Gfe);return i!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,i)})),t(e)}var T1=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}(T1||{});function Yfe(e,t){return{ɵkind:e,ɵproviders:t}}function Zfe(...e){let t=[Cs,Wf,Gf,{provide:Dp,useExisting:Gf},{provide:y1,useFactory:()=>C(Mfe,{optional:!0})??C(Wf)},{provide:Op,useValue:$fe,multi:!0},{provide:I1,useValue:!0},{provide:D1,useClass:Wfe}];for(let i of e)t.push(...i.ɵproviders);return Ch(t)}function Kfe(e){return Yfe(T1.Interceptors,e.map(t=>({provide:Op,useValue:t,multi:!0})))}var O1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=pe(Jfe),a},providedIn:"root"}));let e=t;return e})(),Jfe=(()=>{const t=class t extends O1{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case wn.NONE:return r;case wn.HTML:return _r(r,"HTML")?la(r):Gce(this._doc,String(r)).toString();case wn.STYLE:return _r(r,"Style")?la(r):r;case wn.SCRIPT:if(_r(r,"Script"))return la(r);throw new Z(5200,!1);case wn.URL:return _r(r,"URL")?la(r):ep(String(r));case wn.RESOURCE_URL:if(_r(r,"ResourceURL"))return la(r);throw new Z(5201,!1);default:throw new Z(5202,!1)}}bypassSecurityTrustHtml(a){return xce(a)}bypassSecurityTrustStyle(a){return wce(a)}bypassSecurityTrustScript(a){return Ece(a)}bypassSecurityTrustUrl(a){return Sce(a)}bypassSecurityTrustResourceUrl(a){return kce(a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Is=class{},Xfe=(()=>{const t=class t extends Is{getTranslation(n){return yt({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),N1=class{},Qfe=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Jl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let i=typeof e,n=typeof t,a,r,o;if(i==n&&i=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!Jl(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(r in e){if(!Jl(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 ha(e){return typeof e<"u"&&e!==null}function Ds(e){return wl(e)&&!Np(e)&&e!==null}function wl(e){return typeof e=="object"}function Np(e){return Array.isArray(e)}function Pp(e){return typeof e=="string"}function ege(e){return typeof e=="function"}function $d(e,t){let i=Object.assign({},e);return wl(e)?(wl(e)&&wl(t)&&Object.keys(t).forEach(n=>{Ds(t[n])?n in e?i[n]=$d(e[n],t[n]):Object.assign(i,{[n]:t[n]}):Object.assign(i,{[n]:t[n]})}),i):$d({},t)}function Yd(e,t){let i=t.split(".");t="";do t+=i.shift(),ha(e)&&ha(e[t])&&(Ds(e[t])||Np(e[t])||!i.length)?(e=e[t],t=""):i.length?t+=".":e=void 0;while(i.length);return e}function tge(e,t,i){let n=t.split("."),a=e;for(let r=0;r<n.length;r++){let o=n[r];r===n.length-1?a[o]=i:((!a[o]||!Ds(a[o]))&&(a[o]={}),a=a[o])}}var Mp=class{},nge=(()=>{const t=class t extends Mp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(Pp(a))return this.interpolateString(a,r);if(ege(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(o,l)=>{let u=Yd(r,l);return ha(u)?u:o}):a}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Ts=class{},ige=(()=>{const t=class t extends Ts{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Zd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ht);s(this,"onLangChange",new Ht);s(this,"onDefaultLangChange",new Ht)}},P1=new se("ISOLATE_TRANSLATE_SERVICE"),M1=new se("USE_DEFAULT_LANG"),A1=new se("DEFAULT_LANGUAGE"),R1=new se("USE_EXTEND"),yo=e=>Oo(e)?e:yt(e),li=(()=>{const t=class t{constructor(n,a,r,o,l,u=!0,c=!1,h=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=n,this.currentLoader=a,this.compiler=r,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=h,c&&(this.store=new Zd),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let a=this.retrieveTranslations(n);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=n),a.pipe(Vn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return yt(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return Oo(a)?(a.pipe(Vn(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),yt(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let a=this.currentLoader.getTranslation(n).pipe(Pm(1),Vn(1));return this.loadingTranslations=a.pipe(Bt(r=>this.compiler.compileTranslations(r,n)),Pm(1),Vn(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?ue(ue({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(n,a,r=!1){let o=this.compiler.compileTranslations(a,n);(r||this.extend)&&this.translations[n]?this.translations[n]=$d(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let a=n.filter(r=>!this.langs.includes(r));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,r){let o;if(n&&(o=this.runInterpolation(Yd(n,a),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Yd(this.translations[this.defaultLang],a),r)),o===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Np(n))return n.map(r=>this.runInterpolation(r,a));if(Ds(n)){let r={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(r[o]=l)}return r}else return this.parser.interpolate(n,a)}getParsedResult(n,a,r){if(a instanceof Array){let o={},l=!1;for(let c of a)o[c]=this.getParsedResultForKey(n,c,r),l=l||Oo(o[c]);if(!l)return o;let u=a.map(c=>yo(o[c]));return iv(u).pipe(Bt(c=>{let h={};return c.forEach((m,v)=>{h[a[v]]=m}),h}))}return this.getParsedResultForKey(n,a,r)}get(n,a){if(!ha(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ov(r=>yo(this.getParsedResult(r,n,a)))):yo(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!ha(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return zo(Tl(()=>this.get(n,a)),this.onTranslationChange.pipe(Bo(r=>{let o=this.getParsedResult(r.translations,n,a);return yo(o)})))}stream(n,a){if(!ha(n)||!n.length)throw new Error('Parameter "key" required');return zo(Tl(()=>this.get(n,a)),this.onLangChange.pipe(Bo(r=>{let o=this.getParsedResult(r.translations,n,a);return yo(o)})))}instant(n,a){if(!ha(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,a);return Oo(r)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:r}set(n,a,r=this.currentLang){tge(this.translations[r],n,Pp(a)?this.compiler.compile(a,r):this.compiler.compileTranslations(a,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(pe(Zd),pe(Is),pe(Ts),pe(Mp),pe(N1),pe(M1),pe(P1),pe(R1),pe(A1))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),un=(()=>{const t=class t{constructor(n,a){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=n,this._ref=a}updateValue(n,a,r){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,n,a);Oo(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Jl(n,this.lastKey)&&Jl(a,this.lastParams))return this.value;let r;if(ha(a[0])&&a.length)if(Pp(a[0])&&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 Ds(a[0])&&(r=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,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()}};s(t,"ɵfac",function(n){return new(n||t)(Qt(li,16),Qt(lr,16))}),s(t,"ɵpipe",Yt({name:"translate",type:t,pure:!1})),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),age=(e={})=>Ch([e.loader||{provide:Is,useClass:Xfe},e.compiler||{provide:Ts,useClass:ige},e.parser||{provide:Mp,useClass:nge},e.missingTranslationHandler||{provide:N1,useClass:Qfe},Zd,{provide:P1,useValue:e.isolate},{provide:M1,useValue:e.useDefaultLang},{provide:R1,useValue:e.extend},{provide:A1,useValue:e.defaultLanguage},li]);function F1(e){return e.buttons===0||e.detail===0}function L1(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 Du;function rge(){if(Du==null){let e=typeof document<"u"?document.head:null;Du=!!(e&&(e.createShadowRoot||e.attachShadow))}return Du}function oge(e){if(rge()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Tu(){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 Zi(e){return e.composedPath?e.composedPath()[0]:e.target}function pa(e,t,i,n,a){let r=parseInt(Sf.major),o=parseInt(Sf.minor);return r>19||r===19&&o>0||r===0&&o===0?e.listen(t,i,n,a):(t.addEventListener(i,n,a),()=>{t.removeEventListener(i,n,a)})}var Kd;try{Kd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Kd=!1}var Tn=(()=>{const t=class t{constructor(){s(this,"_platformId",C(Ic));s(this,"isBrowser",this._platformId?Xme(this._platformId):typeof document=="object"&&!!document);s(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));s(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));s(this,"BLINK",this.isBrowser&&!!(window.chrome||Kd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);s(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);s(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));s(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));s(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);s(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bo;function sge(){if(bo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>bo=!0}))}finally{bo=bo||!1}return bo}function Ap(e){return sge()?e:!!e.capture}function qf(e,t=0){return lge(e)?Number(e):arguments.length===2?t:0}function lge(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Fr(e){return e instanceof Rt?e.nativeElement:e}var cge=new se("cdk-input-modality-detector-options"),uge={ignoreKeys:[18,17,224,91,16]},j1=650,Ou={passive:!0,capture:!0},dge=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new yh(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Zi(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<j1||(this._modality.next(F1(n)?"keyboard":"mouse"),this._mostRecentTarget=Zi(n))});s(this,"_onTouchstart",n=>{if(L1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zi(n)});let n=C(We),a=C(He),r=C(cge,{optional:!0});if(this._options=ue(ue({},uge),r),this.modalityDetected=this._modality.pipe(uv(1)),this.modalityChanged=this.modalityDetected.pipe(cse()),this._platform.isBrowser){let o=C(oi).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[pa(o,a,"keydown",this._onKeydown,Ou),pa(o,a,"mousedown",this._onMousedown,Ou),pa(o,a,"touchstart",this._onTouchstart,Ou)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(a=>a())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),El=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(El||{}),hge=new se("cdk-focus-monitor-default-options"),Js=Ap({passive:!0,capture:!0}),Rp=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_platform",C(Tn));s(this,"_inputModalityDetector",C(dge));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",C(He,{optional:!0}));s(this,"_stopInputModalityDetector",new be);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=Zi(n);for(let r=a;r;r=r.parentElement)n.type==="focus"?this._onFocus(n,r):this._onBlur(n,r)});let n=C(hge,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||El.IMMEDIATE}monitor(n,a=!1){let r=Fr(n);if(!this._platform.isBrowser||r.nodeType!==1)return yt();let o=oge(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let u={checkChildren:a,subject:new be,rootNode:o};return this._elementInfo.set(r,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let a=Fr(n),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(n,a,r){let o=Fr(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,a,c)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((n,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===El.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,a){n.classList.toggle("cdk-focused",!!a),n.classList.toggle("cdk-touch-focused",a==="touch"),n.classList.toggle("cdk-keyboard-focused",a==="keyboard"),n.classList.toggle("cdk-mouse-focused",a==="mouse"),n.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(n,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&a,this._detectionMode===El.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?j1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(n,a){let r=this._elementInfo.get(a),o=Zi(n);!r||!r.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),r)}_onBlur(n,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(n,a){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(a))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let a=n.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Js),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Js)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Hi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.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,Js),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Js),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,r){this._setClasses(n,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((r,o)=>{(o===n||r.checkChildren&&o.contains(n))&&a.push([o,r])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let o=n.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(a))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xs=new WeakMap,cr=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",C(st));s(this,"_environmentInjector",C(wi))}load(n){let a=this._appRef=this._appRef||this._injector.get(wa),r=Xs.get(a);r||(r={loaders:new Set,refs:[]},Xs.set(a,r),a.onDestroy(()=>{var o;(o=Xs.get(a))==null||o.refs.forEach(l=>l.destroy()),Xs.delete(a)})),r.loaders.has(n)||(r.loaders.add(n),r.refs.push(Qb(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),V1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Xl(e){return Array.isArray(e)?e:[e]}var $f=new Set,Oa,pge=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_nonce",C(Zh,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fge}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&mge(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function mge(e,t){if(!$f.has(e))try{Oa||(Oa=document.createElement("style"),t&&Oa.setAttribute("nonce",t),Oa.setAttribute("type","text/css"),document.head.appendChild(Oa)),Oa.sheet&&(Oa.sheet.insertRule(`@media ${e} {body{ }}`,0),$f.add(e))}catch(i){console.error(i)}}function fge(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var z1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(pge));s(this,"_zone",C(We));s(this,"_queries",new Map);s(this,"_destroySubject",new be)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Yf(Xl(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=Yf(Xl(n)).map(o=>this._registerQuery(o).observable),r=ise(a);return r=zo(r.pipe(Vn(1)),r.pipe(uv(1),sv(0))),r.pipe(Bt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),r={observable:new ht(o=>{let l=u=>this._zone.run(()=>o.next(u));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(Nr(a),Bt(({matches:o})=>({query:n,matches:o})),Hi(this._destroySubject)),mql:a};return this._queries.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Yf(e){return e.map(t=>t.split(",")).reduce((t,i)=>t.concat(i)).map(t=>t.trim())}var gge=(()=>{const t=class t{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[gge]}));let e=t;return e})(),B1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return bge(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=yge(Ige(n));if(a&&(Zf(a)===-1||!this.isVisible(a)))return!1;let r=n.nodeName.toLowerCase(),o=Zf(n);return n.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!kge(n)?!1:r==="audio"?n.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,a){return Cge(n)&&!this.isDisabled(n)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function yge(e){try{return e.frameElement}catch{return null}}function bge(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function _ge(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function xge(e){return Ege(e)&&e.type=="hidden"}function wge(e){return Sge(e)&&e.hasAttribute("href")}function Ege(e){return e.nodeName.toLowerCase()=="input"}function Sge(e){return e.nodeName.toLowerCase()=="a"}function H1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Zf(e){if(!H1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function kge(e){let t=e.nodeName.toLowerCase(),i=t==="input"&&e.type;return i==="text"||i==="password"||t==="select"||t==="textarea"}function Cge(e){return xge(e)?!1:_ge(e)||wge(e)||e.hasAttribute("contenteditable")||H1(e)}function Ige(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Dge=class{constructor(e,t,i,n,a=!1,r){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=i,this._document=n,this._injector=r,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let i=this._getFirstTabbableElement(t);return i==null||i.focus(e),!!i}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 i=0;i<t.length;i++){let n=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let i=t.length-1;i>=0;i--){let n=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Xh(e,{injector:this._injector}):setTimeout(e)}},Tge=(()=>{const t=class t{constructor(){s(this,"_checker",C(B1));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"_injector",C(st));C(cr).load(V1)}create(n,a=!1){return new Dge(n,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Oge=new se("liveAnnouncerElement",{providedIn:"root",factory:Nge});function Nge(){return null}var Pge=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Mge=0,Age=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_defaultOptions",C(Pge,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(He));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(Oge,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let r=this._defaultOptions,o,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[o,l]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=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(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,a;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",a=this._document.getElementsByClassName(n),r=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return r.classList.add(n),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${Mge++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let o=a[r],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),La=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}(La||{}),Kf="cdk-high-contrast-black-on-white",Jf="cdk-high-contrast-white-on-black",Nu="cdk-high-contrast-active",U1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(He));s(this,"_breakpointSubscription");this._breakpointSubscription=C(z1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return La.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return La.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return La.BLACK_ON_WHITE}return La.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Nu,Kf,Jf),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===La.BLACK_ON_WHITE?n.add(Nu,Kf):a===La.WHITE_ON_BLACK&&n.add(Nu,Jf)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Rge=(()=>{const t=class t{constructor(){C(U1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[vge]}));let e=t;return e})(),Pu={},co=(()=>{const t=class t{constructor(){s(this,"_appId",C(Yh))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Pu.hasOwnProperty(n)||(Pu[n]=0),`${n}${Pu[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Fge=200,Lge=class{constructor(e,t){s(this,"_letterKeyStream",new be);s(this,"_items",[]);s(this,"_selectedItemIndex",-1);s(this,"_pressedLetters",[]);s(this,"_skipPredicateFn");s(this,"_selectedItem",new be);s(this,"selectedItem",this._selectedItem);let i=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:Fge;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(hl(t=>this._pressedLetters.push(t)),sv(e),bi(()=>this._pressedLetters.length>0),Bt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var i,n;for(let a=1;a<this._items.length+1;a++){let r=(this._selectedItemIndex+a)%this._items.length,o=this._items[r];if(!((i=this._skipPredicateFn)!=null&&i.call(this,o))&&((n=o.getLabel)==null?void 0:n.call(o).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Fp(e,...t){return t.length?t.some(i=>e[i]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var jge=class{constructor(e,t){s(this,"_items");s(this,"_activeItemIndex",-1);s(this,"_activeItem",Sd(null));s(this,"_wrap",!1);s(this,"_typeaheadSubscription",pn.EMPTY);s(this,"_itemChangesSubscription");s(this,"_vertical",!0);s(this,"_horizontal");s(this,"_allowedModifierKeys",[]);s(this,"_homeAndEnd",!1);s(this,"_pageUpAndDown",{enabled:!1,delta:10});s(this,"_effectRef");s(this,"_typeahead");s(this,"_skipPredicateFn",e=>e.disabled);s(this,"tabOut",new be);s(this,"change",new be);this._items=e,e instanceof Hl?this._itemChangesSubscription=e.changes.subscribe(i=>this._itemsChanged(i.toArray())):Km(e)&&(this._effectRef=xp(()=>this._itemsChanged(e()),{injector:t}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Lge(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){var n,a;let t=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r<o?r:o-1,-1);break}else return;default:(i||Fp(e,"shiftKey"))&&((n=this._typeahead)==null||n.handleKey(e));return}(a=this._typeahead)==null||a.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){var a;let t=this._getItemsArray(),i=typeof e=="number"?e:t.indexOf(e),n=t[i];this._activeItem.set(n??null),this._activeItemIndex=i,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(i)}destroy(){var e,t,i;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(i=this._typeahead)==null||i.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let i=1;i<=t.length;i++){let n=(this._activeItemIndex+e*i+t.length)%t.length,a=t[n];if(!this._skipPredicateFn(a)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(e+=t,!i[e])return;this.setActiveItem(e)}}_getItemsArray(){return Km(this._items)?this._items():this._items instanceof Hl?this._items.toArray():this._items}_itemsChanged(e){var i,n;(i=this._typeahead)==null||i.setItems(e);let t=this._activeItem();if(t){let a=e.indexOf(t);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(n=this._typeahead)==null||n.setCurrentSelectedItemIndex(a))}}},Vge=class extends jge{constructor(){super(...arguments);s(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},zge=new se("cdk-dir-doc",{providedIn:"root",factory:Bge});function Bge(){return C(He)}var Hge=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Uge(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Hge.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Zo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ht);let n=C(zge,{optional:!0});if(n){let a=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=Uge(a||r||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ko=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),Ci=(()=>{const t=class t{constructor(){C(U1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ko,Ko]}));let e=t;return e})(),Jd=new se("MAT_DATE_LOCALE",{providedIn:"root",factory:Gge});function Gge(){return C(Lc)}var vr="Method not implemented",G1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new be);s(this,"localeChanges",this._localeChanges)}setTime(e,t,i,n){throw new Error(vr)}getHours(e){throw new Error(vr)}getMinutes(e){throw new Error(vr)}getSeconds(e){throw new Error(vr)}parseTime(e,t){throw new Error(vr)}addSeconds(e,t){throw new Error(vr)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareDate(e,t):i==n}return e==t}sameTime(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareTime(e,t):i==n}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}},Wge=new se("mat-date-formats"),Lp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
21
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),mi=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(mi||{}),Qs,Na;function W1(){if(Na==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Na=!1,Na;if("scrollBehavior"in document.documentElement.style)Na=!0;else{let e=Element.prototype.scrollTo;e?Na=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Na=!1}}return Na}function _o(){if(typeof document!="object"||!document)return mi.NORMAL;if(Qs==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 i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),Qs=mi.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Qs=e.scrollLeft===0?mi.NEGATED:mi.INVERTED),e.remove()}return Qs}function Xf(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Qf(e){return e!=null&&`${e}`!="false"}function Nt(e){return e==null?"":typeof e=="string"?e:`${e}px`}var Ln=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}(Ln||{}),qge=class{constructor(e,t,i,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Ln.HIDDEN);this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},eg=Ap({passive:!0,capture:!0}),$ge=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var i;let t=Zi(e);t&&((i=this._events.get(e.type))==null||i.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,i,n){let a=this._events.get(t);if(a){let r=a.get(i);r?r.add(n):a.set(i,new Set([n]))}else this._events.set(t,new Map([[i,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,eg)})}removeHandler(e,t,i){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(i),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,eg)))}},Ql={enterDuration:225,exitDuration:150},Yge=800,tg=Ap({passive:!0,capture:!0}),ng=["mousedown","touchstart"],ig=["mouseup","mouseleave","touchend","touchcancel"],Zge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
22
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ma,Kge=(ma=class{constructor(t,i,n,a,r){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=i,this._platform=a,a.isBrowser&&(this._containerElement=Fr(n)),r&&r.get(cr).load(Zge)}fadeInRipple(t,i,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ue(ue({},Ql),n.animation);n.centered&&(t=a.left+a.width/2,i=a.top+a.height/2);let o=n.radius||Jge(t,i,a),l=t-a.left,u=i-a.top,c=r.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=`${l-o}px`,h.style.top=`${u-o}px`,h.style.height=`${o*2}px`,h.style.width=`${o*2}px`,n.color!=null&&(h.style.backgroundColor=n.color),h.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(h);let m=window.getComputedStyle(h),v=m.transitionProperty,g=m.transitionDuration,x=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,w=new qge(this,h,n,x);h.style.transform="scale3d(1, 1, 1)",w.state=Ln.FADING_IN,n.persistent||(this._mostRecentTransientRipple=w);let S=null;return!x&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>{S&&(S.fallbackTimer=null),clearTimeout(P),this._finishRippleTransition(w)},F=()=>this._destroyRipple(w),P=setTimeout(F,c+100);h.addEventListener("transitionend",T),h.addEventListener("transitioncancel",F),S={onTransitionEnd:T,onTransitionCancel:F,fallbackTimer:P}}),this._activeRipples.set(w,S),(x||!c)&&this._finishRippleTransition(w),w}fadeOutRipple(t){if(t.state===Ln.FADING_OUT||t.state===Ln.HIDDEN)return;let i=t.element,n=ue(ue({},Ql),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=Ln.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let i=Fr(t);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,ng.forEach(n=>{ma._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ig.forEach(i=>{this._triggerElement.addEventListener(i,this,tg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Ln.FADING_IN?this._startFadeOutTransition(t):t.state===Ln.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let i=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=Ln.VISIBLE,!n&&(!i||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let i=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Ln.HIDDEN,i!==null&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel),i.fallbackTimer!==null&&clearTimeout(i.fallbackTimer)),t.element.remove()}_onMousedown(t){let i=F1(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Yge;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!L1(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=t.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let i=t.state===Ln.VISIBLE||t.config.terminateOnPointerUp&&t.state===Ln.FADING_IN;!t.config.persistent&&i&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(ng.forEach(i=>ma._eventManager.removeHandler(i,t,this)),this._pointerUpEventsRegistered&&(ig.forEach(i=>t.removeEventListener(i,this,tg)),this._pointerUpEventsRegistered=!1))}},s(ma,"_eventManager",new $ge),ma);function Jge(e,t,i){let n=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),a=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(n*n+a*a)}var q1=new se("mat-ripple-global-options"),Xge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Ci]}));let e=t;return e})(),Qge={capture:!0},e0e=["focus","mousedown","mouseenter","touchstart"],Mu="mat-ripple-loader-uninitialized",Au="mat-ripple-loader-class-name",ag="mat-ripple-loader-centered",el="mat-ripple-loader-disabled",$1=(()=>{const t=class t{constructor(){s(this,"_document",C(He));s(this,"_animationMode",C(ar,{optional:!0}));s(this,"_globalRippleOptions",C(q1,{optional:!0}));s(this,"_platform",C(Tn));s(this,"_ngZone",C(We));s(this,"_injector",C(st));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var r;let a=Zi(n);if(a instanceof HTMLElement){let o=a.closest(`[${Mu}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);o&&this._createRipple(o)}});let n=C(oi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>e0e.map(a=>pa(n,this._document,a,this._onInteraction,Qge)))}ngOnDestroy(){let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(n,a){var r;n.setAttribute(Mu,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!n.hasAttribute(Au))&&n.setAttribute(Au,a.className||""),a.centered&&n.setAttribute(ag,""),a.disabled&&n.setAttribute(el,"")}setDisabled(n,a){let r=this._hosts.get(n);r?(r.target.rippleDisabled=a,!a&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(n))):a?n.setAttribute(el,""):n.removeAttribute(el)}_createRipple(n){var v,g,x;if(!this._document||this._hosts.has(n))return;(v=n.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Au)),n.append(a);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=r?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Ql.enterDuration,u=r?0:((x=o==null?void 0:o.animation)==null?void 0:x.exitDuration)??Ql.exitDuration,c={rippleDisabled:r||(o==null?void 0:o.disabled)||n.hasAttribute(el),rippleConfig:{centered:n.hasAttribute(ag),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},h=new Kge(c,this._ngZone,a,this._platform,this._injector),m=!c.rippleDisabled;m&&h.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:h,hasSetUpEvents:m}),n.removeAttribute(Mu)}destroyRipple(n){let a=this._hosts.get(n);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),t0e=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,n0e=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Ru(e,t){let i=Array(e);for(let n=0;n<e;n++)i[n]=t(n);return i}var i0e=(()=>{const t=class t extends G1{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",C(Jd,{optional:!0}));let a=C(Jd,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Ru(12,o=>this._format(r,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ru(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Ru(7,o=>this._format(r,new Date(2017,0,o+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((r=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,o){let l=this._createDateWithOverflow(a,r,o);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,bt(ue({},r),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+r)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(t0e.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,o,l){let u=this.clone(a);return u.setHours(r,o,l,0),u}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let o=a.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let u=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();u.length>0&&(l=this._parseTimeString(u))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,o){let l=new Date;return l.setFullYear(a,r,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let o=new Date;return o.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),o.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(o)}_parseTimeString(a){let r=a.toUpperCase().match(n0e);if(r){let o=parseInt(r[1]),l=parseInt(r[2]),u=r[3]==null?void 0:parseInt(r[3]),c=r[4];if(o===12?o=c==="AM"?0:o:c==="PM"&&(o+=12),Fu(o,0,23)&&Fu(l,0,59)&&(u==null||Fu(u,0,59)))return this.setTime(this.today(),o,l,u||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Fu(e,t,i){return!isNaN(e)&&e>=t&&e<=i}var jp=class{constructor(){s(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Jo=class extends jp{constructor(t,i,n,a,r){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=i,this.injector=n,this.projectableNodes=r}},Vp=class extends jp{constructor(t,i,n,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=i,this.context=n,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,i=this.context){return this.context=i,super.attach(t)}detach(){return this.context=void 0,super.detach()}},a0e=class extends jp{constructor(t){super();s(this,"element");this.element=t instanceof Rt?t.nativeElement:t}},Hc=class{constructor(){s(this,"_attachedPortal");s(this,"_disposeFn");s(this,"_isDisposed",!1);s(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Jo)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Vp)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof a0e)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)}},r0e=class extends Hc{constructor(t,i,n,a,r){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let i=t.element;i.parentNode;let n=this._document.createComment("dom-portal");i.parentNode.insertBefore(n,i),this.outletElement.appendChild(i),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(i,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=a,this._document=r}attachComponentPortal(t){let i;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,a=n.get($o,null,{optional:!0})||void 0;i=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>i.destroy())}else{let n=this._appRef,a=t.injector||this._defaultInjector||st.NULL,r=a.get(wi,n.injector);i=Qb(t.component,{elementInjector:a,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),n.attachView(i.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(i.hostView),i.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let i=t.viewContainerRef,n=i.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(a=>this.outletElement.appendChild(a)),n.detectChanges(),this.setDisposeFn(()=>{let a=i.indexOf(n);a!==-1&&i.remove(a)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Xo=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_moduleRef",C($o,{optional:!0}));s(this,"_document",C(He));s(this,"_viewContainerRef",C(ws));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Ht);s(this,"attachDomPortal",a=>{let r=a.element;r.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})})}get portal(){return this._attachedPortal}set portal(a){this.hasAttached()&&!a&&!this._isInitialized||(this.hasAttached()&&super.detach(),a&&super.attach(a),this._attachedPortal=a||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(a){a.setAttachedHost(this);let r=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=r.createComponent(a.component,{index:r.length,injector:a.injector||r.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Gn]}));let e=t;return e})(),ec=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),o0e=20,Y1=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_platform",C(Tn));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new be);s(this,"_scrolledCount",0);s(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let a=this.scrollContainers.get(n);a&&(a.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=o0e){return this._platform.isBrowser?new ht(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=n>0?this._scrolled.pipe(av(n)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;r.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):yt()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,a){let r=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(bi(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(n){let a=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,n)&&a.push(o)}),a}_scrollableContainsElement(n,a){let r=Fr(a),o=n.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),s0e=(()=>{const t=class t{constructor(){s(this,"elementRef",C(Rt));s(this,"scrollDispatcher",C(Y1));s(this,"ngZone",C(We));s(this,"dir",C(Zo,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new be);s(this,"_renderer",C(oo));s(this,"_cleanupScroll");s(this,"_elementScrolled",new be)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this)}ngOnDestroy(){var n;(n=this._cleanupScroll)==null||n.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let a=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=r?n.end:n.start),n.right==null&&(n.right=r?n.start:n.end),n.bottom!=null&&(n.top=a.scrollHeight-a.clientHeight-n.bottom),r&&_o()!=mi.NORMAL?(n.left!=null&&(n.right=a.scrollWidth-a.clientWidth-n.left),_o()==mi.INVERTED?n.left=n.right:_o()==mi.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=a.scrollWidth-a.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let a=this.elementRef.nativeElement;W1()?a.scrollTo(n):(n.top!=null&&(a.scrollTop=n.top),n.left!=null&&(a.scrollLeft=n.left))}measureScrollOffset(n){let a="left",r="right",o=this.elementRef.nativeElement;if(n=="top")return o.scrollTop;if(n=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let l=this.dir&&this.dir.value=="rtl";return n=="start"?n=l?r:a:n=="end"&&(n=l?a:r),l&&_o()==mi.INVERTED?n==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&_o()==mi.NEGATED?n==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),l0e=20,Z1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new be);s(this,"_document",C(He,{optional:!0}));let n=C(We),a=C(oi).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[a.listen("window","resize",r),a.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(a=>a()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:a,height:r}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+r,right:n.left+a,height:r,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,a=this._getWindow(),r=n.documentElement,o=r.getBoundingClientRect(),l=-o.top||n.body.scrollTop||a.scrollY||r.scrollTop||0,u=-o.left||n.body.scrollLeft||a.scrollX||r.scrollLeft||0;return{top:l,left:u}}change(n=l0e){return n>0?this._change.pipe(av(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rg=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),og=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ko,rg,Ko,rg]}));let e=t;return e})(),sg=W1(),c0e=class{constructor(e,t){s(this,"_viewportRuler");s(this,"_previousHTMLStyles",{top:"",left:""});s(this,"_previousScrollPosition");s(this,"_isEnabled",!1);s(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Nt(-this._previousScrollPosition.left),e.style.top=Nt(-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,i=e.style,n=t.style,a=i.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),sg&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sg&&(i.scrollBehavior=a,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},u0e=class{constructor(e,t,i,n){s(this,"_scrollDispatcher");s(this,"_ngZone");s(this,"_viewportRuler");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");s(this,"_initialScrollPosition");s(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(bi(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}},K1=class{enable(){}disable(){}attach(){}};function Xd(e,t){return t.some(i=>{let n=e.bottom<i.top,a=e.top>i.bottom,r=e.right<i.left,o=e.left>i.right;return n||a||r||o})}function lg(e,t){return t.some(i=>{let n=e.top<i.top,a=e.bottom>i.bottom,r=e.left<i.left,o=e.right>i.right;return n||a||r||o})}var d0e=class{constructor(e,t,i,n){s(this,"_scrollDispatcher");s(this,"_viewportRuler");s(this,"_ngZone");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=n}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:i,height:n}=this._viewportRuler.getViewportSize();Xd(t,[{width:i,height:n,bottom:n,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},h0e=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",C(Y1));s(this,"_viewportRuler",C(Z1));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"noop",()=>new K1);s(this,"close",n=>new u0e(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new c0e(this._viewportRuler,this._document));s(this,"reposition",n=>new d0e(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),zp=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new K1);s(this,"panelClass","");s(this,"hasBackdrop",!1);s(this,"backdropClass","cdk-overlay-dark-backdrop");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"direction");s(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let i of t)e[i]!==void 0&&(this[i]=e[i])}}},p0e=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},J1=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",C(He));s(this,"_isAttached")}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let a=this._attachedOverlays.indexOf(n);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),m0e=(()=>{const t=class t extends J1{constructor(){super(...arguments);s(this,"_ngZone",C(We));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[o]._keydownEvents.next(a));break}})}add(a){super.add(a),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var a;this._isAttached&&((a=this._cleanupKeydown)==null||a.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),f0e=(()=>{const t=class t extends J1{constructor(){super(...arguments);s(this,"_platform",C(Tn));s(this,"_ngZone",C(We));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=Zi(a)});s(this,"_clickListener",a=>{let r=Zi(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let c=l[u];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(cg(c.overlayElement,r)||cg(c.overlayElement,o))break;let h=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(a)):h.next(a)}})}add(a){if(super.add(a),!this._isAttached){let r=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[pa(this._renderer,r,"pointerdown",this._pointerDownListener,o),pa(this._renderer,r,"click",this._clickListener,o),pa(this._renderer,r,"auxclick",this._clickListener,o),pa(this._renderer,r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(r=>r()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cg(e,t){let i=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=i&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var X1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
23
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Bp=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_containerElement");s(this,"_document",C(He));s(this,"_styleLoader",C(cr))}ngOnDestroy(){var n;(n=this._containerElement)==null||n.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||Xf()){let r=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let a=this._document.createElement("div");a.classList.add(n),Xf()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(X1)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),g0e=class{constructor(e,t,i,n){s(this,"_renderer");s(this,"_ngZone");s(this,"element");s(this,"_cleanupClick");s(this,"_cleanupTransitionEnd");s(this,"_fallbackTimeout");s(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=i,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},Hp=class{constructor(e,t,i,n,a,r,o,l,u,c=!1,h,m){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new be);s(this,"_attachments",new be);s(this,"_detachments",new be);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",pn.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new be);s(this,"_outsidePointerEvents",new be);s(this,"_renders",new be);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=i,this._config=n,this._ngZone=a,this._keyboardDispatcher=r,this._document=o,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=c,this._injector=h,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Zpe(()=>Ny(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var i;!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(),(i=this._afterNextRenderRef)==null||i.destroy(),this._afterNextRenderRef=Xh(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,i,n;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(i=this._host)==null||i.remove(),(n=this._afterNextRenderRef)==null||n.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ue(ue({},this._config),e),this._updateElementSize()}setDirection(e){this._config=bt(ue({},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=Nt(this._config.width),e.height=Nt(this._config.height),e.minWidth=Nt(this._config.minWidth),e.minHeight=Nt(this._config.minHeight),e.maxWidth=Nt(this._config.maxWidth),e.maxHeight=Nt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){var t;let e="cdk-overlay-backdrop-showing";(t=this._backdropRef)==null||t.dispose(),this._backdropRef=new g0e(this._document,this._renderer,this._ngZone,i=>{this._backdropClick.next(i)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{var i;return(i=this._backdropRef)==null?void 0:i.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,i){let n=Xl(t||[]).filter(a=>!!a);n.length&&(i?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Hi(cs(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){var t;let e=this._scrollStrategy;e==null||e.disable(),(t=e==null?void 0:e.detach)==null||t.call(e)}},ug="cdk-overlay-connected-position-bounding-box",v0e=/([A-Za-z%]+)$/,y0e=class{constructor(e,t,i,n,a){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new be);s(this,"_resizeSubscription",pn.EMPTY);s(this,"_offsetX",0);s(this,"_offsetY",0);s(this,"_transformOriginSelector");s(this,"_appliedPanelClasses",[]);s(this,"_previousPushAmount");s(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=a,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(ug),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,i=this._viewportRect,n=this._containerRect,a=[],r;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),u=this._getOverlayPoint(l,t,o),c=this._getOverlayFit(u,t,i,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,i)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!r||r.overlayFit.visibleArea<c.visibleArea)&&(r={overlayFit:c,overlayPoint:u,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let u of a){let c=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);c>l&&(l=c,o=u)}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&&Pa(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ug),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,i){let n;if(i.originX=="center")n=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=i.originX=="start"?r:o}t.left<0&&(n-=t.left);let a;return i.originY=="center"?a=e.top+e.height/2:a=i.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:n,y:a}}_getOverlayPoint(e,t,i){let n;i.overlayX=="center"?n=-t.width/2:i.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let a;return i.overlayY=="center"?a=-t.height/2:a=i.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,t,i,n){let a=hg(t),{x:r,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(r+=l),u&&(o+=u);let c=0-r,h=r+a.width-i.width,m=0-o,v=o+a.height-i.height,g=this._subtractOverflows(a.width,c,h),x=this._subtractOverflows(a.height,m,v),w=g*x;return{visibleArea:w,isCompletelyWithinViewport:a.width*a.height===w,fitsInViewportVertically:x===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){let n=i.bottom-t.y,a=i.right-t.x,r=dg(this._overlayRef.getConfig().minHeight),o=dg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&u}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=hg(t),a=this._viewportRect,r=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),l=Math.max(a.top-i.top-e.y,0),u=Math.max(a.left-i.left-e.x,0),c=0,h=0;return n.width<=a.width?c=u||-r:c=e.x<this._viewportMargin?a.left-i.left-e.x:0,n.height<=a.height?h=l||-o:h=e.y<this._viewportMargin?a.top-i.top-e.y:0,this._previousPushAmount={x:c,y:h},{x:e.x+c,y:e.y+h}}_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 i=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!b0e(this._lastScrollVisibility,i)){let n=new p0e(e,i);this._positionChanges.next(n)}this._lastScrollVisibility=i}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,n=e.overlayY;e.overlayX==="center"?i="center":this._isRtl()?i=e.overlayX==="start"?"right":"left":i=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${i} ${n}`}_calculateBoundingBoxRect(e,t){let i=this._viewportRect,n=this._isRtl(),a,r,o;if(t.overlayY==="top")r=e.y,a=i.height-r+this._viewportMargin;else if(t.overlayY==="bottom")o=i.height-e.y+this._viewportMargin*2,a=i.height-o+this._viewportMargin;else{let v=Math.min(i.bottom-e.y+i.top,e.y),g=this._lastBoundingBoxSize.height;a=v*2,r=e.y-v,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,u=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,h,m;if(u)m=i.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)h=e.x,c=i.right-e.x;else{let v=Math.min(i.right-e.x+i.left,e.x),g=this._lastBoundingBoxSize.width;c=v*2,h=e.x-v,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(h=e.x-g/2)}return{top:r,left:h,bottom:o,right:m,width:c,height:a}}_setBoundingBoxStyles(e,t){let i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=Nt(i.height),n.top=Nt(i.top),n.bottom=Nt(i.bottom),n.width=Nt(i.width),n.left=Nt(i.left),n.right=Nt(i.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=Nt(a)),r&&(n.maxWidth=Nt(r))}this._lastBoundingBoxSize=i,Pa(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Pa(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Pa(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let i={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();Pa(i,this._getExactOverlayY(t,e,c)),Pa(i,this._getExactOverlayX(t,e,c))}else i.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),i.transform=o.trim(),r.maxHeight&&(n?i.maxHeight=Nt(r.maxHeight):a&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=Nt(r.maxWidth):a&&(i.maxWidth="")),Pa(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(a.y+this._overlayRect.height)}px`}else n.top=Nt(a.y);return n}_getExactOverlayX(e,t,i){let n={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));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;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=Nt(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:lg(e,i),isOriginOutsideView:Xd(e,i),isOverlayClipped:lg(t,i),isOverlayOutsideView:Xd(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,n)=>i-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.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&&Xl(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 Rt)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}};function Pa(e,t){for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function dg(e){if(typeof e!="number"&&e!=null){let[t,i]=e.split(v0e);return!i||i==="px"?parseFloat(t):null}return e||null}function hg(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 b0e(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var pg="cdk-global-overlay-wrapper",_0e=class{constructor(){s(this,"_overlayRef");s(this,"_cssPosition","static");s(this,"_topOffset","");s(this,"_bottomOffset","");s(this,"_alignItems","");s(this,"_xPosition","");s(this,"_xOffset","");s(this,"_width","");s(this,"_height","");s(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(pg),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,i=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:r,maxHeight:o}=i,l=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),u=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",v="",g="",x="";l?x="flex-start":c==="center"?(x="center",m?g=h:v=h):m?c==="left"||c==="end"?(x="flex-end",v=h):(c==="right"||c==="start")&&(x="flex-start",g=h):c==="left"||c==="start"?(x="flex-start",v=h):(c==="right"||c==="end")&&(x="flex-end",g=h),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=x,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(pg),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},x0e=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",C(Z1));s(this,"_document",C(He));s(this,"_platform",C(Tn));s(this,"_overlayContainer",C(Bp))}global(){return new _0e}flexibleConnectedTo(n){return new y0e(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ca=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",C(h0e));s(this,"_overlayContainer",C(Bp));s(this,"_positionBuilder",C(x0e));s(this,"_keyboardDispatcher",C(m0e));s(this,"_injector",C(st));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"_directionality",C(Zo));s(this,"_location",C(i1));s(this,"_outsideClickDispatcher",C(f0e));s(this,"_animationsModuleType",C(ar,{optional:!0}));s(this,"_idGenerator",C(co));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",C(cr))}create(n){this._styleLoader.load(X1);let a=this._createHostElement(),r=this._createPaneElement(a),o=this._createPortalOutlet(r),l=new zp(n);return l.direction=l.direction||this._directionality.value,new Hp(o,a,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(wi),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let a=this._document.createElement("div");return a.id=this._idGenerator.getId("cdk-overlay-"),a.classList.add("cdk-overlay-pane"),n.appendChild(a),a}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(wa)),new r0e(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),w0e=new se("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(Ca);return()=>e.scrollStrategies.reposition()}});function E0e(e){return()=>e.scrollStrategies.reposition()}var S0e={provide:w0e,deps:[Ca],useFactory:E0e},Q1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[Ca,S0e],imports:[Ko,ec,og,og]}));let e=t;return e})();function k0e(e,t){}var Qo=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"positionStrategy");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"closeOnDestroy",!0);s(this,"closeOnOverlayDetachments",!0);s(this,"componentFactoryResolver");s(this,"providers");s(this,"container");s(this,"templateContext")}},e_=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_elementRef",C(Rt));s(this,"_focusTrapFactory",C(Tge));s(this,"_config");s(this,"_interactivityChecker",C(B1));s(this,"_ngZone",C(We));s(this,"_overlayRef",C(Hp));s(this,"_focusMonitor",C(Rp));s(this,"_renderer",C(oo));s(this,"_changeDetectorRef",C(lr));s(this,"_injector",C(st));s(this,"_platform",C(Tn));s(this,"_document",C(He,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new be);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",a=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(a);return this._contentAttached(),r});this._config=C(Qo,{optional:!0})||new Qo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(a){this._ariaLabelledByQueue.push(a),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(a){let r=this._ariaLabelledByQueue.indexOf(a);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._contentAttached(),r}attachTemplatePortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(a,r){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),a.removeAttribute("tabindex")},l=this._renderer.listen(a,"blur",o),u=this._renderer.listen(a,"mousedown",o)})),a.focus(r)}_focusByCssSelector(a,r){let o=this._elementRef.nativeElement.querySelector(a);o&&this._forceFocus(o,r)}_trapFocus(a){this._isDestroyed||Xh(()=>{var o;let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(a);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(a)||this._focusDialogContainer(a);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:this._focusByCssSelector(this._config.autoFocus,a);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let a=this._config.restoreFocus,r=null;if(typeof a=="string"?r=this._document.querySelector(a):typeof a=="boolean"?r=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(r=a),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=Tu(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(a){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(a)}_containsFocus(){let a=this._elementRef.nativeElement,r=Tu();return a===r||a.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Tu()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(a,r){if(a&1&&Yl(Xo,7),a&2){let o;Kn(o=Jn())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,r){a&2&&Vt("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Gn],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,r){a&1&&oe(0,k0e,0,0,"ng-template",0)},dependencies:[Xo],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
24
+ `],encapsulation:2}));let e=t;return e})(),Lu=class{constructor(e,t){s(this,"overlayRef");s(this,"config");s(this,"componentInstance");s(this,"componentRef");s(this,"containerInstance");s(this,"disableClose");s(this,"closed",new be);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Fp(i)&&(i.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 i=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(e),i.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}},C0e=new se("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=C(Ca);return()=>e.scrollStrategies.block()}}),I0e=new se("DialogData"),D0e=new se("DefaultDialogConfig"),t_=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ca));s(this,"_injector",C(st));s(this,"_defaultOptions",C(D0e,{optional:!0}));s(this,"_parentDialog",C(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",C(Bp));s(this,"_idGenerator",C(co));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",C(C0e));s(this,"afterAllClosed",Tl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nr(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,a){let r=this._defaultOptions||new Qo;a=ue(ue({},r),a),a.id=a.id||this._idGenerator.getId("cdk-dialog-"),a.id&&this.getDialogById(a.id);let o=this._getOverlayConfig(a),l=this._overlay.create(o),u=new Lu(l,a),c=this._attachContainer(l,u,a);if(u.containerInstance=c,!this.openDialogs.length){let h=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Vn(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(h)}):this._hideNonDialogContentFromAssistiveTechnology(h)}return this._attachDialogContent(n,u,c,a),this.openDialogs.push(u),u.closed.subscribe(()=>this._removeOpenDialog(u,!0)),this.afterOpened.next(u),u}closeAll(){ju(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){ju(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),ju(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let a=new zp({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}_attachContainer(n,a,r){var h;let o=r.injector||((h=r.viewContainerRef)==null?void 0:h.injector),l=[{provide:Qo,useValue:r},{provide:Lu,useValue:a},{provide:Hp,useValue:n}],u;r.container?typeof r.container=="function"?u=r.container:(u=r.container.type,l.push(...r.container.providers(r))):u=e_;let c=new Jo(u,r.viewContainerRef,st.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,a,r,o){if(n instanceof Wr){let l=this._createInjector(o,a,r,void 0),u={$implicit:o.data,dialogRef:a};o.templateContext&&(u=ue(ue({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Vp(n,null,u,l))}else{let l=this._createInjector(o,a,r,this._injector),u=r.attachComponentPortal(new Jo(n,o.viewContainerRef,l));a.componentRef=u,a.componentInstance=u.instance}}_createInjector(n,a,r,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:I0e,useValue:n.data},{provide:Lu,useValue:a}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(a,n,r)):u.push(...n.providers)),n.direction&&(!l||!l.get(Zo,null,{optional:!0}))&&u.push({provide:Zo,useValue:{value:n.direction,change:yt()}}),st.create({parent:l||o,providers:u})}_removeOpenDialog(n,a){let r=this.openDialogs.indexOf(n);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let a=n.parentElement.children;for(let r=a.length-1;r>-1;r--){let o=a[r];o!==n&&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 n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ju(e,t){let i=e.length;for(;i--;)t(e[i])}var T0e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[t_],imports:[Q1,ec,Rge,ec]}));let e=t;return e})();function O0e(e,t){}var mg=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"position");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"delayFocusTrap",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"componentFactoryResolver");s(this,"enterAnimationDuration");s(this,"exitAnimationDuration")}},Vu="mdc-dialog--open",fg="mdc-dialog--opening",gg="mdc-dialog--closing",N0e=150,P0e=75,M0e=(()=>{const t=class t extends e_{constructor(){super(...arguments);s(this,"_animationMode",C(ar,{optional:!0}));s(this,"_animationStateChanged",new Ht);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?yg(this._config.enterAnimationDuration)??N0e:0);s(this,"_exitAnimationDuration",this._animationsEnabled?yg(this._config.exitAnimationDuration)??P0e:0);s(this,"_animationTimer",null);s(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});s(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(vg,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fg,Vu)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Vu),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Vu),this._animationsEnabled?(this._hostElement.style.setProperty(vg,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(gg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(a){this._actionSectionCount+=a,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(fg,gg)}_waitForAnimationToComplete(a,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,a)}_requestAnimationFrame(a){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(a):a()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(a){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(a){let r=super.attachComponentPortal(a);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,r){a&2&&(Fc("id",r._config.id),Vt("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),mn("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Gn],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(V(0,"div",0)(1,"div",1),oe(2,O0e,0,0,"ng-template",2),B()())},dependencies:[Xo],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
25
+ `],encapsulation:2}));let e=t;return e})(),vg="--mat-dialog-transition-duration";function yg(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?qf(e.substring(0,e.length-2)):e.endsWith("s")?qf(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Sl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(Sl||{}),Up=class{constructor(e,t,i){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new be);s(this,"_beforeClosed",new be);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",Sl.OPEN);s(this,"_closeInteractionType");this._ref=e,this._containerInstance=i,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(bi(n=>n.state==="opened"),Vn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(bi(n=>n.state==="closed"),Vn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),cs(this.backdropClick(),this.keydownEvents().pipe(bi(n=>n.keyCode===27&&!this.disableClose&&!Fp(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),n_(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(bi(t=>t.state==="closing"),Vn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=Sl.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=Sl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function n_(e,t,i){return e._closeInteractionType=t,e.close(i)}var i_=new se("MatMdcDialogData"),a_=new se("mat-mdc-dialog-default-options"),A0e=new se("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(Ca);return()=>e.scrollStrategies.block()}}),Uc=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ca));s(this,"_defaultOptions",C(a_,{optional:!0}));s(this,"_scrollStrategy",C(A0e));s(this,"_parentDialog",C(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",C(co));s(this,"_dialog",C(t_));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"dialogConfigClass",mg);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",Tl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nr(void 0))));this._dialogRefConstructor=Up,this._dialogContainerType=M0e,this._dialogDataToken=i_}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(n,a){let r;a=ue(ue({},this._defaultOptions||new mg),a),a.id=a.id||this._idGenerator.getId("mat-mdc-dialog-"),a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,bt(ue({},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:Qo,useValue:a}]},templateContext:()=>({dialogRef:r}),providers:(l,u,c)=>(r=new this._dialogRefConstructor(l,a,c),r.updatePosition(a==null?void 0:a.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:u.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 l=this.openDialogs.indexOf(r);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let a=n.length;for(;a--;)n[a].close()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),r_=(()=>{const t=class t{constructor(){s(this,"dialogRef",C(Up,{optional:!0}));s(this,"_elementRef",C(Rt));s(this,"_dialog",C(Uc));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=u_(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let a=n._matDialogClose||n._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(n){n_(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,a){n&1&&Ti("click",function(r){return a._onButtonClick(r)}),n&2&&Vt("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Nh]}));let e=t;return e})(),o_=(()=>{const t=class t{constructor(){s(this,"_dialogRef",C(Up,{optional:!0}));s(this,"_elementRef",C(Rt));s(this,"_dialog",C(Uc))}ngOnInit(){this._dialogRef||(this._dialogRef=u_(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var n;(n=this._dialogRef)!=null&&n._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t}));let e=t;return e})(),s_=(()=>{const t=class t extends o_{constructor(){super(...arguments);s(this,"id",C(co).getId("mat-mdc-dialog-title-"))}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._addAriaLabelledBy)==null||r.call(a,this.id)}_onRemove(){var a,r,o;(o=(r=(a=this._dialogRef)==null?void 0:a._containerInstance)==null?void 0:r._removeAriaLabelledBy)==null||o.call(r,this.id)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,r){a&2&&Fc("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Gn]}));let e=t;return e})(),l_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[mhe([s0e])]}));let e=t;return e})(),c_=(()=>{const t=class t extends o_{constructor(){super(...arguments);s(this,"align")}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,1)}_onRemove(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,-1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,r){a&2&&mn("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Gn]}));let e=t;return e})();function u_(e,t){let i=e.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?t.find(n=>n.id===i.id):null}var d_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[Uc],imports:[T0e,Q1,ec,Ci,Ci]}));let e=t;return e})(),R0e=new se("MAT_BUTTON_CONFIG"),F0e=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],h_=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_ngZone",C(We));s(this,"_animationMode",C(ar,{optional:!0}));s(this,"_focusMonitor",C(Rp));s(this,"_rippleLoader",C($1));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;C(cr).load(Lp);let n=C(R0e,{optional:!0}),a=this._elementRef.nativeElement,r=a.classList;this.disabledInteractive=(n==null?void 0:n.disabledInteractive)??!1,this.color=(n==null?void 0:n.color)??null,(o=this._rippleLoader)==null||o.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of F0e)a.hasAttribute(l)&&r.add(...u)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",a){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,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 n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ei],disabled:[2,"disabled","disabled",ei],ariaDisabled:[2,"aria-disabled","ariaDisabled",ei],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ei]}}));let e=t;return e})(),L0e=(()=>{const t=class t extends h_{constructor(){super(...arguments);s(this,"_renderer",C(oo));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var a;super.ngOnDestroy(),(a=this._cleanupClick)==null||a.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵdir",rn({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:jc(a)]},features:[Gn]}));let e=t;return e})(),p_=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m_=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],j0e=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
26
+ `,V0e=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
27
+ `,Gc=(()=>{const t=class t extends h_{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,a){n&2&&(Vt("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Ss(a.color?"mat-"+a.color:""),mn("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"],features:[Gn],ngContentSelectors:m_,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(Dn(p_),le(0,"span",0),nt(1),V(2,"span",1),nt(3,1),B(),nt(4,2),le(5,"span",2)(6,"span",3)),n&2&&mn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
28
+ `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
29
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),z0e=(()=>{const t=class t extends L0e{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,a){n&2&&(Vt("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),Ss(a.color?"mat-"+a.color:""),mn("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"],features:[Gn],ngContentSelectors:m_,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(Dn(p_),le(0,"span",0),nt(1),V(2,"span",1),nt(3,1),B(),nt(4,2),le(5,"span",2)(6,"span",3)),n&2&&mn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[j0e,V0e],encapsulation:2,changeDetection:0}));let e=t;return e})(),Wc=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Xge,Ci]}));let e=t;return e})(),f_=(()=>{const t=class t{constructor(){s(this,"changes",new be);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,a,r)=>{if(r==0||a==0)return`0 of ${r}`;r=Math.max(r,0);let o=n*a,l=o<r?Math.min(o+a,r):o+a;return`${o+1} – ${l} of ${r}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Fe=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}(Fe||{}),qi="*";function B0e(e,t=null){return{type:Fe.Sequence,steps:e,options:t}}function bg(e){return{type:Fe.Style,styles:e,offset:null}}var es=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},g_=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,i=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==a&&this._onFinish()}),r.onDestroy(()=>{++i==a&&this._onDestroy()}),r.onStart(()=>{++n==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(i=>{let n=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(n)})}getPosition(){let e=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i: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(i=>i()),t.length=0}},Gp="!";function _g(e){return new Z(3e3,!1)}function H0e(){return new Z(3100,!1)}function U0e(){return new Z(3101,!1)}function G0e(e){return new Z(3001,!1)}function W0e(e){return new Z(3003,!1)}function q0e(e){return new Z(3004,!1)}function $0e(e,t){return new Z(3005,!1)}function Y0e(){return new Z(3006,!1)}function Z0e(){return new Z(3007,!1)}function K0e(e,t){return new Z(3008,!1)}function J0e(e){return new Z(3002,!1)}function X0e(e,t,i,n,a){return new Z(3010,!1)}function Q0e(){return new Z(3011,!1)}function eve(){return new Z(3012,!1)}function tve(){return new Z(3200,!1)}function nve(){return new Z(3202,!1)}function ive(){return new Z(3013,!1)}function ave(e){return new Z(3014,!1)}function rve(e){return new Z(3015,!1)}function ove(e){return new Z(3016,!1)}function sve(e,t){return new Z(3404,!1)}function lve(e){return new Z(3502,!1)}function cve(e){return new Z(3503,!1)}function uve(){return new Z(3300,!1)}function dve(e){return new Z(3504,!1)}function hve(e){return new Z(3301,!1)}function pve(e,t){return new Z(3302,!1)}function mve(e){return new Z(3303,!1)}function fve(e,t){return new Z(3400,!1)}function gve(e){return new Z(3401,!1)}function vve(e){return new Z(3402,!1)}function yve(e,t){return new Z(3505,!1)}function ca(e){switch(e.length){case 0:return new es;case 1:return e[0];default:return new g_(e)}}function v_(e,t,i=new Map,n=new Map){let a=[],r=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),h=c==o,m=h&&l||new Map;u.forEach((v,g)=>{let x=g,w=v;if(g!=="offset")switch(x=e.normalizePropertyName(x,a),w){case Gp:w=i.get(g);break;case qi:w=n.get(g);break;default:w=e.normalizeStyleValue(g,x,w,a);break}m.set(x,w)}),h||r.push(m),l=m,o=c}),a.length)throw lve();return r}function Wp(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&zu(i,"start",e)));break;case"done":e.onDone(()=>n(i&&zu(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&zu(i,"destroy",e)));break}}function zu(e,t,i){let n=i.totalTime,a=!!i.disabled,r=qp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(r._data=o),r}function qp(e,t,i,n,a="",r=0,o){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:a,totalTime:r,disabled:!!o}}function En(e,t,i){let n=e.get(t);return n||e.set(t,n=i),n}function xg(e){let t=e.indexOf(":"),i=e.substring(1,t),n=e.slice(t+1);return[i,n]}var bve=typeof document>"u"?null:document.documentElement;function $p(e){let t=e.parentNode||e.host||null;return t===bve?null:t}function _ve(e){return e.substring(1,6)=="ebkit"}var Ma=null,wg=!1;function xve(e){Ma||(Ma=wve()||{},wg=Ma.style?"WebkitAppearance"in Ma.style:!1);let t=!0;return Ma.style&&!_ve(e)&&(t=e in Ma.style,!t&&wg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Ma.style)),t}function wve(){return typeof document<"u"?document.body:null}function y_(e,t){for(;t;){if(t===e)return!0;t=$p(t)}return!1}function b_(e,t,i){if(i)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var Eve=1e3,__="{{",Sve="}}",x_="ng-enter",Qd="ng-leave",tl="ng-trigger",tc=".ng-trigger",Eg="ng-animating",eh=".ng-animating";function Bi(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:th(parseFloat(t[1]),t[2])}function th(e,t){switch(t){case"s":return e*Eve;default:return e}}function nc(e,t,i){return e.hasOwnProperty("duration")?e:kve(e,t,i)}function kve(e,t,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(_g()),{duration:0,delay:0,easing:""};a=th(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(r=th(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else a=e;if(!i){let l=!1,u=t.length;a<0&&(t.push(H0e()),l=!0),r<0&&(t.push(U0e()),l=!0),l&&t.splice(u,0,_g())}return{duration:a,delay:r,easing:o}}function Cve(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function fi(e,t,i){t.forEach((n,a)=>{let r=Yp(a);i&&!i.has(a)&&i.set(a,e.style[r]),e.style[r]=n})}function Ha(e,t){t.forEach((i,n)=>{let a=Yp(n);e.style[a]=""})}function xo(e){return Array.isArray(e)?e.length==1?e[0]:B0e(e):e}function Ive(e,t,i){let n=t.params||{},a=w_(e);a.length&&a.forEach(r=>{n.hasOwnProperty(r)||i.push(G0e())})}var nh=new RegExp(`${__}\\s*(.+?)\\s*${Sve}`,"g");function w_(e){let t=[];if(typeof e=="string"){let i;for(;i=nh.exec(e);)t.push(i[1]);nh.lastIndex=0}return t}function ts(e,t,i){let n=`${e}`,a=n.replace(nh,(r,o)=>{let l=t[o];return l==null&&(i.push(W0e()),l=""),l.toString()});return a==n?e:a}var Dve=/-+([a-z0-9])/g;function Yp(e){return e.replace(Dve,(...t)=>t[1].toUpperCase())}function Tve(e,t){return e===0||t===0}function Ove(e,t,i){if(i.size&&t.length){let n=t[0],a=[];if(i.forEach((r,o)=>{n.has(o)||a.push(o),n.set(o,r)}),a.length)for(let r=1;r<t.length;r++){let o=t[r];a.forEach(l=>o.set(l,Zp(e,l)))}}return t}function xn(e,t,i){switch(t.type){case Fe.Trigger:return e.visitTrigger(t,i);case Fe.State:return e.visitState(t,i);case Fe.Transition:return e.visitTransition(t,i);case Fe.Sequence:return e.visitSequence(t,i);case Fe.Group:return e.visitGroup(t,i);case Fe.Animate:return e.visitAnimate(t,i);case Fe.Keyframes:return e.visitKeyframes(t,i);case Fe.Style:return e.visitStyle(t,i);case Fe.Reference:return e.visitReference(t,i);case Fe.AnimateChild:return e.visitAnimateChild(t,i);case Fe.AnimateRef:return e.visitAnimateRef(t,i);case Fe.Query:return e.visitQuery(t,i);case Fe.Stagger:return e.visitStagger(t,i);default:throw q0e(t.type)}}function Zp(e,t){return window.getComputedStyle(e)[t]}var Nve=(()=>{const t=class t{validateStyleProperty(n){return xve(n)}containsElement(n,a){return y_(n,a)}getParentElement(n){return $p(n)}query(n,a,r){return b_(n,a,r)}computeStyle(n,a,r){return r||""}animate(n,a,r,o,l,u=[],c){return new es(r,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),id,E_=(id=class{},s(id,"NOOP",new Nve),id),Kp=class{},Pve=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"]),Mve=class extends Kp{normalizePropertyName(e,t){return Yp(e)}normalizeStyleValue(e,t,i,n){let a="",r=i.toString().trim();if(Pve.has(t)&&i!==0&&i!=="0")if(typeof i=="number")a="px";else{let o=i.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push($0e())}return r+a}},ic="*";function Ave(e,t){let i=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Rve(n,i,t)):i.push(e),i}function Rve(e,t,i){if(e[0]==":"){let u=Fve(e,i);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(rve()),t;let a=n[1],r=n[2],o=n[3];t.push(Sg(a,o));let l=a==ic&&o==ic;r[0]=="<"&&!l&&t.push(Sg(o,a))}function Fve(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return t.push(ove()),"* => *"}}var nl=new Set(["true","1"]),il=new Set(["false","0"]);function Sg(e,t){let i=nl.has(e)||il.has(e),n=nl.has(t)||il.has(t);return(a,r)=>{let o=e==ic||e==a,l=t==ic||t==r;return!o&&i&&typeof a=="boolean"&&(o=a?nl.has(e):il.has(e)),!l&&n&&typeof r=="boolean"&&(l=r?nl.has(t):il.has(t)),o&&l}}var S_=":self",Lve=new RegExp(`s*${S_}s*,?`,"g");function k_(e,t,i,n){return new jve(e).build(t,i,n)}var kg="",jve=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,i){let n=new Bve(t);return this._resetContextStyleTimingState(n),xn(this,xo(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=kg,e.collectedStyles=new Map,e.collectedStyles.set(kg,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0,a=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(Y0e()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Fe.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,a.push(this.visitState(l,t))}),l.name=u}else if(o.type==Fe.Transition){let l=this.visitTransition(o,t);i+=l.queryCount,n+=l.depCount,r.push(l)}else t.errors.push(Z0e())}),{type:Fe.Trigger,name:e.name,states:a,transitions:r,queryCount:i,depCount:n,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){let a=new Set,r=n||{};i.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{w_(l).forEach(u=>{r.hasOwnProperty(u)||a.add(u)})})}),a.size&&t.errors.push(K0e(e.name,[...a.values()]))}return{type:Fe.State,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=xn(this,xo(e.animation),t),n=Ave(e.expr,t.errors);return{type:Fe.Transition,matchers:n,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Aa(e.options)}}visitSequence(e,t){return{type:Fe.Sequence,steps:e.steps.map(i=>xn(this,i,t)),options:Aa(e.options)}}visitGroup(e,t){let i=t.currentTime,n=0,a=e.steps.map(r=>{t.currentTime=i;let o=xn(this,r,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Fe.Group,steps:a,options:Aa(e.options)}}visitAnimate(e,t){let i=Uve(e.timings,t.errors);t.currentAnimateTimings=i;let n,a=e.styles?e.styles:bg({});if(a.type==Fe.Keyframes)n=this.visitKeyframes(a,t);else{let r=e.styles,o=!1;if(!r){o=!0;let u={};i.easing&&(u.easing=i.easing),r=bg(u)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(r,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Fe.Animate,timings:i,style:n,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===qi?i.push(o):t.errors.push(J0e()):i.push(new Map(Object.entries(o)));let a=!1,r=null;return i.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(r=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(__)>=0){a=!0;break}}}),{type:Fe.Style,styles:i,easing:r,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(a!=n&&a>=c.startTime&&n<=c.endTime&&(t.errors.push(X0e(l,c.startTime,c.endTime)),h=!1),a=c.startTime),h&&u.set(l,{startTime:a,endTime:n}),t.options&&Ive(o,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:Fe.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Q0e()),i;let n=1,a=0,r=[],o=!1,l=!1,u=0,c=e.steps.map(S=>{let T=this._makeStyleAst(S,t),F=T.offset!=null?T.offset:Hve(T.styles),P=0;return F!=null&&(a++,P=T.offset=F),l=l||P<0||P>1,o=o||P<u,u=P,r.push(P),T});l&&t.errors.push(eve()),o&&t.errors.push(tve());let h=e.steps.length,m=0;a>0&&a<h?t.errors.push(nve()):a==0&&(m=n/(h-1));let v=h-1,g=t.currentTime,x=t.currentAnimateTimings,w=x.duration;return c.forEach((S,T)=>{let F=m>0?T==v?1:m*T:r[T],P=F*w;t.currentTime=g+x.delay+P,x.duration=P,this._validateStyleAst(S,t),S.offset=F,i.styles.push(S)}),i}visitReference(e,t){return{type:Fe.Reference,animation:xn(this,xo(e.animation),t),options:Aa(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Fe.AnimateChild,options:Aa(e.options)}}visitAnimateRef(e,t){return{type:Fe.AnimateRef,animation:this.visitReference(e.animation,t),options:Aa(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=Vve(e.selector);t.currentQuerySelector=i.length?i+" "+a:a,En(t.collectedStyles,t.currentQuerySelector,new Map);let o=xn(this,xo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:Fe.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:e.selector,options:Aa(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(ive());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:nc(e.timings,t.errors,!0);return{type:Fe.Stagger,animation:xn(this,xo(e.animation),t),timings:i,options:null}}};function Vve(e){let t=!!e.split(/\s*,\s*/).find(i=>i==S_);return t&&(e=e.replace(Lve,"")),e=e.replace(/@\*/g,tc).replace(/@\w+/g,i=>tc+"-"+i.slice(1)).replace(/:animating/g,eh),[e,t]}function zve(e){return e?ue({},e):null}var Bve=class{constructor(e){s(this,"errors");s(this,"queryCount",0);s(this,"depCount",0);s(this,"currentTransition",null);s(this,"currentQuery",null);s(this,"currentQuerySelector",null);s(this,"currentAnimateTimings",null);s(this,"currentTime",0);s(this,"collectedStyles",new Map);s(this,"options",null);s(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function Hve(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}return t}function Uve(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=nc(e,t).duration;return Bu(a,0,"")}let i=e;if(i.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Bu(0,0,"");return a.dynamic=!0,a.strValue=i,a}let n=nc(i,t);return Bu(n.duration,n.delay,n.easing)}function Aa(e){return e?(e=ue({},e),e.params&&(e.params=zve(e.params))):e={},e}function Bu(e,t,i){return{duration:e,delay:t,easing:i}}function Jp(e,t,i,n,a,r,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:l}}var Xp=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gve=1,Wve=":enter",qve=new RegExp(Wve,"g"),$ve=":leave",Yve=new RegExp($ve,"g");function C_(e,t,i,n,a,r=new Map,o=new Map,l,u,c=[]){return new Zve().buildKeyframes(e,t,i,n,a,r,o,l,u,c)}var Zve=class{buildKeyframes(e,t,i,n,a,r,o,l,u,c=[]){u=u||new Xp;let h=new Kve(e,t,u,n,a,c,[]);h.options=l;let m=l.delay?Bi(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([r],null,h.errors,l),xn(this,i,h);let v=h.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let x=v.length-1;x>=0;x--){let w=v[x];if(w.element===t){g=w;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,h.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[Jp(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);a!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let n of e){let a=n==null?void 0:n.delay;if(a){let r=typeof a=="number"?a:Bi(ts(a,(n==null?void 0:n.params)??{},t.errors));i.delayNextStep(r)}}}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime,a=i.duration!=null?Bi(i.duration):null,r=i.delay!=null?Bi(i.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,r);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),xn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,n=t,a=e.options;if(a&&(a.params||a.delay)&&(n=t.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==Fe.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ac);let r=Bi(a.delay);n.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>xn(this,r,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?Bi(e.options.delay):0;e.steps.forEach(r=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),xn(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,n=t.params?ts(i,t.params,t.errors):i;return nc(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());let a=e.style;a.type==Fe.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(i.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(a):i.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,n=t.currentTimeline.duration,a=i.duration,r=t.createSubContext().currentTimeline;r.easing=i.easing,e.styles.forEach(o=>{let l=o.offset||0;r.forwardTime(l*a),r.setStyles(o.styles,o.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?Bi(n.delay):0;a&&(t.previousNode.type===Fe.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ac);let r=i,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);a&&h.delayNextStep(a),u===t.element&&(l=h.currentTimeline),xn(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;r=Math.max(r,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,n=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),o=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=i.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;xn(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}},ac={},Kve=class I_{constructor(t,i,n,a,r,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",ac);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=i,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=r,this.errors=o,this.timelines=l,this.currentTimeline=u||new D_(this._driver,i,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,i){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=Bi(n.duration)),n.delay!=null&&(a.delay=Bi(n.delay));let r=n.params;if(r){let o=a.params;o||(o=this.options.params={}),Object.keys(r).forEach(l=>{(!i||!o.hasOwnProperty(l))&&(o[l]=ts(r[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let i=this.options.params;if(i){let n=t.params={};Object.keys(i).forEach(a=>{n[a]=i[a]})}}return t}createSubContext(t=null,i,n){let a=i||this.element,r=new I_(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||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=ac,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,i,n){let a={duration:i??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},r=new Jve(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,i,n,a,r,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(qve,"."+this._enterClassName),t=t.replace(Yve,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!r&&l.length==0&&o.push(ave()),l}},D_=class T_{constructor(t,i,n,a){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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 i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+t),i&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,i){return this.applyStylesToKeyframe(),new T_(this._driver,t,i||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+=Gve,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,i){this._localTimelineStyles.set(t,i),this._globalTimelineStyles.set(t,i),this._styleSummary.set(t,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||qi),this._currentKeyframe.set(i,qi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,i,n,a){i&&this._previousKeyframe.set("easing",i);let r=a&&a.params||{},o=Xve(t,this._globalTimelineStyles);for(let[l,u]of o){let c=ts(u,r,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??qi),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,i)=>{this._currentKeyframe.set(i,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,t)}))}snapshotCurrentStyles(){for(let[t,i]of this._localTimelineStyles)this._pendingStyles.set(t,i),this._updateStyle(t,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let i in this._currentKeyframe)t.push(i);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((i,n)=>{let a=this._styleSummary.get(n);(!a||i.time>a.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((h,m)=>{h===Gp?t.add(m):h===qi&&i.add(m)}),n||c.set("offset",u/this.duration),a.push(c)});let r=[...t.values()],o=[...i.values()];if(n){let l=a[0],u=new Map(l);l.set("offset",0),u.set("offset",1),a=[l,u]}return Jp(this.element,a,r,o,this.duration,this.startTime,this.easing,!1)}},Jve=class extends D_{constructor(t,i,n,a,r,o,l=!1){super(t,i,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=a,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:i,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&i){let r=[],o=n+i,l=i/o,u=new Map(t[0]);u.set("offset",0),r.push(u);let c=new Map(t[0]);c.set("offset",Cg(l)),r.push(c);let h=t.length-1;for(let m=1;m<=h;m++){let v=new Map(t[m]),g=v.get("offset"),x=i+g*n;v.set("offset",Cg(x/o)),r.push(v)}n=o,i=0,a="",t=r}return Jp(this.element,t,this.preStyleProps,this.postStyleProps,n,i,a,!0)}};function Cg(e,t=3){let i=Math.pow(10,t-1);return Math.round(e*i)/i}function Xve(e,t){let i=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let r of n)i.set(r,qi)}else for(let[r,o]of a)i.set(r,o)}),i}function Ig(e,t,i,n,a,r,o,l,u,c,h,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:i,fromStyles:r,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:h,totalTime:m,errors:v}}var Hu={},O_=class{constructor(e,t,i){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return Qve(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,i):new Map}build(e,t,i,n,a,r,o,l,u,c){var Ft;let h=[],m=this.ast.options&&this.ast.options.params||Hu,v=o&&o.params||Hu,g=this.buildStyles(i,v,h),x=l&&l.params||Hu,w=this.buildStyles(n,x,h),S=new Set,T=new Map,F=new Map,P=n==="void",re={params:N_(x,m),delay:(Ft=this.ast.options)==null?void 0:Ft.delay},ve=c?[]:C_(e,t,this.ast.animation,a,r,g,w,re,u,h),ke=0;return ve.forEach(wt=>{ke=Math.max(wt.duration+wt.delay,ke)}),h.length?Ig(t,this._triggerName,i,n,P,g,w,[],[],T,F,ke,h):(ve.forEach(wt=>{let Qe=wt.element,Dt=En(T,Qe,new Set);wt.preStyleProps.forEach(J=>Dt.add(J));let ie=En(F,Qe,new Set);wt.postStyleProps.forEach(J=>ie.add(J)),Qe!==t&&S.add(Qe)}),Ig(t,this._triggerName,i,n,P,g,w,ve,[...S.values()],T,F,ke))}};function Qve(e,t,i,n,a){return e.some(r=>r(t,i,n,a))}function N_(e,t){let i=ue({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(i[n]=a)}),i}var eye=class{constructor(e,t,i){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,n=N_(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,o)=>{r&&(r=ts(r,n,t));let l=this.normalizer.normalizePropertyName(o,t);r=this.normalizer.normalizeStyleValue(o,l,r,t),i.set(o,r)})}),i}};function tye(e,t,i){return new nye(e,t,i)}var nye=class{constructor(e,t,i){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=i,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new eye(n.style,a,i))}),Dg(this.states,"true","1"),Dg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new O_(e,n,this.states))}),this.fallbackTransition=iye(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(a=>a.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function iye(e,t,i){let n=[(o,l)=>!0],a={type:Fe.Sequence,steps:[],options:null},r={type:Fe.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new O_(e,r,t)}function Dg(e,t,i){e.has(t)?e.has(i)||e.set(i,e.get(t)):e.has(i)&&e.set(t,e.get(i))}var aye=new Xp,rye=class{constructor(e,t,i){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=i}register(e,t){let i=[],n=[],a=k_(this._driver,t,i,n);if(i.length)throw cve();this._animations.set(e,a)}_buildPlayer(e,t,i){let n=e.element,a=v_(this._normalizer,e.keyframes,t,i);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let n=[],a=this._animations.get(e),r,o=new Map;if(a?(r=C_(this._driver,t,a,x_,Qd,new Map,new Map,i,aye,n),r.forEach(c=>{let h=En(o,c.element,new Map);c.postStyleProps.forEach(m=>h.set(m,null))})):(n.push(uve()),r=[]),n.length)throw dve();o.forEach((c,h)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(h,v,qi))})});let l=r.map(c=>{let h=o.get(c.element);return this._buildPlayer(c,new Map,h)}),u=ca(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw hve();return t}listen(e,t,i,n){let a=qp(t,"","","");return Wp(this._getPlayer(e),i,a,n),()=>{}}command(e,t,i,n){if(i=="register"){this.register(e,n[0]);return}if(i=="create"){let r=n[0]||{};this.create(e,t,r);return}let a=this._getPlayer(e);switch(i){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(n[0]));break;case"destroy":this.destroy(e);break}}},Tg="ng-animate-queued",oye=".ng-animate-queued",Uu="ng-animate-disabled",sye=".ng-animate-disabled",lye="ng-star-inserted",cye=".ng-star-inserted",uye=[],P_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dye={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zn="__ng_removed",ih=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),n=i?e.value:e;if(this.value=fye(n),i){let a=e,{value:r}=a,o=h0(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(n=>{i[n]==null&&(i[n]=t[n])})}}},Ro="void",Gu=new ih(Ro),hye=class{constructor(e,t,i){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+e,jn(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.has(t))throw pve();if(i==null||i.length==0)throw mve();if(!gye(i))throw fve();let a=En(this._elementListeners,e,[]),r={name:t,phase:i,callback:n};a.push(r);let o=En(this._engine.statesByElement,e,new Map);return o.has(t)||(jn(e,tl),jn(e,tl+"-"+t),o.set(t,Gu)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(r);l>=0&&a.splice(l,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 gve();return t}trigger(e,t,i,n=!0){let a=this._getTrigger(t),r=new ah(this.id,t,e),o=this._engine.statesByElement.get(e);o||(jn(e,tl),jn(e,tl+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new ih(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Gu),u.value!==Ro&&l.value===u.value){if(!bye(l.params,u.params)){let v=[],g=a.matchStyles(l.value,l.params,v),x=a.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Ha(e,g),fi(e,x)})}return}let c=En(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let h=a.matchTransition(l.value,u.value,e,u.params),m=!1;if(!h){if(!n)return;h=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:l,toState:u,player:r,isFallbackTransition:m}),m||(jn(e,Tg),r.onStart(()=>{xr(e,Tg)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let x=g.indexOf(r);x>=0&&g.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,i)=>{this._elementListeners.set(i,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,tc,!0);i.forEach(n=>{if(n[Zn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(r=>r.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,i,n){let a=this._engine.statesByElement.get(e),r=new Map;if(a){let o=[];if(a.forEach((l,u)=>{if(r.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,Ro,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),i&&ca(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let n=new Set;t.forEach(a=>{let r=a.name;if(n.has(r))return;n.add(r);let o=this._triggers.get(r).fallbackTransition,l=i.get(r)||Gu,u=new ih(Ro),c=new ah(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){let a=i.players.length?i.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let r=e;for(;r=r.parentNode;)if(i.statesByElement.get(r)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{let a=e[Zn];(!a||a===P_)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){jn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let a=i.element,r=this._elementListeners.get(a);r&&r.forEach(o=>{if(o.name==i.triggerName){let l=qp(a,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Wp(i.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.sort((i,n)=>{let a=i.transition.ast.depCount,r=n.transition.ast.depCount;return a==0||r==0?a-r:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},pye=class{constructor(e,t,i){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=i}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new hye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,r=this.driver.getParentElement(t);for(;r;){let o=n.get(r);if(o){let l=i.indexOf(o);i.splice(l+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||i.unshift(e)}else i.push(e);return n.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let n of i.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,i,n){if(al(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,i,n),!0}return!1}insertNode(e,t,i,n){if(!al(t))return;let a=t[Zn];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,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),jn(e,Uu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xr(e,Uu))}removeNode(e,t,i){if(al(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,n,a){this.collectedLeaveElements.push(t),t[Zn]={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,i,n,a){return al(t)?this._fetchNamespace(e).listen(t,i,n,a):()=>{}}_buildInstruction(e,t,i,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,tc,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,eh,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ca(this.players).onDone(()=>e());e()})}processLeaveNode(e){var i;let t=e[Zn];if(t&&t.setForRemoval){if(e[Zn]=P_,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(i=e.classList)!=null&&i.contains(Uu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,sye,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];jn(n,lye)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{t=this._flushAnimations(i,e)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?ca(t).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(e){throw vve()}_flushAnimations(e,t){let i=new Xp,n=[],a=new Map,r=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(j=>{c.add(j);let H=this.driver.query(j,oye,!0);for(let te=0;te<H.length;te++)c.add(H[te])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Pg(m,this.collectedEnterElements),g=new Map,x=0;v.forEach((j,H)=>{let te=x_+x++;g.set(H,te),j.forEach(Pe=>jn(Pe,te))});let w=[],S=new Set,T=new Set;for(let j=0;j<this.collectedLeaveElements.length;j++){let H=this.collectedLeaveElements[j],te=H[Zn];te&&te.setForRemoval&&(w.push(H),S.add(H),te.hasAnimation?this.driver.query(H,cye,!0).forEach(Pe=>S.add(Pe)):T.add(H))}let F=new Map,P=Pg(m,Array.from(S));P.forEach((j,H)=>{let te=Qd+x++;F.set(H,te),j.forEach(Pe=>jn(Pe,te))}),e.push(()=>{v.forEach((j,H)=>{let te=g.get(H);j.forEach(Pe=>xr(Pe,te))}),P.forEach((j,H)=>{let te=F.get(H);j.forEach(Pe=>xr(Pe,te))}),w.forEach(j=>{this.processLeaveNode(j)})});let re=[],ve=[];for(let j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(H=>{let te=H.player,Pe=H.element;if(re.push(te),this.collectedEnterElements.length){let et=Pe[Zn];if(et&&et.setForMove){if(et.previousTriggersValues&&et.previousTriggersValues.has(H.triggerName)){let Kt=et.previousTriggersValues.get(H.triggerName),Lt=this.statesByElement.get(H.element);if(Lt&&Lt.has(H.triggerName)){let ci=Lt.get(H.triggerName);ci.value=Kt,Lt.set(H.triggerName,ci)}}te.destroy();return}}let Je=!h||!this.driver.containsElement(h,Pe),Zt=F.get(Pe),Le=g.get(Pe),Be=this._buildInstruction(H,i,Le,Zt,Je);if(Be.errors&&Be.errors.length){ve.push(Be);return}if(Je){te.onStart(()=>Ha(Pe,Be.fromStyles)),te.onDestroy(()=>fi(Pe,Be.toStyles)),n.push(te);return}if(H.isFallbackTransition){te.onStart(()=>Ha(Pe,Be.fromStyles)),te.onDestroy(()=>fi(Pe,Be.toStyles)),n.push(te);return}let lt=[];Be.timelines.forEach(et=>{et.stretchStartingKeyframe=!0,this.disabledNodes.has(et.element)||lt.push(et)}),Be.timelines=lt,i.append(Pe,Be.timelines);let Wn={instruction:Be,player:te,element:Pe};r.push(Wn),Be.queriedElements.forEach(et=>En(o,et,[]).push(te)),Be.preStyleProps.forEach((et,Kt)=>{if(et.size){let Lt=l.get(Kt);Lt||l.set(Kt,Lt=new Set),et.forEach((ci,na)=>Lt.add(na))}}),Be.postStyleProps.forEach((et,Kt)=>{let Lt=u.get(Kt);Lt||u.set(Kt,Lt=new Set),et.forEach((ci,na)=>Lt.add(na))})});if(ve.length){let j=[];ve.forEach(H=>{j.push(yve(H.triggerName,H.errors))}),re.forEach(H=>H.destroy()),this.reportError(j)}let ke=new Map,Ft=new Map;r.forEach(j=>{let H=j.element;i.has(H)&&(Ft.set(H,H),this._beforeAnimationBuild(j.player.namespaceId,j.instruction,ke))}),n.forEach(j=>{let H=j.element;this._getPreviousPlayers(H,!1,j.namespaceId,j.triggerName,null).forEach(te=>{En(ke,H,[]).push(te),te.destroy()})});let wt=w.filter(j=>Mg(j,l,u)),Qe=new Map;Ng(Qe,this.driver,T,u,qi).forEach(j=>{Mg(j,l,u)&&wt.push(j)});let Dt=new Map;v.forEach((j,H)=>{Ng(Dt,this.driver,new Set(j),l,Gp)}),wt.forEach(j=>{let H=Qe.get(j),te=Dt.get(j);Qe.set(j,new Map([...(H==null?void 0:H.entries())??[],...(te==null?void 0:te.entries())??[]]))});let ie=[],J=[],Ie={};r.forEach(j=>{let{element:H,player:te,instruction:Pe}=j;if(i.has(H)){if(c.has(H)){te.onDestroy(()=>fi(H,Pe.toStyles)),te.disabled=!0,te.overrideTotalTime(Pe.totalTime),n.push(te);return}let Je=Ie;if(Ft.size>1){let Le=H,Be=[];for(;Le=Le.parentNode;){let lt=Ft.get(Le);if(lt){Je=lt;break}Be.push(Le)}Be.forEach(lt=>Ft.set(lt,Je))}let Zt=this._buildAnimation(te.namespaceId,Pe,ke,a,Dt,Qe);if(te.setRealPlayer(Zt),Je===Ie)ie.push(te);else{let Le=this.playersByElement.get(Je);Le&&Le.length&&(te.parentPlayer=ca(Le)),n.push(te)}}else Ha(H,Pe.fromStyles),te.onDestroy(()=>fi(H,Pe.toStyles)),J.push(te),c.has(H)&&n.push(te)}),J.forEach(j=>{let H=a.get(j.element);if(H&&H.length){let te=ca(H);j.setRealPlayer(te)}}),n.forEach(j=>{j.parentPlayer?j.syncPlayerEvents(j.parentPlayer):j.destroy()});for(let j=0;j<w.length;j++){let H=w[j],te=H[Zn];if(xr(H,Qd),te&&te.hasAnimation)continue;let Pe=[];if(o.size){let Zt=o.get(H);Zt&&Zt.length&&Pe.push(...Zt);let Le=this.driver.query(H,eh,!0);for(let Be=0;Be<Le.length;Be++){let lt=o.get(Le[Be]);lt&&lt.length&&Pe.push(...lt)}}let Je=Pe.filter(Zt=>!Zt.destroyed);Je.length?vye(this,H,Je):this.processLeaveNode(H)}return w.length=0,ie.forEach(j=>{this.players.push(j),j.onDone(()=>{j.destroy();let H=this.players.indexOf(j);this.players.splice(H,1)}),j.play()}),ie}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,a){let r=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(r=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==Ro;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||r.push(u)})}}return(i||n)&&(r=r.filter(o=>!(i&&i!=o.namespaceId||n&&n!=o.triggerName))),r}_beforeAnimationBuild(e,t,i){let n=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==a,h=En(i,u,[]);this._getPreviousPlayers(u,c,r,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),h.push(m)})}Ha(a,t.fromStyles)}_buildAnimation(e,t,i,n,a,r){let o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,m=t.timelines.map(g=>{let x=g.element;c.add(x);let w=x[Zn];if(w&&w.removedBeforeQueried)return new es(g.duration,g.delay);let S=x!==l,T=yye((i.get(x)||uye).map(ke=>ke.getRealPlayer())).filter(ke=>{let Ft=ke;return Ft.element?Ft.element===x:!1}),F=a.get(x),P=r.get(x),re=v_(this._normalizer,g.keyframes,F,P),ve=this._buildPlayer(g,re,T);if(g.subTimeline&&n&&h.add(x),S){let ke=new ah(e,o,x);ke.setRealPlayer(ve),u.push(ke)}return ve});u.forEach(g=>{En(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>mye(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>jn(g,Eg));let v=ca(m);return v.onDestroy(()=>{c.forEach(g=>xr(g,Eg)),fi(l,t.toStyles)}),h.forEach(g=>{En(n,g,[]).push(v)}),v}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new es(e.duration,e.delay)}},ah=class{constructor(e,t,i){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new es);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=i}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(n=>Wp(e,i,void 0,n))}),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){En(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 mye(e,t,i){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(i);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function fye(e){return e??null}function al(e){return e&&e.nodeType===1}function gye(e){return e=="start"||e=="done"}function Og(e,t){let i=e.style.display;return e.style.display=t??"none",i}function Ng(e,t,i,n,a){let r=[];i.forEach(u=>r.push(Og(u)));let o=[];n.forEach((u,c)=>{let h=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,a);h.set(m,v),(!v||v.length==0)&&(c[Zn]=dye,o.push(c))}),e.set(c,h)});let l=0;return i.forEach(u=>Og(u,r[l++])),o}function Pg(e,t){let i=new Map;if(e.forEach(l=>i.set(l,[])),t.length==0)return i;let n=1,a=new Set(t),r=new Map;function o(l){if(!l)return n;let u=r.get(l);if(u)return u;let c=l.parentNode;return i.has(c)?u=c:a.has(c)?u=n:u=o(c),r.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&i.get(u).push(l)}),i}function jn(e,t){var i;(i=e.classList)==null||i.add(t)}function xr(e,t){var i;(i=e.classList)==null||i.remove(t)}function vye(e,t,i){ca(i).onDone(()=>e.processLeaveNode(t))}function yye(e){let t=[];return M_(e,t),t}function M_(e,t){for(let i=0;i<e.length;i++){let n=e[i];n instanceof g_?M_(n.players,t):t.push(n)}}function bye(e,t){let i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(let a=0;a<i.length;a++){let r=i[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function Mg(e,t,i){let n=i.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(r=>a.add(r)):t.set(e,n),i.delete(e),!0}var rh=class{constructor(e,t,i){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=i,this._transitionEngine=new pye(e.body,t,i),this._timelineEngine=new rye(e.body,t,i),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,i,n,a){let r=e+"-"+n,o=this._triggerCache[r];if(!o){let l=[],u=[],c=k_(this._driver,a,l,u);if(l.length)throw sve();o=tye(n,c,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if(i.charAt(0)=="@"){let[a,r]=xg(i),o=n;this._timelineEngine.command(a,t,r,o)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,a){if(i.charAt(0)=="@"){let[r,o]=xg(i);return this._timelineEngine.listen(r,t,o,a)}return this._transitionEngine.listen(e,t,i,n,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 _ye(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=Wu(t[0]),t.length>1&&(n=Wu(t[t.length-1]))):t instanceof Map&&(i=Wu(t)),i||n?new xye(e,i,n):null}var xye=(()=>{const t=class t{constructor(n,a,r){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=r;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&fi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fi(this._element,this._initialStyles),this._endStyles&&(fi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ha(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ha(this._element,this._endStyles),this._endStyles=null),fi(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Wu(e){let t=null;return e.forEach((i,n)=>{wye(n)&&(t=t||new Map,t.set(n,i))}),t}function wye(e){return e==="display"||e==="position"}var Ag=class{constructor(e,t,i,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=i,this._specialStyles=n,this._duration=i.duration,this._delay=i.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(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}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,i)=>{i!=="offset"&&e.set(i,this._finished?t:Zp(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Eye=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return y_(e,t)}getParentElement(e){return $p(e)}query(e,t,i){return b_(e,t,i)}computeStyle(e,t,i){return Zp(e,t)}animate(e,t,i,n,a,r=[]){let o=n==0?"both":"forwards",l={duration:i,delay:n,fill:o};a&&(l.easing=a);let u=new Map,c=r.filter(v=>v instanceof Ag);Tve(i,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,x)=>u.set(x,g))});let h=Cve(t).map(v=>new Map(v));h=Ove(e,h,u);let m=_ye(e,h);return new Ag(e,h,l,m)}},kl="@",A_="@.disabled",R_=class{constructor(e,t,i,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,i;(i=(t=this.delegate).destroyNode)==null||i.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,i,n=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,i){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==kl&&t==A_?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i,n){return this.delegate.listen(e,t,i,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Sye=class extends R_{constructor(t,i,n,a,r){super(i,n,a,r);s(this,"factory");this.factory=t,this.namespaceId=i}setProperty(t,i,n){i.charAt(0)==kl?i.charAt(1)=="."&&i==A_?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,i.slice(1),n):this.delegate.setProperty(t,i,n)}listen(t,i,n,a){if(i.charAt(0)==kl){let r=kye(t),o=i.slice(1),l="";return o.charAt(0)!=kl&&([o,l]=Cye(o)),this.engine.listen(this.namespaceId,r,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,i,n,a)}};function kye(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Cye(e){let t=e.indexOf("."),i=e.substring(0,t),n=e.slice(t+1);return[i,n]}var Iye=class{constructor(e,t,i){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=i,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let i="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let h=()=>u.delete(n);c=new R_(i,n,this.engine,h),u.set(n,c)}return c}let a=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(a,r,e,u.name,u)};return t.data.animation.forEach(o),new Sye(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[r,o]=a;r(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,i;this.engine.flush(),(i=(t=this.delegate).componentReplaced)==null||i.call(t,e)}},Dye=(()=>{const t=class t extends rh{constructor(n,a,r){super(n,a,r)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe(E_),pe(Kp))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Tye(){return new Mve}function Oye(e,t,i){return new Iye(e,t,i)}var Nye=[{provide:Kp,useFactory:Tye},{provide:rh,useClass:Dye},{provide:oi,useFactory:Oye,deps:[Wd,rh,We]}],Pye=[{provide:E_,useFactory:()=>new Eye},{provide:ar,useFactory:()=>"BrowserAnimations"},...Nye];function Mye(){return rr("NgEagerAnimations"),[...Pye]}var Aye=(()=>{const t=class t extends f_{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,r,o)=>{if(o===0||r===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*r,u=l<o?Math.min(l+r,o):l+r;return`${l+1} - ${u} / ${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(n){return new(n||t)(pe(li))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})(),F_=6048e5,Rye=864e5,Fye=6e4,Lye=36e5,jye=1e3,Rg=Symbol.for("constructDateFrom");function pt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Rg in e?e[Rg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ve(e,t){return pt(t||e,e)}function ur(e,t,i){let n=Ve(e,i==null?void 0:i.in);return isNaN(t)?pt((i==null?void 0:i.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Vye(e,t,i){let n=Ve(e,i==null?void 0:i.in);if(isNaN(t))return pt(e,NaN);let a=n.getDate(),r=pt(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);let o=r.getDate();return a>=o?r:(n.setFullYear(r.getFullYear(),r.getMonth(),a),n)}var zye={};function dr(){return zye}function Ji(e,t){var l,u,c,h;let i=dr(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??i.weekStartsOn??((h=(c=i.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,a=Ve(e,t==null?void 0:t.in),r=a.getDay(),o=(r<n?7:0)+r-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function nr(e,t){return Ji(e,bt(ue({},t),{weekStartsOn:1}))}function L_(e,t){let i=Ve(e,t==null?void 0:t.in),n=i.getFullYear(),a=pt(i,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let r=nr(a),o=pt(i,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=nr(o);return i.getTime()>=r.getTime()?n+1:i.getTime()>=l.getTime()?n:n-1}function rc(e){let t=Ve(e),i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return i.setUTCFullYear(t.getFullYear()),+e-+i}function Qp(e,...t){let i=pt.bind(null,t.find(n=>typeof n=="object"));return t.map(i)}function Ii(e,t){let i=Ve(e,t==null?void 0:t.in);return i.setHours(0,0,0,0),i}function Bye(e,t,i){let[n,a]=Qp(i==null?void 0:i.in,e,t),r=Ii(n),o=Ii(a),l=+r-rc(r),u=+o-rc(o);return Math.round((l-u)/Rye)}function Hye(e,t){let i=L_(e,t),n=pt(e,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),nr(n)}function Uye(e,t,i){return ur(e,t*7,i)}function Gye(e,t,i){return Vye(e,t*12,i)}function Wye(e,t){let i,n=t==null?void 0:t.in;return e.forEach(a=>{!n&&typeof a=="object"&&(n=pt.bind(null,a));let r=Ve(a,n);(!i||i>r||isNaN(+r))&&(i=r)}),pt(n,i||NaN)}function qye(e,t){let i=+Ve(e);if(isNaN(i))return NaN;let n,a;return t.forEach((r,o)=>{let l=Ve(r);if(isNaN(+l)){n=NaN,a=NaN;return}let u=Math.abs(i-+l);(n==null||u<a)&&(n=o,a=u)}),n}function $ye(e,t,i){let[n,...a]=Qp(i==null?void 0:i.in,e,...t),r=qye(n,a);if(typeof r=="number"&&isNaN(r))return pt(n,NaN);if(r!==void 0)return a[r]}function Yye(e,t,i){let[n,a]=Qp(i==null?void 0:i.in,e,t);return+Ii(n)==+Ii(a)}function Zye(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function j_(e){return!(!Zye(e)&&typeof e!="number"||isNaN(+Ve(e)))}function Kye(e,t){let i=Ve(e,t==null?void 0:t.in);return i.setHours(23,59,59,999),i}function Jye(e,t){let i=Ve(e,t==null?void 0:t.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}function Xye(e,t){var l,u,c,h;let i=dr(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??i.weekStartsOn??((h=(c=i.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,a=Ve(e,t==null?void 0:t.in),r=a.getDay(),o=(r<n?-7:0)+6-(r-n);return a.setDate(a.getDate()+o),a.setHours(23,59,59,999),a}var Qye={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"}},ebe=(e,t,i)=>{let n,a=Qye[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+n:n+" ago":n};function qu(e){return(t={})=>{let i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var tbe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},nbe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ibe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},abe={date:qu({formats:tbe,defaultWidth:"full"}),time:qu({formats:nbe,defaultWidth:"full"}),dateTime:qu({formats:ibe,defaultWidth:"full"})},rbe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},obe=(e,t,i,n)=>rbe[e];function wo(e){return(t,i)=>{let n=i!=null&&i.context?String(i.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=i!=null&&i.width?String(i.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=i!=null&&i.width?String(i.width):e.defaultWidth;a=e.values[l]||e.values[o]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var sbe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},lbe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},cbe={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"]},ube={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"]},dbe={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"}},hbe={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"}},pbe=(e,t)=>{let i=Number(e),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},mbe={ordinalNumber:pbe,era:wo({values:sbe,defaultWidth:"wide"}),quarter:wo({values:lbe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wo({values:cbe,defaultWidth:"wide"}),day:wo({values:ube,defaultWidth:"wide"}),dayPeriod:wo({values:dbe,defaultWidth:"wide",formattingValues:hbe,defaultFormattingWidth:"wide"})};function Eo(e){return(t,i={})=>{let n=i.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let o=r[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?gbe(l,m=>m.test(o)):fbe(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=i.valueCallback?i.valueCallback(c):c;let h=t.slice(o.length);return{value:c,rest:h}}}function fbe(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}function gbe(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}function vbe(e){return(t,i={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],r=t.match(e.parsePattern);if(!r)return null;let o=e.valueCallback?e.valueCallback(r[0]):r[0];o=i.valueCallback?i.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var ybe=/^(\d+)(th|st|nd|rd)?/i,bbe=/\d+/i,_be={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},xbe={any:[/^b/i,/^(a|c)/i]},wbe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ebe={any:[/1/i,/2/i,/3/i,/4/i]},Sbe={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]},Cbe={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},Ibe={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]},Dbe={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},Tbe={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}},Obe={ordinalNumber:vbe({matchPattern:ybe,parsePattern:bbe,valueCallback:e=>parseInt(e,10)}),era:Eo({matchPatterns:_be,defaultMatchWidth:"wide",parsePatterns:xbe,defaultParseWidth:"any"}),quarter:Eo({matchPatterns:wbe,defaultMatchWidth:"wide",parsePatterns:Ebe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Eo({matchPatterns:Sbe,defaultMatchWidth:"wide",parsePatterns:kbe,defaultParseWidth:"any"}),day:Eo({matchPatterns:Cbe,defaultMatchWidth:"wide",parsePatterns:Ibe,defaultParseWidth:"any"}),dayPeriod:Eo({matchPatterns:Dbe,defaultMatchWidth:"any",parsePatterns:Tbe,defaultParseWidth:"any"})},V_={code:"en-US",formatDistance:ebe,formatLong:abe,formatRelative:obe,localize:mbe,match:Obe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Nbe(e,t){let i=Ve(e,t==null?void 0:t.in);return Bye(i,Jye(i))+1}function em(e,t){let i=Ve(e,t==null?void 0:t.in),n=+nr(i)-+Hye(i);return Math.round(n/F_)+1}function tm(e,t){var h,m,v,g;let i=Ve(e,t==null?void 0:t.in),n=i.getFullYear(),a=dr(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=pt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,r),o.setHours(0,0,0,0);let l=Ji(o,t),u=pt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,r),u.setHours(0,0,0,0);let c=Ji(u,t);return+i>=+l?n+1:+i>=+c?n:n-1}function Pbe(e,t){var o,l,u,c;let i=dr(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??i.firstWeekContainsDate??((c=(u=i.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,a=tm(e,t),r=pt((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,n),r.setHours(0,0,0,0),Ji(r,t)}function z_(e,t){let i=Ve(e,t==null?void 0:t.in),n=+Ji(i,t)-+Pbe(i,t);return Math.round(n/F_)+1}function Ze(e,t){let i=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return i+n}var ra={y(e,t){let i=e.getFullYear(),n=i>0?i:1-i;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let i=e.getMonth();return t==="M"?String(i+1):Ze(i+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let i=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,i-3));return Ze(a,t.length)}},yr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Fg={G:function(e,t,i){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});case"GGGG":default:return i.era(n,{width:"wide"})}},y:function(e,t,i){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return i.ordinalNumber(a,{unit:"year"})}return ra.y(e,t)},Y:function(e,t,i,n){let a=tm(e,n),r=a>0?a:1-a;if(t==="YY"){let o=r%100;return Ze(o,2)}return t==="Yo"?i.ordinalNumber(r,{unit:"year"}):Ze(r,t.length)},R:function(e,t){let i=L_(e);return Ze(i,t.length)},u:function(e,t){let i=e.getFullYear();return Ze(i,t.length)},Q:function(e,t,i){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,i){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,i){let n=e.getMonth();switch(t){case"M":case"MM":return ra.M(e,t);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,i){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,i,n){let a=z_(e,n);return t==="wo"?i.ordinalNumber(a,{unit:"week"}):Ze(a,t.length)},I:function(e,t,i){let n=em(e);return t==="Io"?i.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,i){return t==="do"?i.ordinalNumber(e.getDate(),{unit:"date"}):ra.d(e,t)},D:function(e,t,i){let n=Nbe(e);return t==="Do"?i.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,i){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});case"EEEE":default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,i,n){let a=e.getDay(),r=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return Ze(r,2);case"eo":return i.ordinalNumber(r,{unit:"day"});case"eee":return i.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(a,{width:"short",context:"formatting"});case"eeee":default:return i.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,i,n){let a=e.getDay(),r=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return Ze(r,t.length);case"co":return i.ordinalNumber(r,{unit:"day"});case"ccc":return i.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(a,{width:"narrow",context:"standalone"});case"cccccc":return i.day(a,{width:"short",context:"standalone"});case"cccc":default:return i.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,i){let n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Ze(a,t.length);case"io":return i.ordinalNumber(a,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});case"iiii":default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,i){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,i){let n=e.getHours(),a;switch(n===12?a=yr.noon:n===0?a=yr.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,i){let n=e.getHours(),a;switch(n>=17?a=yr.evening:n>=12?a=yr.afternoon:n>=4?a=yr.morning:a=yr.night,t){case"B":case"BB":case"BBB":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,i){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return ra.h(e,t)},H:function(e,t,i){return t==="Ho"?i.ordinalNumber(e.getHours(),{unit:"hour"}):ra.H(e,t)},K:function(e,t,i){let n=e.getHours()%12;return t==="Ko"?i.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,i){let n=e.getHours();return n===0&&(n=24),t==="ko"?i.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,i){return t==="mo"?i.ordinalNumber(e.getMinutes(),{unit:"minute"}):ra.m(e,t)},s:function(e,t,i){return t==="so"?i.ordinalNumber(e.getSeconds(),{unit:"second"}):ra.s(e,t)},S:function(e,t){return ra.S(e,t)},X:function(e,t,i){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return jg(n);case"XXXX":case"XX":return ja(n);case"XXXXX":case"XXX":default:return ja(n,":")}},x:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"x":return jg(n);case"xxxx":case"xx":return ja(n);case"xxxxx":case"xxx":default:return ja(n,":")}},O:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Lg(n,":");case"OOOO":default:return"GMT"+ja(n,":")}},z:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Lg(n,":");case"zzzz":default:return"GMT"+ja(n,":")}},t:function(e,t,i){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,i){return Ze(+e,t.length)}};function Lg(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),r=n%60;return r===0?i+String(a):i+String(a)+t+Ze(r,2)}function jg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):ja(e,t)}function ja(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=Ze(Math.trunc(n/60),2),r=Ze(n%60,2);return i+a+t+r}var Vg=(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"})}},B_=(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"})}},Mbe=(e,t)=>{let i=e.match(/(P+)(p+)?/)||[],n=i[1],a=i[2];if(!a)return Vg(e,t);let r;switch(n){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}}",Vg(n,t)).replace("{{time}}",B_(a,t))},oh={p:B_,P:Mbe},Abe=/^D+$/,Rbe=/^Y+$/,Fbe=["D","DD","YY","YYYY"];function H_(e){return Abe.test(e)}function U_(e){return Rbe.test(e)}function sh(e,t,i){let n=Lbe(e,t,i);if(console.warn(n),Fbe.includes(e))throw new RangeError(n)}function Lbe(e,t,i){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var jbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vbe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zbe=/^'([^]*?)'?$/,Bbe=/''/g,Hbe=/[a-zA-Z]/;function Ua(e,t,i){var h,m,v,g,x,w,S,T;let n=dr(),a=(i==null?void 0:i.locale)??n.locale??V_,r=(i==null?void 0:i.firstWeekContainsDate)??((m=(h=i==null?void 0:i.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(i==null?void 0:i.weekStartsOn)??((w=(x=i==null?void 0:i.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??n.weekStartsOn??((T=(S=n.locale)==null?void 0:S.options)==null?void 0:T.weekStartsOn)??0,l=Ve(e,i==null?void 0:i.in);if(!j_(l))throw new RangeError("Invalid time value");let u=t.match(Vbe).map(F=>{let P=F[0];if(P==="p"||P==="P"){let re=oh[P];return re(F,a.formatLong)}return F}).join("").match(jbe).map(F=>{if(F==="''")return{isToken:!1,value:"'"};let P=F[0];if(P==="'")return{isToken:!1,value:Ube(F)};if(Fg[P])return{isToken:!0,value:F};if(P.match(Hbe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:F}});a.localize.preprocessor&&(u=a.localize.preprocessor(l,u));let c={firstWeekContainsDate:r,weekStartsOn:o,locale:a};return u.map(F=>{if(!F.isToken)return F.value;let P=F.value;(!(i!=null&&i.useAdditionalWeekYearTokens)&&U_(P)||!(i!=null&&i.useAdditionalDayOfYearTokens)&&H_(P))&&sh(P,t,String(e));let re=Fg[P[0]];return re(l,P,a.localize,c)}).join("")}function Ube(e){let t=e.match(zbe);return t?t[1].replace(Bbe,"'"):e}function rl(e,t){return Ve(e,t==null?void 0:t.in).getDate()}function G_(){return Object.assign({},dr())}function W_(e,t){let i=Ve(e,t==null?void 0:t.in).getDay();return i===0?7:i}function zg(e,t){return Ve(e,t==null?void 0:t.in).getMonth()}function Gbe(e,t){return+Ve(e)>+Ve(t)}function qc(e,t){return+Ve(e)<+Ve(t)}function Wbe(e,t){let i=qbe(t)?new t(0):pt(t,0);return i.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i}function qbe(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var $be=10,q_=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Ybe=class extends q_{constructor(e,t,i,n,a){super(),this.value=e,this.validateValue=t,this.setValue=i,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,i){return this.setValue(e,t,this.value,i)}},Zbe=class extends q_{constructor(t,i){super();s(this,"priority",$be);s(this,"subPriority",-1);this.context=t||(n=>pt(i,n))}set(t,i){return i.timestampIsSet?t:pt(t,Wbe(t,this.context))}},$e=class{run(e,t,i,n){let a=this.parse(e,t,i,n);return a?{setter:new Ybe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,i){return!0}},Kbe=class extends $e{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,i,n){switch(i){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,i,n){return i.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},kt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},gi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ct(e,t){return e&&{value:t(e.value),rest:e.rest}}function ut(e,t){let i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function vi(e,t){let i=t.match(e);if(!i)return null;if(i[0]==="Z")return{value:0,rest:t.slice(1)};let n=i[1]==="+"?1:-1,a=i[2]?parseInt(i[2],10):0,r=i[3]?parseInt(i[3],10):0,o=i[5]?parseInt(i[5],10):0;return{value:n*(a*Lye+r*Fye+o*jye),rest:t.slice(i[0].length)}}function $_(e){return ut(kt.anyDigitsSigned,e)}function xt(e,t){switch(e){case 1:return ut(kt.singleDigit,t);case 2:return ut(kt.twoDigits,t);case 3:return ut(kt.threeDigits,t);case 4:return ut(kt.fourDigits,t);default:return ut(new RegExp("^\\d{1,"+e+"}"),t)}}function oc(e,t){switch(e){case 1:return ut(kt.singleDigitSigned,t);case 2:return ut(kt.twoDigitsSigned,t);case 3:return ut(kt.threeDigitsSigned,t);case 4:return ut(kt.fourDigitsSigned,t);default:return ut(new RegExp("^-?\\d{1,"+e+"}"),t)}}function nm(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Y_(e,t){let i=t>0,n=i?t:1-t,a;if(n<=50)a=e||100;else{let r=n+50,o=Math.trunc(r/100)*100,l=e>=r%100;a=e+o-(l?100:0)}return i?a:1-a}function Z_(e){return e%400===0||e%4===0&&e%100!==0}var Jbe=class extends $e{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,i,n){let a=r=>({year:r,isTwoDigitYear:i==="yy"});switch(i){case"y":return Ct(xt(4,t),a);case"yo":return Ct(n.ordinalNumber(t,{unit:"year"}),a);default:return Ct(xt(i.length,t),a)}}validate(t,i){return i.isTwoDigitYear||i.year>0}set(t,i,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=Y_(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let r=!("era"in i)||i.era===1?n.year:1-n.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Xbe=class extends $e{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,i,n){let a=r=>({year:r,isTwoDigitYear:i==="YY"});switch(i){case"Y":return Ct(xt(4,t),a);case"Yo":return Ct(n.ordinalNumber(t,{unit:"year"}),a);default:return Ct(xt(i.length,t),a)}}validate(t,i){return i.isTwoDigitYear||i.year>0}set(t,i,n,a){let r=tm(t,a);if(n.isTwoDigitYear){let l=Y_(n.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Ji(t,a)}let o=!("era"in i)||i.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Ji(t,a)}},Qbe=class extends $e{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,i){return oc(i==="R"?4:i.length,t)}set(t,i,n){let a=pt(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),nr(a)}},e1e=class extends $e{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,i){return oc(i==="u"?4:i.length,t)}set(t,i,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},t1e=class extends $e{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,i,n){switch(i){case"Q":case"QQ":return xt(i.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,i){return i>=1&&i<=4}set(t,i,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},n1e=class extends $e{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,i,n){switch(i){case"q":case"qq":return xt(i.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,i){return i>=1&&i<=4}set(t,i,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},i1e=class extends $e{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,i,n){let a=r=>r-1;switch(i){case"M":return Ct(ut(kt.month,t),a);case"MM":return Ct(xt(2,t),a);case"Mo":return Ct(n.ordinalNumber(t,{unit:"month"}),a);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,i){return i>=0&&i<=11}set(t,i,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},a1e=class extends $e{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,i,n){let a=r=>r-1;switch(i){case"L":return Ct(ut(kt.month,t),a);case"LL":return Ct(xt(2,t),a);case"Lo":return Ct(n.ordinalNumber(t,{unit:"month"}),a);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,i){return i>=0&&i<=11}set(t,i,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function r1e(e,t,i){let n=Ve(e,i==null?void 0:i.in),a=z_(n,i)-t;return n.setDate(n.getDate()-a*7),Ve(n,i==null?void 0:i.in)}var o1e=class extends $e{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,i,n){switch(i){case"w":return ut(kt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return xt(i.length,t)}}validate(t,i){return i>=1&&i<=53}set(t,i,n,a){return Ji(r1e(t,n,a),a)}};function s1e(e,t,i){let n=Ve(e,i==null?void 0:i.in),a=em(n,i)-t;return n.setDate(n.getDate()-a*7),n}var l1e=class extends $e{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,i,n){switch(i){case"I":return ut(kt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return xt(i.length,t)}}validate(t,i){return i>=1&&i<=53}set(t,i,n){return nr(s1e(t,n))}},c1e=[31,28,31,30,31,30,31,31,30,31,30,31],u1e=[31,29,31,30,31,30,31,31,30,31,30,31],d1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,i,n){switch(i){case"d":return ut(kt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return xt(i.length,t)}}validate(t,i){let n=t.getFullYear(),a=Z_(n),r=t.getMonth();return a?i>=1&&i<=u1e[r]:i>=1&&i<=c1e[r]}set(t,i,n){return t.setDate(n),t.setHours(0,0,0,0),t}},h1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,i,n){switch(i){case"D":case"DD":return ut(kt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return xt(i.length,t)}}validate(t,i){let n=t.getFullYear();return Z_(n)?i>=1&&i<=366:i>=1&&i<=365}set(t,i,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function im(e,t,i){var h,m,v,g;let n=dr(),a=(i==null?void 0:i.weekStartsOn)??((m=(h=i==null?void 0:i.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=Ve(e,i==null?void 0:i.in),o=r.getDay(),l=(t%7+7)%7,u=7-a,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return ur(r,c,i)}var p1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,i,n){switch(i){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,i){return i>=0&&i<=6}set(t,i,n,a){return t=im(t,n,a),t.setHours(0,0,0,0),t}},m1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,i,n,a){let r=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(i){case"e":case"ee":return Ct(xt(i.length,t),r);case"eo":return Ct(n.ordinalNumber(t,{unit:"day"}),r);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,i){return i>=0&&i<=6}set(t,i,n,a){return t=im(t,n,a),t.setHours(0,0,0,0),t}},f1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,i,n,a){let r=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(i){case"c":case"cc":return Ct(xt(i.length,t),r);case"co":return Ct(n.ordinalNumber(t,{unit:"day"}),r);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,i){return i>=0&&i<=6}set(t,i,n,a){return t=im(t,n,a),t.setHours(0,0,0,0),t}};function g1e(e,t,i){let n=Ve(e,i==null?void 0:i.in),a=W_(n,i),r=t-a;return ur(n,r,i)}var v1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,i,n){let a=r=>r===0?7:r;switch(i){case"i":case"ii":return xt(i.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return Ct(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ct(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ct(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ct(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,i){return i>=1&&i<=7}set(t,i,n){return t=g1e(t,n),t.setHours(0,0,0,0),t}},y1e=class extends $e{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,i,n){switch(i){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,i,n){return t.setHours(nm(n),0,0,0),t}},b1e=class extends $e{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,i,n){switch(i){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,i,n){return t.setHours(nm(n),0,0,0),t}},_1e=class extends $e{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,i,n){switch(i){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,i,n){return t.setHours(nm(n),0,0,0),t}},x1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,i,n){switch(i){case"h":return ut(kt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return xt(i.length,t)}}validate(t,i){return i>=1&&i<=12}set(t,i,n){let a=t.getHours()>=12;return a&&n<12?t.setHours(n+12,0,0,0):!a&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},w1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,i,n){switch(i){case"H":return ut(kt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return xt(i.length,t)}}validate(t,i){return i>=0&&i<=23}set(t,i,n){return t.setHours(n,0,0,0),t}},E1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,i,n){switch(i){case"K":return ut(kt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return xt(i.length,t)}}validate(t,i){return i>=0&&i<=11}set(t,i,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},S1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,i,n){switch(i){case"k":return ut(kt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return xt(i.length,t)}}validate(t,i){return i>=1&&i<=24}set(t,i,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},k1e=class extends $e{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,i,n){switch(i){case"m":return ut(kt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return xt(i.length,t)}}validate(t,i){return i>=0&&i<=59}set(t,i,n){return t.setMinutes(n,0,0),t}},C1e=class extends $e{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,i,n){switch(i){case"s":return ut(kt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return xt(i.length,t)}}validate(t,i){return i>=0&&i<=59}set(t,i,n){return t.setSeconds(n,0),t}},I1e=class extends $e{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,i){let n=a=>Math.trunc(a*Math.pow(10,-i.length+3));return Ct(xt(i.length,t),n)}set(t,i,n){return t.setMilliseconds(n),t}},D1e=class extends $e{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,i){switch(i){case"X":return vi(gi.basicOptionalMinutes,t);case"XX":return vi(gi.basic,t);case"XXXX":return vi(gi.basicOptionalSeconds,t);case"XXXXX":return vi(gi.extendedOptionalSeconds,t);case"XXX":default:return vi(gi.extended,t)}}set(t,i,n){return i.timestampIsSet?t:pt(t,t.getTime()-rc(t)-n)}},T1e=class extends $e{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,i){switch(i){case"x":return vi(gi.basicOptionalMinutes,t);case"xx":return vi(gi.basic,t);case"xxxx":return vi(gi.basicOptionalSeconds,t);case"xxxxx":return vi(gi.extendedOptionalSeconds,t);case"xxx":default:return vi(gi.extended,t)}}set(t,i,n){return i.timestampIsSet?t:pt(t,t.getTime()-rc(t)-n)}},O1e=class extends $e{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return $_(t)}set(t,i,n){return[pt(t,n*1e3),{timestampIsSet:!0}]}},N1e=class extends $e{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return $_(t)}set(t,i,n){return[pt(t,n),{timestampIsSet:!0}]}},P1e={G:new Kbe,y:new Jbe,Y:new Xbe,R:new Qbe,u:new e1e,Q:new t1e,q:new n1e,M:new i1e,L:new a1e,w:new o1e,I:new l1e,d:new d1e,D:new h1e,E:new p1e,e:new m1e,c:new f1e,i:new v1e,a:new y1e,b:new b1e,B:new _1e,h:new x1e,H:new w1e,K:new E1e,k:new S1e,m:new k1e,s:new C1e,S:new I1e,X:new D1e,x:new T1e,t:new O1e,T:new N1e},M1e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A1e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,R1e=/^'([^]*?)'?$/,F1e=/''/g,L1e=/\S/,j1e=/[a-zA-Z]/;function K_(e,t,i,n){var S,T,F,P;let a=()=>pt(i,NaN),r=G_(),o=r.locale??V_,l=r.firstWeekContainsDate??((T=(S=r.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,u=r.weekStartsOn??((P=(F=r.locale)==null?void 0:F.options)==null?void 0:P.weekStartsOn)??0;if(!t)return e?a():Ve(i,n==null?void 0:n.in);let c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},h=[new Zbe(n==null?void 0:n.in,i)],m=t.match(A1e).map(re=>{let ve=re[0];if(ve in oh){let ke=oh[ve];return ke(re,o.formatLong)}return re}).join("").match(M1e),v=[];for(let re of m){U_(re)&&sh(re,t,e),H_(re)&&sh(re,t,e);let ve=re[0],ke=P1e[ve];if(ke){let{incompatibleTokens:Ft}=ke;if(Array.isArray(Ft)){let Qe=v.find(Dt=>Ft.includes(Dt.token)||Dt.token===ve);if(Qe)throw new RangeError(`The format string mustn't contain \`${Qe.fullToken}\` and \`${re}\` at the same time`)}else if(ke.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${re}\` and any other token at the same time`);v.push({token:ve,fullToken:re});let wt=ke.run(e,re,o.match,c);if(!wt)return a();h.push(wt.setter),e=wt.rest}else{if(ve.match(j1e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ve+"`");if(re==="''"?re="'":ve==="'"&&(re=V1e(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&L1e.test(e))return a();let g=h.map(re=>re.priority).sort((re,ve)=>ve-re).filter((re,ve,ke)=>ke.indexOf(re)===ve).map(re=>h.filter(ve=>ve.priority===re).sort((ve,ke)=>ke.subPriority-ve.subPriority)).map(re=>re[0]),x=Ve(i,n==null?void 0:n.in);if(isNaN(+x))return a();let w={};for(let re of g){if(!re.validate(x,c))return a();let ve=re.set(x,w,c);Array.isArray(ve)?(x=ve[0],Object.assign(w,ve[1])):x=ve}return x}function V1e(e){return e.match(R1e)[1].replace(F1e,"'")}function z1e(e,t,i){let n=+Ve(e,i==null?void 0:i.in),[a,r]=[+Ve(t.start,i==null?void 0:i.in),+Ve(t.end,i==null?void 0:i.in)].sort((o,l)=>o-l);return n>=a&&n<=r}function B1e(e,t,i){return ur(e,-1,i)}var I=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}(I||{}),$c=new se("ngx-mask config"),J_=new se("new ngx-mask config"),X_=new se("initial ngx-mask config"),H1e={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new Ht,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")}}};I.HOURS_MINUTES_SECONDS,I.HOURS_MINUTES,I.MINUTES_SECONDS;I.PERCENT,I.HOURS_HOUR,I.SECONDS,I.MINUTES,I.SEPARATOR,I.DAYS_MONTHS_YEARS,I.DAYS_MONTHS,I.DAYS,I.MONTHS;var U1e=(()=>{const t=class t{constructor(){s(this,"_config",C($c));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(n,a,r,o)=>{var g;let l=[],u="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=n.split(x),u=((g=n.match(x))==null?void 0:g[0])??I.EMPTY_STRING}else l=n.split(r),u=r;let c=l.length>1?`${u}${l[1]}`:I.EMPTY_STRING,h=l[0]??I.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,I.EMPTY_STRING);m&&+m&&(h[0]===I.MINUS?h=`-${h.slice(1,h.length).slice(0,m.length)}`:h=h.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(h);)h=h.replace(v,"$1"+a+"$2");return typeof o>"u"?h+c:o===0?h:h+c.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),r=Number(this.allowNegativeNumbers&&n.includes(I.MINUS)?a.slice(1,n.length):a);return!isNaN(r)&&r>=0&&r<=100});s(this,"getPrecision",n=>{let a=n.split(I.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,r,o,l;for(let u=((a=this.suffix)==null?void 0:a.length)-1;u>=0;u--){let c=this.suffix.substring(u,(r=this.suffix)==null?void 0:r.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,I.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,r)=>{var u;let o=n,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),h=o.match(c),m=(h&&((u=h[0])==null?void 0:u.length))??0;if(m-1>a){let v=m-1-a;o=o.substring(0,o.length-v)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[r,o]=a;return this.customPattern=o,this.applyMask(n,r)}applyMask(n,a,r=0,o=!1,l=!1,u=()=>{}){var wt,Qe,Dt;if(!a||typeof n!="string")return I.EMPTY_STRING;let c=0,h="",m=!1,v=!1,g=1,x=!1,w=n,S=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let T=w.toString().split(I.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS&&(h+=w.slice(c,c+1)),a===I.IP){let ie=w.split(I.DOT);this.ipError=this._validIP(ie),a="099.099.099.099"}let F=[];for(let ie=0;ie<w.length;ie++)(wt=w[ie])!=null&&wt.match("\\d")&&F.push(w[ie]??I.EMPTY_STRING);if(a===I.CPF_CNPJ&&(this.cpfCnpjError=F.length!==11&&F.length!==14,F.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(I.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ie=this.getPrecision(a);w=this.checkInputPrecision(w,Ie,this.decimalMarker)}let ie=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;if(w.indexOf(ie)>0&&!this.percentage(w.substring(0,w.indexOf(ie)))){let Ie=w.substring(0,w.indexOf(ie)-1);this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS&&!l&&(Ie=w.substring(0,w.indexOf(ie))),w=`${Ie}${w.substring(w.indexOf(ie),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS?J=`${I.MINUS}${w.slice(c+1,c+w.length)}`:J=w,this.percentage(J)?h=this._splitPercentZero(w):h=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(I.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let ie=this.getPrecision(a),J=Array.isArray(this.decimalMarker)?this.thousandSeparator===I.DOT?I.COMMA:I.DOT:this.decimalMarker;if(ie===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===I.MINUS&&w[1]===I.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==I.COMMA&&w[2]!==I.DOT?"-"+w.slice(2,w.length):w[0]===I.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==I.COMMA&&w[1]!==I.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===I.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==I.COMMA&&w[1]!==I.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=I.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===I.NUMBER_ZERO&&w[1]!==J&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+J+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===I.MINUS&&(w[1]===J||w[1]===I.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+I.NUMBER_ZERO+w.slice(1,w.length):w[1]===I.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Le=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),Be=w[S]===I.NUMBER_ZERO||w[S]===J,lt=w[0]===I.NUMBER_ZERO,Wn=w[0]===I.MINUS,et=w[0]===this.thousandSeparator,Kt=w[1]===J,Lt=w[1]===I.NUMBER_ZERO,ci=w[2]===J;lt&&Kt&&Be&&S<2&&(w=Le),Wn&&Lt&&ci&&Be&&S<3&&(w=I.MINUS+Le),Le!==I.MINUS&&(S===0&&(lt||et)||this.allowNegativeNumbers&&S===1&&Wn&&!Lt)&&(w=Wn?I.MINUS+Le:Le)}let Ie=this._charToRegExpExpression(this.thousandSeparator),j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ie,"");if(Array.isArray(this.decimalMarker))for(let Le of this.decimalMarker)j=j.replace(this._charToRegExpExpression(Le),I.EMPTY_STRING);else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+j+"]");w.match(H)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,ie,this.decimalMarker);let te=w.replace(new RegExp(Ie,"g"),"");h=this._formatWithSeparators(te,this.thousandSeparator,this.decimalMarker,ie);let Pe=h.indexOf(I.COMMA)-w.indexOf(I.COMMA),Je=h.length-w.length,Zt=l&&h.length<n.length&&this.separatorLimit;if((h[S-1]===this.thousandSeparator||h[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(Je>0&&h[S]!==this.thousandSeparator||Zt){v=!0;let Le=0;do this._shift.add(S+Le),Le++;while(Le<Je)}else h[S-1]===this.thousandSeparator||Je===-4||Je===-3||h[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Pe!==0&&S>0&&!(h.indexOf(I.COMMA)>=S&&S>3)||!(h.indexOf(I.DOT)>=S&&S>3)&&Je<=0?(this._shift.clear(),v=!0,g=Je,S+=Je,this._shift.add(S)):this._shift.clear()}else for(let ie=0,J=T[0];ie<T.length&&c!==a.length;ie++,J=T[ie]??I.EMPTY_STRING){let Ie=I.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[c]??I.EMPTY_STRING)&&a[c+1]===I.SYMBOL_QUESTION)h+=J,c+=2;else if(a[c+1]===I.SYMBOL_STAR&&m&&this._checkSymbolMask(J,a[c+2]??I.EMPTY_STRING))h+=J,c+=3,m=!1;else if(this._checkSymbolMask(J,a[c]??I.EMPTY_STRING)&&a[c+1]===I.SYMBOL_STAR&&!Ie)h+=J,m=!0;else if(a[c+1]===I.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[c+2]??I.EMPTY_STRING))h+=J,c+=3;else if(this._checkSymbolMask(J,a[c]??I.EMPTY_STRING)){if(a[c]===I.HOURS&&(this.apm?Number(J)>9:Number(J)>2)){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}if(a[c]===I.HOUR&&(this.apm?h.length===1&&Number(h)>1||h==="1"&&Number(J)>2||w.slice(c-1,c).length===1&&Number(w.slice(c-1,c))>2||w.slice(c-1,c)==="1"&&Number(J)>2:h==="2"&&Number(J)>3||(h.slice(c-2,c)==="2"||h.slice(c-3,c)==="2"||h.slice(c-4,c)==="2"||h.slice(c-1,c)==="2")&&Number(J)>3&&c>10)){S=S+1,c+=1,ie--;continue}if((a[c]===I.MINUTE||a[c]===I.SECOND)&&Number(J)>5){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}let j=31,H=w[c],te=w[c+1],Pe=w[c+2],Je=w[c-1],Zt=w[c-2],Le=w.slice(c-3,c-1),Be=w.slice(c-1,c+1),lt=w.slice(c,c+2),Wn=w.slice(c-2,c);if(a[c]===I.DAY){let et=a.slice(0,2)===I.MONTHS,Kt=a.slice(0,2)===I.MONTHS&&this.specialCharacters.includes(Zt);if(Number(J)>3&&this.leadZeroDateTime||!et&&(Number(lt)>j||Number(Be)>j||this.specialCharacters.includes(te))||(Kt?Number(Be)>j||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Pe)||this.specialCharacters.includes(H):Number(lt)>j||this.specialCharacters.includes(te)&&!l)){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}}if(a[c]===I.MONTH){let et=c===0&&(Number(J)>2||Number(lt)>12||this.specialCharacters.includes(te)&&!l),Kt=a.slice(c+2,c+3),Lt=Le.includes(Kt)&&a.includes("d0")&&(this.specialCharacters.includes(Zt)&&Number(Be)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),ci=Number(Le)<=j&&!this.specialCharacters.includes(Le)&&this.specialCharacters.includes(Je)&&(Number(lt)>12||this.specialCharacters.includes(te)),na=Number(lt)>12&&c===5||this.specialCharacters.includes(te)&&c===5,Os=Number(Le)>j&&!this.specialCharacters.includes(Le)&&!this.specialCharacters.includes(Wn)&&Number(Wn)>12&&a.includes("d0"),Ns=Number(Le)<=j&&!this.specialCharacters.includes(Le)&&!this.specialCharacters.includes(Je)&&Number(Be)>12;if(Number(J)>1&&this.leadZeroDateTime||et||Lt||Ns||Os||ci||na&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}}h+=J,c++}else this.specialCharacters.includes(J)&&a[c]===J?(h+=J,c++):this.specialCharacters.indexOf(a[c]??I.EMPTY_STRING)!==-1?(h+=a[c],c++,this._shiftStep(a,c,T.length),ie--):a[c]===I.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,c,T.length):this.patterns[a[c]??I.EMPTY_STRING]&&((Qe=this.patterns[a[c]??I.EMPTY_STRING])!=null&&Qe.optional)?(T[c]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Dt=this.patterns[a[c]??I.EMPTY_STRING])!=null&&Dt.optional)&&(h+=T[c]),a.includes(I.NUMBER_NINE+I.SYMBOL_STAR)&&a.includes(I.NUMBER_ZERO+I.SYMBOL_STAR)&&c++,c++,ie--):this.maskExpression[c+1]===I.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??I.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===I.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??I.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[c+2]&&m?(c+=3,h+=J):this.showMaskTyped&&this.specialCharacters.indexOf(J)<0&&J!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}h.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??I.EMPTY_STRING)!==-1&&(h+=a[a.length-1]);let P=S+1;for(;this._shift.has(P);)g++,P++;let re=o&&!a.startsWith(I.SEPARATOR)?c:this._shift.has(S)?g:0;x&&re--,u(re,v),g<0&&this._shift.clear();let ve=!1;l&&(ve=T.every(ie=>this.specialCharacters.includes(ie)));let ke=`${this.prefix}${ve?I.EMPTY_STRING:h}${this.showMaskTyped?"":this.suffix}`;h.length===0&&(ke=this.dropSpecialCharacters?`${h}`:`${this.prefix}${h}`);let Ft=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&Ft)return"";if(h.includes(I.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&h===I.MINUS)return"";ke=`${I.MINUS}${this.prefix}${h.split(I.MINUS).join(I.EMPTY_STRING)}${this.suffix}`}return ke}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(a=>a===n)}_checkSymbolMask(n,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(n)))??!1}_stripToDecimal(n){return n.split(I.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===I.MINUS&&r===0&&this.allowNegativeNumbers}).join(I.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,r){let o=/[*?]/g.test(n.slice(0,a))?r:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,r){return Array.isArray(a)?a.filter(o=>o!==r).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,r)=>n.length!==r+1?a===I.EMPTY_STRING||Number(a)>255:a===I.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===I.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(I.DOT),r=this.allowNegativeNumbers&&n.includes(I.MINUS)?"-":"";if(a===-1){let o=parseInt(r?n.slice(1,n.length):n,10);return isNaN(o)?I.EMPTY_STRING:`${r}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;return u===I.EMPTY_STRING?I.EMPTY_STRING:`${r}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let r=n[a];if(r&&r>="1"&&r<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Q_=(()=>{const t=class t extends U1e{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",C(Rt,{optional:!0}));s(this,"document",C(He));s(this,"_config",C($c));s(this,"_renderer",C(oo,{optional:!0}))}applyMask(a,r,o=0,l=!1,u=!1,c=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():I.EMPTY_STRING,this.maskExpression===I.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||I.HASH)),this.maskExpression===I.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||I.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let h=a&&typeof this.selStart=="number"?a[this.selStart]??I.EMPTY_STRING:I.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let S=a&&a.length===1?a.split(I.EMPTY_STRING):this.actualValue.split(I.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==I.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>S.length?S.splice(this.selStart,0,h):a.length<S.length&&(S.length-a.length===1?u?S.splice(this.selStart-1,1):S.splice(a.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&S.length<=a.length?this.shiftTypedSymbols(S.join(I.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),u&&this.specialCharacters.indexOf(this.maskExpression[v]??I.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==I.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let S=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(S),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,r,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===I.DOT&&this.decimalMarker===I.DOT&&(this.decimalMarker=I.COMMA),this.maskExpression.startsWith(I.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?u?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let x=g.length,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(I.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${w.slice(x+S)}`}else if(this.maskExpression===I.IP||this.maskExpression===I.CPF_CNPJ)return`${g}${w}`;return`${g}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,o=r.exec(a),l=0;for(;o!=null;)l+=1,o=r.exec(a);return l}applyValueChanges(a,r,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,a,r,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(I.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[r[l]??I.EMPTY_STRING]&&((u=this.patterns[r[l]??I.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[r[l]??I.EMPTY_STRING])==null?void 0:c.symbol:o}).join(I.EMPTY_STRING)}getActualValue(a){let r=a.split(I.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??I.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return r.join(I.EMPTY_STRING)===a?r.join(I.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(I.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??I.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=o,a[l+1];if(r.length){let u=r;return r=I.EMPTY_STRING,u}return o})||[]).join(I.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(I.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(I.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${I.MINUS}/`,I.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===I.IP)return this._checkForIp(a);if(this.maskExpression===I.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,I.EMPTY_STRING).length&&(this.formElementProperty=["value",I.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(I.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===I.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<a.length;o++){let l=a[o]??I.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(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===I.HASH)return r;let l=[];for(let u=0;u<a.length;u++){let c=a[u]??I.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.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===I.EMPTY_STRING||this.maskExpression.startsWith(I.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(I.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(I.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(I.PERCENT)&&a.includes(I.DOT)?a:a&&a.replace(this._regExpForRemove(r),I.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,I.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,I.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(I.WHITE_SPACE)&&this.maskExpression.includes(I.SYMBOL_STAR)&&(r=r.filter(o=>o!==I.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),I.DOT)}_checkSymbols(a){let r=a;if(r===I.EMPTY_STRING)return r;this.maskExpression.startsWith(I.PERCENT)&&this.decimalMarker===I.COMMA&&(r=r.replace(I.COMMA,I.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&o?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let u=(r=this.patterns[l])==null?void 0:r.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(I.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),l=r;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===I.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(I.EMPTY_STRING).reduce((r,o,l)=>{if(this._start=o===I.CURLY_BRACKETS_LEFT?l:this._start,o!==I.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?r+o:r;this._end=l;let u=Number(a.slice(this._start+1,this._end)),c=new Array(u+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(I.LETTER_S)){let h=a.slice(0,this._start-1);return h.includes(I.CURLY_BRACKETS_LEFT)?r+c:h+r+c}else return r+c},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function G1e(){let e=C(X_),t=C(J_);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function W1e(e){return[{provide:J_,useValue:e},{provide:X_,useValue:H1e},{provide:$c,useFactory:G1e},Q_]}function q1e(e){return Ch(W1e(e))}var $1e=(()=>{const t=class t{constructor(){s(this,"defaultOptions",C($c));s(this,"_maskService",C(Q_));s(this,"_maskExpressionArray",[]);s(this,"mask","")}transform(n,a,r={}){var o=r,{patterns:l}=o,u=h0(o,["patterns"]);let c=n,h=bt(ue(ue({maskExpression:a},this.defaultOptions),u),{patterns:ue(ue({},this._maskService.patterns),l)});if(Object.entries(h).forEach(([m,v])=>{this._maskService[m]=v}),a.includes("||")){let m=a.split("||");return m.length>1?(this._maskExpressionArray=m.sort((v,g)=>v.length-g.length),this._setMask(c),this._maskService.applyMask(`${c}`,this.mask)):(this._maskExpressionArray=[],this._maskService.applyMask(`${c}`,this.mask))}if(a.includes(I.CURLY_BRACKETS_LEFT))return this._maskService.applyMask(`${c}`,this._maskService._repeatPatternSymbols(a));if(a.startsWith(I.SEPARATOR)){u.decimalMarker&&(this._maskService.decimalMarker=u.decimalMarker),u.thousandSeparator&&(this._maskService.thousandSeparator=u.thousandSeparator),u.leadZero&&(this._maskService.leadZero=u.leadZero),c=String(c);let m=this._maskService.currentLocaleDecimalMarker();Array.isArray(this._maskService.decimalMarker)||(c=this._maskService.decimalMarker!==m?c.replace(m,this._maskService.decimalMarker):c),this._maskService.leadZero&&c&&this._maskService.dropSpecialCharacters!==!1&&(c=this._maskService._checkPrecision(a,c)),this._maskService.decimalMarker===I.COMMA&&(c=c.replace(I.DOT,I.COMMA)),this._maskService.isNumberValue=!0}return c===null||typeof c>"u"?this._maskService.applyMask("",a):this._maskService.applyMask(`${c}`,a)}_setMask(n){this._maskExpressionArray.length>0&&this._maskExpressionArray.some(a=>{var o,l;let r=((o=this._maskService.removeMask(n))==null?void 0:o.length)<=((l=this._maskService.removeMask(a))==null?void 0:l.length);if(n&&r)return this.mask=a,r;{let u=this._maskExpressionArray[this._maskExpressionArray.length-1]??I.EMPTY_STRING;this.mask=u}})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",Yt({name:"mask",type:t,pure:!0}));let e=t;return e})(),Yc=(()=>{const t=class t{setServices(n){this.services=n}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Y1e="4.0",lh=Y1e,ua=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ua||{}),Z1e=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ht);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=lh.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${lh})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:o}=a.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Nh],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),ex=class{constructor(e,t,i,n,a){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=i}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return Pt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Pt(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return Pt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return Pt(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return Pt(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return Pt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return Pt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},tx=()=>{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)},An=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}(An||{}),gt=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}(gt||{}),Ga=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Ga||{}),oa=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}(oa||{}),ct=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}(ct||{}),Rn=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Rn||{}),d=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(d||{}),G=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}(G||{}),Jt=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}(Jt||{}),yi=function(e){return e.ACUTE="acute",e.CHRONIC="chronic",e.IFNECESSARY="ifnecessary",e.ONESHOT="oneshot",e.REACTIVATION="reactivation",e.REMISSION="remission",e.SUBACUTE="subacute",e}(yi||{});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 Wa={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Lr={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Do=class extends Error{};Do.prototype.name="InvalidTokenError";function K1e(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,i)=>{let n=i.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function J1e(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 K1e(t)}catch{return atob(t)}}function X1e(e,t){if(typeof e!="string")throw new Do("Invalid token specified: must be a string");t||(t={});let i=t.header===!0?0:1,n=e.split(".")[i];if(typeof n!="string")throw new Do(`Invalid token specified: missing part #${i+1}`);let a;try{a=J1e(n)}catch(r){throw new Do(`Invalid token specified: invalid base64 for part #${i+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Do(`Invalid token specified: invalid json for part #${i+1} (${r.message})`)}}var Q1e=class extends ex{constructor(e,t,i){super(e,Ga.USER_INFOS,t,i,Ga.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Pt(this,null,function*(){return X1e(yield this.getLocalAccessToken("")).userProfile})}},nx=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function e_e(e){var t,i;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((i=e==null?void 0:e.mandators)==null?void 0:i.length)>0?e.mandators[0].ssin:e.ssin}function t_e(e){var t,i;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((i=e==null?void 0:e.mandators)==null?void 0:i.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var n_e=(()=>{const t=class t extends nx{constructor(){super(...arguments),this.servicesStore=C(Yc)}resolveSsin(){return Pt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return e_e(n)})}resolvePatientInfo(){return Pt(this,null,function*(){let n=yield this.fetchUserProfileToken();return t_e(n)})}resolveUserInfo(){return Pt(this,null,function*(){var h,m,v,g;let n=yield this.fetchUserProfileToken(),a=n.lastName,r=n.firstName,o=this.extractProfessionalRole(n),l=((h=n==null?void 0:n.organizations)==null?void 0:h.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:r,ssin:n.ssin,lastName:a,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Pt(this,null,function*(){var n,a;return((a=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:a.length)>0})}resolveProfessional(n,a){return a?n[a]:void 0}extractProfessionalRole(n){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(o=>{n[o]&&(r=o)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Q1e(this.servicesStore.getServices(),n,a)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),i_e=(()=>{const t=class t extends nx{resolveSsin(){return Pt(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return Pt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),a_e=(()=>{const t=class t{constructor(){this.http=C(Cs)}get(n,a,r){return ol()?this.http.get(n,{headers:r}):yt(a)}patch(n,a,r){return ol()?this.http.patch(n,{},{headers:r}):yt(a)}post(n,a,r){return ol()?this.http.post(n,{},{headers:r}):yt(a)}delete(n,a,r){return ol()?this.http.delete(n,{headers:r}):yt(a)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ol=()=>window.Cypress,xa=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(xa||{}),$i=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}($i||{});function r_e(e,t){return Pt(this,null,function*(){t.next({status:xa.LOADING});try{let i=yield e,n={status:xa.SUCCESS,data:i};return t.next(n),n}catch(i){let n={status:xa.ERROR,error:l_e(i)};return t.next(n),n}})}var Bg={[$i.NO_DATA]:["VIDIS_0140"],[$i.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[$i.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[$i.OTHER]:[]};function o_e(e){for(let t of Object.keys(Bg))if(Bg[t].includes(e))return t;return $i.OTHER}function s_e(e,t,i){let n=e||"UNKNOWN",a=o_e(n);return{code:n,message:i??"An unexpected error occurred",group:a,traceId:t}}function l_e(e){var a,r,o;let t=((a=e.error)==null?void 0:a.code)??void 0,i=((r=e.error)==null?void 0:r.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return s_e(t,n,i)}var c_e={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function am(e){e||(hs(),e=C(ii));let t=new ht(i=>e.onDestroy(i.next.bind(i)));return i=>i.pipe(Hi(t))}function u_e(e,t){var u;let i=!(t!=null&&t.manualCleanup);i&&!(t!=null&&t.injector)&&hs();let n=i?((u=t==null?void 0:t.injector)==null?void 0:u.get(ii))??C(ii):null,a=d_e(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=Sd({kind:0},{equal:a}):r=Sd({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let o,l=e.subscribe({next:c=>r.set({kind:1,value:c}),error:c=>{if(t!=null&&t.rejectErrors)throw c;r.set({kind:2,error:c})},complete:()=>{o==null||o()}});if(t!=null&&t.requireSync&&r().kind===0)throw new Z(601,!1);return o=n==null?void 0:n.onDestroy(l.unsubscribe.bind(l)),Wi(()=>{let c=r();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new Z(601,!1)}},{equal:t==null?void 0:t.equal})}function d_e(e=Object.is){return(t,i)=>t.kind===1&&i.kind===1&&e(t.value,i.value)}function h_e(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var ix={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function p_e(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let i of ix[t]){let n=e.find(a=>a.lang===i);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}function m_e(e,t){if(!(!e||Object.keys(e).length<1)){t=t==null?void 0:t.substring(0,2);for(let i of ix[t]){let n=e.find(a=>a.lang===i);if(n)return n}return e.length>0?e[0]:void 0}}var ns=(()=>{const t=class t{constructor(){this.config=C(uo),this.injector=C(st),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(i_e):this.injector.get(n_e)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function f_e(e,t){if(e&1){let i=Rc();V(0,"div",1)(1,"button",2),Ti("click",function(){ba(i);let n=ae();return _a(n.action())}),ge(2),B()()}if(e&2){let i=ae();O(2),qe(" ",i.data.action," ")}}var g_e=["label"];function v_e(e,t){}var y_e=Math.pow(2,31)-1,ch=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new be);s(this,"_afterOpened",new be);s(this,"_onAction",new be);s(this,"_durationTimeoutId");s(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,y_e))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},ax=new se("MatSnackBarData"),sc=class{constructor(){s(this,"politeness","assertive");s(this,"announcementMessage","");s(this,"viewContainerRef");s(this,"duration",0);s(this,"panelClass");s(this,"direction");s(this,"data",null);s(this,"horizontalPosition","center");s(this,"verticalPosition","bottom")}},b_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),__e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),x_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),w_e=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(ch));s(this,"data",C(ax))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,a){n&1&&(V(0,"div",0),ge(1),B(),oe(2,f_e,3,1,"div",1)),n&2&&(O(),qe(" ",a.data.message,`
30
+ `),O(),Q(a.hasAction?2:-1))},dependencies:[Gc,b_e,__e,x_e],styles:[`.mat-mdc-simple-snack-bar{display:flex}
31
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),$u="_mat-snack-bar-enter",Yu="_mat-snack-bar-exit",E_e=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_ngZone",C(We));s(this,"_elementRef",C(Rt));s(this,"_changeDetectorRef",C(lr));s(this,"_platform",C(Tn));s(this,"_rendersRef");s(this,"_animationsDisabled",C(ar,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",C(sc));s(this,"_document",C(He));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new be);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new be);s(this,"_onExit",new be);s(this,"_onEnter",new be);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",C(co).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Ny(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),r}attachTemplatePortal(a){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),r}onAnimationEnd(a){a===Yu?this._completeExit():a===$u&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(Vn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd($u)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd($u)},200)))}exit(){return this._destroyed?yt(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(Vn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Yu)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Yu),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(u=>a.classList.add(u)):a.classList.add(r)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let l=r[o],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(a)===-1&&l.setAttribute("aria-owns",u+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let r=a.getAttribute("aria-owns");if(r){let o=r.replace(this._liveElementId,"").trim();o.length>0?a.setAttribute("aria-owns",o):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(r&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),o.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(Yl(Xo,7),Yl(g_e,7)),a&2){let o;Kn(o=Jn())&&(r._portalOutlet=o.first),Kn(o=Jn())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&Ti("animationend",function(o){return r.onAnimationEnd(o.animationName)})("animationcancel",function(o){return r.onAnimationEnd(o.animationName)}),a&2&&mn("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Gn],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(V(0,"div",1)(1,"div",2,0)(3,"div",3),oe(4,v_e,0,0,"ng-template",4),B(),le(5,"div"),B()()),a&2&&(O(5),Vt("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Xo],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
32
+ `],encapsulation:2}));let e=t;return e})();function S_e(){return new sc}var k_e=new se("mat-snack-bar-default-options",{providedIn:"root",factory:S_e}),C_e=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ca));s(this,"_live",C(Age));s(this,"_injector",C(st));s(this,"_breakpointObserver",C(z1));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(k_e));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",w_e);s(this,"snackBarContainerComponent",E_e);s(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}openFromComponent(n,a){return this._attach(n,a)}openFromTemplate(n,a){return this._attach(n,a)}open(n,a="",r){let o=ue(ue({},this._defaultConfig),r);return o.data={message:n,action:a},o.announcementMessage===n&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=st.create({parent:r||this._injector,providers:[{provide:sc,useValue:a}]}),l=new Jo(this.snackBarContainerComponent,a.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=a,u.instance}_attach(n,a){let r=ue(ue(ue({},new sc),this._defaultConfig),a),o=this._createOverlay(r),l=this._attachSnackBarContainer(o,r),u=new ch(l,o);if(n instanceof Wr){let c=new Vp(n,null,{$implicit:r.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(r,u),h=new Jo(n,void 0,c),m=l.attachComponentPortal(h);u.instance=m.instance}return this._breakpointObserver.observe(c_e.HandsetPortrait).pipe(Hi(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(u,r),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,a){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let a=new zp;a.direction=n.direction;let r=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,u=!l&&n.horizontalPosition!=="center";return l?r.left("0"):u?r.right("0"):r.centerHorizontally(),n.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(n,a){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector;return st.create({parent:r||this._injector,providers:[{provide:ch,useValue:a},{provide:ax,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),I_e=(()=>{const t=class t{constructor(){this.snackbar=C(C_e),this.translate=C(li)}showSuccess(n,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),D_e={demo:{env:ua.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:ua.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:ua.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:ua.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:ua.PROD}},uo=(()=>{const t=class t{setEnvironment(n){this.configVariables=D_e[ua[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),T_e=(e,t)=>{let i=C(ns).getInstance(),n=C(Yc),a=C(uo).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(i.isOfflineAuthenticated)return yt();let r=e.headers||new tr,o=i.isProfessional;return ir(n.getServices().getAccessToken("")).pipe(Vo(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(Lr.authorization,Wa.getAuthorizationHeader(l)).set(Lr.userType,Wa.getUserType({isProfessional:o})).set(Lr.clientType,tx()?Wa.clientType.mobileApp:Wa.clientType.webApp)}))))};function O_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var N_e=["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",O_e];function P_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var M_e=["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",P_e];function A_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&i===0||!(n>=0&&n<=5)?4:5}var R_e=["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",A_e];function F_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var L_e=["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",F_e];Bc(N_e,"de");Bc(L_e,"nl");Bc(R_e,"fr");Bc(M_e,"en");var j_e=class{handleError(e){throw new Error(e)}},V_e=class extends i0e{getFirstDayOfWeek(){return 1}format(e){return Ua(e,"dd/MM/yyyy")}parse(e){return K_(e,"dd/MM/yyyy",new Date)}},z_e={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},B_e=[Mye(),Zfe(Kfe([T_e])),q1e(),{provide:ai,useClass:j_e},{provide:G1,useClass:V_e,deps:[Jd]},{provide:Wge,useValue:z_e},{provide:f_,useClass:Aye},{provide:a_,useValue:{panelClass:"mh-dialog-container"}}],H_e=p0(gre(),1),U_e=new se("MESSAGE_FORMAT_CONFIG"),G_e={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},W_e=(()=>{const t=class t extends Ts{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:h}=ue(ue({},G_e),n);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=h}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(a).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${n}'`),r=$_e(n,a)}return this.throwOnError||(r=q_e(r,n)),r}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((r,o)=>{let l=n[o];return r[o]=this.compileTranslations(l,a),r},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new H_e.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(pe(U_e,8))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})();function q_e(e,t){return i=>{let n=t;try{n=e(i)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${i}'`)}return n}}function $_e(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var rx={};K(rx,{"00001":()=>ox,"00002":()=>sx,"00003":()=>lx,"00004":()=>cx,"00005":()=>ux,"00006":()=>dx,"00007":()=>hx,"00008":()=>px,"00009":()=>mx,"00010":()=>fx,"00011":()=>gx,"00012":()=>vx,"00013":()=>yx,"00014":()=>bx,"00015":()=>_x,"00016":()=>xx,"00017":()=>wx,"00018":()=>Ex,"00019":()=>Sx,"00020":()=>kx,"00021":()=>Cx,"00022":()=>Ix,"00023":()=>Dx,"00024":()=>Tx,"00025":()=>Ox,"00026":()=>Nx,"00027":()=>Px,"00028":()=>Mx,"00029":()=>Ax,"00030":()=>Rx,ampoule:()=>sw,bandage:()=>nw,bottle:()=>lw,box:()=>aw,cm:()=>Fx,default:()=>Y_e,dropsperminute:()=>Lx,"effervescent-tablet":()=>ew,gm:()=>jx,internationalunits:()=>Vx,iu:()=>Xx,liter:()=>rw,"mck/h":()=>zx,"mck/kg/minute":()=>Bx,measure:()=>Hx,meq:()=>Kx,mg:()=>Yx,"mg/h":()=>Ux,"mg/ml":()=>Zx,micrograms:()=>tw,miu:()=>Jx,"ml/h":()=>Gx,mmol:()=>Qx,piece:()=>iw,syringe:()=>ow,"syringe-ampoule":()=>cw,tbl:()=>Wx,tsp:()=>qx,"unt/h":()=>$x});var ox="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",sx="{count, plural, one{Ampulle} other{Ampullen}}",lx="anwenden",cx="{count, plural, one{Kapsel} other{Kapseln}}",ux="{count, plural, one{Tablette} other{Tabletten}}",dx="Dosis",hx="{count, plural, one{Tropf} other{Tropfen}}",px="{count, plural, one{Fläsche} other{Fläschchen}}",mx="{count, plural, one{Implantat} other{Implantate}}",fx="{count, plural, one{Infusion} other{Infusionen}}",gx="{count, plural, one{Inhalation} other{Inhalationen}}",vx="Einstechen",yx="Kaugummi",bx="{count, plural, one{Kompresse} other{Kompressen}}",_x="{count, plural, one{Einlauf} other{Einläufe}}",xx="ml",wx="Ov.",Ex="{count, plural, one{Perle} other{Perlen}}",Sx="{count, plural, one{Pastille} other{Pastillen}}",kx="Pflaster",Cx="cart",Ix="Pen",Dx="{count, plural, one{Puff} other{Puffs}}",Tx="{count, plural, one{Schwamm} other{Schwämme}}",Ox="{count, plural, one{Stift} other{Stifte}}",Nx="Suppo",Px="Tube",Mx="{count, plural, one{Docht} other{Dochte}}",Ax="Beutel",Rx="Beutel",Fx="Zentimeter",Lx="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",jx="Gramm",Vx="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",zx="Mikrogramm pro Stunde",Bx="Mikrogramm pro Kilogramm pro Minute",Hx="Maß",Ux="Miligramm pro Stunde",Gx="Milliliter pro Stunde",Wx="Esslöffel",qx="Kaffeelöffel",$x="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",Yx="Milligramm",Zx="Milligramm pro Millimeter",Kx="meq",Jx="miu",Xx="iu",Qx="mmol",ew="effervescent-tablet",tw="micrograms",nw="{count, plural, one{bandage} other{bandagen}}",iw="{count, plural, one{stück} other{stücke}}",aw="schachteln",rw="liter",ow="{count, plural, one{spritze} other{spritzen}}",sw="{count, plural, one{glühbirn} other{glühbirnen}}",lw="{count, plural, one{Fläsche} other{Fläschchen}}",cw="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",Y_e={"00001":ox,"00002":sx,"00003":lx,"00004":cx,"00005":ux,"00006":dx,"00007":hx,"00008":px,"00009":mx,"00010":fx,"00011":gx,"00012":vx,"00013":yx,"00014":bx,"00015":_x,"00016":xx,"00017":wx,"00018":Ex,"00019":Sx,"00020":kx,"00021":Cx,"00022":Ix,"00023":Dx,"00024":Tx,"00025":Ox,"00026":Nx,"00027":Px,"00028":Mx,"00029":Ax,"00030":Rx,cm:Fx,dropsperminute:Lx,gm:jx,internationalunits:Vx,"mck/h":zx,"mck/kg/minute":Bx,measure:Hx,"mg/h":Ux,"ml/h":Gx,tbl:Wx,tsp:qx,"unt/h":$x,mg:Yx,"mg/ml":Zx,meq:Kx,miu:Jx,iu:Xx,mmol:Qx,"effervescent-tablet":ew,micrograms:tw,bandage:nw,piece:iw,box:aw,liter:rw,syringe:ow,ampoule:sw,bottle:lw,"syringe-ampoule":cw},uw={};K(uw,{"00001":()=>dw,"00002":()=>hw,"00003":()=>pw,"00004":()=>mw,"00005":()=>fw,"00006":()=>gw,"00007":()=>vw,"00008":()=>yw,"00009":()=>bw,"00010":()=>_w,"00011":()=>xw,"00012":()=>ww,"00013":()=>Ew,"00014":()=>Sw,"00015":()=>kw,"00016":()=>Cw,"00017":()=>Iw,"00018":()=>Dw,"00019":()=>Tw,"00020":()=>Ow,"00021":()=>Nw,"00022":()=>Pw,"00023":()=>Mw,"00024":()=>Aw,"00025":()=>Rw,"00026":()=>Fw,"00027":()=>Lw,"00028":()=>jw,"00029":()=>Vw,"00030":()=>zw,ampoule:()=>hE,bandage:()=>sE,bottle:()=>pE,box:()=>cE,cm:()=>Bw,default:()=>Z_e,dropsperminute:()=>Hw,"effervescent-tablet":()=>rE,gm:()=>Uw,internationalunits:()=>Gw,iu:()=>iE,liter:()=>uE,"mck/h":()=>Ww,"mck/kg/minute":()=>qw,measure:()=>$w,meq:()=>tE,mg:()=>Qw,"mg/h":()=>Yw,"mg/ml":()=>eE,micrograms:()=>oE,miu:()=>nE,"ml/h":()=>Zw,mmol:()=>aE,piece:()=>lE,syringe:()=>dE,"syringe-ampoule":()=>mE,tbl:()=>Kw,tsp:()=>Jw,"unt/h":()=>Xw});var dw="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",hw="{count, plural, one{ampoule} other{ampoules}}",pw="applic.",mw="{count, plural, one{capsule} other{capsules}}",fw="{count, plural, one{tablet} other{tablets}}",gw="{count, plural, one{dose} other{doses}}",vw="{count, plural, one{drop} other{drops}}",yw="{count, plural, one{bottle} other{bottles}}",bw="{count, plural, one{implant} other{implants}}",_w="{count, plural, one{perfusion} other{perfusions}}",xw="{count, plural, one{inhalation} other{inhalations}}",ww="insert",Ew="{count, plural, one{chewing gum} other{chewing gums}}",Sw="{count, plural, one{compress} other{compresses}}",kw="enema",Cw="ml",Iw="{count, plural, one{ovule} other{ovules}}",Dw="{count, plural, one{pearl} other{pearls}}",Tw="{count, plural, one{pastille} other{pastilles}}",Ow="{count, plural, one{patch} other{patches}}",Nw="{count, plural, one{cartridge} other{cartridges}}",Pw="{count, plural, one{pen} other{pens}}",Mw="{count, plural, one{puff} other{puffs}}",Aw="{count, plural, one{sponge} other{sponges}}",Rw="{count, plural, one{stylo} other{stylos}}",Fw="{count, plural, one{supository} other{supositories}}",Lw="{count, plural, one{tube} other{tubes}}",jw="{count, plural, one{wick} other{wicks}}",Vw="{count, plural, one{bag} other{bags}}",zw="{count, plural, one{small bag} other{small bags}}",Bw="centimeter",Hw="{count, plural, one{drop per minute} other{drops per minute}}",Uw="gram",Gw="international units",Ww="microgram per hour",qw="microgram per kilogram per minute",$w="{count, plural, one{measure} other{measures}}",Yw="milligram per hour",Zw="milliliter per hour",Kw="{count, plural, one{tablespoon} other{tablespoons}}",Jw="{count, plural, one{teaspoon} other{teaspoons}}",Xw="{count, plural, one{unit per hour} other{units per hour}}",Qw="milligram",eE="milligram per milliliter",tE="milli-equivalent",nE="miu",iE="international units",aE="millimole",rE="{count, plural, one{effervescent tablet} other{effervescent tablets}}",oE="microgram",sE="{count, plural, one{bandage} other{bandages}}",lE="{count, plural, one{piece} other{pieces}}",cE="{count, plural, one{spray} other{sprays}}",uE="liter",dE="{count, plural, one{syringe} other{syringes}}",hE="{count, plural, one{ampoule} other{ampoules}}",pE="{count, plural, one{bottle} other{bottles}}",mE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Z_e={"00001":dw,"00002":hw,"00003":pw,"00004":mw,"00005":fw,"00006":gw,"00007":vw,"00008":yw,"00009":bw,"00010":_w,"00011":xw,"00012":ww,"00013":Ew,"00014":Sw,"00015":kw,"00016":Cw,"00017":Iw,"00018":Dw,"00019":Tw,"00020":Ow,"00021":Nw,"00022":Pw,"00023":Mw,"00024":Aw,"00025":Rw,"00026":Fw,"00027":Lw,"00028":jw,"00029":Vw,"00030":zw,cm:Bw,dropsperminute:Hw,gm:Uw,internationalunits:Gw,"mck/h":Ww,"mck/kg/minute":qw,measure:$w,"mg/h":Yw,"ml/h":Zw,tbl:Kw,tsp:Jw,"unt/h":Xw,mg:Qw,"mg/ml":eE,meq:tE,miu:nE,iu:iE,mmol:aE,"effervescent-tablet":rE,micrograms:oE,bandage:sE,piece:lE,box:cE,liter:uE,syringe:dE,ampoule:hE,bottle:pE,"syringe-ampoule":mE},fE={};K(fE,{"00001":()=>gE,"00002":()=>vE,"00003":()=>yE,"00004":()=>bE,"00005":()=>_E,"00006":()=>xE,"00007":()=>wE,"00008":()=>EE,"00009":()=>SE,"00010":()=>kE,"00011":()=>CE,"00012":()=>IE,"00013":()=>DE,"00014":()=>TE,"00015":()=>OE,"00016":()=>NE,"00017":()=>PE,"00018":()=>ME,"00019":()=>AE,"00020":()=>RE,"00021":()=>FE,"00022":()=>LE,"00023":()=>jE,"00024":()=>VE,"00025":()=>zE,"00026":()=>BE,"00027":()=>HE,"00028":()=>UE,"00029":()=>GE,"00030":()=>WE,ampoule:()=>vS,bandage:()=>hS,bottle:()=>yS,box:()=>mS,cm:()=>qE,default:()=>K_e,dropsperminute:()=>$E,"effervescent-tablet":()=>uS,gm:()=>YE,internationalunits:()=>ZE,iu:()=>lS,liter:()=>fS,"mck/h":()=>KE,"mck/kg/minute":()=>JE,measure:()=>XE,meq:()=>oS,mg:()=>aS,"mg/h":()=>QE,"mg/ml":()=>rS,micrograms:()=>dS,miu:()=>sS,"ml/h":()=>eS,mmol:()=>cS,piece:()=>pS,syringe:()=>gS,"syringe-ampoule":()=>bS,tbl:()=>tS,tsp:()=>nS,"unt/h":()=>iS});var gE="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",vE="amp.",yE="applic.",bE="caps.",_E="compr.",xE="{count, plural, one{dose} other{doses}}",wE="{count, plural, one{goutte} other{gouttes}}",EE="flac.",SE="{count, plural, one{implant} other{implants}}",kE="{count, plural, one{perfusion} other{perfusions}}",CE="{count, plural, one{inhalation} other{inhalations}}",IE="insert",DE="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",TE="{count, plural, one{compres(se)} other{compres(ses)}}",OE="{count, plural, one{lavement} other{lavements}}",NE="ml",PE="ov.",ME="{count, plural, one{perle} other{perles}}",AE="{count, plural, one{pastille} other{pastilles}}",RE="{count, plural, one{patch} other{patchs}}",FE="patr.",LE="{count, plural, one{stylo} other{stylos}}",jE="{count, plural, one{puff} other{puffs}}",VE="{count, plural, one{éponge} other{éponges}}",zE="{count, plural, one{stylo} other{stylos}}",BE="suppo",HE="{count, plural, one{tube} other{tubes}}",UE="{count, plural, one{mèche} other{mèches}}",GE="{count, plural, one{sac} other{sacs}}",WE="{count, plural, one{sachet} other{sachets}}",qE="{count, plural, one{centimètre} other{centimètres}}",$E="{count, plural, one{goute par minute} other{goutes par minute}}",YE="{count, plural, one{gramme} other{grammes}}",ZE="{count, plural, one{unité internationales} other{unités internationales}}",KE="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",JE="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",XE="{count, plural, one{mesure} other{mesures}}",QE="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",eS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",tS="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",nS="{count, plural, one{cuillère à café} other{cuillères à café}}",iS="{count, plural, one{unité par heure} other{unités par heure}}",aS="{count, plural, one{miligramme} other{miligrammes}}",rS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",oS="milli-équivalent",sS="miu",lS="{count, plural, one{unité internationales} other{unités internationales}}",cS="millimol",uS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",dS="{count, plural, one{microgramme} other{microgrammes}}",hS="{count, plural, one{bandage} other{bandages}}",pS="{count, plural, one{pièce} other{pièces}}",mS="{count, plural, one{vaporisateur} other{vaporisateurs}}",fS="{count, plural, one{litre} other{litres}}",gS="{count, plural, one{seringue} other{seringues}}",vS="{count, plural, one{ampoule} other{ampoules}}",yS="{count, plural, one{fiole} other{fioles}}",bS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",K_e={"00001":gE,"00002":vE,"00003":yE,"00004":bE,"00005":_E,"00006":xE,"00007":wE,"00008":EE,"00009":SE,"00010":kE,"00011":CE,"00012":IE,"00013":DE,"00014":TE,"00015":OE,"00016":NE,"00017":PE,"00018":ME,"00019":AE,"00020":RE,"00021":FE,"00022":LE,"00023":jE,"00024":VE,"00025":zE,"00026":BE,"00027":HE,"00028":UE,"00029":GE,"00030":WE,cm:qE,dropsperminute:$E,gm:YE,internationalunits:ZE,"mck/h":KE,"mck/kg/minute":JE,measure:XE,"mg/h":QE,"ml/h":eS,tbl:tS,tsp:nS,"unt/h":iS,mg:aS,"mg/ml":rS,meq:oS,miu:sS,iu:lS,mmol:cS,"effervescent-tablet":uS,micrograms:dS,bandage:hS,piece:pS,box:mS,liter:fS,syringe:gS,ampoule:vS,bottle:yS,"syringe-ampoule":bS},_S={};K(_S,{"00001":()=>xS,"00002":()=>wS,"00003":()=>ES,"00004":()=>SS,"00005":()=>kS,"00006":()=>CS,"00007":()=>IS,"00008":()=>DS,"00009":()=>TS,"00010":()=>OS,"00011":()=>NS,"00012":()=>PS,"00013":()=>MS,"00014":()=>AS,"00015":()=>RS,"00016":()=>FS,"00017":()=>LS,"00018":()=>jS,"00019":()=>VS,"00020":()=>zS,"00021":()=>BS,"00022":()=>HS,"00023":()=>US,"00024":()=>GS,"00025":()=>WS,"00026":()=>qS,"00027":()=>$S,"00028":()=>YS,"00029":()=>ZS,"00030":()=>KS,ampoule:()=>wk,bandage:()=>vk,bottle:()=>Ek,box:()=>bk,cm:()=>JS,default:()=>J_e,dropsperminute:()=>XS,"effervescent-tablet":()=>fk,gm:()=>QS,internationalunits:()=>ek,iu:()=>pk,liter:()=>_k,"mck/h":()=>tk,"mck/kg/minute":()=>nk,measure:()=>ik,meq:()=>dk,mg:()=>ck,"mg/h":()=>ak,"mg/ml":()=>uk,micrograms:()=>gk,miu:()=>hk,"ml/h":()=>rk,mmol:()=>mk,piece:()=>yk,syringe:()=>xk,"syringe-ampoule":()=>Sk,tbl:()=>ok,tsp:()=>sk,"unt/h":()=>lk});var xS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",wS="{count, plural, one{ampule} other{ampullen}}",ES="aanbrengen",SS="{count, plural, one{capsule} other{capsules}}",kS="{count, plural, one{tablet} other{tabletten}}",CS="{count, plural, one{dose} other{dosissen}}",IS="{count, plural, one{druppel} other{druppels}}",DS="{count, plural, one{flesje} other{flesjes}}",TS="{count, plural, one{implantaat} other{implantaten}}",OS="{count, plural, one{infuus} other{infusen}}",NS="{count, plural, one{inhalatie} other{inhalaties}}",PS="inbrengen",MS="{count, plural, one{kauwgom} other{kauwgommen}}",AS="{count, plural, one{kompres} other{kompressen}}",RS="lavement",FS="ml",LS="{count, plural, one{ovule} other{ovules}}",jS="{count, plural, one{parel} other{parels}}",VS="{count, plural, one{pastille} other{pastilles}}",zS="{count, plural, one{pleister} other{pleisters}}",BS="{count, plural, one{patroon} other{patronen}}",HS="{count, plural, one{pen} other{pennen}}",US="{count, plural, one{puff} other{puffs}}",GS="{count, plural, one{spons} other{sponsen}}",WS="{count, plural, one{stylo} other{stylos}}",qS="{count, plural, one{zetpil} other{zetpillen}}",$S="{count, plural, one{tube} other{tubes}}",YS="{count, plural, one{wiek} other{wieken}}",ZS="{count, plural, one{zak} other{zakken}}",KS="{count, plural, one{zakje} other{zakjes}}",JS="centimeter",XS="{count, plural, one{druppel per minuut} other{druppels per minuut}}",QS="gram",ek="internationale eenheden",tk="microgram per uur",nk="microgram per kilogram per minuut",ik="{count, plural, one{maat} other{maten}}",ak="milligram per uur",rk="milliliter per uur",ok="{count, plural, one{eetlepel} other{eetlepels}}",sk="{count, plural, one{koffielepel} other{koffielepels}}",lk="{count, plural, one{eenheid per uur} other{eenheden per uur}}",ck="miligram",uk="miligram per milimeter",dk="milli-equivalent",hk="miu",pk="internationale eenheden",mk="millimol",fk="{count, plural, one{bruistablet} other{bruistabletten}}",gk="microgram",vk="{count, plural, one{verband} other{verbanden}}",yk="{count, plural, one{stuk} other{stuks}}",bk="{count, plural, one{verstuiving} other{verstuivingen}}",_k="liter",xk="{count, plural, one{spuit} other{spuiten}}",wk="{count, plural, one{ampul} other{ampullen}}",Ek="{count, plural, one{fles} other{flessen}}",Sk="{count, plural, one{spuitampul} other{spuitampullen}}",J_e={"00001":xS,"00002":wS,"00003":ES,"00004":SS,"00005":kS,"00006":CS,"00007":IS,"00008":DS,"00009":TS,"00010":OS,"00011":NS,"00012":PS,"00013":MS,"00014":AS,"00015":RS,"00016":FS,"00017":LS,"00018":jS,"00019":VS,"00020":zS,"00021":BS,"00022":HS,"00023":US,"00024":GS,"00025":WS,"00026":qS,"00027":$S,"00028":YS,"00029":ZS,"00030":KS,cm:JS,dropsperminute:XS,gm:QS,internationalunits:ek,"mck/h":tk,"mck/kg/minute":nk,measure:ik,"mg/h":ak,"ml/h":rk,tbl:ok,tsp:sk,"unt/h":lk,mg:ck,"mg/ml":uk,meq:dk,miu:hk,iu:pk,mmol:mk,"effervescent-tablet":fk,micrograms:gk,bandage:vk,piece:yk,box:bk,liter:_k,syringe:xk,ampoule:wk,bottle:Ek,"syringe-ampoule":Sk},X_e={nl:_S,fr:fE,de:rx,en:uw},kk={};K(kk,{default:()=>Q_e,friday:()=>Ok,monday:()=>Ck,saturday:()=>Nk,sunday:()=>Pk,thursday:()=>Tk,tuesday:()=>Ik,wednesday:()=>Dk});var Ck="Montag",Ik="Dienstag",Dk="Mittwoch",Tk="Donnerstag",Ok="Freitag",Nk="Samstag",Pk="Sonntag",Q_e={monday:Ck,tuesday:Ik,wednesday:Dk,thursday:Tk,friday:Ok,saturday:Nk,sunday:Pk},Mk={};K(Mk,{default:()=>exe,friday:()=>jk,monday:()=>Ak,saturday:()=>Vk,sunday:()=>zk,thursday:()=>Lk,tuesday:()=>Rk,wednesday:()=>Fk});var Ak="Monday",Rk="Tuesday",Fk="Wednesday",Lk="Thursday",jk="Friday",Vk="Saturday",zk="Sunday",exe={monday:Ak,tuesday:Rk,wednesday:Fk,thursday:Lk,friday:jk,saturday:Vk,sunday:zk},Bk={};K(Bk,{default:()=>txe,friday:()=>qk,monday:()=>Hk,saturday:()=>$k,sunday:()=>Yk,thursday:()=>Wk,tuesday:()=>Uk,wednesday:()=>Gk});var Hk="Lundi",Uk="Mardi",Gk="Mercredi",Wk="Jeudi",qk="Vendredi",$k="Samedi",Yk="Dimanche",txe={monday:Hk,tuesday:Uk,wednesday:Gk,thursday:Wk,friday:qk,saturday:$k,sunday:Yk},Zk={};K(Zk,{default:()=>nxe,friday:()=>eC,monday:()=>Kk,saturday:()=>tC,sunday:()=>nC,thursday:()=>Qk,tuesday:()=>Jk,wednesday:()=>Xk});var Kk="Maandag",Jk="Dinsdag",Xk="Woensdag",Qk="Donderdag",eC="Vrijdag",tC="Zaterdag",nC="Zondag",nxe={monday:Kk,tuesday:Jk,wednesday:Xk,thursday:Qk,friday:eC,saturday:tC,sunday:nC},ixe={nl:Zk,fr:Bk,de:kk,en:Mk},iC={};K(iC,{VIDIS_0035:()=>aC,VIDIS_0050:()=>rC,VIDIS_0090:()=>oC,VIDIS_0100:()=>FC,VIDIS_0110:()=>jC,VIDIS_0120:()=>LC,VIDIS_0121:()=>sC,VIDIS_0122:()=>lC,VIDIS_0123:()=>cC,VIDIS_0124:()=>uC,VIDIS_0125:()=>dC,VIDIS_0126:()=>hC,VIDIS_0131:()=>pC,VIDIS_0132:()=>mC,VIDIS_0133:()=>fC,VIDIS_0134:()=>gC,VIDIS_0135:()=>vC,VIDIS_0136:()=>yC,VIDIS_0190:()=>bC,VIDIS_0200:()=>VC,VIDIS_0210:()=>_C,VIDIS_0211:()=>xC,VIDIS_0230:()=>wC,VIDIS_0290:()=>EC,VIDIS_0330:()=>SC,VIDIS_0340:()=>zC,VIDIS_0341:()=>BC,VIDIS_0400:()=>AC,VIDIS_04001:()=>HC,VIDIS_0435:()=>kC,VIDIS_0440:()=>CC,VIDIS_3030:()=>RC,VIDIS_3090:()=>OC,VIDIS_3100:()=>PC,VIDIS_3120:()=>MC,VIDIS_3140:()=>NC,VIDIS_3150:()=>TC,VIDIS_5000:()=>IC,VIDIS_7000:()=>DC,"action-not-authorized-close-button":()=>c2,"action-not-authorized-title":()=>l2,"data-not-available-title":()=>s2,default:()=>axe,general:()=>GC,"has-hidden-prescriptions":()=>XC,"incorrect-elements-ms-detail":()=>d2,"incorrect-elements-ms-list":()=>u2,invalid_date_format:()=>ZC,myHealth:()=>qC,myHealthUrl:()=>$C,network_error:()=>YC,"no-access":()=>WC,prescriptionList:()=>UC,"report-message-confirm-toast":()=>o2,"report-message-content":()=>t2,"report-message-explanation":()=>e2,"report-message-ignore-button":()=>r2,"report-message-link":()=>i2,"report-message-report-button":()=>a2,"report-message-term-use":()=>n2,"report-message-title":()=>QC,"status-message-content":()=>JC,"status-message-title":()=>KC});var aC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",rC="Die Patienten-INSS fehlt. (VIDIS_0050)",oC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",sC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",lC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",cC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",uC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",dC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",hC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",pC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",mC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",fC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",gC="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",vC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",yC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",bC="Ungültige INSS-Patientennummer. (VIDIS_0190)",_C="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",xC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",wC="Der Vorgang ist ungültig (VIDIS_0230)",EC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',SC="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)",kC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",CC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",IC="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",DC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",TC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",OC="Das Rezept ist abgelaufen.",NC="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",PC="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",MC="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",AC="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",RC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",FC="Vorgang nicht erlaubt.",LC="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",jC="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",VC="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",zC="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.",BC="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.",HC="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",UC="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",GC="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",WC="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",qC="Zurück zum Portal Meine Gesundheit",$C="https://wwwint.meinegesundheit.belgien.be/#/",YC="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",ZC="Ungültiges Datumsformat.",KC="Dienst vorübergehend nicht verfügbar",JC=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
33
+ Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,XC="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",QC="Technisches Problem",e2="Bitte versuchen Sie es später noch einmal.",t2="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",n2="unsere Nutzungsbedingungen",i2="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",a2="Problem melden",r2="Nicht melden",o2="Das Problem wurde gemeldet",s2="Daten nicht verfügbar",l2="Aktion nicht erlaubt",c2="Schließen",u2="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",d2="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",axe={VIDIS_0035:aC,VIDIS_0050:rC,VIDIS_0090:oC,VIDIS_0121:sC,VIDIS_0122:lC,VIDIS_0123:cC,VIDIS_0124:uC,VIDIS_0125:dC,VIDIS_0126:hC,VIDIS_0131:pC,VIDIS_0132:mC,VIDIS_0133:fC,VIDIS_0134:gC,VIDIS_0135:vC,VIDIS_0136:yC,VIDIS_0190:bC,VIDIS_0210:_C,VIDIS_0211:xC,VIDIS_0230:wC,VIDIS_0290:EC,VIDIS_0330:SC,VIDIS_0435:kC,VIDIS_0440:CC,VIDIS_5000:IC,VIDIS_7000:DC,VIDIS_3150:TC,VIDIS_3090:OC,VIDIS_3140:NC,VIDIS_3100:PC,VIDIS_3120:MC,VIDIS_0400:AC,VIDIS_3030:RC,VIDIS_0100:FC,VIDIS_0120:LC,VIDIS_0110:jC,VIDIS_0200:VC,VIDIS_0340:zC,VIDIS_0341:BC,VIDIS_04001:HC,prescriptionList:UC,general:GC,"no-access":WC,myHealth:qC,myHealthUrl:$C,network_error:YC,invalid_date_format:ZC,"status-message-title":KC,"status-message-content":JC,"has-hidden-prescriptions":XC,"report-message-title":QC,"report-message-explanation":e2,"report-message-content":t2,"report-message-term-use":n2,"report-message-link":i2,"report-message-report-button":a2,"report-message-ignore-button":r2,"report-message-confirm-toast":o2,"data-not-available-title":s2,"action-not-authorized-title":l2,"action-not-authorized-close-button":c2,"incorrect-elements-ms-list":u2,"incorrect-elements-ms-detail":d2},h2={};K(h2,{VIDIS_0035:()=>p2,VIDIS_0050:()=>m2,VIDIS_0090:()=>f2,VIDIS_0100:()=>W2,VIDIS_0110:()=>$2,VIDIS_0120:()=>q2,VIDIS_0121:()=>g2,VIDIS_0122:()=>v2,VIDIS_0123:()=>y2,VIDIS_0124:()=>b2,VIDIS_0125:()=>_2,VIDIS_0126:()=>x2,VIDIS_0131:()=>w2,VIDIS_0132:()=>E2,VIDIS_0133:()=>S2,VIDIS_0134:()=>k2,VIDIS_0135:()=>C2,VIDIS_0136:()=>I2,VIDIS_0190:()=>D2,VIDIS_0200:()=>Y2,VIDIS_0210:()=>T2,VIDIS_0211:()=>O2,VIDIS_0230:()=>N2,VIDIS_0290:()=>P2,VIDIS_0330:()=>M2,VIDIS_0340:()=>Z2,VIDIS_0341:()=>K2,VIDIS_0400:()=>U2,VIDIS_04001:()=>J2,VIDIS_0435:()=>A2,VIDIS_0440:()=>R2,VIDIS_3030:()=>G2,VIDIS_3090:()=>V2,VIDIS_3100:()=>B2,VIDIS_3120:()=>H2,VIDIS_3140:()=>z2,VIDIS_3150:()=>j2,VIDIS_5000:()=>F2,VIDIS_7000:()=>L2,"action-not-authorized-close-button":()=>yI,"action-not-authorized-title":()=>vI,"data-not-available-title":()=>gI,default:()=>rxe,general:()=>Q2,"has-hidden-prescriptions":()=>sI,"incorrect-elements-ms-detail":()=>_I,"incorrect-elements-ms-list":()=>bI,invalid_date_format:()=>aI,myHealth:()=>tI,myHealthUrl:()=>nI,network_error:()=>iI,"no-access":()=>eI,prescriptionList:()=>X2,"report-message-confirm-toast":()=>fI,"report-message-content":()=>uI,"report-message-explanation":()=>cI,"report-message-ignore-button":()=>mI,"report-message-link":()=>hI,"report-message-report-button":()=>pI,"report-message-term-use":()=>dI,"report-message-title":()=>lI,"status-message-content":()=>oI,"status-message-title":()=>rI});var p2="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",m2="The patient's NISS number is missing (VIDIS_0050)",f2="The personal information provided was not recognised. (VIDIS_0090)",g2="Consulting data of a Brussels patient is currently not authorised.",v2="Consulting data of a Walloon patient is currently not authorised.",y2="Consulting data of a Brussels child by a parent is currently not authorised.",b2="Consulting data of a Walloon child by a parent is currently not authorised.",_2="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",x2="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",w2="Access to the data of a Brussels patient is currently not permitted.",E2="Access to the data of a Walloon patient is currently not permitted.",S2="A parent’s access to the data of a Brussels child is currently not permitted.",k2="A parent’s access to the data of a Walloon child is currently not permitted.",C2="A representative’s access to the data of a Brussels patient is currently not permitted.",I2="A representative’s access to the data of a Walloon patient is currently not permitted.",D2="The patient's NISS number is invalid. (VIDIS_0190)",T2="The login was unsuccessful. Please try again. (VIDIS_0210)",O2="The login was unsuccessful. Please try again. (VIDIS_0211)",N2="The request is invalid. (VIDIS_0230)",P2="User role must be citizen. (VIDIS_0290)",M2="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)",A2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",R2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",F2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",L2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",j2="No mandate found between patient and mandateholder.",V2="Prescription has expired.",z2="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",B2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",H2="The patient in the session is different from the patient in the request.",U2="User is not authorized to make the request.",G2="No mandate found between patient and mandateholder.",W2="Operation is not allowed.",q2="A therapeutic relation between the requester and the patient is not available.",$2="There is no consent to share personal health information.",Y2="User is not allowed to perform the operation due to an exclusion between requester and patient.",Z2="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",K2="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",J2="Your request is invalid. Please try again later.",X2="Unfortunately the details of the prescription could not be retrieved. Please try again.",Q2="An internal technical error has occured. Please try again later.",eI="An internal technical error has occured. Please try again later.",tI="Back to the MyHealth portal.",nI="https://www.myhealth.belgium.be/",iI="A network error unfortunately has occured. Please contact your network manager if the problem persists.",aI="Invalid date format.",rI="Service temporarily unavailable",oI=`We are currently having a problem connecting to the server.
34
+ Please try again later.`,sI="The patient has hidden one or more prescriptions.",lI="Technical problem",cI="Please try again later.",uI="Help us identify and resolve the issue. By reporting it, you accept ",dI="our terms of use",hI="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",pI="Report the problem",mI="Don't report",fI="The problem has been reported",gI="Data not available",vI="Action not authorized",yI="Close",bI="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",_I="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",rxe={VIDIS_0035:p2,VIDIS_0050:m2,VIDIS_0090:f2,VIDIS_0121:g2,VIDIS_0122:v2,VIDIS_0123:y2,VIDIS_0124:b2,VIDIS_0125:_2,VIDIS_0126:x2,VIDIS_0131:w2,VIDIS_0132:E2,VIDIS_0133:S2,VIDIS_0134:k2,VIDIS_0135:C2,VIDIS_0136:I2,VIDIS_0190:D2,VIDIS_0210:T2,VIDIS_0211:O2,VIDIS_0230:N2,VIDIS_0290:P2,VIDIS_0330:M2,VIDIS_0435:A2,VIDIS_0440:R2,VIDIS_5000:F2,VIDIS_7000:L2,VIDIS_3150:j2,VIDIS_3090:V2,VIDIS_3140:z2,VIDIS_3100:B2,VIDIS_3120:H2,VIDIS_0400:U2,VIDIS_3030:G2,VIDIS_0100:W2,VIDIS_0120:q2,VIDIS_0110:$2,VIDIS_0200:Y2,VIDIS_0340:Z2,VIDIS_0341:K2,VIDIS_04001:J2,prescriptionList:X2,general:Q2,"no-access":eI,myHealth:tI,myHealthUrl:nI,network_error:iI,invalid_date_format:aI,"status-message-title":rI,"status-message-content":oI,"has-hidden-prescriptions":sI,"report-message-title":lI,"report-message-explanation":cI,"report-message-content":uI,"report-message-term-use":dI,"report-message-link":hI,"report-message-report-button":pI,"report-message-ignore-button":mI,"report-message-confirm-toast":fI,"data-not-available-title":gI,"action-not-authorized-title":vI,"action-not-authorized-close-button":yI,"incorrect-elements-ms-list":bI,"incorrect-elements-ms-detail":_I},xI={};K(xI,{VIDIS_0035:()=>wI,VIDIS_0050:()=>EI,VIDIS_0090:()=>SI,VIDIS_0100:()=>eD,VIDIS_0110:()=>nD,VIDIS_0120:()=>tD,VIDIS_0121:()=>kI,VIDIS_0122:()=>CI,VIDIS_0123:()=>II,VIDIS_0124:()=>DI,VIDIS_0125:()=>TI,VIDIS_0126:()=>OI,VIDIS_0131:()=>NI,VIDIS_0132:()=>PI,VIDIS_0133:()=>MI,VIDIS_0134:()=>AI,VIDIS_0135:()=>RI,VIDIS_0136:()=>FI,VIDIS_0190:()=>LI,VIDIS_0200:()=>iD,VIDIS_0210:()=>jI,VIDIS_0211:()=>VI,VIDIS_0230:()=>zI,VIDIS_0290:()=>BI,VIDIS_0330:()=>HI,VIDIS_0340:()=>aD,VIDIS_0341:()=>rD,VIDIS_0400:()=>XI,VIDIS_04001:()=>oD,VIDIS_0435:()=>UI,VIDIS_0440:()=>GI,VIDIS_3030:()=>QI,VIDIS_3090:()=>YI,VIDIS_3100:()=>KI,VIDIS_3120:()=>JI,VIDIS_3140:()=>ZI,VIDIS_3150:()=>$I,VIDIS_5000:()=>WI,VIDIS_7000:()=>qI,"action-not-authorized-close-button":()=>ID,"action-not-authorized-title":()=>CD,"data-not-available-title":()=>kD,default:()=>oxe,general:()=>lD,"has-hidden-prescriptions":()=>gD,"incorrect-elements-ms-detail":()=>TD,"incorrect-elements-ms-list":()=>DD,invalid_date_format:()=>pD,myHealth:()=>uD,myHealthUrl:()=>dD,network_error:()=>hD,"no-access":()=>cD,prescriptionList:()=>sD,"report-message-confirm-toast":()=>SD,"report-message-content":()=>bD,"report-message-explanation":()=>yD,"report-message-ignore-button":()=>ED,"report-message-link":()=>xD,"report-message-report-button":()=>wD,"report-message-term-use":()=>_D,"report-message-title":()=>vD,"status-message-content":()=>fD,"status-message-title":()=>mD});var wI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",EI="Le NISS du patient est manquant. (VIDIS_0050)",SI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",kI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",CI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",II="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",DI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",TI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",OI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",NI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",PI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",MI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",AI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",RI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",FI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",LI="Le NISS du patient n’est pas valide. (VIDIS_0190)",jI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",VI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",zI="L’opération n’est pas valide. (VIDIS_0230)",BI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",HI="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)",UI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",GI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",WI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",qI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",$I="Aucun mandat trouvé entre le patient et le mandataire.",YI="L’ordonnance est expirée.",ZI="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",KI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",JI="Le patient dans la session est différent de celui dans la demande.",XI="L’utilisateur n’est pas autorisé à effectuer la requête.",QI="Aucun mandat trouvé entre le patient et le mandataire.",eD="Opération non autorisée.",tD="Aucune relation thérapeutique entre le demandeur et le patient.",nD="Aucun consentement au partage des données de santé.",iD="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",aD="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",rD="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",oD="Votre requête est invalide. Veuillez réessayer plus tard.",sD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",lD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",cD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",uD="Revenir au portail MaSanté",dD="https://wwwint.masante.belgique.be/#/",hD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",pD="Le format de date est invalide.",mD="Service temporairement indisponible",fD=`Nous rencontrons actuellement un problème de connexion au serveur.
35
+ Veuillez réessayer plus tard.`,gD="Le patient a masqué une ou plusieurs prescriptions.",vD="Problème technique",yD="Veuillez réessayer plus tard.",bD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",_D="conditions d'utilisation",xD="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",wD="Signaler le problème",ED="Ignorer",SD="Le problème a été signalé",kD="Données non disponibles",CD="Action non autorisée",ID="Fermer",DD="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",TD="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",oxe={VIDIS_0035:wI,VIDIS_0050:EI,VIDIS_0090:SI,VIDIS_0121:kI,VIDIS_0122:CI,VIDIS_0123:II,VIDIS_0124:DI,VIDIS_0125:TI,VIDIS_0126:OI,VIDIS_0131:NI,VIDIS_0132:PI,VIDIS_0133:MI,VIDIS_0134:AI,VIDIS_0135:RI,VIDIS_0136:FI,VIDIS_0190:LI,VIDIS_0210:jI,VIDIS_0211:VI,VIDIS_0230:zI,VIDIS_0290:BI,VIDIS_0330:HI,VIDIS_0435:UI,VIDIS_0440:GI,VIDIS_5000:WI,VIDIS_7000:qI,VIDIS_3150:$I,VIDIS_3090:YI,VIDIS_3140:ZI,VIDIS_3100:KI,VIDIS_3120:JI,VIDIS_0400:XI,VIDIS_3030:QI,VIDIS_0100:eD,VIDIS_0120:tD,VIDIS_0110:nD,VIDIS_0200:iD,VIDIS_0340:aD,VIDIS_0341:rD,VIDIS_04001:oD,prescriptionList:sD,general:lD,"no-access":cD,myHealth:uD,myHealthUrl:dD,network_error:hD,invalid_date_format:pD,"status-message-title":mD,"status-message-content":fD,"has-hidden-prescriptions":gD,"report-message-title":vD,"report-message-explanation":yD,"report-message-content":bD,"report-message-term-use":_D,"report-message-link":xD,"report-message-report-button":wD,"report-message-ignore-button":ED,"report-message-confirm-toast":SD,"data-not-available-title":kD,"action-not-authorized-title":CD,"action-not-authorized-close-button":ID,"incorrect-elements-ms-list":DD,"incorrect-elements-ms-detail":TD},OD={};K(OD,{VIDIS_0035:()=>ND,VIDIS_0050:()=>PD,VIDIS_0090:()=>MD,VIDIS_0100:()=>cT,VIDIS_0110:()=>dT,VIDIS_0120:()=>uT,VIDIS_0121:()=>AD,VIDIS_0122:()=>RD,VIDIS_0123:()=>FD,VIDIS_0124:()=>LD,VIDIS_0125:()=>jD,VIDIS_0126:()=>VD,VIDIS_0131:()=>zD,VIDIS_0132:()=>BD,VIDIS_0133:()=>HD,VIDIS_0134:()=>UD,VIDIS_0135:()=>GD,VIDIS_0136:()=>WD,VIDIS_0190:()=>qD,VIDIS_0200:()=>hT,VIDIS_0210:()=>$D,VIDIS_0211:()=>YD,VIDIS_0230:()=>ZD,VIDIS_0290:()=>KD,VIDIS_0330:()=>JD,VIDIS_0340:()=>pT,VIDIS_0341:()=>mT,VIDIS_0400:()=>sT,VIDIS_04001:()=>fT,VIDIS_0435:()=>XD,VIDIS_0440:()=>QD,VIDIS_3030:()=>lT,VIDIS_3090:()=>iT,VIDIS_3100:()=>rT,VIDIS_3120:()=>oT,VIDIS_3140:()=>aT,VIDIS_3150:()=>nT,VIDIS_5000:()=>eT,VIDIS_7000:()=>tT,"action-not-authorized-close-button":()=>FT,"action-not-authorized-title":()=>RT,"data-not-available-title":()=>AT,default:()=>sxe,general:()=>vT,"has-hidden-prescriptions":()=>kT,"incorrect-elements-ms-detail":()=>jT,"incorrect-elements-ms-list":()=>LT,invalid_date_format:()=>wT,myHealth:()=>bT,myHealthUrl:()=>_T,network_error:()=>xT,"no-access":()=>yT,prescriptionList:()=>gT,"report-message-confirm-toast":()=>MT,"report-message-content":()=>DT,"report-message-explanation":()=>IT,"report-message-ignore-button":()=>PT,"report-message-link":()=>OT,"report-message-report-button":()=>NT,"report-message-term-use":()=>TT,"report-message-title":()=>CT,"status-message-content":()=>ST,"status-message-title":()=>ET});var ND="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",PD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",MD="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",AD="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",RD="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",FD="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",LD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",jD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",VD="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",zD="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",BD="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",HD="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",UD="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",GD="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",WD="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",qD="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",$D="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",YD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",ZD="Het verzoek is ongeldig. (VIDIS_0230)",KD="Gebruikersrol moet burger zijn. (VIDIS_0290)",JD="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)",XD="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",QD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",eT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",tT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",nT="Geen mandaat gevonden tussen patiënt en mandataris.",iT="Voorschrift is verlopen.",aT="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",rT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",oT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",sT="De gebruiker is niet gemachtigd om de aanvraag te doen.",lT="Geen mandaat gevonden tussen patiënt en mandataris.",cT="Bewerking is niet toegestaan.",uT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",dT="Er is geen toestemming om gezondheidsgegevens te delen.",hT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",pT="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",mT="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",fT="Uw verzoek is ongeldig. Probeer later opnieuw.",gT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",vT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",yT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",bT="Terug naar het MijnGezondheid portaal",_T="http://wwwint.mijngezondheid.belgie.be/",xT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",wT="Ongeldig datumformaat.",ET="Service tijdelijk niet beschikbaar",ST=`Er is momenteel een probleem met de verbinding met de server.
36
+ Probeer het later nog eens.`,kT="De patiënt heeft 1 of meerdere voorschriften verborgen.",CT="Technisch probleem",IT="Probeer het later opnieuw.",DT="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",TT="gebruiksvoorwaarden",OT="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",NT="Probleem melden",PT="Niet melden",MT="Het probleem is gemeld",AT="Gegevens niet beschikbaar",RT="Actie niet toegestaan",FT="Sluiten",LT="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",jT="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",sxe={VIDIS_0035:ND,VIDIS_0050:PD,VIDIS_0090:MD,VIDIS_0121:AD,VIDIS_0122:RD,VIDIS_0123:FD,VIDIS_0124:LD,VIDIS_0125:jD,VIDIS_0126:VD,VIDIS_0131:zD,VIDIS_0132:BD,VIDIS_0133:HD,VIDIS_0134:UD,VIDIS_0135:GD,VIDIS_0136:WD,VIDIS_0190:qD,VIDIS_0210:$D,VIDIS_0211:YD,VIDIS_0230:ZD,VIDIS_0290:KD,VIDIS_0330:JD,VIDIS_0435:XD,VIDIS_0440:QD,VIDIS_5000:eT,VIDIS_7000:tT,VIDIS_3150:nT,VIDIS_3090:iT,VIDIS_3140:aT,VIDIS_3100:rT,VIDIS_3120:oT,VIDIS_0400:sT,VIDIS_3030:lT,VIDIS_0100:cT,VIDIS_0120:uT,VIDIS_0110:dT,VIDIS_0200:hT,VIDIS_0340:pT,VIDIS_0341:mT,VIDIS_04001:fT,prescriptionList:gT,general:vT,"no-access":yT,myHealth:bT,myHealthUrl:_T,network_error:xT,invalid_date_format:wT,"status-message-title":ET,"status-message-content":ST,"has-hidden-prescriptions":kT,"report-message-title":CT,"report-message-explanation":IT,"report-message-content":DT,"report-message-term-use":TT,"report-message-link":OT,"report-message-report-button":NT,"report-message-ignore-button":PT,"report-message-confirm-toast":MT,"data-not-available-title":AT,"action-not-authorized-title":RT,"action-not-authorized-close-button":FT,"incorrect-elements-ms-list":LT,"incorrect-elements-ms-detail":jT},lxe={nl:OD,fr:xI,de:iC,en:h2},VT={};K(VT,{close:()=>zT,default:()=>cxe,downloadLeaflet:()=>BT,file:()=>HT,medicationDetails:()=>ZT,notSpecified:()=>UT,patient:()=>WT,prescribedOn:()=>$T,prescriber:()=>qT,prescription:()=>GT,seeDetails:()=>YT});var zT="Schließen",BT="Download Packungsbeilage (pdf)",HT="feile",UT="Nicht angegeben",GT="Rezept",WT="Patient",qT="Verordnende Person",$T="Drucken",YT="Details anzeigen",ZT="Details zum Medikament",cxe={close:zT,downloadLeaflet:BT,file:HT,notSpecified:UT,prescription:GT,patient:WT,prescriber:qT,prescribedOn:$T,seeDetails:YT,medicationDetails:ZT},KT={};K(KT,{close:()=>JT,default:()=>uxe,downloadLeaflet:()=>XT,file:()=>QT,medicationDetails:()=>oO,notSpecified:()=>eO,patient:()=>nO,prescribedOn:()=>aO,prescriber:()=>iO,prescription:()=>tO,seeDetails:()=>rO});var JT="Close",XT="Download leaflet (pdf)",QT="file",eO="Not specified",tO="Prescription",nO="Patient",iO="Prescriber",aO="Prescribed on",rO="View details",oO="Details for the medication",uxe={close:JT,downloadLeaflet:XT,file:QT,notSpecified:eO,prescription:tO,patient:nO,prescriber:iO,prescribedOn:aO,seeDetails:rO,medicationDetails:oO},sO={};K(sO,{close:()=>lO,default:()=>dxe,downloadLeaflet:()=>cO,file:()=>uO,medicationDetails:()=>vO,notSpecified:()=>dO,patient:()=>pO,prescribedOn:()=>fO,prescriber:()=>mO,prescription:()=>hO,seeDetails:()=>gO});var lO="Fermer",cO="Télécharger la notice (pdf)",uO="fichier",dO="Non spécifié",hO="Prescription",pO="Patient",mO="Prescripteur",fO="Prescrit le",gO="Voir détails",vO="Détails pour le médicament",dxe={close:lO,downloadLeaflet:cO,file:uO,notSpecified:dO,prescription:hO,patient:pO,prescriber:mO,prescribedOn:fO,seeDetails:gO,medicationDetails:vO},yO={};K(yO,{close:()=>bO,default:()=>hxe,downloadLeaflet:()=>_O,file:()=>xO,medicationDetails:()=>DO,notSpecified:()=>wO,patient:()=>SO,prescribedOn:()=>CO,prescriber:()=>kO,prescription:()=>EO,seeDetails:()=>IO});var bO="Sluiten",_O="Download bijsluiter (pdf)",xO="bestand",wO="Niet gespecificeerd",EO="Voorschrift",SO="Patiënt",kO="Voorschrijver",CO="Voorgeschreven op",IO="Details bekijken",DO="Details voor het geneesmiddel",hxe={close:bO,downloadLeaflet:_O,file:xO,notSpecified:wO,prescription:EO,patient:SO,prescriber:kO,prescribedOn:CO,seeDetails:IO,medicationDetails:DO},pxe={nl:yO,fr:sO,de:VT,en:KT},TO={};K(TO,{D:()=>OO,DA:()=>NO,DD:()=>PO,DE:()=>MO,DN:()=>AO,DQ:()=>RO,DT:()=>FO,DV:()=>LO,DW:()=>jO,DX:()=>VO,DZ:()=>zO,J:()=>BO,JD:()=>HO,JH2:()=>UO,JQ:()=>GO,JT:()=>WO,JV:()=>qO,JZ:()=>$O,M:()=>YO,MA:()=>ZO,MC:()=>KO,MD:()=>JO,ME:()=>XO,MN:()=>QO,MQ:()=>eN,MS:()=>tN,MT:()=>nN,MV:()=>iN,MX:()=>aN,MZ2:()=>rN,O1:()=>oN,U:()=>lN,UA:()=>fN,UD:()=>uN,UE:()=>yN,UH:()=>sN,UN:()=>gN,UQ:()=>hN,US:()=>mN,UT:()=>cN,UV:()=>dN,UW:()=>bN,UX:()=>vN,UZ:()=>pN,W:()=>_N,WA:()=>xN,WD:()=>wN,WE:()=>EN,WN:()=>SN,WP:()=>kN,WQ:()=>CN,WS:()=>IN,WT:()=>DN,WV:()=>TN,WW:()=>ON,WX:()=>NN,WZ:()=>PN,default:()=>mxe,ondemand:()=>MN});var OO="Pro Tag",NO="Pro 8 Tagen",PO="Pro 3 Tagen",MO="Pro 11 Tagen",AO="Pro 9 Tagen",RO="Pro 5 Tagen",FO="Pro 2 Tagen",LO="Pro 4 Tagen",jO="Pro 12 Tagen",VO="Pro 10 Tagen",zO="Pro 6 Tagen",BO="Pro Jahre",HO="Pro 3 Jahren",UO="Pro halbes Jahre",GO="Pro 5 Jahren",WO="Pro 2 Jahren",qO="Pro 4 Jahren",$O="Pro 6 Jahren",YO="Pro Monat",ZO="Pro 8 Monaten",KO="Pro 18 Monaten",JO="Pro 3 Monaten",XO="Pro 11 Monaten",QO="Pro 9 Monaten",eN="Pro 5 Monaten",tN="Pro 7 Monaten",nN="Pro 2 Monaten",iN="Pro 4 Monaten",aN="Pro 10 Monaten",rN="Pro 6 Monaten",oN="Jeden 2 Tagen",sN="Pro halbe Stunde",lN="Pro Uhr",cN="Pro 2 Uhren",uN="Pro 3 Uhren",dN="Pro 4 Uhren",hN="Pro 5 Uhren",pN="Pro 6 Uhren",mN="Pro 7 Uhren",fN="Pro 8 Uhren",gN="Pro 9 Uhren",vN="Pro 10 Uhren",yN="Pro 11 Uhren",bN="Pro 12 Uhren",_N="Pro Woche",xN="Pro 8 Wochen",wN="Pro 3 Wochen",EN="Pro 11 Wochen",SN="Pro 9 Wochen",kN="Pro 24 Wochen",CN="Pro 5 Wochen",IN="Pro 7 Wochen",DN="Pro 2 Wochen",TN="Pro 4 Wochen",ON="Pro 12 Wochen",NN="Pro 10 Wochen",PN="Pro 6 Wochen",MN="Auf Nachfrage",mxe={D:OO,DA:NO,DD:PO,DE:MO,DN:AO,DQ:RO,DT:FO,DV:LO,DW:jO,DX:VO,DZ:zO,J:BO,JD:HO,JH2:UO,JQ:GO,JT:WO,JV:qO,JZ:$O,M:YO,MA:ZO,MC:KO,MD:JO,ME:XO,MN:QO,MQ:eN,MS:tN,MT:nN,MV:iN,MX:aN,MZ2:rN,O1:oN,UH:sN,U:lN,UT:cN,UD:uN,UV:dN,UQ:hN,UZ:pN,US:mN,UA:fN,UN:gN,UX:vN,UE:yN,UW:bN,W:_N,WA:xN,WD:wN,WE:EN,WN:SN,WP:kN,WQ:CN,WS:IN,WT:DN,WV:TN,WW:ON,WX:NN,WZ:PN,ondemand:MN},AN={};K(AN,{D:()=>YN,DA:()=>nP,DD:()=>JN,DE:()=>rP,DN:()=>iP,DQ:()=>QN,DT:()=>ZN,DV:()=>XN,DW:()=>oP,DX:()=>aP,DZ:()=>eP,J:()=>NP,JD:()=>AP,JH2:()=>SP,JQ:()=>FP,JT:()=>MP,JV:()=>RP,JZ:()=>LP,M:()=>uP,MA:()=>IP,MC:()=>PP,MD:()=>_P,ME:()=>OP,MN:()=>DP,MQ:()=>wP,MS:()=>CP,MT:()=>fP,MV:()=>xP,MX:()=>TP,MZ2:()=>kP,O1:()=>KN,U:()=>FN,UA:()=>UN,UD:()=>jN,UE:()=>qN,UH:()=>RN,UN:()=>GN,UQ:()=>zN,US:()=>HN,UT:()=>LN,UV:()=>VN,UW:()=>$N,UX:()=>WN,UZ:()=>BN,W:()=>tP,WA:()=>mP,WD:()=>lP,WE:()=>yP,WN:()=>gP,WP:()=>EP,WQ:()=>dP,WS:()=>pP,WT:()=>sP,WV:()=>cP,WW:()=>bP,WX:()=>vP,WZ:()=>hP,default:()=>fxe,ondemand:()=>jP});var RN="Per half hour",FN="Per hour",LN="Per 2 hours",jN="Per 3 hours",VN="Per 4 hours",zN="Per 5 hours",BN="Per 6 hours",HN="Per 7 hours",UN="Per 8 hours",GN="Per 9 hours",WN="Per 10 hours",qN="Per11 hours",$N="Per 12 hours",YN="Per day",ZN="Per 2 days",KN="Every 2 days",JN="Per 3 days",XN="Per 4 days",QN="Per 5 days",eP="Per 6 days",tP="Per 7 days",nP="Per 8 days",iP="Per 9 days",aP="Per 10 days",rP="Per 11 days",oP="Per 12 days",sP="Per 2 weeks",lP="Per 3 weeks",cP="Per 4 weeks",uP="Per month",dP="Per 5 weeks",hP="Per 6 weeks",pP="Per 7 weeks",mP="Per 8 weeks",fP="Per 2 months",gP="Per 9 weeks",vP="Per 10 weeks",yP="Per 11 weeks",bP="Per 12 weeks",_P="Per 3 months",xP="Per 4 months",wP="Per 5 months",EP="Per 24 weeks",SP="Per half year",kP="Per 6 months",CP="Per 7 months",IP="Per 8 months",DP="Per 9 months",TP="Per 10 months",OP="Per 11 months",NP="Per Year",PP="Per 18 months",MP="Per 2 years",AP="Per 3 years",RP="Per 4 years",FP="Per 5 years",LP="Per 6 years",jP="On demand",fxe={UH:RN,U:FN,UT:LN,UD:jN,UV:VN,UQ:zN,UZ:BN,US:HN,UA:UN,UN:GN,UX:WN,UE:qN,UW:$N,D:YN,DT:ZN,O1:KN,DD:JN,DV:XN,DQ:QN,DZ:eP,W:tP,DA:nP,DN:iP,DX:aP,DE:rP,DW:oP,WT:sP,WD:lP,WV:cP,M:uP,WQ:dP,WZ:hP,WS:pP,WA:mP,MT:fP,WN:gP,WX:vP,WE:yP,WW:bP,MD:_P,MV:xP,MQ:wP,WP:EP,JH2:SP,MZ2:kP,MS:CP,MA:IP,MN:DP,MX:TP,ME:OP,J:NP,MC:PP,JT:MP,JD:AP,JV:RP,JQ:FP,JZ:LP,ondemand:jP},VP={};K(VP,{D:()=>zP,DA:()=>BP,DD:()=>HP,DE:()=>UP,DN:()=>GP,DQ:()=>WP,DT:()=>qP,DV:()=>$P,DW:()=>YP,DX:()=>ZP,DZ:()=>KP,J:()=>JP,JD:()=>XP,JH2:()=>QP,JQ:()=>eM,JT:()=>tM,JV:()=>nM,JZ:()=>iM,M:()=>aM,MA:()=>rM,MC:()=>oM,MD:()=>sM,ME:()=>lM,MN:()=>cM,MQ:()=>uM,MS:()=>dM,MT:()=>hM,MV:()=>pM,MX:()=>mM,MZ2:()=>fM,O1:()=>gM,U:()=>yM,UA:()=>kM,UD:()=>_M,UE:()=>DM,UH:()=>vM,UN:()=>CM,UQ:()=>wM,US:()=>SM,UT:()=>bM,UV:()=>xM,UW:()=>TM,UX:()=>IM,UZ:()=>EM,W:()=>OM,WA:()=>NM,WD:()=>PM,WE:()=>MM,WN:()=>AM,WP:()=>RM,WQ:()=>FM,WS:()=>LM,WT:()=>jM,WV:()=>VM,WW:()=>zM,WX:()=>BM,WZ:()=>HM,default:()=>gxe,ondemand:()=>UM});var zP="Par jour",BP="Par 8 jours",HP="Par 3 jours",UP="Par 11 jours",GP="Par 9 jours",WP="Par 5 jours",qP="Par 2 jours",$P="Par 4 jours",YP="Par 12 jours",ZP="Par 10 jours",KP="Par 6 jours",JP="Par an",XP="Par 3 années",QP="Par demi-années",eM="Par 5 années",tM="Par 2 années",nM="Par 4 années",iM="Par 6 années",aM="Par mois",rM="Par 8 mois",oM="Par 18 mois",sM="Par 3 mois",lM="Par 11 mois",cM="Par 9 mois",uM="Par 5 mois",dM="Par 7 mois",hM="Par 2 mois",pM="Par 4 mois",mM="Par 10 mois",fM="Par 6 mois",gM="Tous les 2 jours",vM="Par demi-heure",yM="Par heure",bM="Par 2 heures",_M="Par 3 heures",xM="Par 4 heures",wM="Par 5 heures",EM="Par 6 heures",SM="Par 7 heures",kM="Par 8 heures",CM="Par 9 heures",IM="Par 10 heures",DM="Par 11 heures",TM="Par 12 heures",OM="Par semaine",NM="Par 8 semaines",PM="Par 3 semaines",MM="Par 11 semaines",AM="Par 9 semaines",RM="Par 24 semaines",FM="Par 5 semaines",LM="Par 7 semaines",jM="Par 2 semaines",VM="Par 4 semaines",zM="Par 12 semaines",BM="Par 10 semaines",HM="Par 6 semaines",UM="Sur demande",gxe={D:zP,DA:BP,DD:HP,DE:UP,DN:GP,DQ:WP,DT:qP,DV:$P,DW:YP,DX:ZP,DZ:KP,J:JP,JD:XP,JH2:QP,JQ:eM,JT:tM,JV:nM,JZ:iM,M:aM,MA:rM,MC:oM,MD:sM,ME:lM,MN:cM,MQ:uM,MS:dM,MT:hM,MV:pM,MX:mM,MZ2:fM,O1:gM,UH:vM,U:yM,UT:bM,UD:_M,UV:xM,UQ:wM,UZ:EM,US:SM,UA:kM,UN:CM,UX:IM,UE:DM,UW:TM,W:OM,WA:NM,WD:PM,WE:MM,WN:AM,WP:RM,WQ:FM,WS:LM,WT:jM,WV:VM,WW:zM,WX:BM,WZ:HM,ondemand:UM},GM={};K(GM,{D:()=>WM,DA:()=>qM,DD:()=>$M,DE:()=>YM,DN:()=>ZM,DQ:()=>KM,DT:()=>JM,DV:()=>XM,DW:()=>QM,DX:()=>eA,DZ:()=>tA,J:()=>nA,JD:()=>iA,JH2:()=>aA,JQ:()=>rA,JT:()=>oA,JV:()=>sA,JZ:()=>lA,M:()=>cA,MA:()=>uA,MC:()=>dA,MD:()=>hA,ME:()=>pA,MN:()=>mA,MQ:()=>fA,MS:()=>gA,MT:()=>vA,MV:()=>yA,MX:()=>bA,MZ2:()=>_A,O1:()=>xA,U:()=>EA,UA:()=>OA,UD:()=>kA,UE:()=>MA,UH:()=>wA,UN:()=>NA,UQ:()=>IA,US:()=>TA,UT:()=>SA,UV:()=>CA,UW:()=>AA,UX:()=>PA,UZ:()=>DA,W:()=>RA,WA:()=>FA,WD:()=>LA,WE:()=>jA,WN:()=>VA,WP:()=>zA,WQ:()=>BA,WS:()=>HA,WT:()=>UA,WV:()=>GA,WW:()=>WA,WX:()=>qA,WZ:()=>$A,default:()=>vxe,ondemand:()=>YA});var WM="Dagelijks",qM="Om de 8 dagen",$M="Om de 3 dagen",YM="Om de 11 dagen",ZM="Om de 9 dagen",KM="Om de 5 dagen",JM="Om de 2 dagen",XM="Om de 4 dagen",QM="Om de 12 dagen",eA="Om de 10 dagen",tA="Om de 6 dagen",nA="Jaarlijks",iA="Om de 3 jaar",aA="Halfjaarlijks",rA="Om de 5 jaar",oA="Om de 2 jaar",sA="Om de 4 jaar",lA="Om de 6 jaar",cA="Maandelijks",uA="Om de 8 maanden",dA="Om de 18 maanden",hA="Om de 3 maanden",pA="Om de 11 maanden",mA="Om de 9 maanden",fA="Om de 5 maanden",gA="Om de 7 maanden",vA="Om de 2 maanden",yA="Om de 4 maanden",bA="Om de 10 maanden",_A="Om de 6 maanden",xA="Om de 2 dagen",wA="Om het half uur",EA="Om het uur",SA="Om de 2 uren",kA="Om de 3 uren",CA="Om de 4 uren",IA="Om de 5 uren",DA="Om de 6 uren",TA="Om de 7 uren",OA="Om de 8 uren",NA="Om de 9 uren",PA="Om de 10 uren",MA="Om de 11 uren",AA="Om de 12 uren",RA="Wekelijks",FA="Om de 8 weken",LA="Om de 3 weken",jA="Om de 11 weken",VA="Om de 9 weken",zA="Om de 24 weken",BA="Om de 5 weken",HA="Om de 7 weken",UA="Om de 2 weken",GA="Om de 4 weken",WA="Om de 12 weken",qA="Om de 10 weken",$A="Om de 6 weken",YA="Op aanvraag",vxe={D:WM,DA:qM,DD:$M,DE:YM,DN:ZM,DQ:KM,DT:JM,DV:XM,DW:QM,DX:eA,DZ:tA,J:nA,JD:iA,JH2:aA,JQ:rA,JT:oA,JV:sA,JZ:lA,M:cA,MA:uA,MC:dA,MD:hA,ME:pA,MN:mA,MQ:fA,MS:gA,MT:vA,MV:yA,MX:bA,MZ2:_A,O1:xA,UH:wA,U:EA,UT:SA,UD:kA,UV:CA,UQ:IA,UZ:DA,US:TA,UA:OA,UN:NA,UX:PA,UE:MA,UW:AA,W:RA,WA:FA,WD:LA,WE:jA,WN:VA,WP:zA,WQ:BA,WS:HA,WT:UA,WV:GA,WW:WA,WX:qA,WZ:$A,ondemand:YA},yxe={nl:GM,fr:VP,de:TO,en:AN},ZA={};K(ZA,{afterbreakfast:()=>KA,afterdinner:()=>JA,afterlunch:()=>XA,aftermeal:()=>QA,afternoon:()=>eR,beforebreakfast:()=>tR,beforedinner:()=>nR,beforelunch:()=>iR,betweenbreakfastandlunch:()=>aR,betweendinnerandsleep:()=>rR,betweenlunchanddinner:()=>oR,betweenmeals:()=>sR,breakfast:()=>lR,default:()=>bxe,dinner:()=>cR,duringbreakfast:()=>uR,duringdinner:()=>dR,duringlunch:()=>hR,evening:()=>pR,lunch:()=>mR,morning:()=>fR,night:()=>gR,thehourofsleep:()=>vR});var KA="nach dem Frühstück",JA="nach dem Abendessen",XA="nach dem Mittagessen",QA="nach dem Essen",eR="Nachmittag",tR="vor dem Frühstück",nR="vor dem Abendessen",iR="vor dem Mittagessen",aR="zwischen Frühstück und Mittagessen",rR="zwischen Abendessen und Nachtruhe",oR="zwischen Mittagessen und Abendessen",sR="zwischen den Mahlzeiten",lR="Frühstück",cR="Abendessen",uR="zum Frühstück",dR="zum Abendessen",hR="zum Mittagessen",pR="Abend",mR="Mittagessen",fR="Vormittag",gR="Nacht",vR="Nachtruhe",bxe={afterbreakfast:KA,afterdinner:JA,afterlunch:XA,aftermeal:QA,afternoon:eR,beforebreakfast:tR,beforedinner:nR,beforelunch:iR,betweenbreakfastandlunch:aR,betweendinnerandsleep:rR,betweenlunchanddinner:oR,betweenmeals:sR,breakfast:lR,dinner:cR,duringbreakfast:uR,duringdinner:dR,duringlunch:hR,evening:pR,lunch:mR,morning:fR,night:gR,thehourofsleep:vR},yR={};K(yR,{afterbreakfast:()=>bR,afterdinner:()=>_R,afterlunch:()=>xR,aftermeal:()=>wR,afternoon:()=>ER,beforebreakfast:()=>SR,beforedinner:()=>kR,beforelunch:()=>CR,betweenbreakfastandlunch:()=>IR,betweendinnerandsleep:()=>DR,betweenlunchanddinner:()=>TR,betweenmeals:()=>OR,breakfast:()=>NR,default:()=>_xe,dinner:()=>PR,duringbreakfast:()=>MR,duringdinner:()=>AR,duringlunch:()=>RR,evening:()=>FR,lunch:()=>LR,morning:()=>jR,night:()=>VR,thehourofsleep:()=>zR});var bR="after breakfast",_R="after dinner",xR="after lunch",wR="after meal",ER="afternoon",SR="before breakfast",kR="before dinner",CR="before lunch",IR="between breakfast and lunch",DR="between dinner and the hour of sleep",TR="between lunch and dinner",OR="between meals",NR="breakfast",PR="dinner",MR="during breakfast",AR="during dinner",RR="during lunch",FR="evening",LR="lunch",jR="morning",VR="night",zR="the hour of sleep",_xe={afterbreakfast:bR,afterdinner:_R,afterlunch:xR,aftermeal:wR,afternoon:ER,beforebreakfast:SR,beforedinner:kR,beforelunch:CR,betweenbreakfastandlunch:IR,betweendinnerandsleep:DR,betweenlunchanddinner:TR,betweenmeals:OR,breakfast:NR,dinner:PR,duringbreakfast:MR,duringdinner:AR,duringlunch:RR,evening:FR,lunch:LR,morning:jR,night:VR,thehourofsleep:zR},BR={};K(BR,{afterbreakfast:()=>HR,afterdinner:()=>UR,afterlunch:()=>GR,aftermeal:()=>WR,afternoon:()=>qR,beforebreakfast:()=>$R,beforedinner:()=>YR,beforelunch:()=>ZR,betweenbreakfastandlunch:()=>KR,betweendinnerandsleep:()=>JR,betweenlunchanddinner:()=>XR,betweenmeals:()=>QR,breakfast:()=>eF,default:()=>xxe,dinner:()=>tF,duringbreakfast:()=>nF,duringdinner:()=>iF,duringlunch:()=>aF,evening:()=>rF,lunch:()=>oF,morning:()=>sF,night:()=>lF,thehourofsleep:()=>cF});var HR="après le petit-déjeuner",UR="après le repas du soir",GR="après le repas du midi",WR="après le repas",qR="après-midi",$R="avant le petit-déjeuner",YR="avant le repas du soir",ZR="avant le repas du midi",KR="entre le petit-déjeuner et le repas du midi",JR="entre le repas du soir et l’heure du coucher",XR="entre le repas du midi et le repas du soir",QR="entre les repas",eF="petit-déjeuner",tF="repas du soir",nF="pendant le petit-déjeuner",iF="pendant le repas du soir",aF="pendant le repas du midi",rF="soir",oF="repas du midi",sF="matin",lF="nuit",cF="heure du coucher",xxe={afterbreakfast:HR,afterdinner:UR,afterlunch:GR,aftermeal:WR,afternoon:qR,beforebreakfast:$R,beforedinner:YR,beforelunch:ZR,betweenbreakfastandlunch:KR,betweendinnerandsleep:JR,betweenlunchanddinner:XR,betweenmeals:QR,breakfast:eF,dinner:tF,duringbreakfast:nF,duringdinner:iF,duringlunch:aF,evening:rF,lunch:oF,morning:sF,night:lF,thehourofsleep:cF},uF={};K(uF,{afterbreakfast:()=>dF,afterdinner:()=>hF,afterlunch:()=>pF,aftermeal:()=>mF,afternoon:()=>fF,beforebreakfast:()=>gF,beforedinner:()=>vF,beforelunch:()=>yF,betweenbreakfastandlunch:()=>bF,betweendinnerandsleep:()=>_F,betweenlunchanddinner:()=>xF,betweenmeals:()=>wF,breakfast:()=>EF,default:()=>wxe,dinner:()=>SF,duringbreakfast:()=>kF,duringdinner:()=>CF,duringlunch:()=>IF,evening:()=>DF,lunch:()=>TF,morning:()=>OF,night:()=>NF,thehourofsleep:()=>PF});var dF="na het ontbijt",hF="na het avondmaal",pF="na het middagmaal",mF="na de maaltijd",fF="namiddag",gF="voor het ontbijt",vF="voor het avondmaal",yF="voor het middagmaal",bF="tussen het ontbijt en het middagmaal",_F="tussen het avondmaal en het slapen gaan",xF="tussen het middagmaal en het avondmaal",wF="tussen de maaltijden",EF="ontbijt",SF="avondmaal",kF="tijdens het ontbijt",CF="tijdens het avondmaal",IF="tijdens het middagmaal",DF="'s avonds",TF="middagmaal",OF="'s ochtends",NF="'s nachts",PF="voor het slapen gaan",wxe={afterbreakfast:dF,afterdinner:hF,afterlunch:pF,aftermeal:mF,afternoon:fF,beforebreakfast:gF,beforedinner:vF,beforelunch:yF,betweenbreakfastandlunch:bF,betweendinnerandsleep:_F,betweenlunchanddinner:xF,betweenmeals:wF,breakfast:EF,dinner:SF,duringbreakfast:kF,duringdinner:CF,duringlunch:IF,evening:DF,lunch:TF,morning:OF,night:NF,thehourofsleep:PF},Exe={nl:uF,fr:BR,de:ZA,en:yR},MF={};K(MF,{day:()=>AF,default:()=>Sxe,during:()=>LF,on:()=>FF,week:()=>RF});var AF="Tag",RF="Woche",FF="am",LF="für",Sxe={day:AF,week:RF,on:FF,during:LF},jF={};K(jF,{day:()=>VF,default:()=>kxe,during:()=>HF,on:()=>BF,week:()=>zF});var VF="day",zF="week",BF="on",HF="during",kxe={day:VF,week:zF,on:BF,during:HF},UF={};K(UF,{day:()=>GF,default:()=>Cxe,during:()=>$F,on:()=>qF,week:()=>WF});var GF="jour",WF="semaine",qF="le",$F="durant",Cxe={day:GF,week:WF,on:qF,during:$F},YF={};K(YF,{day:()=>ZF,default:()=>Ixe,during:()=>XF,on:()=>JF,week:()=>KF});var ZF="dag",KF="week",JF="op",XF="gedurende",Ixe={day:ZF,week:KF,on:JF,during:XF},Dxe={nl:YF,fr:UF,de:MF,en:jF},QF={};K(QF,{ambulance_driver:()=>eL,ambulance_first_aid:()=>tL,ambulance_rescuer:()=>nL,application:()=>iL,applied_psychology_bachelor:()=>aL,audician:()=>rL,audiologist:()=>oL,biologist_pharmacist:()=>sL,care_giver:()=>lL,certificateholder:()=>cL,citizen:()=>uL,clinical_orthopedic_pedagogue:()=>dL,clinical_psychologist:()=>hL,default:()=>Txe,dental_hygienist:()=>pL,dentist:()=>mL,deptalgology:()=>fL,deptanatomopathology:()=>gL,deptanesthesiology:()=>vL,deptbacteriology:()=>yL,deptcardiacsurgery:()=>bL,deptcardiology:()=>_L,deptchildandadolescentpsychiatry:()=>xL,deptdentistry:()=>wL,deptdermatology:()=>EL,deptdiabetology:()=>SL,deptdietetics:()=>kL,deptemergency:()=>CL,deptendocrinology:()=>IL,deptgastroenterology:()=>DL,deptgeneralpractice:()=>TL,deptgenetics:()=>OL,deptgeriatry:()=>NL,deptgynecology:()=>PL,depthandsurgery:()=>ML,depthematology:()=>AL,deptinfectiousdisease:()=>RL,deptintensivecare:()=>FL,deptkinesitherapy:()=>LL,deptlaboratory:()=>jL,deptmajorburns:()=>VL,deptmaxillofacialsurgery:()=>zL,deptmedicine:()=>BL,deptmolecularbiology:()=>HL,deptneonatalogy:()=>UL,deptnephrology:()=>GL,deptneurology:()=>WL,deptneurosurgery:()=>qL,deptnte:()=>$L,deptnuclear:()=>YL,deptnursing:()=>ZL,deptnutritiondietetics:()=>KL,deptobstetrics:()=>JL,deptoccupationaltherapy:()=>XL,deptoncology:()=>QL,deptophtalmology:()=>e3,deptorthopedy:()=>t3,deptpalliativecare:()=>n3,deptpediatricintensivecare:()=>i3,deptpediatricsurgery:()=>a3,deptpediatry:()=>r3,deptpharmacy:()=>o3,deptphysicalmedecine:()=>s3,deptphysiotherapy:()=>l3,deptplasticandreparatorysurgery:()=>c3,deptpneumology:()=>u3,deptpodiatry:()=>d3,deptpodology:()=>h3,deptpsychiatry:()=>p3,deptpsychogeriatry:()=>m3,deptpsychology:()=>f3,deptradiology:()=>g3,deptradiotherapy:()=>v3,deptrevalidation:()=>y3,deptrheumatology:()=>b3,deptrhumatology:()=>_3,deptsenology:()=>x3,deptsocialservice:()=>w3,deptspeechtherapy:()=>E3,deptsportsmedecine:()=>S3,deptstomatology:()=>k3,deptsurgery:()=>C3,deptthoracicsurgery:()=>I3,depttoxicology:()=>D3,depttropicalmedecine:()=>T3,depturology:()=>O3,deptvascularsurgery:()=>N3,deptvisceraldigestiveabdominalsurgery:()=>P3,diabete_equipment_supplier:()=>M3,dietician:()=>A3,doctor:()=>R3,family_science_bachelor:()=>F3,gerontology_master:()=>L3,groupofnurses:()=>j3,groupofphysiciansdifferentaddress:()=>V3,groupofphysicianssameaddress:()=>z3,guardpost:()=>B3,hub:()=>H3,imaging_technologist:()=>U3,implantprovider:()=>G3,lab_technologist:()=>W3,logopedist:()=>q3,midwife:()=>$3,nurse:()=>Y3,occupational_therapist:()=>Z3,optician:()=>K3,orghospital:()=>J3,orginsurance:()=>X3,orglaboratory:()=>Q3,orgpharmacy:()=>e5,orgpharmacyinvoicingoffice:()=>t5,orgpolyclinic:()=>n5,orgpractice:()=>i5,orgprevention:()=>a5,orgprimaryhealthcarecenter:()=>r5,orgpsychiatriccarehome:()=>o5,orgpublichealth:()=>s5,orgretirementhome:()=>l5,orgrevalidationcenter:()=>c5,orgshelteredliving:()=>u5,orthopedagogist_master:()=>d5,orthopedist:()=>h5,orthoptist:()=>p5,orthotist:()=>m5,patient:()=>f5,pediatric_nurse:()=>g5,persadministrative:()=>v5,persambulancefirstaid:()=>y5,persappliedpsychbachelor:()=>b5,persaudician:()=>_5,persaudiologist:()=>x5,persbandagistorthosiologist:()=>w5,persbiologist:()=>E5,perscaregiver:()=>S5,persclinicalorthopedagogist:()=>k5,persclinicalpsychologist:()=>C5,persdentist:()=>I5,persdietician:()=>D5,perseducator:()=>T5,persfamilysciencebachelor:()=>O5,persgerontologymaster:()=>N5,perslogopedist:()=>P5,persmidwife:()=>M5,persmobilityimprover:()=>A5,persnurse:()=>R5,persoccupationaltherapist:()=>F5,persoptician:()=>L5,persoptometrist:()=>j5,persoraldentalhygienist:()=>V5,persorthopedagogistmaster:()=>z5,persorthopedist:()=>B5,persorthoptist:()=>H5,persorthotist:()=>U5,persparamedical:()=>G5,perspatientdriver:()=>W5,perspharmacist:()=>q5,perspharmacistclinicalbiologist:()=>$5,perspharmacyassistant:()=>Y5,persphysician:()=>Z5,persphysiotherapist:()=>K5,perspodologist:()=>J5,perspracticalnurse:()=>X5,persprosthesiologist:()=>Q5,perspsychologist:()=>e4,perspsychomotortherapymaster:()=>t4,persreadaptationbachelor:()=>n4,persshoetechnologist:()=>i4,perssocialworker:()=>a4,perstechnician:()=>r4,perstrussmaker:()=>o4,pharmacist:()=>s4,pharmacist_assistant:()=>l4,physician:()=>c4,physiotherapist:()=>u4,podologist:()=>d4,practical_nurse:()=>h4,prosthetist:()=>p4,psychologist:()=>m4,psychomotor_therapy_master:()=>f4,readaptaion_bachelor:()=>g4,social_worker:()=>v4,specialized_educator:()=>y4,truss_maker:()=>b4});var eL="Rettungswagenfahrer",tL="Rettungssanitäter",nL="Rettungssanitäter",iL="Softwareapplikation",aL="Bachelor der angewandten Psychologie",rL="Hörgeräteakustiker",oL="Audiologe",sL="Fachapotheker für klinische Chemie",lL="Pflegekräfte",cL="Zertifikatinhaber",uL="Bürger",dL="Klinischer Heilpädagoge",hL="Klinischer Psychologe",pL="Dentalhygieniker",mL="Zahnarzt",fL="Algologie",gL="pathologische Anatomie",vL="Anästhesiologie",yL="Bakteriologie",bL="Herzchirurgie",_L="Kardiologie",xL="Kinder-und Jugendpsychiatrie",wL="Zahnheilkunde",EL="Dermatologie",SL="Diabetologie",kL="Diätetik",CL="Notaufnahme",IL="Endokrinologie",DL="Gastroenterologie",TL="Allgemeinmedizin",OL="Genetik",NL="Geriatrie",PL="Gynäkologie",ML="Handchirurgie",AL="Hämatologie",RL="Infektionskrankheit",FL="Intensivmedizin",LL="Physiotherapie",jL="Labordienst/-abteilung einer Einrichtung",VL="Schwerbrandverletztenzentrum",zL="Mund-Kiefer-Gesichtschirurgie",BL="Innere Medizin",HL="Molekularbiologie",UL="Neonatologie",GL="Nephrologie",WL="Neurologie",qL="Neurologie",$L="Hals-Nasen-Ohren-Heilkunde (HNO)",YL="Nuklearmedizin",ZL="Krankenpflege",KL="Diätetik",JL="Geburtshilfe",XL="Ergotherapie",QL="Onkologie",e3="Augenheilkunde",t3="Orthopädie",n3="Palliativpflege",i3="Kinder-Intensivstation",a3="Kinderchirurgie",r3="Pädiatrie",o3="Apothekendienst/-abteilung einer Einrichtung",s3="physikalische Medizin",l3="Physiotherapie",c3="plastische Chirurgie und rekonstruktive Chirurgie",u3="Pneumologie",d3="Podiatrie",h3="",p3="Psychiatrie",m3="Psychogeriatrie",f3="Psychologie",g3="Radiologie",v3="Strahlentherapie",y3="Rehabilitation",b3="Rheumatologie",_3="",x3="Senologie",w3="Sozialdienst",E3="Logopädie",S3="Sportmedizin",k3="Stomatologie",C3="Chirurgie",I3="Thoraxchirurgie",D3="Toxikologie",T3="Tropenmedizin",O3="Urologie",N3="Vaskuläre Chirurgie",P3="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",M3="Lieferant von Material für Diabetesselbstverwaltung ",A3="Diätassistent",R3="Arzt",F3="Bachelor der Familienwissenschaften",L3="Master der Gerontologie",j3="Krankenpflegeverband",V3="Zusammenschluss von Ärzten, unterschiedliche Adresse",z3="Zusammenschluss von Ärzten, gleiche Adresse",B3="Schwesternstützpunkt",H3="Hub",U3="Technologe im bildgebenden Diagnoseverfahren",G3="Lieferant von Implantaten",W3="Labortechniker",q3="Logopäde",$3="Hebamme",Y3="Fachkraft für Krankenpflege",Z3="Ergotherapeut",K3="Optiker",J3="Krankenhaus",X3="Versicherung",Q3="Unabhängiges Labor",e5="Unabhängige Apotheke",t5="Rechnungstelle für Apotheken",n5="Poliklinik",i5="Praxis",a5="Präventionsdienst",r5="Gesundheits- und Sozialzentrum",o5="psychiatrische Klinik",s5="Gesundheitsbehörde",l5="Altenheim",c5="Reha-Klinik",u5="Initiative für begleitetes Wohnen",d5="Master der Heilpädagogik",h5="Orthopäde",p5="Orthoptist-Optometrist",m5="Orthopädietechniker",f5="Patient",g5="Kinderkrankenschwester",v5="Büroangestellter",y5="Rettungswagen",b5="Bachelor in angewandter Psychologie",_5="Hörgeräteakustiker",x5="Audiologe",w5="Bandagist Orthosiologe (Orthopädietechniker)",E5="medizinischer Labortechniker",S5="informelle Pflegeperson",k5="Klinischer Heilpädagoge",C5="Klinischer Psychologe",I5="Zahnarzt",D5="Diätassistent",T5="Erzieher",O5="Bachelor in Familienwissenschaften",N5="Master in Gerontologie",P5="Logopäde",M5="Hebamme",A5="Mobilitätsverbesserer (Orthopädietechniker)",R5="Krankenpfleger",F5="Ergotherapeut",L5="Optiker",j5="Optometrist",V5="Dentalhygieniker",z5="Master in Heilpädagogik",B5="Orthopädist",H5="Orthoptist",U5="Orthopädietechniker/Prothesenbauer",G5="medizinische Hilfskraft",W5="Fahrdienst",q5="Apotheker",$5="Fachapotheker für klinische Chemie",Y5="Apothekenhelfer",Z5="Arzt",K5="Physiotherapeut",J5="Podologe",X5="Pfleger",Q5="Orthopädietechniker (Orthopädietechniker)",e4="Psychologe",t4="Master in Psychomotorik",n4="Bachelor in Rehabilitation",i4="Schuhtechniker (Orthopädietechniker)",a4="Sozialarbeiter",r4="Techniker für medizinische Bildgebung",o4="Bandagist",s4="Apotheker",l4="Pharmazeutisch-technischer Assistent ",c4="Arzt",u4="Physiotherapeut",d4="Podologe",h4="Pflegehelfer",p4="Prothesenhersteller",m4="Psychologe",f4="Master der psychomotorischen Therapie",g4="Bachelor der Rehabilitationswissenschaften",v4="Sozialassistent",y4="Bachelor der Erziehungswissenschaften",b4="Bandagist",Txe={ambulance_driver:eL,ambulance_first_aid:tL,ambulance_rescuer:nL,application:iL,applied_psychology_bachelor:aL,audician:rL,audiologist:oL,biologist_pharmacist:sL,care_giver:lL,certificateholder:cL,citizen:uL,clinical_orthopedic_pedagogue:dL,clinical_psychologist:hL,dental_hygienist:pL,dentist:mL,deptalgology:fL,deptanatomopathology:gL,deptanesthesiology:vL,deptbacteriology:yL,deptcardiacsurgery:bL,deptcardiology:_L,deptchildandadolescentpsychiatry:xL,deptdentistry:wL,deptdermatology:EL,deptdiabetology:SL,deptdietetics:kL,deptemergency:CL,deptendocrinology:IL,deptgastroenterology:DL,deptgeneralpractice:TL,deptgenetics:OL,deptgeriatry:NL,deptgynecology:PL,depthandsurgery:ML,depthematology:AL,deptinfectiousdisease:RL,deptintensivecare:FL,deptkinesitherapy:LL,deptlaboratory:jL,deptmajorburns:VL,deptmaxillofacialsurgery:zL,deptmedicine:BL,deptmolecularbiology:HL,deptneonatalogy:UL,deptnephrology:GL,deptneurology:WL,deptneurosurgery:qL,deptnte:$L,deptnuclear:YL,deptnursing:ZL,deptnutritiondietetics:KL,deptobstetrics:JL,deptoccupationaltherapy:XL,deptoncology:QL,deptophtalmology:e3,deptorthopedy:t3,deptpalliativecare:n3,deptpediatricintensivecare:i3,deptpediatricsurgery:a3,deptpediatry:r3,deptpharmacy:o3,deptphysicalmedecine:s3,deptphysiotherapy:l3,deptplasticandreparatorysurgery:c3,deptpneumology:u3,deptpodiatry:d3,deptpodology:h3,deptpsychiatry:p3,deptpsychogeriatry:m3,deptpsychology:f3,deptradiology:g3,deptradiotherapy:v3,deptrevalidation:y3,deptrheumatology:b3,deptrhumatology:_3,deptsenology:x3,deptsocialservice:w3,deptspeechtherapy:E3,deptsportsmedecine:S3,deptstomatology:k3,deptsurgery:C3,deptthoracicsurgery:I3,depttoxicology:D3,depttropicalmedecine:T3,depturology:O3,deptvascularsurgery:N3,deptvisceraldigestiveabdominalsurgery:P3,diabete_equipment_supplier:M3,dietician:A3,doctor:R3,family_science_bachelor:F3,gerontology_master:L3,groupofnurses:j3,groupofphysiciansdifferentaddress:V3,groupofphysicianssameaddress:z3,guardpost:B3,hub:H3,imaging_technologist:U3,implantprovider:G3,lab_technologist:W3,logopedist:q3,midwife:$3,nurse:Y3,occupational_therapist:Z3,optician:K3,orghospital:J3,orginsurance:X3,orglaboratory:Q3,orgpharmacy:e5,orgpharmacyinvoicingoffice:t5,orgpolyclinic:n5,orgpractice:i5,orgprevention:a5,orgprimaryhealthcarecenter:r5,orgpsychiatriccarehome:o5,orgpublichealth:s5,orgretirementhome:l5,orgrevalidationcenter:c5,orgshelteredliving:u5,orthopedagogist_master:d5,orthopedist:h5,orthoptist:p5,orthotist:m5,patient:f5,pediatric_nurse:g5,persadministrative:v5,persambulancefirstaid:y5,persappliedpsychbachelor:b5,persaudician:_5,persaudiologist:x5,persbandagistorthosiologist:w5,persbiologist:E5,perscaregiver:S5,persclinicalorthopedagogist:k5,persclinicalpsychologist:C5,persdentist:I5,persdietician:D5,perseducator:T5,persfamilysciencebachelor:O5,persgerontologymaster:N5,perslogopedist:P5,persmidwife:M5,persmobilityimprover:A5,persnurse:R5,persoccupationaltherapist:F5,persoptician:L5,persoptometrist:j5,persoraldentalhygienist:V5,persorthopedagogistmaster:z5,persorthopedist:B5,persorthoptist:H5,persorthotist:U5,persparamedical:G5,perspatientdriver:W5,perspharmacist:q5,perspharmacistclinicalbiologist:$5,perspharmacyassistant:Y5,persphysician:Z5,persphysiotherapist:K5,perspodologist:J5,perspracticalnurse:X5,persprosthesiologist:Q5,perspsychologist:e4,perspsychomotortherapymaster:t4,persreadaptationbachelor:n4,persshoetechnologist:i4,perssocialworker:a4,perstechnician:r4,perstrussmaker:o4,pharmacist:s4,pharmacist_assistant:l4,physician:c4,physiotherapist:u4,podologist:d4,practical_nurse:h4,prosthetist:p4,psychologist:m4,psychomotor_therapy_master:f4,readaptaion_bachelor:g4,social_worker:v4,specialized_educator:y4,truss_maker:b4},_4={};K(_4,{ambulance_driver:()=>x4,ambulance_first_aid:()=>w4,ambulance_rescuer:()=>E4,application:()=>S4,applied_psychology_bachelor:()=>k4,audician:()=>C4,audiologist:()=>I4,biologist_pharmacist:()=>D4,care_giver:()=>T4,certificateholder:()=>O4,citizen:()=>N4,clinical_orthopedic_pedagogue:()=>P4,clinical_psychologist:()=>M4,default:()=>Oxe,dental_hygienist:()=>A4,dentist:()=>R4,deptalgology:()=>F4,deptanatomopathology:()=>L4,deptanesthesiology:()=>j4,deptbacteriology:()=>V4,deptcardiacsurgery:()=>z4,deptcardiology:()=>B4,deptchildandadolescentpsychiatry:()=>H4,deptdentistry:()=>U4,deptdermatology:()=>G4,deptdiabetology:()=>W4,deptdietetics:()=>q4,deptemergency:()=>$4,deptendocrinology:()=>Y4,deptgastroenterology:()=>Z4,deptgeneralpractice:()=>K4,deptgenetics:()=>J4,deptgeriatry:()=>X4,deptgynecology:()=>Q4,depthandsurgery:()=>ej,depthematology:()=>tj,deptinfectiousdisease:()=>nj,deptintensivecare:()=>ij,deptkinesitherapy:()=>aj,deptlaboratory:()=>rj,deptmajorburns:()=>oj,deptmaxillofacialsurgery:()=>sj,deptmedicine:()=>lj,deptmolecularbiology:()=>cj,deptneonatalogy:()=>uj,deptnephrology:()=>dj,deptneurology:()=>hj,deptneurosurgery:()=>pj,deptnte:()=>mj,deptnuclear:()=>fj,deptnursing:()=>gj,deptnutritiondietetics:()=>vj,deptobstetrics:()=>yj,deptoccupationaltherapy:()=>bj,deptoncology:()=>_j,deptophtalmology:()=>xj,deptorthopedy:()=>wj,deptpalliativecare:()=>Ej,deptpediatricintensivecare:()=>Sj,deptpediatricsurgery:()=>kj,deptpediatry:()=>Cj,deptpharmacy:()=>Ij,deptphysicalmedecine:()=>Dj,deptphysiotherapy:()=>Tj,deptplasticandreparatorysurgery:()=>Oj,deptpneumology:()=>Nj,deptpodiatry:()=>Pj,deptpodology:()=>Mj,deptpsychiatry:()=>Aj,deptpsychogeriatry:()=>Rj,deptpsychology:()=>Fj,deptradiology:()=>Lj,deptradiotherapy:()=>jj,deptrevalidation:()=>Vj,deptrheumatology:()=>zj,deptrhumatology:()=>Bj,deptsenology:()=>Hj,deptsocialservice:()=>Uj,deptspeechtherapy:()=>Gj,deptsportsmedecine:()=>Wj,deptstomatology:()=>qj,deptsurgery:()=>$j,deptthoracicsurgery:()=>Yj,depttoxicology:()=>Zj,depttropicalmedecine:()=>Kj,depturology:()=>Jj,deptvascularsurgery:()=>Xj,deptvisceraldigestiveabdominalsurgery:()=>Qj,diabete_equipment_supplier:()=>eV,dietician:()=>tV,doctor:()=>nV,family_science_bachelor:()=>iV,gerontology_master:()=>aV,groupofnurses:()=>rV,groupofphysiciansdifferentaddress:()=>oV,groupofphysicianssameaddress:()=>sV,guardpost:()=>lV,hub:()=>cV,imaging_technologist:()=>uV,implantprovider:()=>dV,lab_technologist:()=>hV,logopedist:()=>pV,midwife:()=>mV,nurse:()=>fV,occupational_therapist:()=>gV,optician:()=>vV,orghospital:()=>yV,orginsurance:()=>bV,orglaboratory:()=>_V,orgpharmacy:()=>xV,orgpharmacyinvoicingoffice:()=>wV,orgpolyclinic:()=>EV,orgpractice:()=>SV,orgprevention:()=>kV,orgprimaryhealthcarecenter:()=>CV,orgpsychiatriccarehome:()=>IV,orgpublichealth:()=>DV,orgretirementhome:()=>TV,orgrevalidationcenter:()=>OV,orgshelteredliving:()=>NV,orthopedagogist_master:()=>PV,orthopedist:()=>MV,orthoptist:()=>AV,orthotist:()=>RV,patient:()=>FV,pediatric_nurse:()=>LV,persadministrative:()=>jV,persambulancefirstaid:()=>VV,persappliedpsychbachelor:()=>zV,persaudician:()=>BV,persaudiologist:()=>HV,persbandagistorthosiologist:()=>UV,persbiologist:()=>GV,perscaregiver:()=>WV,persclinicalorthopedagogist:()=>qV,persclinicalpsychologist:()=>$V,persdentist:()=>YV,persdietician:()=>ZV,perseducator:()=>KV,persfamilysciencebachelor:()=>JV,persgerontologymaster:()=>XV,perslogopedist:()=>QV,persmidwife:()=>e9,persmobilityimprover:()=>t9,persnurse:()=>n9,persoccupationaltherapist:()=>i9,persoptician:()=>a9,persoptometrist:()=>r9,persoraldentalhygienist:()=>o9,persorthopedagogistmaster:()=>s9,persorthopedist:()=>l9,persorthoptist:()=>c9,persorthotist:()=>u9,persparamedical:()=>d9,perspatientdriver:()=>h9,perspharmacist:()=>p9,perspharmacistclinicalbiologist:()=>m9,perspharmacyassistant:()=>f9,persphysician:()=>g9,persphysiotherapist:()=>v9,perspodologist:()=>y9,perspracticalnurse:()=>b9,persprosthesiologist:()=>_9,perspsychologist:()=>x9,perspsychomotortherapymaster:()=>w9,persreadaptationbachelor:()=>E9,persshoetechnologist:()=>S9,perssocialworker:()=>k9,perstechnician:()=>C9,perstrussmaker:()=>I9,pharmacist:()=>D9,pharmacist_assistant:()=>T9,physician:()=>O9,physiotherapist:()=>N9,podologist:()=>P9,practical_nurse:()=>M9,prosthetist:()=>A9,psychologist:()=>R9,psychomotor_therapy_master:()=>F9,readaptaion_bachelor:()=>L9,social_worker:()=>j9,specialized_educator:()=>V9,truss_maker:()=>z9});var x4="Ambulance Driver",w4="Ambulance First Aider",E4="Ambulance Rescuer",S4="Software application",k4="Bachelor in Applied Psychology",C4="Audician",I4="Audiologist",D4="Biologist Pharmacist",T4="Caregiver",O4="Certificate holder",N4="Citizen",P4="Clinical Orthopedic Pedagogue",M4="Clinical Psychologist",A4="Dental Hygienist",R4="Dentist",F4="Algology",L4="Anatomopathology",j4="Anesthesiology",V4="Bacteriology",z4="Cardiac surgery",B4="Cardiology",H4="Child and adolescent psychiatry",U4="Dentistry",G4="Dermatology",W4="Diabetology",q4="Dietetics",$4="Emergency",Y4="Endocrinology",Z4="Gastroenterology",K4="General practice",J4="Genetics",X4="Geriatry",Q4="Gynecology",ej="Hand surgery",tj="Hematology",nj="Infectious disease",ij="Intensive care",aj="Kinesitherapy",rj="Laboratory service or department within an organisation",oj="Major burns",sj="Maxillofacial surgery",lj="Internal medecine",cj="Molecular biology",uj="Neonatalogy",dj="Nephrology",hj="Neurology",pj="Neurology",mj="Nose-throat-ear",fj="Nuclear",gj="Nursing",vj="Nutritional dietetics",yj="Obstetrics",bj="Occupational therapy",_j="Oncology",xj="Ophthalmology",wj="Orthopedy",Ej="Palliative care",Sj="Pediatric intensive care",kj="Pediatric surgery",Cj="Pediatry",Ij="Pharmacy Service/Department within an organization",Dj="Physical medecine",Tj="Physiotherapy",Oj="Plastic and reparatory surgery",Nj="Pneumology",Pj="Podiatry",Mj="Podiatry",Aj="Psychiatry",Rj="Psychogeriatry",Fj="Psychology",Lj="Radiology",jj="Radiotherapy",Vj="Revalidation",zj="Rheumatology",Bj="Rhumatology",Hj="Senology",Uj="Social service",Gj="Speech therapy",Wj="Sports medecine",qj="Stomatology",$j="Surgery",Yj="Thoracic surgery",Zj="Toxicology",Kj="Tropical medecine",Jj="Urology",Xj="Vascular surgery",Qj="Visceral digestive abdominal surgery",eV="Diabetes Management Equipment Supplier",tV="Dietitian",nV="Doctor",iV="Bachelor in Family Science",aV="Master in Gerontology",rV="Group of nurses",oV="Group of physicians different address",sV="Group of physicians same address",lV="Guard post",cV="Hub",uV="Medical Imaging Technologist",dV="Implant Provider",hV="Laboratory Technologist",pV="Logopedist",mV="Midwife",fV="Nurse",gV="Occupational Therapist",vV="Optician",yV="Hospital",bV="Insurance",_V="Independent laboratory",xV="Independent pharmacy",wV="Pharmacy invoicing office",EV="Polyclinic",SV="Practice organisation",kV="Prevention Service",CV="Primary health care center",IV="Psychiatric care home",DV="Public health organisation",TV="Retirementhome",OV="Revalidation center",NV="Sheltered living",PV="Master's in Orthopedagogy",MV="Orthopedist",AV="Orthoptist-Optometrist",RV="Orthotist",FV="Patient",LV="Pediatric Nurse",jV="Administrative",VV="Ambulance first aid",zV="Bachelor in Applied psychology",BV="Audician",HV="Audiologist",UV="Bandagist orthosiologist (orthopedic technologist)",GV="Medical laboratory technician",WV="Informal Caregiver",qV="Clinical orthopedagogist",$V="Clinical psychologist",YV="Dentist",ZV="Dietician",KV="Educator",JV="Bachelor in Family sciences",XV="Master in Gerontological sciences",QV="Logopedist",e9="Midwife",t9="Mobility improver (orthopedic technologist)",n9="Nurse",i9="Occupational therapist",a9="Optician",r9="Optometrist",o9="Oral Dental Hygienist",s9="Master of orthopedagogist",l9="Orthopedist",c9="Orthoptist",u9="Orthotist/Prosthetist",d9="Paramedical staff",h9="Patient Transporter (non-urgent)",p9="Pharmacist",m9="Pharmacist-clinical biologist",f9="Pharmacy assistant",g9="Physician",v9="Physiotherapist",y9="Podiologist",b9="Practical nurse",_9="prosthesiologist (orthopedic technologist)",x9="Psychologist",w9="Master in Psychomotor Therapy",E9="Bachelor in Physiotherapy and Rehabilitation",S9="shoe technologist (orthopedic technologist)",k9="Social worker",C9="Medical Imaging Technician",I9="Truss maker",D9="Pharmacist",T9="Pharmaceutical Technician Assistant",O9="Physician",N9="Physiotherapist",P9="Podiatrist",M9="Practical Nurse",A9="Prosthetist",R9="Clinical Psychologist",F9="Master's in Psychomotor Therapy",L9="Bachelor in Rehabilitation",j9="Social Worker",V9="Specialized Educator",z9="Truss Maker",Oxe={ambulance_driver:x4,ambulance_first_aid:w4,ambulance_rescuer:E4,application:S4,applied_psychology_bachelor:k4,audician:C4,audiologist:I4,biologist_pharmacist:D4,care_giver:T4,certificateholder:O4,citizen:N4,clinical_orthopedic_pedagogue:P4,clinical_psychologist:M4,dental_hygienist:A4,dentist:R4,deptalgology:F4,deptanatomopathology:L4,deptanesthesiology:j4,deptbacteriology:V4,deptcardiacsurgery:z4,deptcardiology:B4,deptchildandadolescentpsychiatry:H4,deptdentistry:U4,deptdermatology:G4,deptdiabetology:W4,deptdietetics:q4,deptemergency:$4,deptendocrinology:Y4,deptgastroenterology:Z4,deptgeneralpractice:K4,deptgenetics:J4,deptgeriatry:X4,deptgynecology:Q4,depthandsurgery:ej,depthematology:tj,deptinfectiousdisease:nj,deptintensivecare:ij,deptkinesitherapy:aj,deptlaboratory:rj,deptmajorburns:oj,deptmaxillofacialsurgery:sj,deptmedicine:lj,deptmolecularbiology:cj,deptneonatalogy:uj,deptnephrology:dj,deptneurology:hj,deptneurosurgery:pj,deptnte:mj,deptnuclear:fj,deptnursing:gj,deptnutritiondietetics:vj,deptobstetrics:yj,deptoccupationaltherapy:bj,deptoncology:_j,deptophtalmology:xj,deptorthopedy:wj,deptpalliativecare:Ej,deptpediatricintensivecare:Sj,deptpediatricsurgery:kj,deptpediatry:Cj,deptpharmacy:Ij,deptphysicalmedecine:Dj,deptphysiotherapy:Tj,deptplasticandreparatorysurgery:Oj,deptpneumology:Nj,deptpodiatry:Pj,deptpodology:Mj,deptpsychiatry:Aj,deptpsychogeriatry:Rj,deptpsychology:Fj,deptradiology:Lj,deptradiotherapy:jj,deptrevalidation:Vj,deptrheumatology:zj,deptrhumatology:Bj,deptsenology:Hj,deptsocialservice:Uj,deptspeechtherapy:Gj,deptsportsmedecine:Wj,deptstomatology:qj,deptsurgery:$j,deptthoracicsurgery:Yj,depttoxicology:Zj,depttropicalmedecine:Kj,depturology:Jj,deptvascularsurgery:Xj,deptvisceraldigestiveabdominalsurgery:Qj,diabete_equipment_supplier:eV,dietician:tV,doctor:nV,family_science_bachelor:iV,gerontology_master:aV,groupofnurses:rV,groupofphysiciansdifferentaddress:oV,groupofphysicianssameaddress:sV,guardpost:lV,hub:cV,imaging_technologist:uV,implantprovider:dV,lab_technologist:hV,logopedist:pV,midwife:mV,nurse:fV,occupational_therapist:gV,optician:vV,orghospital:yV,orginsurance:bV,orglaboratory:_V,orgpharmacy:xV,orgpharmacyinvoicingoffice:wV,orgpolyclinic:EV,orgpractice:SV,orgprevention:kV,orgprimaryhealthcarecenter:CV,orgpsychiatriccarehome:IV,orgpublichealth:DV,orgretirementhome:TV,orgrevalidationcenter:OV,orgshelteredliving:NV,orthopedagogist_master:PV,orthopedist:MV,orthoptist:AV,orthotist:RV,patient:FV,pediatric_nurse:LV,persadministrative:jV,persambulancefirstaid:VV,persappliedpsychbachelor:zV,persaudician:BV,persaudiologist:HV,persbandagistorthosiologist:UV,persbiologist:GV,perscaregiver:WV,persclinicalorthopedagogist:qV,persclinicalpsychologist:$V,persdentist:YV,persdietician:ZV,perseducator:KV,persfamilysciencebachelor:JV,persgerontologymaster:XV,perslogopedist:QV,persmidwife:e9,persmobilityimprover:t9,persnurse:n9,persoccupationaltherapist:i9,persoptician:a9,persoptometrist:r9,persoraldentalhygienist:o9,persorthopedagogistmaster:s9,persorthopedist:l9,persorthoptist:c9,persorthotist:u9,persparamedical:d9,perspatientdriver:h9,perspharmacist:p9,perspharmacistclinicalbiologist:m9,perspharmacyassistant:f9,persphysician:g9,persphysiotherapist:v9,perspodologist:y9,perspracticalnurse:b9,persprosthesiologist:_9,perspsychologist:x9,perspsychomotortherapymaster:w9,persreadaptationbachelor:E9,persshoetechnologist:S9,perssocialworker:k9,perstechnician:C9,perstrussmaker:I9,pharmacist:D9,pharmacist_assistant:T9,physician:O9,physiotherapist:N9,podologist:P9,practical_nurse:M9,prosthetist:A9,psychologist:R9,psychomotor_therapy_master:F9,readaptaion_bachelor:L9,social_worker:j9,specialized_educator:V9,truss_maker:z9},B9={};K(B9,{ambulance_driver:()=>H9,ambulance_first_aid:()=>U9,ambulance_rescuer:()=>G9,application:()=>W9,applied_psychology_bachelor:()=>q9,audician:()=>$9,audiologist:()=>Y9,biologist_pharmacist:()=>Z9,care_giver:()=>K9,certificateholder:()=>J9,citizen:()=>X9,clinical_orthopedic_pedagogue:()=>Q9,clinical_psychologist:()=>ez,default:()=>Nxe,dental_hygienist:()=>tz,dentist:()=>nz,deptalgology:()=>iz,deptanatomopathology:()=>az,deptanesthesiology:()=>rz,deptbacteriology:()=>oz,deptcardiacsurgery:()=>sz,deptcardiology:()=>lz,deptchildandadolescentpsychiatry:()=>cz,deptdentistry:()=>uz,deptdermatology:()=>dz,deptdiabetology:()=>hz,deptdietetics:()=>pz,deptemergency:()=>mz,deptendocrinology:()=>fz,deptgastroenterology:()=>gz,deptgeneralpractice:()=>vz,deptgenetics:()=>yz,deptgeriatry:()=>bz,deptgynecology:()=>_z,depthandsurgery:()=>xz,depthematology:()=>wz,deptinfectiousdisease:()=>Ez,deptintensivecare:()=>Sz,deptkinesitherapy:()=>kz,deptlaboratory:()=>Cz,deptmajorburns:()=>Iz,deptmaxillofacialsurgery:()=>Dz,deptmedicine:()=>Tz,deptmolecularbiology:()=>Oz,deptneonatalogy:()=>Nz,deptnephrology:()=>Pz,deptneurology:()=>Mz,deptneurosurgery:()=>Az,deptnte:()=>Rz,deptnuclear:()=>Fz,deptnursing:()=>Lz,deptnutritiondietetics:()=>jz,deptobstetrics:()=>Vz,deptoccupationaltherapy:()=>zz,deptoncology:()=>Bz,deptophtalmology:()=>Hz,deptorthopedy:()=>Uz,deptpalliativecare:()=>Gz,deptpediatricintensivecare:()=>Wz,deptpediatricsurgery:()=>qz,deptpediatry:()=>$z,deptpharmacy:()=>Yz,deptphysicalmedecine:()=>Zz,deptphysiotherapy:()=>Kz,deptplasticandreparatorysurgery:()=>Jz,deptpneumology:()=>Xz,deptpodiatry:()=>Qz,deptpodology:()=>eB,deptpsychiatry:()=>tB,deptpsychogeriatry:()=>nB,deptpsychology:()=>iB,deptradiology:()=>aB,deptradiotherapy:()=>rB,deptrevalidation:()=>oB,deptrheumatology:()=>sB,deptrhumatology:()=>lB,deptsenology:()=>cB,deptsocialservice:()=>uB,deptspeechtherapy:()=>dB,deptsportsmedecine:()=>hB,deptstomatology:()=>pB,deptsurgery:()=>mB,deptthoracicsurgery:()=>fB,depttoxicology:()=>gB,depttropicalmedecine:()=>vB,depturology:()=>yB,deptvascularsurgery:()=>bB,deptvisceraldigestiveabdominalsurgery:()=>_B,diabete_equipment_supplier:()=>xB,dietician:()=>wB,doctor:()=>EB,family_science_bachelor:()=>SB,gerontology_master:()=>kB,groupofnurses:()=>CB,groupofphysiciansdifferentaddress:()=>IB,groupofphysicianssameaddress:()=>DB,guardpost:()=>TB,hub:()=>OB,imaging_technologist:()=>NB,implantprovider:()=>PB,lab_technologist:()=>MB,logopedist:()=>AB,midwife:()=>RB,nurse:()=>FB,occupational_therapist:()=>LB,optician:()=>jB,orghospital:()=>VB,orginsurance:()=>zB,orglaboratory:()=>BB,orgpharmacy:()=>HB,orgpharmacyinvoicingoffice:()=>UB,orgpolyclinic:()=>GB,orgpractice:()=>WB,orgprevention:()=>qB,orgprimaryhealthcarecenter:()=>$B,orgpsychiatriccarehome:()=>YB,orgpublichealth:()=>ZB,orgretirementhome:()=>KB,orgrevalidationcenter:()=>JB,orgshelteredliving:()=>XB,orthopedagogist_master:()=>QB,orthopedist:()=>e7,orthoptist:()=>t7,orthotist:()=>n7,patient:()=>i7,pediatric_nurse:()=>a7,persadministrative:()=>r7,persambulancefirstaid:()=>o7,persappliedpsychbachelor:()=>s7,persaudician:()=>l7,persaudiologist:()=>c7,persbandagistorthosiologist:()=>u7,persbiologist:()=>d7,perscaregiver:()=>h7,persclinicalorthopedagogist:()=>p7,persclinicalpsychologist:()=>m7,persdentist:()=>f7,persdietician:()=>g7,perseducator:()=>v7,persfamilysciencebachelor:()=>y7,persgerontologymaster:()=>b7,perslogopedist:()=>_7,persmidwife:()=>x7,persmobilityimprover:()=>w7,persnurse:()=>E7,persoccupationaltherapist:()=>S7,persoptician:()=>k7,persoptometrist:()=>C7,persoraldentalhygienist:()=>I7,persorthopedagogistmaster:()=>D7,persorthopedist:()=>T7,persorthoptist:()=>O7,persorthotist:()=>N7,persparamedical:()=>P7,perspatientdriver:()=>M7,perspharmacist:()=>A7,perspharmacistclinicalbiologist:()=>R7,perspharmacyassistant:()=>F7,persphysician:()=>L7,persphysiotherapist:()=>j7,perspodologist:()=>V7,perspracticalnurse:()=>z7,persprosthesiologist:()=>B7,perspsychologist:()=>H7,perspsychomotortherapymaster:()=>U7,persreadaptationbachelor:()=>G7,persshoetechnologist:()=>W7,perssocialworker:()=>q7,perstechnician:()=>$7,perstrussmaker:()=>Y7,pharmacist:()=>Z7,pharmacist_assistant:()=>K7,physician:()=>J7,physiotherapist:()=>X7,podologist:()=>Q7,practical_nurse:()=>eH,prosthetist:()=>tH,psychologist:()=>nH,psychomotor_therapy_master:()=>iH,readaptaion_bachelor:()=>aH,social_worker:()=>rH,specialized_educator:()=>oH,truss_maker:()=>sH});var H9="Ambulancier",U9="Ambulancier secouriste",G9="Ambulancier secouriste",W9="application logicielle",q9="Bachelier en psychologie appliquée",$9="Audicien",Y9="Audiologue",Z9="Pharmacien biologiste",K9="Personnel soignant",J9="Titulaire du certificat",X9="Citoyen",Q9="Orthopédagogue clinicien",ez="Psychologue clinicien",tz="Hygiéniste bucco-dentaire",nz="Dentiste",iz="algologie",az="anatomopathologie",rz="anesthésiologie",oz="bactériologie",sz="chirurgie cardiaque",lz="cardiologie",cz="psychiatrie de l’enfant et de l’adolescent",uz="dentisterie",dz="dermatologie",hz="diabétologie",pz="diététique",mz="services d’urgence",fz="endocrinologie",gz="gastroentérologie",vz="médecine générale",yz="génétique",bz="gériatrie",_z="gynécologie",xz="chirurgie de la main",wz="hématologie",Ez="maladie infectieuse",Sz="soins intensifs",kz="kinésithérapie",Cz="Service/Département laboratoire au sein d’une organisation",Iz="grands brûlés",Dz="chirurgie maxillo-faciale",Tz="médecine interne",Oz="biologie moléculaire",Nz="néonatologie",Pz="néphrologie",Mz="neurologie",Az="neurologie",Rz="oto-rhino-laryngologie",Fz="médecine nucléaire",Lz="soins infirmiers",jz="diététique nutritionnelle",Vz="obstétrique",zz="ergothérapie",Bz="oncologie",Hz="ophtalmologie",Uz="orthopédie",Gz="soins palliatifs",Wz="soins intensifs pédiatriques",qz="chirurgie pédiatrique",$z="pédiatrie",Yz="Service/Département pharmacie au sein d’une organisation",Zz="médecine physique",Kz="physiothérapie",Jz="chirurgie esthétique et réparatrice",Xz="pneumologie",Qz="podiatrie",eB="",tB="psychiatrie",nB="Psychogériatrie",iB="psychologie",aB="radiologie",rB="radiothérapie",oB="rééducation",sB="rhumatologie",lB="",cB="sénologie",uB="service social",dB="logopédie",hB="médecine des sports",pB="stomatologie",mB="chirurgie",fB="chirurgie thoracique",gB="toxicologie",vB="médecine tropicale",yB="urologie",bB="chirurgie vasculaire",_B="chirurgie abdominale, digestive et viscérale",xB="Fournisseur de matériel d’autogestion diabétique",wB="Diététicien",EB="Médecin",SB="Bachelier en science de la famille",kB="Master en gérontologie",CB="Regroupement d’infirmiers",IB="Regroupement de médecins adresse différente",DB="regroupement de médecins même adresse",TB="poste de garde",OB="hub",NB="Technologue en imagerie médicale",PB="Dispensateur d’implants",MB="Technologue de labo",AB="Logopède",RB="Sage-femme",FB="Infirmier\\Infirmière",LB="Ergothérapeute",jB="Opticien",VB="hôpital",zB="assurance",BB="laboratoire indépendant",HB="Pharmacie indépendante",UB="office de tarification",GB="polyclinique",WB="cabinet",qB="Service de prévention",$B="Maison médicale",YB="maison de soins psychiatriques",ZB="service public de santé",KB="maison de repos",JB="centre de revalidation",XB="initiative d’habitation protégée",QB="Master en Orthopédagogie",e7="Orthopédiste",t7="Orthoptiste-Optométriste",n7="Orthésiste",i7="Patient",a7="Puéricultrice",r7="personnel admistratif",o7="ambulance premier secours",s7="Bachelier en psychologie",l7="audicien",c7="audiologue",u7="orthosiologue bandagiste (technologue en orthopédie)",d7="technicien de laboratoire médical",h7="soignant informel",p7="Orthopédagogue clinicien",m7="Psychologue clinicien",f7="dentiste",g7="diététicien",v7="éducateur",y7="Bachelier en sciences de la famille",b7="Master en gérontologie",_7="logopède",x7="sage-femme",w7="améliorateur de mobilité (technologue en orthopédie)",E7="infirmier",S7="ergothérapeute",k7="opticien",C7="optométriste",I7="Hygiéniste bucco-dentaire",D7="Master en orthopédagogie",T7="orthopédiste",O7="orthoptiste",N7="Orthésiste/Prothésiste",P7="personnel paramédical",M7="Transporteur de patient (non urgent)",A7="pharmacien",R7="pharmacien-biologiste clinicien",F7="assistant en pharmacie",L7="médecin",j7="kinésithérapeute",V7="podologue",z7="aide-soignante",B7="prothésiste (technologue en orthopédie)",H7="psychologue",U7="Master en thérapie psychomotrice",G7="Bachelier en kinésithérapie et réadaptation",W7="technicien de chaussures (technologue en orthopédie)",q7="travailleur social",$7="Technicien d’imagerie médicale",Y7="Bandagiste",Z7="Pharmacien",K7="Assistant Pharmaceutico-Technique",J7="Médecin",X7="Physiothérapeute",Q7="Podologue",eH="Aide-soignant",tH="Prothésiste",nH="Psychologue clinicien",iH="Master en thérapie psychomotrice",aH="Bachelier en réadaptation",rH="Assistant social",oH="Educateur spécialisé",sH="Bandagiste",Nxe={ambulance_driver:H9,ambulance_first_aid:U9,ambulance_rescuer:G9,application:W9,applied_psychology_bachelor:q9,audician:$9,audiologist:Y9,biologist_pharmacist:Z9,care_giver:K9,certificateholder:J9,citizen:X9,clinical_orthopedic_pedagogue:Q9,clinical_psychologist:ez,dental_hygienist:tz,dentist:nz,deptalgology:iz,deptanatomopathology:az,deptanesthesiology:rz,deptbacteriology:oz,deptcardiacsurgery:sz,deptcardiology:lz,deptchildandadolescentpsychiatry:cz,deptdentistry:uz,deptdermatology:dz,deptdiabetology:hz,deptdietetics:pz,deptemergency:mz,deptendocrinology:fz,deptgastroenterology:gz,deptgeneralpractice:vz,deptgenetics:yz,deptgeriatry:bz,deptgynecology:_z,depthandsurgery:xz,depthematology:wz,deptinfectiousdisease:Ez,deptintensivecare:Sz,deptkinesitherapy:kz,deptlaboratory:Cz,deptmajorburns:Iz,deptmaxillofacialsurgery:Dz,deptmedicine:Tz,deptmolecularbiology:Oz,deptneonatalogy:Nz,deptnephrology:Pz,deptneurology:Mz,deptneurosurgery:Az,deptnte:Rz,deptnuclear:Fz,deptnursing:Lz,deptnutritiondietetics:jz,deptobstetrics:Vz,deptoccupationaltherapy:zz,deptoncology:Bz,deptophtalmology:Hz,deptorthopedy:Uz,deptpalliativecare:Gz,deptpediatricintensivecare:Wz,deptpediatricsurgery:qz,deptpediatry:$z,deptpharmacy:Yz,deptphysicalmedecine:Zz,deptphysiotherapy:Kz,deptplasticandreparatorysurgery:Jz,deptpneumology:Xz,deptpodiatry:Qz,deptpodology:eB,deptpsychiatry:tB,deptpsychogeriatry:nB,deptpsychology:iB,deptradiology:aB,deptradiotherapy:rB,deptrevalidation:oB,deptrheumatology:sB,deptrhumatology:lB,deptsenology:cB,deptsocialservice:uB,deptspeechtherapy:dB,deptsportsmedecine:hB,deptstomatology:pB,deptsurgery:mB,deptthoracicsurgery:fB,depttoxicology:gB,depttropicalmedecine:vB,depturology:yB,deptvascularsurgery:bB,deptvisceraldigestiveabdominalsurgery:_B,diabete_equipment_supplier:xB,dietician:wB,doctor:EB,family_science_bachelor:SB,gerontology_master:kB,groupofnurses:CB,groupofphysiciansdifferentaddress:IB,groupofphysicianssameaddress:DB,guardpost:TB,hub:OB,imaging_technologist:NB,implantprovider:PB,lab_technologist:MB,logopedist:AB,midwife:RB,nurse:FB,occupational_therapist:LB,optician:jB,orghospital:VB,orginsurance:zB,orglaboratory:BB,orgpharmacy:HB,orgpharmacyinvoicingoffice:UB,orgpolyclinic:GB,orgpractice:WB,orgprevention:qB,orgprimaryhealthcarecenter:$B,orgpsychiatriccarehome:YB,orgpublichealth:ZB,orgretirementhome:KB,orgrevalidationcenter:JB,orgshelteredliving:XB,orthopedagogist_master:QB,orthopedist:e7,orthoptist:t7,orthotist:n7,patient:i7,pediatric_nurse:a7,persadministrative:r7,persambulancefirstaid:o7,persappliedpsychbachelor:s7,persaudician:l7,persaudiologist:c7,persbandagistorthosiologist:u7,persbiologist:d7,perscaregiver:h7,persclinicalorthopedagogist:p7,persclinicalpsychologist:m7,persdentist:f7,persdietician:g7,perseducator:v7,persfamilysciencebachelor:y7,persgerontologymaster:b7,perslogopedist:_7,persmidwife:x7,persmobilityimprover:w7,persnurse:E7,persoccupationaltherapist:S7,persoptician:k7,persoptometrist:C7,persoraldentalhygienist:I7,persorthopedagogistmaster:D7,persorthopedist:T7,persorthoptist:O7,persorthotist:N7,persparamedical:P7,perspatientdriver:M7,perspharmacist:A7,perspharmacistclinicalbiologist:R7,perspharmacyassistant:F7,persphysician:L7,persphysiotherapist:j7,perspodologist:V7,perspracticalnurse:z7,persprosthesiologist:B7,perspsychologist:H7,perspsychomotortherapymaster:U7,persreadaptationbachelor:G7,persshoetechnologist:W7,perssocialworker:q7,perstechnician:$7,perstrussmaker:Y7,pharmacist:Z7,pharmacist_assistant:K7,physician:J7,physiotherapist:X7,podologist:Q7,practical_nurse:eH,prosthetist:tH,psychologist:nH,psychomotor_therapy_master:iH,readaptaion_bachelor:aH,social_worker:rH,specialized_educator:oH,truss_maker:sH},lH={};K(lH,{ambulance_driver:()=>cH,ambulance_first_aid:()=>uH,ambulance_rescuer:()=>dH,application:()=>hH,applied_psychology_bachelor:()=>pH,audician:()=>mH,audiologist:()=>fH,biologist_pharmacist:()=>gH,care_giver:()=>vH,certificateholder:()=>yH,citizen:()=>bH,clinical_orthopedic_pedagogue:()=>_H,clinical_psychologist:()=>xH,default:()=>Pxe,dental_hygienist:()=>wH,dentist:()=>EH,deptalgology:()=>SH,deptanatomopathology:()=>kH,deptanesthesiology:()=>CH,deptbacteriology:()=>IH,deptcardiacsurgery:()=>DH,deptcardiology:()=>TH,deptchildandadolescentpsychiatry:()=>OH,deptdentistry:()=>NH,deptdermatology:()=>PH,deptdiabetology:()=>MH,deptdietetics:()=>AH,deptemergency:()=>RH,deptendocrinology:()=>FH,deptgastroenterology:()=>LH,deptgeneralpractice:()=>jH,deptgenetics:()=>VH,deptgeriatry:()=>zH,deptgynecology:()=>BH,depthandsurgery:()=>HH,depthematology:()=>UH,deptinfectiousdisease:()=>GH,deptintensivecare:()=>WH,deptkinesitherapy:()=>qH,deptlaboratory:()=>$H,deptmajorburns:()=>YH,deptmaxillofacialsurgery:()=>ZH,deptmedicine:()=>KH,deptmolecularbiology:()=>JH,deptneonatalogy:()=>XH,deptnephrology:()=>QH,deptneurology:()=>e6,deptneurosurgery:()=>t6,deptnte:()=>n6,deptnuclear:()=>i6,deptnursing:()=>a6,deptnutritiondietetics:()=>r6,deptobstetrics:()=>o6,deptoccupationaltherapy:()=>s6,deptoncology:()=>l6,deptophtalmology:()=>c6,deptorthopedy:()=>u6,deptpalliativecare:()=>d6,deptpediatricintensivecare:()=>h6,deptpediatricsurgery:()=>p6,deptpediatry:()=>m6,deptpharmacy:()=>f6,deptphysicalmedecine:()=>g6,deptphysiotherapy:()=>v6,deptplasticandreparatorysurgery:()=>y6,deptpneumology:()=>b6,deptpodiatry:()=>_6,deptpodology:()=>x6,deptpsychiatry:()=>w6,deptpsychogeriatry:()=>E6,deptpsychology:()=>S6,deptradiology:()=>k6,deptradiotherapy:()=>C6,deptrevalidation:()=>I6,deptrheumatology:()=>D6,deptsenology:()=>T6,deptsocialservice:()=>O6,deptspeechtherapy:()=>N6,deptsportsmedecine:()=>P6,deptstomatology:()=>M6,deptsurgery:()=>A6,deptthoracicsurgery:()=>R6,depttoxicology:()=>F6,depttropicalmedecine:()=>L6,depturology:()=>j6,deptvascularsurgery:()=>V6,deptvisceraldigestiveabdominalsurgery:()=>z6,diabete_equipment_supplier:()=>B6,dietician:()=>H6,doctor:()=>U6,family_science_bachelor:()=>G6,gerontology_master:()=>W6,groupofnurses:()=>q6,groupofphysiciansdifferentaddress:()=>$6,groupofphysicianssameaddress:()=>Y6,guardpost:()=>Z6,hub:()=>K6,imaging_technologist:()=>J6,implantprovider:()=>X6,lab_technologist:()=>Q6,logopedist:()=>eU,midwife:()=>tU,nurse:()=>nU,occupational_therapist:()=>iU,optician:()=>aU,orghospital:()=>rU,orginsurance:()=>oU,orglaboratory:()=>sU,orgpharmacy:()=>lU,orgpharmacyinvoicingoffice:()=>cU,orgpolyclinic:()=>uU,orgpractice:()=>dU,orgprevention:()=>hU,orgprimaryhealthcarecenter:()=>pU,orgpsychiatriccarehome:()=>mU,orgpublichealth:()=>fU,orgretirementhome:()=>gU,orgrevalidationcenter:()=>vU,orgshelteredliving:()=>yU,orthopedagogist_master:()=>bU,orthopedist:()=>_U,orthoptist:()=>xU,orthotist:()=>wU,patient:()=>EU,pediatric_nurse:()=>SU,persadministrative:()=>kU,persambulancefirstaid:()=>CU,persappliedpsychbachelor:()=>IU,persaudician:()=>DU,persaudiologist:()=>TU,persbandagistorthosiologist:()=>OU,persbiologist:()=>NU,perscaregiver:()=>PU,persclinicalorthopedagogist:()=>MU,persclinicalpsychologist:()=>AU,persdentist:()=>RU,persdietician:()=>FU,perseducator:()=>LU,persfamilysciencebachelor:()=>jU,persgerontologymaster:()=>VU,perslogopedist:()=>zU,persmidwife:()=>BU,persmobilityimprover:()=>HU,persnurse:()=>UU,persoccupationaltherapist:()=>GU,persoptician:()=>WU,persoptometrist:()=>qU,persoraldentalhygienist:()=>$U,persorthopedagogistmaster:()=>YU,persorthopedist:()=>ZU,persorthoptist:()=>KU,persorthotist:()=>JU,persparamedical:()=>XU,perspatientdriver:()=>QU,perspharmacist:()=>e8,perspharmacistclinicalbiologist:()=>t8,perspharmacyassistant:()=>n8,persphysician:()=>i8,persphysiotherapist:()=>a8,perspodologist:()=>r8,perspracticalnurse:()=>o8,persprosthesiologist:()=>s8,perspsychologist:()=>l8,perspsychomotortherapymaster:()=>c8,persreadaptationbachelor:()=>u8,persshoetechnologist:()=>d8,perssocialworker:()=>h8,perstechnician:()=>p8,perstrussmaker:()=>m8,pharmacist:()=>f8,pharmacist_assistant:()=>g8,physician:()=>v8,physiotherapist:()=>y8,podologist:()=>b8,practical_nurse:()=>_8,prosthetist:()=>x8,psychologist:()=>w8,psychomotor_therapy_master:()=>E8,readaptaion_bachelor:()=>S8,social_worker:()=>k8,specialized_educator:()=>C8,truss_maker:()=>I8});var cH="Ambulancebestuurder",uH="Ambulancier eerste hulp",dH="Amublancier eerste hulp",hH="softwaretoepassing",pH="Bachelor toegepaste psychologie",mH="Audicien",fH="Audioloog",gH="Apotheker-bioloog",vH="Verzorgingspersoneel",yH="Houder van certificaat",bH="Burger",_H="Klinische orthopedagoog",xH="Klinische psycholoog",wH="Mondhygiënist",EH="Tandarts",SH="algologie",kH="anatomo-pathologie",CH="anesthesiologie",IH="bacteriologie",DH="hartchirurgie",TH="cardiologie",OH="kinder- en jeugdpsychiatrie",NH="tandheelkunde",PH="dermatologie",MH="diabetologie",AH="diëtetiek",RH="spoeddiensten",FH="endocrinologie/hormonenleer",LH="gastro-enterologie",jH="algemene geneeskunde",VH="genetica",zH="geriatrie",BH="gynaecologie",HH="handchirurgie",UH="hematologie",GH="infectieziekte",WH="intensieve zorgen",qH="kinesitherapie",$H="Laboratoriumdienst of -afdeling binnen een organisatie",YH="brandwondencentrum",ZH="mond-, kaak- en aangezichtschirurgie",KH="interne geneeskunde",JH="moleculaire biologie",XH="neonatologie",QH="nefrologie",e6="neurologie",t6="neurologie",n6="oto-rhino-laryngologie",i6="nucleaire geneeskunde",a6="verpleegkunde",r6="diëtetiek",o6="verloskunde",s6="ergotherapie",l6="oncologie",c6="oftalmologie",u6="orthopedie",d6="palliatieve zorg",h6="intensieve zorg voor kinderen",p6="kinderchirurgie",m6="pediatrie",f6="Apotheekdienst of -afdeling binnen een organisatie",g6="fysische geneeskunde",v6="fysiotherapie",y6="plastische en reconstructieve chirurgie",b6="pulmonologie",_6="podiatrie",x6="",w6="psychiatrie",E6="Psychogeriatrie",S6="psychologie",k6="radiologie",C6="radiotherapie",I6="revalidatie",D6="reumatologie",T6="senologie",O6="sociale dienst",N6="logopedie",P6="sportgeneeskunde",M6="stomatologie",A6="chirurgie",R6="thoraxchirurgie",F6="toxicologie",L6="tropische geneeskunde",j6="urologie",V6="vasculaire chirurgie",z6="digestieve/viscerale chirurgie/buikchirurgie",B6="Leverancier van materiaal voor diabetische zelfzorg ",H6="Diëtist",U6="Arts",G6="Bachelor gezinswetenschappen",W6="Master gerontologie",q6="Groepering van verplegers",$6="Groepering van artsen verschillend adres",Y6="groepering van artsen zelfde adres",Z6="wachtpost",K6="hub",J6="Technoloog medische beeldvorming",X6="Leverancier implantaten",Q6="Laboratoriumtechnoloog",eU="Logopedist",tU="Vroedvrouw",nU="verpleegkundige",iU="Ergotherapeut",aU="Opticien",rU="ziekenhuis",oU="verzekering",sU="Onafhankelijk laboratorium",lU="Onafhankelijke apotheek",cU="Facturatie kantoor apotheek",uU="polikliniek",dU="praktijk",hU="Preventiedienst",pU="medisch huis",mU="psychiatrisch verzorgingstehuis",fU="openbare gezondheidsdienst",gU="woonzorgcentrum",vU="revalidatiecentrum",yU="initiatief voor beschut wonen",bU="Master orthopedagogie",_U="Orthopedist",xU="Orthoptist-optometrist",wU="Orthesist",EU="Patiënt",SU="Kinderverzorgsters",kU="administratief medewerker",CU="ambulance eerste hulp",IU="Bachelor in de toegepaste psychologie",DU="audicien",TU="audioloog",OU="Bandagist orthosioloog (orthopedisch technoloog)",NU="medisch laboratoriumtechnoloog",PU="mantelzorger",MU="Klinisch orthopedagoog",AU="Klinisch psycholoog",RU="tandarts",FU="diëtist",LU="opvoeder",jU="Bachelor in de gezinswetenschappen",VU="Master in de gerontologie",zU="logopedist",BU="vroedvrouw",HU="mobiliteitsverbeteraar (orthopedisch technoloog)",UU="verpleegkundige",GU="ergotherapeut",WU="opticien",qU="optometrist",$U="Mondhygiënist",YU="Master in de orthopedagogie",ZU="orthopedist",KU="orthoptist",JU="Orthopedisch technicus",XU="paramedisch personeel",QU="Ziekenvervoerder (niet urgent)",e8="apotheker",t8="apotheker-klinisch bioloog",n8="apothekersassistent",i8="arts",a8="kinesitherapeut",r8="podologist",o8="verzorgende",s8="prothesemaker (orthopedisch technoloog)",l8="psycholoog",c8="Master in de psychomotorische therapie",u8="Bachelor in de readaptatiewetenschappen",d8="schoentechnicus (orthopedisch technoloog)",h8="maatschappelijk werker",p8="Technicus medische beeldvorming",m8="Bandagist",f8="Apotheker",g8="Farmaceutisch-technisch assistent",v8="Arts",y8="Fysiotherapeut",b8="Podoloog",_8="Zorgkundige",x8="Prothesist",w8="Psycholoog",E8="Master psychomotorische therapie",S8="Bachelor readaptatiewetenschappen",k8="Sociaal assistent",C8="Bachelor opvoedkunde",I8="Bandagist",Pxe={ambulance_driver:cH,ambulance_first_aid:uH,ambulance_rescuer:dH,application:hH,applied_psychology_bachelor:pH,audician:mH,audiologist:fH,biologist_pharmacist:gH,care_giver:vH,certificateholder:yH,citizen:bH,clinical_orthopedic_pedagogue:_H,clinical_psychologist:xH,dental_hygienist:wH,dentist:EH,deptalgology:SH,deptanatomopathology:kH,deptanesthesiology:CH,deptbacteriology:IH,deptcardiacsurgery:DH,deptcardiology:TH,deptchildandadolescentpsychiatry:OH,deptdentistry:NH,deptdermatology:PH,deptdiabetology:MH,deptdietetics:AH,deptemergency:RH,deptendocrinology:FH,deptgastroenterology:LH,deptgeneralpractice:jH,deptgenetics:VH,deptgeriatry:zH,deptgynecology:BH,depthandsurgery:HH,depthematology:UH,deptinfectiousdisease:GH,deptintensivecare:WH,deptkinesitherapy:qH,deptlaboratory:$H,deptmajorburns:YH,deptmaxillofacialsurgery:ZH,deptmedicine:KH,deptmolecularbiology:JH,deptneonatalogy:XH,deptnephrology:QH,deptneurology:e6,deptneurosurgery:t6,deptnte:n6,deptnuclear:i6,deptnursing:a6,deptnutritiondietetics:r6,deptobstetrics:o6,deptoccupationaltherapy:s6,deptoncology:l6,deptophtalmology:c6,deptorthopedy:u6,deptpalliativecare:d6,deptpediatricintensivecare:h6,deptpediatricsurgery:p6,deptpediatry:m6,deptpharmacy:f6,deptphysicalmedecine:g6,deptphysiotherapy:v6,deptplasticandreparatorysurgery:y6,deptpneumology:b6,deptpodiatry:_6,deptpodology:x6,deptpsychiatry:w6,deptpsychogeriatry:E6,deptpsychology:S6,deptradiology:k6,deptradiotherapy:C6,deptrevalidation:I6,deptrheumatology:D6,deptsenology:T6,deptsocialservice:O6,deptspeechtherapy:N6,deptsportsmedecine:P6,deptstomatology:M6,deptsurgery:A6,deptthoracicsurgery:R6,depttoxicology:F6,depttropicalmedecine:L6,depturology:j6,deptvascularsurgery:V6,deptvisceraldigestiveabdominalsurgery:z6,diabete_equipment_supplier:B6,dietician:H6,doctor:U6,family_science_bachelor:G6,gerontology_master:W6,groupofnurses:q6,groupofphysiciansdifferentaddress:$6,groupofphysicianssameaddress:Y6,guardpost:Z6,hub:K6,imaging_technologist:J6,implantprovider:X6,lab_technologist:Q6,logopedist:eU,midwife:tU,nurse:nU,occupational_therapist:iU,optician:aU,orghospital:rU,orginsurance:oU,orglaboratory:sU,orgpharmacy:lU,orgpharmacyinvoicingoffice:cU,orgpolyclinic:uU,orgpractice:dU,orgprevention:hU,orgprimaryhealthcarecenter:pU,orgpsychiatriccarehome:mU,orgpublichealth:fU,orgretirementhome:gU,orgrevalidationcenter:vU,orgshelteredliving:yU,orthopedagogist_master:bU,orthopedist:_U,orthoptist:xU,orthotist:wU,patient:EU,pediatric_nurse:SU,persadministrative:kU,persambulancefirstaid:CU,persappliedpsychbachelor:IU,persaudician:DU,persaudiologist:TU,persbandagistorthosiologist:OU,persbiologist:NU,perscaregiver:PU,persclinicalorthopedagogist:MU,persclinicalpsychologist:AU,persdentist:RU,persdietician:FU,perseducator:LU,persfamilysciencebachelor:jU,persgerontologymaster:VU,perslogopedist:zU,persmidwife:BU,persmobilityimprover:HU,persnurse:UU,persoccupationaltherapist:GU,persoptician:WU,persoptometrist:qU,persoraldentalhygienist:$U,persorthopedagogistmaster:YU,persorthopedist:ZU,persorthoptist:KU,persorthotist:JU,persparamedical:XU,perspatientdriver:QU,perspharmacist:e8,perspharmacistclinicalbiologist:t8,perspharmacyassistant:n8,persphysician:i8,persphysiotherapist:a8,perspodologist:r8,perspracticalnurse:o8,persprosthesiologist:s8,perspsychologist:l8,perspsychomotortherapymaster:c8,persreadaptationbachelor:u8,persshoetechnologist:d8,perssocialworker:h8,perstechnician:p8,perstrussmaker:m8,pharmacist:f8,pharmacist_assistant:g8,physician:v8,physiotherapist:y8,podologist:b8,practical_nurse:_8,prosthetist:x8,psychologist:w8,psychomotor_therapy_master:E8,readaptaion_bachelor:S8,social_worker:k8,specialized_educator:C8,truss_maker:I8},Mxe={nl:lH,fr:B9,de:QF,en:_4},D8={};K(D8,{"00001":()=>T8,"00002":()=>O8,"00003":()=>N8,"00004":()=>P8,"00005":()=>M8,"00006":()=>A8,"00007":()=>R8,"00008":()=>F8,"00009":()=>L8,"00010":()=>j8,"00011":()=>V8,"00012":()=>z8,"00013":()=>B8,"00014":()=>H8,"00015":()=>U8,"00016":()=>G8,"00017":()=>W8,"00018":()=>q8,"00019":()=>$8,"00020":()=>Y8,"00021":()=>Z8,"00022":()=>K8,"00023":()=>J8,"00024":()=>X8,"00025":()=>Q8,"00026":()=>eG,"00027":()=>tG,"00028":()=>nG,"00029":()=>iG,"00030":()=>aG,"00031":()=>rG,"00032":()=>oG,"00033":()=>sG,"00034":()=>lG,"00035":()=>cG,"00036":()=>uG,"00037":()=>dG,"00038":()=>hG,"00039":()=>pG,"00040":()=>mG,"00041":()=>fG,"00042":()=>gG,"00043":()=>vG,"00044":()=>yG,"00045":()=>bG,"00046":()=>_G,"00047":()=>xG,"00048":()=>wG,"00049":()=>EG,"00050":()=>SG,"00051":()=>kG,"00052":()=>CG,"00053":()=>IG,"00054":()=>DG,"00055":()=>TG,"00056":()=>OG,"00057":()=>NG,"00058":()=>PG,"00059":()=>MG,"00060":()=>AG,"00061":()=>RG,"00062":()=>FG,"00063":()=>LG,"00064":()=>jG,"00065":()=>VG,"00066":()=>zG,"00067":()=>BG,"00068":()=>HG,"00069":()=>UG,"00070":()=>GG,"00071":()=>WG,"00072":()=>qG,"00073":()=>$G,"both-ears":()=>YG,"both-eyes":()=>ZG,"both-nostrils":()=>KG,"cutaneous-injection":()=>JG,default:()=>Axe,derm:()=>XG,"dermal-injection":()=>QG,"ear-left":()=>eW,"ear-right":()=>tW,"eye-left":()=>nW,"eye-right":()=>iW,hyperdermoclyse:()=>aW,icut:()=>rW,ider:()=>oW,larter:()=>sW,"nose-left":()=>lW,"nose-right":()=>cW,oft:()=>uW,transdermal:()=>dW,"vitreal-injection":()=>hW});var T8="ins Ohr",O8="auf die Haut",N8="derm./rect",P8="derm./vag.",M8="Injektion außerhalb der Hirnhaut",A8="e.dur./i.thec./lokal",R8="p.dur./lokal",F8="in die Luftröhre",L8="in den Gebärmutterhals einführen",j8="Injektion in eine Arterie",V8="Injektion in den Penis",z8="Injektion in die Haut",B8="Injektion in einen Muskel",H8="i.m./i.thec./p.dur./s.c.",U8="i.m./i.v.",G8="i.m./i.v./inf.",W8="i.m./i.v./inf./e.dur./s.c.",q8="i.m./i.v./inf./i.arter./i.thec.",$8="i.m./i.v./perf./i.artér./lokal/s.c.",Y8="i.m./i.v./inf./i.thec.",Z8="i.m./i.v./inf./rect.",K8="i.m./i.v./inf./s.c.",J8="i.m./i.v./inhal.",X8="i.m./i.v./lokal",Q8="i.m./i.v./or.",eG="i.m./i.v./rect",tG="i.m./i.v./s.c.",nG="i.m./inf.",iG="i.m./perf./lokal",aG="i.m./lokal",rG="i.m./lokal/rect.",oG="i.m./s.c.",sG="Injektion ins Rückenmark",lG="in die Gebärmutter einführen",cG="Injektion in eine Vene",uG="i.v./p.dur./lokal",dG="i.v./i.arter./i.ves.",hG="i.v./inf.",pG="i.v./perf./p.dur.",mG="i.v./inf./i.arter.",fG="i.v./inf./i.thec./s.c.",gG="i.v./inf./inhal.",vG="i.v./inf./s.c.",yG="i.v./s.c.",bG="in die Harnblase",_G="Infusion",xG="perf./i.ves.",wG="perf./s.c.",EG="Inhalation",SG="inhal./nas./lokal",kG="Injektion",CG="auf die Lippen",IG="lokal",DG="auf die Schleimhaut",TG="in die Nase",OG="in die Augen",NG="opht./auric.",PG="opht./auric./nas.",MG="opht./auric./nas./lokal",AG="einnehmen",RG="or./orofar./derm.",FG="or./rect.",LG="or./s.l.",jG="durch den Mund",VG="orofar./derm.",zG="durch Mund und Nase",BG="rektal",HG="Spritze unter die Haut",UG="s.c./i.derm.",GG="unter die Zunge",WG="auf die Zähne",qG="in den Harnleiter",$G="vaginal",YG="beide Ohren",ZG="beide Augen",KG="beide Nasenlöcher",JG="kutane Injektion",XG="dermatologisch",QG="dermale Injektion",eW="linkes Ohr",tW="rechtes Ohr",nW="linkes Auge",iW="rechtes Auge",aW="Hyperdermoklyse",rW="intrakutan",oW="intradermal",sW="intraarteriell",lW="linke Nase",cW="rechte Nase",uW="ophthalmologisch",dW="transdermal",hW="vitreale Injektion",Axe={"00001":T8,"00002":O8,"00003":N8,"00004":P8,"00005":M8,"00006":A8,"00007":R8,"00008":F8,"00009":L8,"00010":j8,"00011":V8,"00012":z8,"00013":B8,"00014":H8,"00015":U8,"00016":G8,"00017":W8,"00018":q8,"00019":$8,"00020":Y8,"00021":Z8,"00022":K8,"00023":J8,"00024":X8,"00025":Q8,"00026":eG,"00027":tG,"00028":nG,"00029":iG,"00030":aG,"00031":rG,"00032":oG,"00033":sG,"00034":lG,"00035":cG,"00036":uG,"00037":dG,"00038":hG,"00039":pG,"00040":mG,"00041":fG,"00042":gG,"00043":vG,"00044":yG,"00045":bG,"00046":_G,"00047":xG,"00048":wG,"00049":EG,"00050":SG,"00051":kG,"00052":CG,"00053":IG,"00054":DG,"00055":TG,"00056":OG,"00057":NG,"00058":PG,"00059":MG,"00060":AG,"00061":RG,"00062":FG,"00063":LG,"00064":jG,"00065":VG,"00066":zG,"00067":BG,"00068":HG,"00069":UG,"00070":GG,"00071":WG,"00072":qG,"00073":$G,"both-ears":YG,"both-eyes":ZG,"both-nostrils":KG,"cutaneous-injection":JG,derm:XG,"dermal-injection":QG,"ear-left":eW,"ear-right":tW,"eye-left":nW,"eye-right":iW,hyperdermoclyse:aW,icut:rW,ider:oW,larter:sW,"nose-left":lW,"nose-right":cW,oft:uW,transdermal:dW,"vitreal-injection":hW},pW={};K(pW,{"00001":()=>mW,"00002":()=>fW,"00003":()=>gW,"00004":()=>vW,"00005":()=>yW,"00006":()=>bW,"00007":()=>_W,"00008":()=>xW,"00009":()=>wW,"00010":()=>EW,"00011":()=>SW,"00012":()=>kW,"00013":()=>CW,"00014":()=>IW,"00015":()=>DW,"00016":()=>TW,"00017":()=>OW,"00018":()=>NW,"00019":()=>PW,"00020":()=>MW,"00021":()=>AW,"00022":()=>RW,"00023":()=>FW,"00024":()=>LW,"00025":()=>jW,"00026":()=>VW,"00027":()=>zW,"00028":()=>BW,"00029":()=>HW,"00030":()=>UW,"00031":()=>GW,"00032":()=>WW,"00033":()=>qW,"00034":()=>$W,"00035":()=>YW,"00036":()=>ZW,"00037":()=>KW,"00038":()=>JW,"00039":()=>XW,"00040":()=>QW,"00041":()=>eq,"00042":()=>tq,"00043":()=>nq,"00044":()=>iq,"00045":()=>aq,"00046":()=>rq,"00047":()=>oq,"00048":()=>sq,"00049":()=>lq,"00050":()=>cq,"00051":()=>uq,"00052":()=>dq,"00053":()=>hq,"00054":()=>pq,"00055":()=>mq,"00056":()=>fq,"00057":()=>gq,"00058":()=>vq,"00059":()=>yq,"00060":()=>bq,"00061":()=>_q,"00062":()=>xq,"00063":()=>wq,"00064":()=>Eq,"00065":()=>Sq,"00066":()=>kq,"00067":()=>Cq,"00068":()=>Iq,"00069":()=>Dq,"00070":()=>Tq,"00071":()=>Oq,"00072":()=>Nq,"00073":()=>Pq,"both-ears":()=>Mq,"both-eyes":()=>Aq,"both-nostrils":()=>Rq,"cutaneous-injection":()=>Fq,default:()=>Rxe,derm:()=>Lq,"dermal-injection":()=>jq,"ear-left":()=>Vq,"ear-right":()=>zq,"eye-left":()=>Bq,"eye-right":()=>Hq,hyperdermoclyse:()=>Uq,icut:()=>Gq,ider:()=>Wq,larter:()=>qq,"nose-left":()=>$q,"nose-right":()=>Yq,oft:()=>Zq,transdermal:()=>Kq,"vitreal-injection":()=>Jq});var mW="auric.",fW="derm.",gW="derm./rect",vW="derm./vag.",yW="e.dur.",bW="e.dur./i.thec./local",_W="e.dur./local",xW="e.trach.",wW="endocerv.",EW="i.arter.",SW="i.cavern.",kW="i.derm.",CW="i.m.",IW="i.m./i.thec./e.dur./s.c.",DW="i.m./i.v.",TW="i.m./i.v./inf.",OW="i.m./i.v./inf./e.dur./s.c.",NW="i.m./i.v./inf./i.arter./i.thec.",PW="i.m./i.v./perf./i.artér./local/s.c.",MW="i.m./i.v./inf./i.thec.",AW="i.m./i.v./inf./rect.",RW="i.m./i.v./inf./s.c.",FW="i.m./i.v./inhal.",LW="i.m./i.v./local",jW="i.m./i.v./or.",VW="i.m./i.v./rect",zW="i.m./i.v./s.c.",BW="i.m./inf.",HW="i.m./perf./local",UW="i.m./local",GW="i.m./local/rect.",WW="i.m./s.c.",qW="i.thec.",$W="i.ut.",YW="i.v.",ZW="i.v./p.dur./local",KW="i.v./i.arter./i.ves.",JW="i.v./inf.",XW="i.v./perf./p.dur.",QW="i.v./perf./i.artér.",eq="i.v./perf./i.théc./s.c.",tq="i.v./perf./inhal.",nq="i.v./perf./s.c.",iq="i.v./s.c.",aq="i.ves.",rq="perf.",oq="perf./i.ves.",sq="perf./s.c.",lq="inhal.",cq="inhal./nas./local",uq="inj.",dq="lip",hq="local",pq="muc.",mq="nas.",fq="opht.",gq="opht./auric.",vq="opht./auric./nas.",yq="opht./auric./nas./local",bq="or.",_q="or./bucco-phar./derm.",xq="or./rect.",wq="or./s.l.",Eq="bucco-phar.",Sq="bucco-phar./derm.",kq="bucco-phar./nas.",Cq="rect.",Iq="s.c.",Dq="s.c./i.derm.",Tq="s.l.",Oq="teeth",Nq="urethr.",Pq="vag.",Mq="both ears",Aq="both eyes",Rq="both nostrils",Fq="cutaneous injection",Lq="dermatologically",jq="dermal injection",Vq="ear left",zq="ear right",Bq="eye left",Hq="eye right",Uq="hyperdermoclyse",Gq="intracutaneous",Wq="intradermally",qq="intra-arterial",$q="nose left",Yq="nose right",Zq="ophtalmological",Kq="transdermal",Jq="vitreal injection",Rxe={"00001":mW,"00002":fW,"00003":gW,"00004":vW,"00005":yW,"00006":bW,"00007":_W,"00008":xW,"00009":wW,"00010":EW,"00011":SW,"00012":kW,"00013":CW,"00014":IW,"00015":DW,"00016":TW,"00017":OW,"00018":NW,"00019":PW,"00020":MW,"00021":AW,"00022":RW,"00023":FW,"00024":LW,"00025":jW,"00026":VW,"00027":zW,"00028":BW,"00029":HW,"00030":UW,"00031":GW,"00032":WW,"00033":qW,"00034":$W,"00035":YW,"00036":ZW,"00037":KW,"00038":JW,"00039":XW,"00040":QW,"00041":eq,"00042":tq,"00043":nq,"00044":iq,"00045":aq,"00046":rq,"00047":oq,"00048":sq,"00049":lq,"00050":cq,"00051":uq,"00052":dq,"00053":hq,"00054":pq,"00055":mq,"00056":fq,"00057":gq,"00058":vq,"00059":yq,"00060":bq,"00061":_q,"00062":xq,"00063":wq,"00064":Eq,"00065":Sq,"00066":kq,"00067":Cq,"00068":Iq,"00069":Dq,"00070":Tq,"00071":Oq,"00072":Nq,"00073":Pq,"both-ears":Mq,"both-eyes":Aq,"both-nostrils":Rq,"cutaneous-injection":Fq,derm:Lq,"dermal-injection":jq,"ear-left":Vq,"ear-right":zq,"eye-left":Bq,"eye-right":Hq,hyperdermoclyse:Uq,icut:Gq,ider:Wq,larter:qq,"nose-left":$q,"nose-right":Yq,oft:Zq,transdermal:Kq,"vitreal-injection":Jq},Xq={};K(Xq,{"00001":()=>Qq,"00002":()=>e$,"00003":()=>t$,"00004":()=>n$,"00005":()=>i$,"00006":()=>a$,"00007":()=>r$,"00008":()=>o$,"00009":()=>s$,"00010":()=>l$,"00011":()=>c$,"00012":()=>u$,"00013":()=>d$,"00014":()=>h$,"00015":()=>p$,"00016":()=>m$,"00017":()=>f$,"00018":()=>g$,"00019":()=>v$,"00020":()=>y$,"00021":()=>b$,"00022":()=>_$,"00023":()=>x$,"00024":()=>w$,"00025":()=>E$,"00026":()=>S$,"00027":()=>k$,"00028":()=>C$,"00029":()=>I$,"00030":()=>D$,"00031":()=>T$,"00032":()=>O$,"00033":()=>N$,"00034":()=>P$,"00035":()=>M$,"00036":()=>A$,"00037":()=>R$,"00038":()=>F$,"00039":()=>L$,"00040":()=>j$,"00041":()=>V$,"00042":()=>z$,"00043":()=>B$,"00044":()=>H$,"00045":()=>U$,"00046":()=>G$,"00047":()=>W$,"00048":()=>q$,"00049":()=>$$,"00050":()=>Y$,"00051":()=>Z$,"00052":()=>K$,"00053":()=>J$,"00054":()=>X$,"00055":()=>Q$,"00056":()=>eY,"00057":()=>tY,"00058":()=>nY,"00059":()=>iY,"00060":()=>aY,"00061":()=>rY,"00062":()=>oY,"00063":()=>sY,"00064":()=>lY,"00065":()=>cY,"00066":()=>uY,"00067":()=>dY,"00068":()=>hY,"00069":()=>pY,"00070":()=>mY,"00071":()=>fY,"00072":()=>gY,"00073":()=>vY,"both-ears":()=>yY,"both-eyes":()=>bY,"both-nostrils":()=>_Y,"cutaneous-injection":()=>xY,default:()=>Fxe,derm:()=>wY,"dermal-injection":()=>EY,"ear-left":()=>SY,"ear-right":()=>kY,"eye-left":()=>CY,"eye-right":()=>IY,hyperdermoclyse:()=>DY,icut:()=>TY,ider:()=>OY,larter:()=>NY,"nose-left":()=>PY,"nose-right":()=>MY,oft:()=>AY,transdermal:()=>RY,"vitreal-injection":()=>FY});var Qq="dans l’oreille",e$="sur la peau",t$="derm./rect",n$="derm./vag.",i$="injection en dehors de la méninge",a$="e.dur./i.théc./local",r$="e.dur./local",o$="dans la trachée",s$="introduire dans le col de l’utérus",l$="injection dans l’artère",c$="injection dans le pénis",u$="injection dans la peau",d$="injection dans un muscle",h$="i.m./i.théc./e.dur./s.c.",p$="i.m./i.v.",m$="i.m./i.v./perf.",f$="i.m./i.v./perf./e.dur./s.c.",g$="i.m./i.v./inf./i.arter./i.thec.",v$="i.m./i.v./perf./i.artér./local/s.c.",y$="i.m./i.v./inf./i.thec.",b$="i.m./i.v./perf./rect.",_$="i.m./i.v./perf./s.c.",x$="i.m./i.v./inhal.",w$="i.m./i.v./local",E$="i.m./i.v./or.",S$="i.m./i.v./rect",k$="i.m./i.v./s.c.",C$="i.m./perf.",I$="i.m./perf./local",D$="i.m./local",T$="i.m./local/rect.",O$="i.m./s.c.",N$="injection dans la moelle épinière",P$="introduire dans l’utérus",M$="injection dans une veine",A$="i.v./p.dur./local",R$="i.v./i.arter./i.ves.",F$="i.v./perf.",L$="i.v./perf./p.dur.",j$="i.v./perf./i.artér.",V$="i.v./perf./i.théc./s.c.",z$="i.v./perf./inhal.",B$="i.v./perf./s.c.",H$="i.v./s.c.",U$="dans la vessie",G$="perfusion",W$="perf./i.vés.",q$="perf./s.c.",$$="inhalation",Y$="inhal./nas./local",Z$="injection",K$="lèvre",J$="local",X$="sur la muqueuse",Q$="dans le nez",eY="dans les yeux",tY="opht./auric.",nY="opht./auric./nas.",iY="opht./auric./nas./local",aY="prendre/avaler",rY="or./bucco-phar./derm.",oY="or./rect.",sY="or./s.l.",lY="par la bouche",cY="bucco-phar./derm.",uY="par la bouche et dans le nez",dY="par voie rectale",hY="injection sous-cutanée",pY="s.c./i.derm.",mY="sous la langue",fY="sur les dents",gY="dans l’uretère",vY="par voie vaginale",yY="les deux oreilles",bY="les deux yeux",_Y="les deux narines",xY="injection cutanée",wY="dermatologique",EY="injection dermique",SY="oreille gauche",kY="oreille droite",CY="oeil gauche",IY="oeil droite",DY="hyperdermoclyse",TY="intracutané",OY="intradermique",NY="intra-artérielle",PY="nez gauche",MY="nez droite",AY="ophtalmologique",RY="transdermique",FY="injection vitrale",Fxe={"00001":Qq,"00002":e$,"00003":t$,"00004":n$,"00005":i$,"00006":a$,"00007":r$,"00008":o$,"00009":s$,"00010":l$,"00011":c$,"00012":u$,"00013":d$,"00014":h$,"00015":p$,"00016":m$,"00017":f$,"00018":g$,"00019":v$,"00020":y$,"00021":b$,"00022":_$,"00023":x$,"00024":w$,"00025":E$,"00026":S$,"00027":k$,"00028":C$,"00029":I$,"00030":D$,"00031":T$,"00032":O$,"00033":N$,"00034":P$,"00035":M$,"00036":A$,"00037":R$,"00038":F$,"00039":L$,"00040":j$,"00041":V$,"00042":z$,"00043":B$,"00044":H$,"00045":U$,"00046":G$,"00047":W$,"00048":q$,"00049":$$,"00050":Y$,"00051":Z$,"00052":K$,"00053":J$,"00054":X$,"00055":Q$,"00056":eY,"00057":tY,"00058":nY,"00059":iY,"00060":aY,"00061":rY,"00062":oY,"00063":sY,"00064":lY,"00065":cY,"00066":uY,"00067":dY,"00068":hY,"00069":pY,"00070":mY,"00071":fY,"00072":gY,"00073":vY,"both-ears":yY,"both-eyes":bY,"both-nostrils":_Y,"cutaneous-injection":xY,derm:wY,"dermal-injection":EY,"ear-left":SY,"ear-right":kY,"eye-left":CY,"eye-right":IY,hyperdermoclyse:DY,icut:TY,ider:OY,larter:NY,"nose-left":PY,"nose-right":MY,oft:AY,transdermal:RY,"vitreal-injection":FY},LY={};K(LY,{"00001":()=>jY,"00002":()=>VY,"00003":()=>MZ,"00004":()=>AZ,"00005":()=>zY,"00006":()=>RZ,"00007":()=>FZ,"00008":()=>BY,"00009":()=>HY,"00010":()=>UY,"00011":()=>GY,"00012":()=>WY,"00013":()=>qY,"00014":()=>LZ,"00015":()=>jZ,"00016":()=>VZ,"00017":()=>zZ,"00018":()=>BZ,"00019":()=>HZ,"00020":()=>UZ,"00021":()=>GZ,"00022":()=>WZ,"00023":()=>qZ,"00024":()=>$Z,"00025":()=>YZ,"00026":()=>ZZ,"00027":()=>KZ,"00028":()=>JZ,"00029":()=>XZ,"00030":()=>QZ,"00031":()=>eK,"00032":()=>tK,"00033":()=>$Y,"00034":()=>YY,"00035":()=>ZY,"00036":()=>nK,"00037":()=>iK,"00038":()=>aK,"00039":()=>rK,"00040":()=>oK,"00041":()=>sK,"00042":()=>lK,"00043":()=>cK,"00044":()=>uK,"00045":()=>KY,"00046":()=>JY,"00047":()=>dK,"00048":()=>hK,"00049":()=>XY,"00050":()=>pK,"00051":()=>QY,"00052":()=>eZ,"00053":()=>tZ,"00054":()=>nZ,"00055":()=>iZ,"00056":()=>aZ,"00057":()=>mK,"00058":()=>fK,"00059":()=>gK,"00060":()=>rZ,"00061":()=>vK,"00062":()=>yK,"00063":()=>bK,"00064":()=>oZ,"00065":()=>_K,"00066":()=>sZ,"00067":()=>lZ,"00068":()=>cZ,"00069":()=>xK,"00070":()=>uZ,"00071":()=>dZ,"00072":()=>hZ,"00073":()=>pZ,"both-ears":()=>TZ,"both-eyes":()=>CZ,"both-nostrils":()=>EZ,"cutaneous-injection":()=>bZ,default:()=>Lxe,derm:()=>mZ,"dermal-injection":()=>_Z,"ear-left":()=>IZ,"ear-right":()=>DZ,"eye-left":()=>SZ,"eye-right":()=>kZ,hyperdermoclyse:()=>PZ,icut:()=>gZ,ider:()=>vZ,larter:()=>fZ,"nose-left":()=>xZ,"nose-right":()=>wZ,oft:()=>yZ,transdermal:()=>NZ,"vitreal-injection":()=>OZ});var jY="in het oor",VY="op de huid",zY="inspuiting buiten het hersenvlies",BY="in de luchtpijp",HY="inbrengen in de baarmoederhals",UY="inspuiting in een slagader",GY="inspuiting in de penis",WY="inspuiting in de huid",qY="inspuiting in een spier",$Y="inspuiting in het ruggenmerg",YY="inbrengen in de baarmoeder",ZY="inspuiting in een ader",KY="in de urineblaas",JY="infuus",XY="inhalatie",QY="inspuiting",eZ="op de lippen",tZ="lokaal",nZ="op het slijmvlies",iZ="in de neus",aZ="in de ogen",rZ="innemen",oZ="in de mond",sZ="in de mond en in de neus",lZ="anaal opsteken",cZ="onderhuidse inspuiting",uZ="onder de tong",dZ="op de tanden",hZ="in de urineleider",pZ="vaginaal",mZ="dermatologisch",fZ="intra-arterieel",gZ="intracutaan",vZ="intradermaal",yZ="oftalmologisch",bZ="cutane injectie",_Z="dermale injectie",xZ="neus links",wZ="neus rechts",EZ="beide neusgaten",SZ="oog links",kZ="oog rechts",CZ="beide ogen",IZ="oor links",DZ="oor rechts",TZ="beide oren",OZ="vitreale injectie",NZ="transdermaal",PZ="hyperdermoclyse",MZ="derm./rect",AZ="derm./vag.",RZ="e.dur./i.thec./lokaal",FZ="e.dur./lokaal",LZ="i.m./i.thec./p.dur./s.c.",jZ="i.m./i.v.",VZ="i.m./i.v./inf.",zZ="i.m./i.v./inf./e.dur./s.c.",BZ="i.m./i.v./inf./i.arter./i.thec.",HZ="i.m./i.v./perf./i.artér./lokaal/s.c.",UZ="i.m./i.v./inf./i.thec.",GZ="i.m./i.v./inf./rect.",WZ="i.m./i.v./inf./s.c.",qZ="i.m./i.v./inhal.",$Z="i.m./i.v./lokaal",YZ="i.m./i.v./or.",ZZ="i.m./i.v./rect",KZ="i.m./i.v./s.c.",JZ="i.m./inf.",XZ="i.m./perf./lokaal",QZ="i.m./lokaal",eK="i.m./lokaal/rect.",tK="i.m./s.c.",nK="i.v./p.dur./lokaal",iK="i.v./i.arter./i.ves.",aK="i.v./inf.",rK="i.v./perf./p.dur.",oK="i.v./inf./i.arter.",sK="i.v./inf./i.thec./s.c.",lK="i.v./inf./inhal.",cK="i.v./inf./s.c.",uK="i.v./s.c.",dK="perf./i.ves.",hK="perf./s.c.",pK="inhal./nas./lokaal",mK="oft./auric.",fK="oft./auric./nas.",gK="oft./auric./nas./lokaal",vK="or./orofar./derm.",yK="or./rect.",bK="or./s.l.",_K="orofar./derm.",xK="s.c./i.derm.",Lxe={"00001":jY,"00002":VY,"00005":zY,"00008":BY,"00009":HY,"00010":UY,"00011":GY,"00012":WY,"00013":qY,"00033":$Y,"00034":YY,"00035":ZY,"00045":KY,"00046":JY,"00049":XY,"00051":QY,"00052":eZ,"00053":tZ,"00054":nZ,"00055":iZ,"00056":aZ,"00060":rZ,"00064":oZ,"00066":sZ,"00067":lZ,"00068":cZ,"00070":uZ,"00071":dZ,"00072":hZ,"00073":pZ,derm:mZ,larter:fZ,icut:gZ,ider:vZ,oft:yZ,"cutaneous-injection":bZ,"dermal-injection":_Z,"nose-left":xZ,"nose-right":wZ,"both-nostrils":EZ,"eye-left":SZ,"eye-right":kZ,"both-eyes":CZ,"ear-left":IZ,"ear-right":DZ,"both-ears":TZ,"vitreal-injection":OZ,transdermal:NZ,hyperdermoclyse:PZ,"00003":MZ,"00004":AZ,"00006":RZ,"00007":FZ,"00014":LZ,"00015":jZ,"00016":VZ,"00017":zZ,"00018":BZ,"00019":HZ,"00020":UZ,"00021":GZ,"00022":WZ,"00023":qZ,"00024":$Z,"00025":YZ,"00026":ZZ,"00027":KZ,"00028":JZ,"00029":XZ,"00030":QZ,"00031":eK,"00032":tK,"00036":nK,"00037":iK,"00038":aK,"00039":rK,"00040":oK,"00041":sK,"00042":lK,"00043":cK,"00044":uK,"00047":dK,"00048":hK,"00050":pK,"00057":mK,"00058":fK,"00059":gK,"00061":vK,"00062":yK,"00063":bK,"00065":_K,"00069":xK},jxe={nl:LY,fr:Xq,de:D8,en:pW},wK={};K(wK,{default:()=>Vxe,rsb:()=>kK,rsw:()=>SK,vitalink:()=>EK});var EK="Vitalink",SK="Réseau Santé Wallon",kK="Brüsseler Gesundheitsnetzwerk",Vxe={vitalink:EK,rsw:SK,rsb:kK},CK={};K(CK,{default:()=>zxe,rsb:()=>TK,rsw:()=>DK,vitalink:()=>IK});var IK="Vitalink",DK="Réseau Santé Wallon",TK="Brussels Health Network",zxe={vitalink:IK,rsw:DK,rsb:TK},OK={};K(OK,{default:()=>Bxe,rsb:()=>MK,rsw:()=>PK,vitalink:()=>NK});var NK="Vitalink",PK="Réseau Santé Wallon",MK="Réseau Santé Bruxellois",Bxe={vitalink:NK,rsw:PK,rsb:MK},AK={};K(AK,{default:()=>Hxe,rsb:()=>LK,rsw:()=>FK,vitalink:()=>RK});var RK="Vitalink",FK="Réseau Santé Wallon",LK="Brusselse Gezondheidsnetwerk",Hxe={vitalink:RK,rsw:FK,rsb:LK},Uxe={nl:AK,fr:OK,de:wK,en:CK},jK={};K(jK,{alphabetical:()=>YK,author:()=>BK,date:()=>HK,default:()=>Gxe,expiration:()=>$K,medicationName:()=>VK,role:()=>UK,sort:()=>qK,"sorting-ascendant":()=>GK,"sorting-descendent":()=>WK,validityDate:()=>zK});var VK="Arzneimittel",zK="Ablaufdatum",BK="Verfasser",HK="Datum",UK="Benutzerrolle",GK="Aufsteigend sortieren",WK="Absteigend sortieren",qK="Sortieren",$K={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},YK={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},Gxe={medicationName:VK,validityDate:zK,author:BK,date:HK,role:UK,"sorting-ascendant":GK,"sorting-descendent":WK,sort:qK,expiration:$K,alphabetical:YK},ZK={};K(ZK,{alphabetical:()=>rJ,author:()=>eJ,date:()=>tJ,default:()=>Wxe,expiration:()=>aJ,medicationName:()=>KK,role:()=>nJ,sort:()=>iJ,"sorting-ascendant":()=>XK,"sorting-descendent":()=>QK,validityDate:()=>JK});var KK="Drug",JK="Validity",XK="Sort by ascending order",QK="Sort by descending order",eJ="Author",tJ="Date",nJ="Role",iJ="Sort by",aJ={asc:"expires first",desc:"expires last"},rJ={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Wxe={medicationName:KK,validityDate:JK,"sorting-ascendant":XK,"sorting-descendent":QK,author:eJ,date:tJ,role:nJ,sort:iJ,expiration:aJ,alphabetical:rJ},oJ={};K(oJ,{alphabetical:()=>gJ,author:()=>cJ,date:()=>uJ,default:()=>qxe,expiration:()=>fJ,medicationName:()=>sJ,role:()=>dJ,sort:()=>mJ,"sorting-ascendant":()=>hJ,"sorting-descendent":()=>pJ,validityDate:()=>lJ});var sJ="Médicament",lJ="Validité",cJ="Auteur",uJ="Date",dJ="Qualité",hJ="Trier par ordre croissant",pJ="Trier par ordre décroissant",mJ="Trier",fJ={asc:"expire en premier",desc:"expire en dernier"},gJ={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},qxe={medicationName:sJ,validityDate:lJ,author:cJ,date:uJ,role:dJ,"sorting-ascendant":hJ,"sorting-descendent":pJ,sort:mJ,expiration:fJ,alphabetical:gJ},vJ={};K(vJ,{alphabetical:()=>IJ,author:()=>_J,date:()=>xJ,default:()=>$xe,expiration:()=>CJ,medicationName:()=>yJ,role:()=>wJ,sort:()=>kJ,"sorting-ascendant":()=>EJ,"sorting-descendent":()=>SJ,validityDate:()=>bJ});var yJ="Geneesmiddel",bJ="Geldigheid",_J="Auteur",xJ="Datum",wJ="Rol",EJ="Oplopend sorteren",SJ="Aflopend sorteren",kJ="Sorteren",CJ={asc:"vervalt eerst",desc:"vervalt laatst"},IJ={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},$xe={medicationName:yJ,validityDate:bJ,author:_J,date:xJ,role:wJ,"sorting-ascendant":EJ,"sorting-descendent":SJ,sort:kJ,expiration:CJ,alphabetical:IJ},Yxe={nl:vJ,fr:oJ,de:jK,en:ZK},DJ={};K(DJ,{acute:()=>TJ,chronic:()=>OJ,default:()=>Zxe,ifnecessary:()=>NJ,oneshot:()=>PJ,reactivation:()=>MJ,remission:()=>AJ,subacute:()=>RJ});var TJ="akut",OJ="chronisch",NJ="falls erforderlich",PJ="einmalig",MJ="Reaktivierung",AJ="Remission",RJ="subakut",Zxe={acute:TJ,chronic:OJ,ifnecessary:NJ,oneshot:PJ,reactivation:MJ,remission:AJ,subacute:RJ},FJ={};K(FJ,{acute:()=>LJ,chronic:()=>jJ,default:()=>Kxe,ifnecessary:()=>VJ,oneshot:()=>zJ,reactivation:()=>BJ,remission:()=>HJ,subacute:()=>UJ});var LJ="acute",jJ="chronic",VJ="if necessary",zJ="one shot",BJ="reactivation",HJ="remission",UJ="subacute",Kxe={acute:LJ,chronic:jJ,ifnecessary:VJ,oneshot:zJ,reactivation:BJ,remission:HJ,subacute:UJ},GJ={};K(GJ,{acute:()=>WJ,chronic:()=>qJ,default:()=>Jxe,ifnecessary:()=>$J,oneshot:()=>YJ,reactivation:()=>ZJ,remission:()=>KJ,subacute:()=>JJ});var WJ="aigu",qJ="chronique",$J="si nécessaire",YJ="une seule fois",ZJ="réactivation",KJ="rémission",JJ="suraigu",Jxe={acute:WJ,chronic:qJ,ifnecessary:$J,oneshot:YJ,reactivation:ZJ,remission:KJ,subacute:JJ},XJ={};K(XJ,{acute:()=>QJ,chronic:()=>eX,default:()=>Xxe,ifnecessary:()=>tX,oneshot:()=>nX,reactivation:()=>iX,remission:()=>aX,subacute:()=>rX});var QJ="tijdelijke medicatie",eX="chronische medicatie",tX="indien nodig",nX="eenmalig",iX="reactivatie",aX="remissie",rX="subacuut",Xxe={acute:QJ,chronic:eX,ifnecessary:tX,oneshot:nX,reactivation:iX,remission:aX,subacute:rX},Qxe={nl:XJ,fr:GJ,de:DJ,en:FJ},oX={};K(oX,{author:()=>hX,default:()=>ewe,profession:()=>pX,source:()=>dX,title:()=>sX,updated:()=>cX,updatedBy:()=>uX,version:()=>lX});var sX="Versionsdetails",lX="Version",cX="Aktualisiert am",uX="Von",dX="Ursprung",hX="Verfasser",pX="Beruf",ewe={title:sX,version:lX,updated:cX,updatedBy:uX,source:dX,author:hX,profession:pX},mX={};K(mX,{author:()=>_X,default:()=>twe,profession:()=>xX,source:()=>bX,title:()=>fX,updated:()=>vX,updatedBy:()=>yX,version:()=>gX});var fX="Version details",gX="Version",vX="Updated on",yX="By",bX="Source",_X="Author",xX="Appeal",twe={title:fX,version:gX,updated:vX,updatedBy:yX,source:bX,author:_X,profession:xX},wX={};K(wX,{author:()=>DX,default:()=>nwe,profession:()=>TX,source:()=>IX,title:()=>EX,updated:()=>kX,updatedBy:()=>CX,version:()=>SX});var EX="Détails de la version",SX="Version",kX="Mis à jour le",CX="Par",IX="Source",DX="Auteur",TX="Profession",nwe={title:EX,version:SX,updated:kX,updatedBy:CX,source:IX,author:DX,profession:TX},OX={};K(OX,{author:()=>FX,default:()=>iwe,profession:()=>LX,source:()=>RX,title:()=>NX,updated:()=>MX,updatedBy:()=>AX,version:()=>PX});var NX="Versie details",PX="Versie",MX="Bijgewerkt op",AX="Door",RX="Bron",FX="Auteur",LX="Beroep",iwe={title:NX,version:PX,updated:MX,updatedBy:AX,source:RX,author:FX,profession:LX},awe={nl:OX,fr:wX,de:oX,en:mX},jX={};K(jX,{day:()=>VX,default:()=>rwe,moreInformations:()=>YX,nextday:()=>qX,nextweek:()=>GX,openCalendar:()=>$X,previousday:()=>WX,previousweek:()=>UX,returnToCurrentWeek:()=>HX,returnToToday:()=>BX,week:()=>zX});var VX="Tagesansicht",zX="Wochenansicht",BX="Zurück zu heute",HX="Diese Woche",UX="Vorige week",GX="Volgende week",WX="Vorige dag",qX="Volgende dag",$X="den Kalender öffnen",YX="Weitere Informationen",rwe={day:VX,week:zX,returnToToday:BX,returnToCurrentWeek:HX,previousweek:UX,nextweek:GX,previousday:WX,nextday:qX,openCalendar:$X,moreInformations:YX},ZX={};K(ZX,{day:()=>KX,default:()=>owe,moreInformations:()=>rQ,nextday:()=>iQ,nextweek:()=>tQ,openCalendar:()=>aQ,previousday:()=>nQ,previousweek:()=>eQ,returnToCurrentWeek:()=>QX,returnToToday:()=>XX,week:()=>JX});var KX="Day overview",JX="Week overview",XX="Back to today",QX="Present week",eQ="Previous week",tQ="Next week",nQ="Previous day",iQ="Next day",aQ="open the calendar",rQ="More information",owe={day:KX,week:JX,returnToToday:XX,returnToCurrentWeek:QX,previousweek:eQ,nextweek:tQ,previousday:nQ,nextday:iQ,openCalendar:aQ,moreInformations:rQ},oQ={};K(oQ,{day:()=>sQ,default:()=>swe,moreInformations:()=>gQ,nextday:()=>mQ,nextweek:()=>hQ,openCalendar:()=>fQ,previousday:()=>pQ,previousweek:()=>dQ,returnToCurrentWeek:()=>uQ,returnToToday:()=>cQ,week:()=>lQ});var sQ="Vue journalière",lQ="Vue semaine",cQ="Revenir à aujourd'hui",uQ="Cette semaine",dQ="Semaine précédente",hQ="Semaine suivante",pQ="Jour précédent",mQ="Jour suivant",fQ="Ouvrir le calendrier",gQ="Plus d'informations",swe={day:sQ,week:lQ,returnToToday:cQ,returnToCurrentWeek:uQ,previousweek:dQ,nextweek:hQ,previousday:pQ,nextday:mQ,openCalendar:fQ,moreInformations:gQ},vQ={};K(vQ,{day:()=>yQ,default:()=>lwe,moreInformations:()=>IQ,nextday:()=>kQ,nextweek:()=>EQ,openCalendar:()=>CQ,previousday:()=>SQ,previousweek:()=>wQ,returnToCurrentWeek:()=>xQ,returnToToday:()=>_Q,week:()=>bQ});var yQ="Dagoverzicht",bQ="Weekoverzicht",_Q="Terug naar vandaag",xQ="Huidige week",wQ="vorherige Woche",EQ="nächste Woche",SQ="vorheriger Tag",kQ="nächster Tag",CQ="de kalender openen",IQ="Meer informatie",lwe={day:yQ,week:bQ,returnToToday:_Q,returnToCurrentWeek:xQ,previousweek:wQ,nextweek:EQ,previousday:SQ,nextday:kQ,openCalendar:CQ,moreInformations:IQ},cwe={nl:vQ,fr:oQ,de:jX,en:ZX},DQ={};K(DQ,{comment:()=>UQ,default:()=>uwe,end:()=>MQ,endCondition:()=>BQ,indication:()=>OQ,instructions:()=>HQ,medication:()=>TQ,noDetails:()=>GQ,other:()=>WQ,periodicity:()=>FQ,posologie:()=>LQ,prescriber:()=>NQ,quantity:()=>RQ,route:()=>jQ,section:()=>qQ,start:()=>PQ,startCondition:()=>zQ,suspension:()=>AQ,temporality:()=>VQ});var TQ="Arzneimittel",OQ="Grund",NQ="Verordnende Person",PQ="Beginn",MQ="Ende",AQ={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},RQ="Darreichungsform",FQ="Abstand",LQ="Dosierung",jQ="Verabreichung",VQ="Zeitlichkeit",zQ="Anfangszustand",BQ="Endzustand",HQ="Hinweise",UQ="Kommentar",GQ="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",WQ="Andere",qQ={treatment:"Behandlung",intake:"Aufnahme",prescription:"Rezept"},uwe={medication:TQ,indication:OQ,prescriber:NQ,start:PQ,end:MQ,suspension:AQ,quantity:RQ,periodicity:FQ,posologie:LQ,route:jQ,temporality:VQ,startCondition:zQ,endCondition:BQ,instructions:HQ,comment:UQ,noDetails:GQ,other:WQ,section:qQ},$Q={};K($Q,{comment:()=>lee,default:()=>dwe,end:()=>XQ,endCondition:()=>oee,indication:()=>ZQ,instructions:()=>see,medication:()=>YQ,noDetails:()=>cee,other:()=>uee,periodicity:()=>tee,posologie:()=>nee,prescriber:()=>KQ,quantity:()=>eee,route:()=>iee,section:()=>dee,start:()=>JQ,startCondition:()=>ree,suspension:()=>QQ,temporality:()=>aee});var YQ="Medication",ZQ="Reason",KQ="Prescriber",JQ="Beginning",XQ="End",QQ={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},eee="Pharmaceutical form",tee="Frequency",nee="Dosage",iee="Route of administration",aee="Temporality",ree="Condition at the beginning",oee="Condition at the end",see="Instructions ",lee="Comments",cee="The requested information has been deleted or doesn't exist.",uee="Other",dee={treatment:"Treatment",intake:"Intake",prescription:"Prescription"},dwe={medication:YQ,indication:ZQ,prescriber:KQ,start:JQ,end:XQ,suspension:QQ,quantity:eee,periodicity:tee,posologie:nee,route:iee,temporality:aee,startCondition:ree,endCondition:oee,instructions:see,comment:lee,noDetails:cee,other:uee,section:dee},hee={};K(hee,{comment:()=>Iee,default:()=>hwe,end:()=>vee,endCondition:()=>kee,indication:()=>mee,instructions:()=>Cee,medication:()=>pee,noDetails:()=>Dee,other:()=>Tee,periodicity:()=>_ee,posologie:()=>xee,prescriber:()=>fee,quantity:()=>bee,route:()=>wee,section:()=>Oee,start:()=>gee,startCondition:()=>See,suspension:()=>yee,temporality:()=>Eee});var pee="Médicament",mee="Raison",fee="Prescripteur",gee="Début",vee="Fin",yee={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},bee="Forme pharmaceutique",_ee="Fréquence",xee="Posologie",wee="Voie d’administration",Eee="Temporalité",See="Condition de début",kee="Condition de fin",Cee="Instructions",Iee="Commentaire",Dee="Le médicament demandé a été supprimé ou n'existe pas.",Tee="Autre",Oee={treatment:"Traitement",intake:"Prise",prescription:"Prescription"},hwe={medication:pee,indication:mee,prescriber:fee,start:gee,end:vee,suspension:yee,quantity:bee,periodicity:_ee,posologie:xee,route:wee,temporality:Eee,startCondition:See,endCondition:kee,instructions:Cee,comment:Iee,noDetails:Dee,other:Tee,section:Oee},Nee={};K(Nee,{comment:()=>qee,default:()=>pwe,end:()=>Fee,endCondition:()=>Gee,indication:()=>Mee,instructions:()=>Wee,medication:()=>Pee,noDetails:()=>$ee,other:()=>Yee,periodicity:()=>Vee,posologie:()=>zee,prescriber:()=>Aee,quantity:()=>jee,route:()=>Bee,section:()=>Zee,start:()=>Ree,startCondition:()=>Uee,suspension:()=>Lee,temporality:()=>Hee});var Pee="Geneesmiddel",Mee="Reden",Aee="Voorschrijver",Ree="Start",Fee="Einde",Lee={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},jee="Farmaceutische vorm",Vee="Frequentie",zee="Posologie",Bee="Toedieningsweg",Hee="Temporaliteit",Uee="Beginconditie",Gee="Eindconditie",Wee="Instructies",qee="Opmerking",$ee="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",Yee="Andere",Zee={treatment:"Behandeling",intake:"Inname",prescription:"Voorschrift"},pwe={medication:Pee,indication:Mee,prescriber:Aee,start:Ree,end:Fee,suspension:Lee,quantity:jee,periodicity:Vee,posologie:zee,route:Bee,temporality:Hee,startCondition:Uee,endCondition:Gee,instructions:Wee,comment:qee,noDetails:$ee,other:Yee,section:Zee},mwe={nl:Nee,fr:hee,de:DQ,en:$Q},Kee={};K(Kee,{all:()=>Jee,atYourConvenienceText:()=>lte,consultDetails:()=>nte,current:()=>Xee,days:()=>cte,default:()=>fwe,future:()=>Qee,headers:()=>tte,noMedications:()=>dte,posology:()=>rte,prescriber:()=>ste,reason:()=>ote,remarks:()=>ite,return:()=>ete,toPlan:()=>ate,toTake:()=>ute});var Jee="Vollständige Liste",Xee="Aktuel",Qee="Künftig",ete="Zurück zur Übersicht",tte={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},nte="Siehe Details",ite={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},ate="Noch zu vereinbaren",rte="Dosierung",ote="Grund",ste="Verordnende Person",lte="Einige Medikamente wurden vom Arzt keiner bestimmten Tageszeit zugeordnet und werden deshalb unter 'Spezifische Anweisungen' angezeigt. Wenn Ihr Arzt Hinweise zur Einnahme des Arzneimittels gegeben hat, halten Sie diese bitte ein. Wenn dieses Medikament in bestimmten Abständen eingenommen werden muss, halten Sie sich bitte den ganzen Tag daran.",cte={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},ute="am {days} zu nehmen",dte={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"},fwe={all:Jee,current:Xee,future:Qee,return:ete,headers:tte,consultDetails:nte,remarks:ite,toPlan:ate,posology:rte,reason:ote,prescriber:ste,atYourConvenienceText:lte,days:cte,toTake:ute,noMedications:dte},hte={};K(hte,{all:()=>pte,atYourConvenienceText:()=>kte,consultDetails:()=>yte,current:()=>mte,days:()=>Cte,default:()=>gwe,future:()=>fte,headers:()=>vte,noMedications:()=>Dte,notSpecified:()=>bte,posology:()=>wte,prescriber:()=>Ste,reason:()=>Ete,remarks:()=>_te,return:()=>gte,toPlan:()=>xte,toTake:()=>Ite});var pte="Complete list",mte="Current",fte="Future",gte="Back to overview",vte={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 "},yte="See details",bte="Dosage not filled",_te={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},xte="Remains to be planned",wte="Dosage",Ete="Reason",Ste="Prescriber",kte="Some medications are not assigned to a specific time of day by the doctor and are therefore placed in ‘Specific instructions’. If your doctor gave instructions regarding the moment you must take the medication, follow them up. If the medication must be taken according to a specific scheme, stick to it during the whole day.",Cte={monday:"Mo",tuesday:"Tu",thursday:"Th",wednesday:"We",friday:"Fr",saturday:"Sa",sunday:"Su",allDays:"Every day"},Ite="To take on {days}",Dte={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."},gwe={all:pte,current:mte,future:fte,return:gte,headers:vte,consultDetails:yte,notSpecified:bte,remarks:_te,toPlan:xte,posology:wte,reason:Ete,prescriber:Ste,atYourConvenienceText:kte,days:Cte,toTake:Ite,noMedications:Dte},Tte={};K(Tte,{all:()=>Ote,atYourConvenienceText:()=>Bte,consultDetails:()=>Rte,current:()=>Nte,days:()=>Hte,default:()=>vwe,future:()=>Pte,headers:()=>Ate,noMedications:()=>Gte,posology:()=>jte,prescriber:()=>zte,reason:()=>Vte,remarks:()=>Fte,return:()=>Mte,toPlan:()=>Lte,toTake:()=>Ute});var Ote="Toute la liste",Nte="En cours",Pte="Futur",Mte="Retour à la vue d'ensemble",Ate={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"},Rte="Voir les détails",Fte={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},Lte="À convenir",jte="Posologie",Vte="Raison",zte="Prescripteur",Bte="Quelques médicaments n’ont pas été assignés à une période précise de la journée par le médecin, et sont donc placés dans ‘Instructions spécifiques’. Si votre médecin a donné des instructions pour le moment de la prise du médicament, veuillez les suivre. Si ce médicament doit être pris selon une fréquence horaire précise, veuillez respecter cette consigne tout au long de la journée.",Hte={monday:"Lu",tuesday:"Ma",wednesday:"Me",thursday:"Je",friday:"Ve",saturday:"Sa",sunday:"Di",allDays:"Tous les jours"},Ute="À prendre {days}",Gte={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"},vwe={all:Ote,current:Nte,future:Pte,return:Mte,headers:Ate,consultDetails:Rte,remarks:Fte,toPlan:Lte,posology:jte,reason:Vte,prescriber:zte,atYourConvenienceText:Bte,days:Hte,toTake:Ute,noMedications:Gte},Wte={};K(Wte,{all:()=>qte,atYourConvenienceText:()=>ane,consultDetails:()=>Jte,current:()=>$te,days:()=>rne,default:()=>ywe,future:()=>Yte,headers:()=>Kte,noMedications:()=>sne,notSpecified:()=>Xte,posology:()=>tne,prescriber:()=>ine,reason:()=>nne,remarks:()=>Qte,return:()=>Zte,toPlan:()=>ene,toTake:()=>one});var qte="Volledige lijst",$te="Huidig",Yte="Toekomstig",Zte="Terug naar overzicht",Kte={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},Jte="Zie details",Xte="Dosering niet ingevuld",Qte={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},ene="Nog in te plannen",tne="Posologie",nne="Reden",ine="Voorschrijver",ane="Sommige medicijnen zijn door de arts niet aan een bepaald tijdstip van de dag toegewezen en worden daarom in 'Specifieke instructies' geplaatst. Als uw arts instructies heeft gegeven voor wanneer u het geneesmiddel moet innemen, volg die dan op. Als dit medicijn volgens een bepaald schema moet worden ingenomen, houdt u hier dan de hele dag aan.",rne={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Wo",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},one="Te nemen op {days}",sne={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"},ywe={all:qte,current:$te,future:Yte,return:Zte,headers:Kte,consultDetails:Jte,notSpecified:Xte,remarks:Qte,toPlan:ene,posology:tne,reason:nne,prescriber:ine,atYourConvenienceText:ane,days:rne,toTake:one,noMedications:sne},bwe={nl:Wte,fr:Tte,de:Kee,en:hte},lne={};K(lne,{default:()=>_we,flanders:()=>dne,subtitle:()=>une,title:()=>cne,walloniaBrussels:()=>hne});var cne="Medikamentenplan",une="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",dne={intro:"Ich lebe in Flandern",text:"Es liegt noch kein Medikamentenplan für Sie vor. Sie nehmen Arzneimittel ein, haben aber noch keinen Medikamentenplan? Bitten Sie Ihren behandelnden Arzt, einen zu erstellen.",introPro:"Ihr Patient lebt in Flandern",textPro:"Wenn Ihr Patient seinen Wohnsitz in Flandern hat und Sie sehen kein gemeinsames Medikationsschema auf seinem oder ihrem Namen, dann es gibt keinen Medikamenten-Zeitplan für ihn oder sie. Wenn Ihr Patient Medikamente nimmt, aber noch keinen Medikamentenplan hat, dann können Sie ein Medikationsschema erstellen über über die Software für Arzte oder Apotheker."},hne={intro:"Ich lebe in Wallonien oder in Brüssel",text1:"Wenn Sie mit Ihrem Namen angemeldet sind, steht Ihnen noch keine Medikation zur Verfügung. Nehmen Sie Medikamente ein, haben aber noch keine Medikation? Zögern Sie nicht, Ihren Arzt zu bitten, es zu erstellen.",text2:"Wenn Sie als Bevollmächtigter für eine andere Person oder als Elternteil eines minderjährigen Kindes angemeldet sind, haben Sie über diese Anwendung keinen Zugriff auf das Medikamentenplan. Sie können jedoch den Medikamentenplan in den regionalen Gesundheitssafes ‘Réseau Santé Wallon’ oder ‘Réseau Santé Bruxellois’ einsehen.",introPro:"Ihr Patient lebt in Wallonien oder in Brüssel",textPro:'Sie können direkt über das regionale Portal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=de">Réseau Santé Wallon</a> oder das regionale Portal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=en">Brüsseler Gesundheitsnetzwerk</a>'},_we={title:cne,subtitle:une,flanders:dne,walloniaBrussels:hne},pne={};K(pne,{default:()=>xwe,flanders:()=>gne,subtitle:()=>fne,title:()=>mne,walloniaBrussels:()=>vne});var mne="Medication scheme",fne="What to do if I I don't see any content in this part?",gne={intro:"I live in Flanders",text:"No shared medication scheme has been shared yet. If you use medication you don't have a medication scheme yet, ask your doctor to make create one for you.",introPro:"Your patient lives in Flanders",textPro:"There is no medication schedule for him yet. Is your patient taking medication but doesn't have a medication schedule yet? You can create one using the software for doctors or pharmacists."},vne={intro:"I live in Wallonia or in Brussels",text1:"If you are registered in your own name, then no medication scheme is available for you at the moment. If you use medication while you don't have a medication scheme yet, ask your doctor to make create one for you.",text2:"If you are registered as a mandate holder for another person or as a parent of a minor child, you cannot access the medication scheme by using this application. However, you can view the current medication scheme on the regional health safes ‘Réseau Santé Wallon’ or the ‘Brussels Health Network’.",introPro:"Your patient lives in Wallonia or Brussels",textPro:`You can directly access your patient's medication schedule via the regional portal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=fr">Réseau Santé Wallon</a> or via the regional portal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=fr">Réseau Santé Bruxellois</a>`},xwe={title:mne,subtitle:fne,flanders:gne,walloniaBrussels:vne},yne={};K(yne,{default:()=>wwe,flanders:()=>xne,subtitle:()=>_ne,title:()=>bne,walloniaBrussels:()=>wne});var bne="Schéma de médication",_ne="Que faire si je ne vois aucun contenu dans cette partie ?",xne={intro:"J’habite en Flandre",text:"Il n’y a pas encore de schéma de médication à votre nom. Vous prenez des médicaments mais vous n’avez pas encore de schéma de médication ? N’hésitez pas à demander à votre médecin traitant de le créer.",introPro:"Votre patient habite en Flandre",textPro:"Il n’y a pas encore de schéma de médication pour lui. Votre patient prend des médicaments mais n’a pas encore de schéma de médication ? Vous pouvez en créer un via le logiciel pour les médecins ou les pharmaciens"},wne={intro:"J’habite en Wallonie ou à Bruxelles",text1:"Si vous êtes connecté à votre nom, il n’y a pas encore de schéma de médication disponible pour vous. Vous prenez des médicaments mais vous n’avez pas encore de schéma de médication ? N’hésitez pas à demander à votre médecin traitant de le créer.",text2:"Si vous êtes connecté comme mandataire pour une autre personne ou comme parent d’un enfant mineur, vous n’avez pas accès au schéma de médication via cette application. Vous pouvez toutefois consulter le schéma de médication dans les coffres-forts régionaux de santé via les portails ‘Réseau Santé Wallon’ et du ‘Réseau Santé Bruxellois’",introPro:"Votre patient habite en Wallonie ou à Bruxelles",textPro:'Vous pouvez accéder directement au schéma de médication de votre patient via le portail régional <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=fr">Réseau Santé Wallon</a> ou le portail régional <a class="link" href="https://webapp.abrumet.be/portal/pro?l=fr">Réseau Santé Bruxellois</a>'},wwe={title:bne,subtitle:_ne,flanders:xne,walloniaBrussels:wne},Ene={};K(Ene,{default:()=>Ewe,flanders:()=>Cne,subtitle:()=>kne,title:()=>Sne,walloniaBrussels:()=>Ine});var Sne="Medicatieschema",kne="Wat te doen indien ik geen inhoud zie in dit deel?",Cne={intro:"Ik woon in Vlaanderen",text:"Er is voor u nog geen gedeeld medicatieschema beschikbaar. Als u medicijnen gebruikt en nog geen medicatieschema heeft, vraagt u aan uw arts er een aan te maken voor u",introPro:"Uw patiënt woont in Vlaanderen",textPro:"Als uw patiënt gedomicilieerd is in Vlaanderen en u ziet geen gedeeld medicatieschema op zijn of haar naam, dan is er nog geen. Indien uw patiënt wel geneesmiddelen neemt, maar nog geen medicatieschema heeft, dan kan u een medicatieschema aanmaken via de software voor huisartsen of apothekers."},Ine={intro:"Ik woon in Wallonië of Brussel",text1:"Indien u aangemeld bent in eigen naam, dan is er voor u nog geen medicatieschema beschikbaar. Als u medicijnen gebruikt en nog geen medicatieschema heeft, vraagt u aan uw arts er een aan te maken voor u.",text2:"Indien u aangemeld bent als mandaathouder voor een andere persoon of als ouder van een minderjarig kind, dan heeft u via deze applicatie geen toegang tot het medicatieschema. U kan wel het actuele medicatieschema bekijken bij de regionale gezondheidskluizen ‘Réseau Santé Wallon’ of het ‘Brusselse Gezondheidsnetwerk’.",introPro:"Uw patiënt woont in Wallonië of Brussel",textPro:'U kan rechtstreeks toegang krijgen tot het medicatieschema van uw patiënt via het regionaal portaal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=nl">Réseau Santé Wallon</a> of het regionaal portaal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=nl">Brusselse Gezondheidsnetwerk</a>'},Ewe={title:Sne,subtitle:kne,flanders:Cne,walloniaBrussels:Ine},Swe={nl:Ene,fr:yne,de:lne,en:pne},Dne={};K(Dne,{day:()=>Nne,default:()=>kwe,list:()=>Tne,week:()=>One});var Tne="Liste",One="Woche",Nne="Tag",kwe={list:Tne,week:One,day:Nne},Pne={};K(Pne,{day:()=>Rne,default:()=>Cwe,list:()=>Mne,week:()=>Ane});var Mne="List",Ane="Week",Rne="Day",Cwe={list:Mne,week:Ane,day:Rne},Fne={};K(Fne,{day:()=>Vne,default:()=>Iwe,list:()=>Lne,week:()=>jne});var Lne="Liste",jne="Semaine",Vne="Jour",Iwe={list:Lne,week:jne,day:Vne},zne={};K(zne,{day:()=>Une,default:()=>Dwe,list:()=>Bne,week:()=>Hne});var Bne="Lijst",Hne="Week",Une="Dag",Dwe={list:Bne,week:Hne,day:Une},Twe={nl:zne,fr:Fne,de:Dne,en:Pne},Gne={};K(Gne,{default:()=>Owe,evening:()=>Yne,ifNeeded:()=>Kne,morning:()=>qne,night:()=>Zne,noon:()=>$ne,toPlan:()=>Wne});var Wne="Spezifische Anweisungen",qne="Morgen",$ne="Mittag und Nachmittag",Yne="Abends",Zne="Zubettgehen",Kne="Gegebenenfalls",Owe={toPlan:Wne,morning:qne,noon:$ne,evening:Yne,night:Zne,ifNeeded:Kne},Jne={};K(Jne,{default:()=>Nwe,evening:()=>tie,ifNeeded:()=>iie,morning:()=>Qne,night:()=>nie,noon:()=>eie,toPlan:()=>Xne});var Xne="Specific instructions",Qne="Morning",eie="Noon and afternoon",tie="Evening meal",nie="Going to sleep",iie="If necessary",Nwe={toPlan:Xne,morning:Qne,noon:eie,evening:tie,night:nie,ifNeeded:iie},aie={};K(aie,{default:()=>Pwe,evening:()=>lie,ifNeeded:()=>uie,morning:()=>oie,night:()=>cie,noon:()=>sie,toPlan:()=>rie});var rie="Instructions spécifiques",oie="Matin",sie="Midi et Après-midi",lie="Soir",cie="Au coucher",uie="Si nécessaire",Pwe={toPlan:rie,morning:oie,noon:sie,evening:lie,night:cie,ifNeeded:uie},die={};K(die,{default:()=>Mwe,evening:()=>fie,ifNeeded:()=>vie,morning:()=>pie,night:()=>gie,noon:()=>mie,toPlan:()=>hie});var hie="Specifieke instructies",pie="Ochtend",mie="Middag en namiddag",fie="Avondmaal",gie="Bij het slapen gaan",vie="Indien nodig",Mwe={toPlan:hie,morning:pie,noon:mie,evening:fie,night:gie,ifNeeded:vie},Awe={nl:die,fr:aie,de:Gne,en:Jne},yie={};K(yie,{collapsed:()=>Eie,default:()=>Rwe,disclaimer:()=>xie,expanded:()=>wie,source:()=>Sie,subtitle:()=>_ie,title:()=>bie});var bie="Version {versionNumber}, aktualisiert am {date} um {hour}",_ie="von {authorProfession} {authorFirstName} {authorLastName}",xie="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. Wenn Ihnen auffällt, dass in Ihrem Medikationsplan Informationen fehlen, sprechen Sie bitte mit Ihrem Arzt oder Ihrer Ärztin.",wie="Warnung einklappen",Eie="Warnung ausklappen",Sie="Ursprung",Rwe={title:bie,subtitle:_ie,disclaimer:xie,expanded:wie,collapsed:Eie,source:Sie},kie={};K(kie,{collapsed:()=>Oie,default:()=>Fwe,disclaimer:()=>Die,expanded:()=>Tie,source:()=>Nie,subtitle:()=>Iie,title:()=>Cie});var Cie="Version {versionNumber}, updated on {date} at {hour}",Iie="by {authorProfession} {authorFirstName} {authorLastName}",Die="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. If you notice that some information is missing in your medication schedule, please talk to your healthcare provider.",Tie="Collapse alert",Oie="Expand alert",Nie="Source",Fwe={title:Cie,subtitle:Iie,disclaimer:Die,expanded:Tie,collapsed:Oie,source:Nie},Pie={};K(Pie,{collapsed:()=>Lie,default:()=>Lwe,disclaimer:()=>Rie,expanded:()=>Fie,source:()=>jie,subtitle:()=>Aie,title:()=>Mie});var Mie="Version {versionNumber}, mis à jour le {date} à {hour}",Aie="par {authorProfession} {authorFirstName} {authorLastName}",Rie="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. Si vous remarquez que des informations manquent, parlez-en avec votre professionnel de santé.",Fie="Réduire l’alerte",Lie="Déplier l’alerte",jie="Source",Lwe={title:Mie,subtitle:Aie,disclaimer:Rie,expanded:Fie,collapsed:Lie,source:jie},Vie={};K(Vie,{collapsed:()=>Gie,default:()=>jwe,disclaimer:()=>Hie,expanded:()=>Uie,source:()=>Wie,subtitle:()=>Bie,title:()=>zie});var zie="Versie {versionNumber}, bijgewerkt op {date} om {hour}",Bie="door {authorProfession} {authorFirstName} {authorLastName}",Hie="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. Indien u onvolledigheden opmerkt, bespreek dit met uw zorgverlener.",Uie="Waarschuwing samenvouwen",Gie="Waarschuwing uitvouwen",Wie="Bron",jwe={title:zie,subtitle:Bie,disclaimer:Hie,expanded:Uie,collapsed:Gie,source:Wie},Vwe={nl:Vie,fr:Pie,de:yie,en:kie},zwe=class extends Is{getTranslation(e){return yt({commons:bt(ue({},pxe[e]),{days:ixe[e],errors:lxe[e],roles:Mxe[e],safes:Uxe[e],periodicities:yxe[e],administrationUnits:X_e[e],period:Exe[e],routes:jxe[e],temporality:Qxe[e],posology:Dxe[e],sortDropdown:Yxe[e]}),medicationSchemeListView:bwe[e],medicationSchemeOverview:Twe[e],medicationSchemeMoments:Awe[e],medicationSchemeNoData:Swe[e],medicationSchemeDateToggler:cwe[e],medicationSchemeCreationDetails:awe[e],medicationSchemeDetails:mwe[e],medicationSchemeDisclaimer:Vwe[e]})}},Bwe=[B_e,age({defaultLanguage:"fr",loader:{provide:Is,useClass:zwe},compiler:{provide:Ts,useClass:W_e}})],rm=(()=>{const t=class t{constructor(){s(this,"_vertical",!1);s(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(n){this._vertical=Qf(n)}get inset(){return this._inset}set inset(n){this._inset=Qf(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,a){n&2&&(Vt("aria-orientation",a.vertical?"vertical":"horizontal"),mn("mat-divider-vertical",a.vertical)("mat-divider-horizontal",!a.vertical)("mat-divider-inset",a.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,a){},styles:[`.mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}
37
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),om=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Ci]}));let e=t;return e})(),qie={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(qie);var Hwe=qie,$ie={"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($ie);var Uwe=$ie,Nn=function(e,t,i,n){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 i==="m"?n:i==="a"?n.call(e):n?n.value:t.get(e)},wr,To,Va,Gwe=class{constructor(...e){wr.set(this,new Map),To.set(this,new Map),Va.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[i,n]of Object.entries(e)){i=i.toLowerCase(),n=n.map(o=>o.toLowerCase()),Nn(this,Va,"f").has(i)||Nn(this,Va,"f").set(i,new Set);let a=Nn(this,Va,"f").get(i),r=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),r&&Nn(this,To,"f").set(i,o),r=!1,l)continue;let u=Nn(this,wr,"f").get(o);if(u&&u!=i&&!t)throw new Error(`"${i} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);Nn(this,wr,"f").set(o,i)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),i=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(i.length<t.length-1)&&n?null:Nn(this,wr,"f").get(i)??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&&Nn(this,To,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Nn(this,Va,"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 Nn(this,Va,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Nn(this,wr,"f"),extensions:Nn(this,To,"f")}}};wr=new WeakMap,To=new WeakMap,Va=new WeakMap;var Wwe=Gwe;new Wwe(Uwe,Hwe)._freeze();var Yie=(()=>{const t=class t{transform(n){return n?"":"no"}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),Zie=(()=>{const t=class t{transform(n){let a="";return Array.isArray(n)&&n.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof n=="string"&&n.split(" ").length>1&&n.split(" ").forEach((r,o)=>{o===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof n=="string"&&n.split(" ").length===1&&(a=n.charAt(0).toUpperCase()+n.slice(1)),a}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),sm=(()=>{const t=class t{transform(n){return h_e(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"fullname",type:t,pure:!0});let e=t;return e})(),Kie=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return n||this.translate.currentLang}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),Jie=(()=>{const t=class t{transform(n){if(n){let a=n%1,r=Math.floor(n)>0?`${Math.floor(n)} + `:"";return a===.25?`${r}¼`:a===.5?`${r}½`:a===.75?`${r}¾`:n.toString()}return""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"quantity",type:t,pure:!0});let e=t;return e})(),Xie=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return m_e(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"translateObject",type:t,pure:!0});let e=t;return e})(),lm=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return p_e(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"translateValue",type:t,pure:!0});let e=t;return e})(),Qie=(()=>{const t=class t{transform(n){let a=new Date;return n==null?void 0:n.map((r,o)=>({item:r,originalIndex:o})).filter(r=>r.item.type==="definitive"||r.item.endDate&&!qc(new Date(r.item.endDate),a))}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),vt=function(e){return e.TO_PLAN="toPlan",e.MORNING="morning",e.NOON="noon",e.EVENING="evening",e.NIGHT="night",e.IF_NEEDED="ifNeeded",e}(vt||{}),eae=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(eae||{}),tae=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(tae||{});function Hg(e,t){return!qc(e,t)}function nae(e){switch(e){case oa.MONDAY:return 1;case oa.TUESDAY:return 2;case oa.WEDNESDAY:return 3;case oa.THURSDAY:return 4;case oa.FRIDAY:return 5;case oa.SATURDAY:return 6;case oa.SUNDAY:return 7;default:return}}function qwe(e){if(!e)return"";let t=K_(e,"yyyy-MM-dd",new Date);return j_(t)?Ua(t,"EEEE").toLowerCase():""}var $we="minutes",Pn="hours",Mn="days",yn="weeks",bn="months",br="years";G.UH,G.U,G.UT,G.UD,G.UV,G.UQ,G.UZ,G.US,G.UA,G.UN,G.UX,G.UE,G.UW,G.D,G.DT,G.O1,G.DD,G.DV,G.DQ,G.DZ,G.DA,G.DN,G.DX,G.DE,G.DW,G.WT,G.WD,G.WV,G.WQ,G.WZ,G.WS,G.WA,G.WN,G.WX,G.WE,G.WW,G.WP,G.W,G.M,G.MT,G.MD,G.MV,G.MQ,G.MZ2,G.MS,G.MA,G.MN,G.MX,G.ME,G.MC,G.JH2,G.J,G.JT,G.JD,G.JV,G.JQ,G.JZ;var Ywe=[G.M,G.MT,G.MD,G.MV,G.MQ,G.MZ2,G.MS,G.MA,G.MN,G.MX,G.ME,G.MC];function Zu(e){return Ywe.includes(e)}var Zwe=[G.J,G.JH2,G.JT,G.JD,G.JV,G.JQ,G.JZ];function Ku(e){return Zwe.includes(e)}function Kwe(e,t){var n;let i=(n=e.suspensions)==null?void 0:n.filter(a=>a.type==="temporary");return i!=null&&i.length?i.some(a=>z1e(t,{start:Ii(new Date(a.startDate)),end:Kye(new Date(a.endDate))})):!1}function Jwe(e,t){var i,n;return(n=(i=e.day)==null?void 0:i.weekday)!=null&&n.weekNumber?Xwe(e,t):Qwe(e,t)}function Xwe(e,t){let i=new Date(t.treatmentStartDate),n=em(i),a=Ii(ur(Uye(nr(i),e.day.weekday.weekNumber-n),(nae(e.day.weekday.day)||1)-1));return qc(a,i)?Gye(a,1):a}function Qwe(e,t){var a,r;let i=nae((r=(a=e.day)==null?void 0:a.weekday)==null?void 0:r.day)||0,n=W_(new Date(t.treatmentStartDate));return Ii(ur(new Date(t.treatmentStartDate),(i-n+7)%7))}function eEe(e,t){let i=e.treatmentEndDate?new Date(e.treatmentEndDate):null,n=tEe(e,t);return i&&n?Wye([i,n]):i||n}function tEe(e,t){var n;if(!((n=e.suspensions)!=null&&n.length))return null;let i=e.suspensions.filter(a=>nEe(a,t)).map(a=>B1e(new Date(a.startDate)));return $ye(t,i)}function nEe(e,t){return e.startDate&&Hg(new Date(e.startDate),t)||qc(new Date(e.startDate),t)&&Hg(new Date(e.endDate),t)}function iEe(e){let t=Ii(new Date);return e.treatmentStartDate&&Gbe(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&Kwe(e,t)}function aEe(e,t,i){if(!(e!=null&&e.length))return!1;let n=new RegExp(`^medications\\[${t}]`);return e.some(a=>n.test(a.field)?i?a.field.includes(`.${i}`):!0:!1)}var rEe=(()=>{const t=class t{transform(n){return iEe(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),oEe=(()=>{const t=class t{constructor(){this.translate=C(li),this.cdRef=C(lr),this.destroyRef=C(ii),this.result="",this.translate.onLangChange.pipe(am(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(n,a){return(this.posology!==n||this.medication!==a)&&(this.posology=n,this.medication=a,this.result=this.getResult(n,a)),this.result}getResult(n,a){var o,l,u;if(!((o=n.daytime)!=null&&o.dayPeriod)&&!((l=n.daytime)!=null&&l.time))return"";let r=[this.getPosologyDayTimeTranslation(n)];return(u=a.frequency)!=null&&u.periodicity?r.push(...this.getPeriodicityText(n,a.frequency.periodicity,new Date(a.treatmentStartDate))):r.push(...this.getPosologyText(n,a,new Date(a.treatmentStartDate))),r.join(" ").trim()}getPeriodicityText(n,a,r){var o,l,u,c,h;if(((o=n.day)==null?void 0:o.weekday)!=null&&n.daytime!=null&&!Zu(a)&&!Ku(a))return[this.translate.instant("commons.posology.on"),this.translate.instant("commons.days."+n.day.weekday.day).toLowerCase()];if(((l=n.day)==null?void 0:l.dayNumber)!=null&&n.daytime!=null&&!Zu(a)&&!Ku(a))return[this.translate.instant("commons.posology.day"),n.day.dayNumber.toString()];if(Zu(a))return((u=n.day)==null?void 0:u.date)!=null?[this.translate.instant("commons.posology.day"),rl(new Date(n.day.date)).toString()]:((c=n.day)==null?void 0:c.dayNumber)!=null?[this.translate.instant("commons.posology.day"),n.day.dayNumber.toString()]:[this.translate.instant("commons.posology.day"),rl(r).toString()];if(Ku(a)){let m=[this.translate.instant("commons.posology.on")];return(h=n.day)!=null&&h.date?m.push(rl(new Date(n.day.date))+"/"+(zg(n.day.date)+1)):m.push(rl(r)+"/"+(zg(r)+1)),m}return[]}getPosologyText(n,a,r){var l,u,c;let o=[this.translate.instant("commons.posology.on")];return((l=n.day)==null?void 0:l.date)!=null?o.push(Ua(new Date(n.day.date),"dd-MM-yyyy")):((u=n.day)==null?void 0:u.weekday)!=null?o.push(Ua(Jwe(n,a),"dd-MM-yyyy")):((c=n.day)==null?void 0:c.dayNumber)!=null?o.push(Ua(ur(r,n.day.dayNumber-1),"dd-MM-yyyy")):o.push(Ua(r,"dd-MM-yyyy")),o}getPosologyDayTimeTranslation(n){var a,r,o;return n&&((a=n.daytime)!=null&&a.dayPeriod)&&Object.values(ct).includes((r=n.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+n.daytime.dayPeriod):(o=n.daytime)!=null&&o.time?n.daytime.time.substring(0,5):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),iae=(()=>{const t=class t{transform(n,a,r){return aEe(n,a,r)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"hasMedicationError",type:t,pure:!0});let e=t;return e})(),sEe=(()=>{const t=class t{transform(n,a){let r=a??new Date,o=eEe(n,r);return Yye(Ii(o),Ii(r))}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"isLastMedicationDay",type:t,pure:!0});let e=t;return e})(),aae=e=>({posology:e}),lEe=e=>({count:e});function cEe(e,t){e&1&&(V(0,"span",1),ge(1),R(2,"translate"),B()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function uEe(e,t){if(e&1&&(V(0,"li"),ka(1,2),B()),e&2){let i=t.$implicit;ae(3);let n=sr(3);O(),q("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,aae,i))}}function dEe(e,t){if(e&1&&(V(0,"ul"),so(1,uEe,2,4,"li",null,ks),B()),e&2){let i=ae(2);O(),lo(i.medication().posology)}}function hEe(e,t){if(e&1&&ka(0,2),e&2){let i=ae(2),n=sr(3);q("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,aae,i.medication().posology[0]))}}function pEe(e,t){if(e&1&&oe(0,cEe,3,3,"span",1)(1,dEe,3,0,"ul")(2,hEe,1,4,"ng-container",2),e&2){let i=ae();Q(i.medication().temporality===i.temporalities.ONESHOT?0:-1),O(),Q(i.medication().posology.length>1?1:2)}}function mEe(e,t){e&1&&(ge(0),R(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
38
+ `)}function fEe(e,t){e&1&&(V(0,"span"),ge(1),B()),e&2&&(O(),qe(" ",t,""))}function gEe(e,t){if(e&1&&(V(0,"span"),ge(1),R(2,"translate"),B(),oe(3,fEe,2,1,"span"),R(4,"posologySpecification")),e&2){let i,n=ae(2).posology,a=ae();O(),qe(" ",dt(2,2,"commons.administrationUnits."+n.quantity.unit,Cn(8,lEe,n.quantity.value)),""),O(2),Q((i=dt(4,5,n,a.medication()))?3:-1,i)}}function vEe(e,t){if(e&1&&(V(0,"span"),ge(1),R(2,"quantity"),B(),oe(3,gEe,5,10)),e&2){let i=ae().posology;O(),Mt(Y(2,2,i.quantity.value)),O(2),Q(i.quantity.unit?3:-1)}}function yEe(e,t){if(e&1&&(V(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B()),e&2){let i=ae();q("lang",Y(1,3,i.lang)),Vt("translate",Y(2,5,i.lang)),O(3),qe("  ",t," ")}}function bEe(e,t){if(e&1&&(V(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B(),oe(4,yEe,4,7,"span",3),R(5,"posologySpecification")),e&2){let i,n=t,a=ae().posology,r=ae();q("lang",Y(1,4,n.lang)),Vt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),Q((i=dt(5,8,a,r.medication()))?4:-1,i)}}function _Ee(e,t){if(e&1&&(V(0,"div"),oe(1,vEe,4,4)(2,bEe,6,11),R(3,"translateObject"),B()),e&2){let i,n=t.posology;O(),Q(n.quantity?1:-1),O(),Q((i=Y(3,2,n.text))?2:-1,i)}}var xEe=(()=>{const t=class t{constructor(){this.medication=fe.required(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-medication-scheme-posology"]],inputs:{medication:[1,"medication"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(n,a){if(n&1&&oe(0,pEe,3,2)(1,mEe,2,3)(2,_Ee,4,4,"ng-template",null,0,Zl),n&2){let r;Q((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Jie,oEe,Xie,Yie,Kie,Sp],styles:[".if-needed[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"],changeDetection:0});let e=t;return e})();p0(eoe());var sl;function wEe(){if(sl===void 0&&(sl=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(sl=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return sl}function So(e){var t;return((t=wEe())==null?void 0:t.createHTML(e))||e}function Ug(e){return Error(`Unable to find icon with the name "${e}"`)}function EEe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Gg(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Wg(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Ra=class{constructor(e,t,i){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=i}},SEe=(()=>{const t=class t{constructor(n,a,r,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=a,this._errorHandler=o,this._document=r}addSvgIcon(n,a,r){return this.addSvgIconInNamespace("",n,a,r)}addSvgIconLiteral(n,a,r){return this.addSvgIconLiteralInNamespace("",n,a,r)}addSvgIconInNamespace(n,a,r,o){return this._addSvgIconConfig(n,a,new Ra(r,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,r,o){let l=this._sanitizer.sanitize(wn.HTML,r);if(!l)throw Wg(r);let u=So(l);return this._addSvgIconConfig(n,a,new Ra("",u,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,r){return this._addSvgIconSetConfig(n,new Ra(a,null,r))}addSvgIconSetLiteralInNamespace(n,a,r){let o=this._sanitizer.sanitize(wn.HTML,a);if(!o)throw Wg(a);let l=So(o);return this._addSvgIconSetConfig(n,new Ra("",l,r))}registerFontClassAlias(n,a=n){return this._fontCssClassesByAlias.set(n,a),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let a=this._sanitizer.sanitize(wn.RESOURCE_URL,n);if(!a)throw Gg(n);let r=this._cachedIconsByUrl.get(a);return r?yt(ll(r)):this._loadSvgIconFromConfig(new Ra(n,null)).pipe(hl(o=>this._cachedIconsByUrl.set(a,o)),Bt(o=>ll(o)))}getNamedSvgIcon(n,a=""){let r=qg(a,n),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):qoe(Ug(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?yt(ll(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Bt(a=>ll(a)))}_getSvgFromIconSetConfigs(n,a){let r=this._extractIconWithNameFromAnySet(n,a);if(r)return yt(r);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(rv(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(wn.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),yt(null)})));return iv(o).pipe(Bt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw Ug(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let r=a.length-1;r>=0;r--){let o=a[r];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(hl(a=>n.svgText=a),Bt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?yt(null):this._fetchIcon(n).pipe(hl(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,r){let o=n.querySelector(`[id="${a}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let u=this._svgElementFromString(So("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,r)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let r=a.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(n){let a=this._svgElementFromString(So("<svg></svg>")),r=n.attributes;for(let o=0;o<r.length;o++){let{name:l,value:u}=r[o];l!=="id"&&a.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&a.appendChild(n.childNodes[o].cloneNode(!0));return a}_setSvgAttributes(n,a){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),a&&a.viewBox&&n.setAttribute("viewBox",a.viewBox),n}_fetchIcon(n){let{url:a,options:r}=n,o=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw EEe();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(wn.RESOURCE_URL,a);if(!l)throw Gg(a);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Bt(h=>So(h)),lv(()=>this._inProgressUrlFetches.delete(l)),cv());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,a,r){return this._svgIconConfigs.set(qg(n,a),r),this}_addSvgIconSetConfig(n,a){let r=this._iconSetConfigs.get(n);return r?r.push(a):this._iconSetConfigs.set(n,[a]),this}_svgElementFromConfig(n){if(!n.svgElement){let a=this._svgElementFromString(n.svgText);this._setSvgAttributes(a,n.options),n.svgElement=a}return n.svgElement}_getIconConfigFromResolvers(n,a){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](a,n);if(o)return kEe(o)?new Ra(o.url,null,o.options):new Ra(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(pe(Cs,8),pe(O1),pe(He,8),pe(ai))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ll(e){return e.cloneNode(!0)}function qg(e,t){return e+":"+t}function kEe(e){return!!(e.url&&e.options)}var CEe=["*"],IEe=new se("MAT_ICON_DEFAULT_OPTIONS"),DEe=new se("mat-icon-location",{providedIn:"root",factory:TEe});function TEe(){let e=C(He),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var rae=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],OEe=rae.map(e=>`[${e}]`).join(", "),NEe=/^url\(['"]?#(.*?)['"]?\)$/,ho=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_iconRegistry",C(SEe));s(this,"_location",C(DEe));s(this,"_errorHandler",C(ai));s(this,"_defaultColor");s(this,"_color");s(this,"inline",!1);s(this,"_svgIcon");s(this,"_fontSet");s(this,"_fontIcon");s(this,"_previousFontSetClass",[]);s(this,"_previousFontIconClass");s(this,"_svgName");s(this,"_svgNamespace");s(this,"_previousPath");s(this,"_elementsWithExternalReferences");s(this,"_currentIconFetch",pn.EMPTY);let n=C(new jle("aria-hidden"),{optional:!0}),a=C(IEe,{optional:!0});a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let a=this._cleanupFontValue(n);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let a=this._cleanupFontValue(n);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let a=n.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.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(n){this._clearSvgElement();let a=this._location.getPathname();this._previousPath=a,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(a),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,a=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){let r=n.childNodes[a];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>n.classList.remove(r)),a.forEach(r=>n.classList.add(r)),this._previousFontSetClass=a,this.fontIcon!==this._previousFontIconClass&&!a.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let a=this._elementsWithExternalReferences;a&&a.forEach((r,o)=>{r.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(OEe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)rae.forEach(l=>{let u=a[o],c=u.getAttribute(l),h=c?c.match(NEe):null;if(h){let m=r.get(u);m||(m=[],r.set(u,m)),m.push({name:l,value:h[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,r]=this._splitIconName(n);a&&(this._svgNamespace=a),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,a).pipe(Vn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(Vt("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),Ss(a.color?"mat-"+a.color:""),mn("mat-icon-inline",a.inline)("mat-icon-no-color",a.color!=="primary"&&a.color!=="accent"&&a.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ei],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:CEe,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
39
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),PEe=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Ci]}));let e=t;return e})(),oae=(()=>{const t=class t{constructor(){this.leaflet=fe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-download-link"]],inputs:{leaflet:[1,"leaflet"]},decls:4,vars:4,consts:[["mat-button","","target","_blank",3,"href"],["fontIcon","download"]],template:function(n,a){n&1&&(V(0,"a",0),le(1,"mat-icon",1),ge(2),R(3,"translate"),B()),n&2&&(q("href",a.leaflet(),Uy),O(2),qe(" ",Y(3,2,"commons.downloadLeaflet")," "))},dependencies:[Wc,z0e,ho,un],encapsulation:2});let e=t;return e})(),sae=(()=>{const t=class t{constructor(){this.message=fe.required(),this.fontIcon=fe("info"),this.translateParams=fe({})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(n,a){n&1&&(le(0,"mat-icon",0),ge(1),R(2,"translate")),n&2&&(q("fontIcon",a.fontIcon()),O(),qe(" ",dt(2,2,"commons.errors."+a.message(),a.translateParams())," "))},dependencies:[ho,un],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),MEe=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(i_)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(V(0,"h2",0),ge(1),R(2,"translate"),B(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),R(7,"translate"),B()()(),V(8,"mat-dialog-actions")(9,"button",1),ge(10),R(11,"translate"),B()()),n&2&&(O(),Mt(Y(2,4,"commons.errors.action-not-authorized-title")),O(5),Mt(Y(7,6,"commons.errors."+a.vidisErrorCode)),O(3),q("mat-dialog-close",!1),O(),qe(" ",Y(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[d_,r_,s_,c_,l_,Wc,Gc,un],encapsulation:2});let e=t;return e})(),AEe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(V(0,"h2",0),ge(1),R(2,"translate"),B(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),R(7,"translate"),B()(),V(8,"p")(9,"span"),ge(10),R(11,"translate"),B(),V(12,"a",1),R(13,"translate"),ge(14),R(15,"translate"),B(),ge(16,"."),B()(),V(17,"mat-dialog-actions")(18,"button",2),ge(19),R(20,"translate"),B(),V(21,"button",3),ge(22),R(23,"translate"),B()()),n&2&&(O(),Mt(Y(2,9,"commons.errors.report-message-title")),O(5),Mt(Y(7,11,"commons.errors.report-message-explanation")),O(4),Mt(Y(11,13,"commons.errors.report-message-content")),O(2),q("href",Y(13,15,"commons.errors.report-message-link"),Uy),O(2),Mt(Y(15,17,"commons.errors.report-message-term-use")),O(4),q("mat-dialog-close",!0),O(),qe(" ",Y(20,19,"commons.errors.report-message-report-button")," "),O(2),q("mat-dialog-close",!1),O(),qe(" ",Y(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[d_,r_,s_,c_,l_,Wc,Gc,un],encapsulation:2});let e=t;return e})(),REe=(()=>{const t=class t{reportError(n){return yt({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),FEe=(()=>{const t=class t{constructor(){this.http=C(Cs),this.authService=C(ns).getInstance(),this.apiUrl=C(uo).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Lr.userType]:Wa.getUserType({isProfessional:this.authService.isProfessional}),[Lr.clientType]:tx()?Wa.clientType.mobileApp:Wa.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),LEe=(()=>{const t=class t{constructor(){this.config=C(uo),this.injector=C(st),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(REe):this.injector.get(FEe)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function $g(e,t,i){let n=G_(),a=zEe(e,i.timeZone,i.locale??n.locale);return"formatToParts"in a?jEe(a,t):VEe(a,t)}function jEe(e,t){let i=e.formatToParts(t);for(let n=i.length-1;n>=0;--n)if(i[n].type==="timeZoneName")return i[n].value}function VEe(e,t){let i=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(i);return n?n[0].substr(1):""}function zEe(e,t,i){return new Intl.DateTimeFormat(i?[i.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function BEe(e,t){let i=qEe(t);return"formatToParts"in i?UEe(i,e):GEe(i,e)}var HEe={year:0,month:1,day:2,hour:3,minute:4,second:5};function UEe(e,t){try{let i=e.formatToParts(t),n=[];for(let a=0;a<i.length;a++){let r=HEe[i[a].type];r!==void 0&&(n[r]=parseInt(i[a].value,10))}return n}catch(i){if(i instanceof RangeError)return[NaN];throw i}}function GEe(e,t){let i=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(i);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var Ju={},Yg=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),WEe=Yg==="06/25/2014, 00:00:00"||Yg==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function qEe(e){return Ju[e]||(Ju[e]=WEe?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ju[e]}function lae(e,t,i,n,a,r,o){let l=new Date(0);return l.setUTCFullYear(e,t,i),l.setUTCHours(n,a,r,o),l}var Zg=36e5,$Ee=6e4,Xu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function cae(e,t,i){if(!e)return 0;let n=Xu.timezoneZ.exec(e);if(n)return 0;let a,r;if(n=Xu.timezoneHH.exec(e),n)return a=parseInt(n[1],10),Kg(a)?-(a*Zg):NaN;if(n=Xu.timezoneHHMM.exec(e),n){a=parseInt(n[2],10);let o=parseInt(n[3],10);return Kg(a,o)?(r=Math.abs(a)*Zg+o*$Ee,n[1]==="+"?-r:r):NaN}if(KEe(e)){t=new Date(t||Date.now());let o=i?t:YEe(t),l=uh(o,e);return-(i?l:ZEe(t,l,e))}return NaN}function YEe(e){return lae(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function uh(e,t){let i=BEe(e,t),n=lae(i[0],i[1]-1,i[2],i[3]%24,i[4],i[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,n-a}function ZEe(e,t,i){let n=e.getTime()-t,a=uh(new Date(n),i);if(t===a)return t;n-=a-t;let r=uh(new Date(n),i);return a===r?a:Math.max(a,r)}function Kg(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Jg={};function KEe(e){if(Jg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Jg[e]=!0,!0}catch{return!1}}var JEe=60*1e3,XEe={X:function(e,t,i){let n=Qu(i.timeZone,e);if(n===0)return"Z";switch(t){case"X":return Xg(n);case"XXXX":case"XX":return Er(n);case"XXXXX":case"XXX":default:return Er(n,":")}},x:function(e,t,i){let n=Qu(i.timeZone,e);switch(t){case"x":return Xg(n);case"xxxx":case"xx":return Er(n);case"xxxxx":case"xxx":default:return Er(n,":")}},O:function(e,t,i){let n=Qu(i.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+QEe(n,":");case"OOOO":default:return"GMT"+Er(n,":")}},z:function(e,t,i){switch(t){case"z":case"zz":case"zzz":return $g("short",e,i);case"zzzz":default:return $g("long",e,i)}}};function Qu(e,t){let i=e?cae(e,t,!0)/JEe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(i))throw new RangeError("Invalid time zone specified: "+e);return i}function lc(e,t){let i=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return i+n}function Er(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=lc(Math.floor(n/60),2),r=lc(Math.floor(n%60),2);return i+a+t+r}function Xg(e,t){return e%60===0?(e>0?"-":"+")+lc(Math.abs(e)/60,2):Er(e,t)}function QEe(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),r=n%60;return r===0?i+String(a):i+String(a)+t+lc(r,2)}function Qg(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var eSe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,ed=36e5,e0=6e4,tSe=2,ln={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:eSe};function nSe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let i=t.additionalDigits==null?tSe:Number(t.additionalDigits);if(i!==2&&i!==1&&i!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=iSe(e),{year:a,restDateString:r}=aSe(n.date,i),o=rSe(r,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=oSe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=cae(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=Qg(new Date(l+u)),c=Qg(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function iSe(e){let t={},i=ln.dateTimePattern.exec(e),n;if(i?(t.date=i[1],n=i[3]):(i=ln.datePattern.exec(e),i?(t.date=i[1],n=i[2]):(t.date=null,n=e)),n){let a=ln.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function aSe(e,t){if(e){let i=ln.YYY[t],n=ln.YYYYY[t],a=ln.YYYY.exec(e)||n.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=ln.YY.exec(e)||i.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function rSe(e,t){if(t===null)return null;let i,n,a;if(!e||!e.length)return i=new Date(0),i.setUTCFullYear(t),i;let r=ln.MM.exec(e);if(r)return i=new Date(0),n=parseInt(r[1],10)-1,n0(t,n)?(i.setUTCFullYear(t,n),i):new Date(NaN);if(r=ln.DDD.exec(e),r){i=new Date(0);let o=parseInt(r[1],10);return cSe(t,o)?(i.setUTCFullYear(t,0,o),i):new Date(NaN)}if(r=ln.MMDD.exec(e),r){i=new Date(0),n=parseInt(r[1],10)-1;let o=parseInt(r[2],10);return n0(t,n,o)?(i.setUTCFullYear(t,n,o),i):new Date(NaN)}if(r=ln.Www.exec(e),r)return a=parseInt(r[1],10)-1,i0(a)?t0(t,a):new Date(NaN);if(r=ln.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let o=parseInt(r[2],10)-1;return i0(a,o)?t0(t,a,o):new Date(NaN)}return null}function oSe(e){let t,i,n=ln.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),td(t)?t%24*ed:NaN;if(n=ln.HHMM.exec(e),n)return t=parseInt(n[1],10),i=parseFloat(n[2].replace(",",".")),td(t,i)?t%24*ed+i*e0:NaN;if(n=ln.HHMMSS.exec(e),n){t=parseInt(n[1],10),i=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return td(t,i,a)?t%24*ed+i*e0+a*1e3:NaN}return null}function t0(e,t,i){t=t||0,i=i||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=n.getUTCDay()||7,r=t*7+i+1-a;return n.setUTCDate(n.getUTCDate()+r),n}var sSe=[31,28,31,30,31,30,31,31,30,31,30,31],lSe=[31,29,31,30,31,30,31,31,30,31,30,31];function uae(e){return e%400===0||e%4===0&&e%100!==0}function n0(e,t,i){if(t<0||t>11)return!1;if(i!=null){if(i<1)return!1;let n=uae(e);if(n&&i>lSe[t]||!n&&i>sSe[t])return!1}return!0}function cSe(e,t){if(t<1)return!1;let i=uae(e);return!(i&&t>366||!i&&t>365)}function i0(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function td(e,t,i){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||i!=null&&(i<0||i>=60))}var uSe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function dSe(e,t,i={}){t=String(t);let n=t.match(uSe);if(n){let a=nSe(i.originalDate||e,i);t=n.reduce(function(r,o){if(o[0]==="'")return r;let l=r.indexOf(o),u=r[l-1]==="'",c=r.replace(o,"'"+XEe[o[0]](a,o,i)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return Ua(e,t,i)}var hSe=(()=>{const t=class t extends Z1e{constructor(){super(...arguments),this.version=lh,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=C(ns),this.translateService=C(li),this.webComponentConfig=C(uo),this.injector=C(st),this.servicesStore=C(Yc),this.matDialog=C(Uc),this.destroyRef=C(ii),this.errorServiceSelector=C(LEe),this.snackbarService=C(I_e),this.extraRequiredFields=this.defaultExtraRequiredFields}onInitialized(){return Pt(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>Pt(this,null,function*(){yield this.fetchData(!0),n()}))})}onPropsChanged(n){n.language&&this.translateService.use(this.language)}checkError(n){(n==null?void 0:n.group)===$i.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===$i.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(AEe,{data:{error:n}}).beforeClosed().pipe(bi(a=>a),am(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let a={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(n){this.matDialog.open(MEe,{data:n})}formatDateWithZone(){return dSe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Gn],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),pSe=["*"];function mSe(e,t){e&1&&ka(0)}function fSe(e,t){if(e&1&&(V(0,"div",3),oe(1,mSe,1,0,"ng-container",5),B()),e&2){ae();let i=sr(5);O(),q("ngTemplateOutlet",i)}}function gSe(e,t){e&1&&ka(0)}function vSe(e,t){if(e&1){let i=Rc();V(0,"div",6),Ti("click",function(){ba(i);let n=ae();return _a(n.toggleExpanded())})("keydown.enter",function(){ba(i);let n=ae();return _a(n.toggleExpanded())})("keydown.space",function(){ba(i);let n=ae();return _a(n.toggleExpanded())}),oe(1,gSe,1,0,"ng-container",5),B()}if(e&2){let i=ae(),n=sr(5);Vt("aria-label",i.currentExpandIconAriaLabel()),O(),q("ngTemplateOutlet",n)}}function ySe(e,t){e&1&&ka(0)}function bSe(e,t){if(e&1&&oe(0,ySe,1,0,"ng-container",5),e&2){ae();let i=sr(7);q("ngTemplateOutlet",i)}}function _Se(e,t){if(e&1&&(V(0,"h2"),ge(1),B()),e&2){let i=ae(3);O(),Mt(i.alertTitle())}}function xSe(e,t){if(e&1&&(V(0,"p"),ge(1),B()),e&2){let i=ae(3);O(),Mt(i.alertSubtitle())}}function wSe(e,t){if(e&1&&(V(0,"div"),oe(1,_Se,2,1,"h2")(2,xSe,2,1,"p"),B()),e&2){let i=ae(2);O(),Q(i.alertTitle()?1:-1),O(),Q(i.alertSubtitle()?2:-1)}}function ESe(e,t){e&1&&ka(0)}function SSe(e,t){if(e&1&&oe(0,ESe,1,0,"ng-container",5),e&2){ae(2);let i=sr(7);q("ngTemplateOutlet",i)}}function kSe(e,t){if(e&1){let i=Rc();V(0,"mat-icon",11),Ti("click",function(){ba(i);let n=ae(2);return _a(n.onCloseButtonClick())})("keydown.enter",function(){ba(i);let n=ae(2);return _a(n.onCloseButtonClick())})("keydown.space",function(){ba(i);let n=ae(2);return _a(n.onCloseButtonClick())}),B()}if(e&2){let i=ae(2);Vt("aria-label",i.closeButtonAriaLabel())}}function CSe(e,t){if(e&1&&le(0,"mat-icon",10),e&2){let i=ae(2);q("fontIcon",i.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function ISe(e,t){if(e&1&&(le(0,"mat-icon",7),V(1,"div",8),oe(2,wSe,3,2,"div")(3,SSe,1,1,"ng-container"),B(),oe(4,kSe,1,1,"mat-icon",9)(5,CSe,1,1,"mat-icon",10)),e&2){let i=ae();q("fontIcon",i.fontIcon()),O(2),Q(i.alertTitle()||i.alertSubtitle()?2:i.dismissMode()!=="expandable"?3:-1),O(2),Q(i.dismissMode()==="closable"?4:i.dismissMode()==="expandable"?5:-1)}}function DSe(e,t){if(e&1){let i=Rc();V(0,"button",14),Ti("click",function(){ba(i);let n=ae(2);return _a(n.onActionButtonClicked())}),ge(1),B()}if(e&2){let i=ae(2);q("disabled",i.buttonDisabled()),O(),qe(" ",i.buttonLabel()," ")}}function TSe(e,t){if(e&1&&(V(0,"span",12),nt(1),B(),oe(2,DSe,2,2,"button",13)),e&2){let i=ae();O(2),Q(i.actionButton()?2:-1)}}var OSe=(()=>{const t=class t{constructor(){s(this,"usage",fe("info"));s(this,"backgroundColor",fe("color"));s(this,"alertTitle",fe());s(this,"alertSubtitle",fe());s(this,"actionButton",fe(!1));s(this,"buttonDisabled",fe(!1));s(this,"buttonLabel",fe());s(this,"dismissMode",fe("pinned"));s(this,"closeButtonAriaLabel",fe(""));s(this,"startExpanded",fe(!1));s(this,"expandedButtonAriaLabel",fe(""));s(this,"collapsedButtonAriaLabel",fe(""));s(this,"closeButtonClicked",Ym());s(this,"actionButtonClicked",Ym());s(this,"expanded",nme(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Wi(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",Wi(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",Wi(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Wi(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:pSe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(n,a){n&1&&(Dn(),V(0,"div",2),oe(1,fSe,2,1,"div",3)(2,vSe,2,2,"div",4)(3,bSe,1,1,"ng-container"),B(),oe(4,ISe,6,3,"ng-template",null,0,Zl)(6,TSe,3,1,"ng-template",null,1,Zl)),n&2&&(Ss(a.usage()),mn("white",a.backgroundColor()==="white"),O(),Q(a.dismissMode()!=="expandable"?1:2),O(2),Q(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[s1,Sp,ho,Gc],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function NSe(e,t){if(e&1&&(V(0,"mh-alert",0),R(1,"translate"),V(2,"div",1),ge(3),R(4,"translate"),B()()),e&2){let i=ae();q("alertTitle",Y(1,2,"commons.errors.data-not-available-title")),O(3),Mt(Y(4,4,"commons.errors."+i.error().code))}}var PSe=(()=>{const t=class t{constructor(){this.error=fe.required(),this.vidisErrorGroup=$i}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,a){n&1&&oe(0,NSe,5,6,"mh-alert",0),n&2&&Q(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[un,OSe],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})();function MSe(e,t){if(e&1&&(V(0,"span"),ge(1),B()),e&2){let i=ae();O(),qe("(",i.idNumber(),")")}}var ASe=(()=>{const t=class t{constructor(){this.fullname=fe.required(),this.idNumber=fe()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(n,a){n&1&&(ge(0),oe(1,MSe,2,1,"span")),n&2&&(qe(" ",a.fullname()," "),O(),Q(a.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),RSe=[[["vidis-detail-header-left"]],[["vidis-detail-header-right"]],[["vidis-detail-header"]],[["vidis-detail-action-button"]],[["vidis-detail-action-icon"]],"*"],FSe=["vidis-detail-header-left","vidis-detail-header-right","vidis-detail-header","vidis-detail-action-button","vidis-detail-action-icon","*"];function LSe(e,t){if(e&1&&(V(0,"h3"),ge(1),B()),e&2){let i=ae();O(),Mt(i.medicationName())}}function jSe(e,t){e&1&&nt(0,5)}var VSe=(()=>{const t=class t{constructor(){this.medicationName=fe(),this.canDisplayDetails=fe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail"]],inputs:{medicationName:[1,"medicationName"],canDisplayDetails:[1,"canDisplayDetails"]},ngContentSelectors:FSe,decls:14,vars:6,consts:[[1,"detail"],[1,"header-left"],[1,"header-right"],[1,"actions"],[1,"actions-left"],[1,"actions-right"]],template:function(n,a){n&1&&(Dn(RSe),V(0,"div",0)(1,"div",1),nt(2),B(),V(3,"div",2),nt(4,1),B(),oe(5,LSe,2,1,"h3"),nt(6,2),oe(7,jSe,1,0),B(),le(8,"mat-divider"),V(9,"div",3)(10,"div",4),nt(11,3),B(),V(12,"div",5),nt(13,4),B()()),n&2&&(mn("no-medication",!a.medicationName()),O(5),Q(a.medicationName()?5:-1),O(2),Q(a.canDisplayDetails()?7:-1),O(),vp("margin","1rem 0"))},dependencies:[om,rm],styles:["div.detail[_ngcontent-%COMP%]{position:relative;padding-top:2.3rem;margin-left:10px;margin-right:10px}div.detail[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{position:absolute;top:0;right:0;display:flex;justify-content:flex-end;align-items:center;gap:.5rem;margin:10px}div.detail[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:flex;justify-content:flex-end;align-items:center;gap:.5rem;margin:10px}div.no-medication[_ngcontent-%COMP%]{padding-top:2.8rem}div.actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}div.actions[_ngcontent-%COMP%] .actions-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;margin-left:10px}div.actions[_ngcontent-%COMP%] .actions-right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-right:10px}"]});let e=t;return e})();function zSe(e,t){if(e&1&&(V(0,"p",0)(1,"span",1),ge(2),R(3,"translate"),B(),V(4,"span",2),ge(5),B()()),e&2){let i=ae();O(2),Mt(Y(3,2,i.labelKey())),O(3),Mt(i.value())}}var BSe=(()=>{const t=class t{constructor(){this.labelKey=fe.required(),this.value=fe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"]},decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&oe(0,zSe,6,4,"p",0),n&2&&Q(a.value()?0:-1)},dependencies:[un],styles:[".detail[_ngcontent-%COMP%]{display:grid;margin:0}.detail__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.detail__value[_ngcontent-%COMP%]{margin-bottom:10px;font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"]});let e=t;return e})(),HSe=["*"];function USe(e,t){if(e&1&&(V(0,"span",1),ge(1),R(2,"translate"),B()),e&2){let i=ae(2);O(),Mt(Y(2,1,i.labelKey()))}}function GSe(e,t){if(e&1&&(V(0,"p",0),oe(1,USe,3,3,"span",1),V(2,"span",2),nt(3),B()()),e&2){let i=ae();O(),Q(i.labelKey()?1:-1)}}var WSe=(()=>{const t=class t{constructor(){this.labelKey=fe(),this.display=fe(!0)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],display:[1,"display"]},ngContentSelectors:HSe,decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&(Dn(),oe(0,GSe,4,1,"p",0)),n&2&&Q(a.display()?0:-1)},dependencies:[un],styles:[".detail[_ngcontent-%COMP%]{display:grid;margin:0}.detail__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.detail__value[_ngcontent-%COMP%]{margin-bottom:10px;font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"]});let e=t;return e})(),qSe=["*"],$Se=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-header"]],ngContentSelectors:qSe,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(0))},encapsulation:2});let e=t;return e})(),YSe=[[["vidis-detail-section-header-right"]],"*"],ZSe=["vidis-detail-section-header-right","*"];function KSe(e,t){e&1&&le(0,"mat-divider"),e&2&&vp("margin","1rem 0")}function JSe(e,t){if(e&1&&(V(0,"div",0),oe(1,KSe,1,2,"mat-divider",1),V(2,"div",2)(3,"span",3),ge(4),B(),V(5,"div",4),nt(6),B()(),nt(7,1),B()),e&2){let i=ae();O(),Q(i.withDivider()?1:-1),O(3),Mt(i.label())}}var dae=(()=>{const t=class t{constructor(){this.label=fe.required(),this.dispaly=fe(!0),this.withDivider=fe(!0)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-section"]],inputs:{label:[1,"label"],dispaly:[1,"dispaly"],withDivider:[1,"withDivider"]},ngContentSelectors:ZSe,decls:1,vars:1,consts:[[1,"section"],[3,"margin"],[1,"section__header"],[1,"section__label"],[1,"header-right"]],template:function(n,a){n&1&&(Dn(YSe),oe(0,JSe,8,2,"div",0)),n&2&&Q(a.dispaly()?0:-1)},dependencies:[om,rm],styles:[".section[_ngcontent-%COMP%]{display:flex;flex-direction:column}.section__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.section__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d5caf;margin-bottom:10px}.section[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;gap:.5rem;margin-right:16px}"]});let e=t;return e})(),XSe=(()=>{const t=class t{constructor(){this.patient=fe.required(),this.prescriber=fe.required(),this.creationDate=fe(),this.patientLabelKey=fe("commons.patient")}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-person-detail-section"]],inputs:{patient:[1,"patient"],prescriber:[1,"prescriber"],creationDate:[1,"creationDate"],patientLabelKey:[1,"patientLabelKey"]},decls:12,vars:22,consts:[[3,"label"],[3,"labelKey"],[3,"fullname","idNumber"],["labelKey","commons.prescribedOn",3,"value"],["labelKey","commons.prescriber"]],template:function(n,a){if(n&1&&(V(0,"vidis-detail-section",0),R(1,"translate"),V(2,"vidis-detail-field-slot",1),le(3,"vidis-person-name",2),R(4,"fullname"),R(5,"mask"),B(),le(6,"vidis-detail-field",3),R(7,"date"),V(8,"vidis-detail-field-slot",4),le(9,"vidis-person-name",2),R(10,"fullname"),R(11,"mask"),B()()),n&2){let r;q("label",Y(1,7,"commons.prescription")),O(2),q("labelKey",a.patientLabelKey()),O(),q("fullname",Y(4,9,a.patient()))("idNumber",dt(5,11,a.patient().ssin,"XXXXXX-XXX.XX")),O(3),q("value",dt(7,14,a.creationDate(),"dd/MM/yyyy")),O(3),q("fullname",Y(10,17,a.prescriber()))("idNumber",dt(11,19,(r=a.prescriber())==null?null:r.nihdi,"X/XXXXX/XX/XXX"))}},dependencies:[dae,WSe,ASe,BSe,un,$1e,kp,sm],encapsulation:2});let e=t;return e})(),QSe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],eke=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function tke(e,t){e&1&&(V(0,"span",3),nt(1,1),B())}function nke(e,t){e&1&&(V(0,"span",6),nt(1,2),B())}var ike=["*"],a0=new se("MatChipAvatar"),r0=new se("MatChipTrailingIcon"),o0=new se("MatChipRemove"),hae=new se("MatChip"),s0=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_parentChip",C(hae));s(this,"isInteractive",!0);s(this,"_isPrimary",!0);s(this,"_disabled",!1);s(this,"tabIndex",-1);s(this,"_allowFocusWhenDisabled",!1);C(cr).load(Lp),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var n;return this._disabled||((n=this._parentChip)==null?void 0:n.disabled)||!1}set disabled(n){this._disabled=n}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(n){!this.disabled&&this.isInteractive&&this._isPrimary&&(n.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(n.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,a){n&1&&Ti("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),n&2&&(Vt("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),mn("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:[2,"disabled","disabled",ei],tabIndex:[2,"tabIndex","tabIndex",n=>n==null?-1:jc(n)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),pae=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",C(lr));s(this,"_elementRef",C(Rt));s(this,"_ngZone",C(We));s(this,"_focusMonitor",C(Rp));s(this,"_globalRippleOptions",C(q1,{optional:!0}));s(this,"_document",C(He));s(this,"_onFocus",new be);s(this,"_onBlur",new be);s(this,"_isBasicChip");s(this,"role",null);s(this,"_hasFocusInternal",!1);s(this,"_pendingFocus");s(this,"_actionChanges");s(this,"_animationsDisabled");s(this,"_allLeadingIcons");s(this,"_allTrailingIcons");s(this,"_allRemoveIcons");s(this,"id",C(co).getId("mat-mdc-chip-"));s(this,"ariaLabel",null);s(this,"ariaDescription",null);s(this,"_ariaDescriptionId",`${this.id}-aria-description`);s(this,"_chipListDisabled",!1);s(this,"_textElement");s(this,"_value");s(this,"color");s(this,"removable",!0);s(this,"highlighted",!1);s(this,"disableRipple",!1);s(this,"_disabled",!1);s(this,"removed",new Ht);s(this,"destroyed",new Ht);s(this,"basicChipAttrName","mat-basic-chip");s(this,"leadingIcon");s(this,"trailingIcon");s(this,"removeIcon");s(this,"primaryAction");s(this,"_rippleLoader",C($1));s(this,"_injector",C(st));var r;let n=C(cr);n.load(Lp),n.load(V1);let a=C(ar,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(n){this._value=n}get disabled(){return this._disabled||this._chipListDisabled}set disabled(n){this._disabled=n}ngOnInit(){let n=this._elementRef.nativeElement;this._isBasicChip=n.hasAttribute(this.basicChipAttrName)||n.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=cs(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var n,a;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.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 n;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((n=this._globalRippleOptions)!=null&&n.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(n){(n.keyCode===8&&!n.repeat||n.keyCode===46)&&(n.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(n){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===n||r.contains(n)})}_getActions(){let n=[];return this.primaryAction&&n.push(this.primaryAction),this.removeIcon&&n.push(this.removeIcon),this.trailingIcon&&n.push(this.trailingIcon),n}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(n=>{let a=n!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,a,r){if(n&1&&(Fa(r,a0,5),Fa(r,r0,5),Fa(r,o0,5),Fa(r,a0,5),Fa(r,r0,5),Fa(r,o0,5)),n&2){let o;Kn(o=Jn())&&(a.leadingIcon=o.first),Kn(o=Jn())&&(a.trailingIcon=o.first),Kn(o=Jn())&&(a.removeIcon=o.first),Kn(o=Jn())&&(a._allLeadingIcons=o),Kn(o=Jn())&&(a._allTrailingIcons=o),Kn(o=Jn())&&(a._allRemoveIcons=o)}},viewQuery:function(n,a){if(n&1&&Yl(s0,5),n&2){let r;Kn(r=Jn())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(n,a){n&1&&Ti("keydown",function(r){return a._handleKeydown(r)}),n&2&&(Fc("id",a.id),Vt("role",a.role)("aria-label",a.ariaLabel),Ss("mat-"+(a.color||"primary")),mn("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:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",ei],highlighted:[2,"highlighted","highlighted",ei],disableRipple:[2,"disableRipple","disableRipple",ei],disabled:[2,"disabled","disabled",ei]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Kb([{provide:hae,useExisting:t}])],ngContentSelectors:eke,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,a){n&1&&(Dn(QSe),le(0,"span",0),V(1,"span",1)(2,"span",2),oe(3,tke,2,0,"span",3),V(4,"span",4),nt(5),le(6,"span",5),B()()(),oe(7,nke,2,0,"span",6)),n&2&&(O(2),q("isInteractive",!1),O(),Q(a.leadingIcon?3:-1),O(4),Q(a._hasTrailingIcon()?7:-1))},dependencies:[s0],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
40
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ake=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_changeDetectorRef",C(lr));s(this,"_dir",C(Zo,{optional:!0}));s(this,"_lastDestroyedFocusedChipIndex",null);s(this,"_keyManager");s(this,"_destroyed",new be);s(this,"_defaultRole","presentation");s(this,"_disabled",!1);s(this,"tabIndex",0);s(this,"_explicitRole",null);s(this,"_chips");s(this,"_chipActions",new Hl)}get chipFocusChanges(){return this._getChipStream(n=>n._onFocus)}get chipDestroyedChanges(){return this._getChipStream(n=>n.destroyed)}get chipRemovedChanges(){return this._getChipStream(n=>n.removed)}get disabled(){return this._disabled}set disabled(n){this._disabled=n,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(n){this._explicitRole=n}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var n;(n=this._keyManager)==null||n.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(n=>n._hasFocus())}_syncChipsState(){var n;(n=this._chips)==null||n.forEach(a=>{a._chipListDisabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(n){this._originatesFromChip(n)&&this._keyManager.onKeydown(n)}_isValidIndex(n){return n>=0&&n<this._chips.length}_allowFocusEscape(){let n=this._elementRef.nativeElement.tabIndex;n!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=n))}_getChipStream(n){return this._chips.changes.pipe(Nr(null),Bo(()=>cs(...this._chips.map(n))))}_originatesFromChip(n){let a=n.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var n;this._chips.changes.pipe(Nr(this._chips)).subscribe(a=>{let r=[];a.forEach(o=>o._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new Vge(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(Hi(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(n=this._dir)==null||n.change.pipe(Hi(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(n){return!n.isInteractive||n.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Nr(null),Hi(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Hi(this._destroyed)).subscribe(n=>{let a=this._chips.toArray().indexOf(n.chip);this._isValidIndex(a)&&n.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let n=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[n];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-chip-set"]],contentQueries:function(n,a,r){if(n&1&&Fa(r,pae,5),n&2){let o;Kn(o=Jn())&&(a._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,a){n&1&&Ti("keydown",function(r){return a._handleKeydown(r)}),n&2&&Vt("role",a.role)},inputs:{disabled:[2,"disabled","disabled",ei],role:"role",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:jc(n)]},ngContentSelectors:ike,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,a){n&1&&(Dn(),V(0,"div",0),nt(1),B())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}
41
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),rke=["*"],oke=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-header-left"]],ngContentSelectors:rke,decls:2,vars:0,template:function(n,a){n&1&&(Dn(),V(0,"mat-chip-set"),nt(1),B())},dependencies:[ake],encapsulation:2});let e=t;return e})(),ske=e=>({label_error:e}),lke=e=>({value_error:e});function cke(e,t){e&1&&le(0,"mat-icon",3)}function uke(e,t){if(e&1&&(V(0,"span",0)(1,"span",1),ge(2),R(3,"translate"),B(),V(4,"span",2),oe(5,cke,1,0,"mat-icon",3),ge(6),B()()),e&2){let i=ae();O(),q("ngClass",Cn(7,ske,i.withError())),O(),qe(" ",Y(3,5,i.labelKey())," "),O(2),q("ngClass",Cn(9,lke,i.withError())),O(),Q(i.withError()?5:-1),O(),qe(" ",i.value()," ")}}var mae=(()=>{const t=class t{constructor(){this.labelKey=fe.required(),this.value=fe.required(),this.withError=fe(!1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-ms-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"],withError:[1,"withError"]},decls:1,vars:1,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(n,a){n&1&&oe(0,uke,7,11,"span",0),n&2&&Q(a.value()?0:-1)},dependencies:[un,ho,Ep],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;width:210px}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),dke=["*"],hke=e=>({label_error:e}),pke=e=>({value_error:e});function mke(e,t){e&1&&le(0,"mat-icon",3)}var fae=(()=>{const t=class t{constructor(){this.labelKey=fe.required(),this.withError=fe(!1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-ms-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],withError:[1,"withError"]},ngContentSelectors:dke,decls:7,vars:10,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(n,a){n&1&&(Dn(),V(0,"span",0)(1,"span",1),ge(2),R(3,"translate"),B(),V(4,"span",2),oe(5,mke,1,0,"mat-icon",3),nt(6),B()()),n&2&&(O(),q("ngClass",Cn(6,hke,a.withError())),O(),qe(" ",Y(3,4,a.labelKey())," "),O(2),q("ngClass",Cn(8,pke,a.withError())),O(),Q(a.withError()?5:-1))},dependencies:[un,ho,Ep],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;width:210px}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;display:flex;align-items:center;gap:6px}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),fke=e=>({prescriber:e}),gke=e=>({count:e});function vke(e,t){if(e&1&&(le(0,"vidis-error-display",0),R(1,"translate"),R(2,"fullname")),e&2){let i=ae();q("message",Y(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,fke,Y(2,4,i.medication().author)))}}function yke(e,t){e&1&&(le(0,"vidis-ms-detail-field",5),R(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function bke(e,t){e&1&&(le(0,"vidis-ms-detail-field",6),R(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function _ke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",20),R(1,"date"),R(2,"hasMedicationError")),e&2){let i=ae().$implicit,n=ae(3);q("value",dt(1,2,t,"dd/MM/yyyy"))("withError",fn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function xke(e,t){e&1&&(le(0,"vidis-ms-detail-field",21),R(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function wke(e,t){e&1&&(le(0,"vidis-ms-detail-field",22),R(1,"firstLetterUppercase")),e&2&&q("value",Y(1,1,t))}function Eke(e,t){e&1&&le(0,"span",18)(1,"span",23)}function Ske(e,t){e&1&&le(0,"mat-divider")}function kke(e,t){if(e&1&&(oe(0,_ke,3,9,"vidis-ms-detail-field",20)(1,xke,2,4,"vidis-ms-detail-field",21)(2,wke,2,3,"vidis-ms-detail-field",22),R(3,"translateValue"),oe(4,Eke,2,0)(5,Ske,1,0,"mat-divider"),le(6,"br")),e&2){let i,n,a,r=t.$implicit,o=t.$index,l=t.$count;Q((i=r.item.startDate)?0:-1,i),O(),Q((n=r.item.endDate)?1:-1,n),O(),Q((a=Y(3,5,r.item.reason))?2:-1,a),O(2),Q(r.item.type==="definitive"?4:-1),O(),Q(o!==l-1?5:-1)}}function Cke(e,t){if(e&1&&(V(0,"span",18),ge(1),R(2,"translate"),B(),V(3,"span",19),so(4,kke,7,7,null,null,ks),B()),e&2){let i=ae();O(),Mt(Y(2,1,"medicationSchemeDetails.suspension.label")),O(3),lo(i)}}function Ike(e,t){e&1&&oe(0,Cke,6,3),e&2&&Q(t.length>0?0:-1)}function Dke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",7),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i,n=ae();q("value",Y(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,gke,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function Tke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",8),R(1,"translate"),R(2,"hasMedicationError")),e&2){let i=ae();q("value",Y(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function Oke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",11),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function Nke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",12),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function Pke(e,t){e&1&&le(0,"vidis-ms-detail-field",15),e&2&&q("value",t)}function Mke(e,t){e&1&&le(0,"vidis-ms-detail-field",16),e&2&&q("value",t)}function Ake(e,t){if(e&1&&le(0,"vidis-ms-detail-field",17),e&2){let i,n=ae();q("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}var Rke=(()=>{const t=class t{constructor(){this.medication=fe.required(),this.fieldErrors=fe(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"],fieldErrors:[1,"fieldErrors"]},decls:30,vars:45,consts:[["fontIcon","warning",3,"message","translateParams"],[1,"details"],["labelKey","medicationSchemeDetails.medication",3,"value"],["labelKey","medicationSchemeDetails.indication",3,"value"],["labelKey","medicationSchemeDetails.prescriber",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.comment",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[1,"details__label"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.start",3,"value","withError"],["labelKey","medicationSchemeDetails.suspension.end",3,"value"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],[1,"details__value"]],template:function(n,a){if(n&1&&(oe(0,vke,3,8,"vidis-error-display",0),R(1,"hasMedicationError"),V(2,"span",1),le(3,"vidis-ms-detail-field",2),R(4,"translateValue"),R(5,"firstLetterUppercase"),le(6,"vidis-ms-detail-field",3),R(7,"translateValue"),R(8,"firstLetterUppercase"),le(9,"vidis-ms-detail-field",4),R(10,"fullname"),oe(11,yke,2,4,"vidis-ms-detail-field",5)(12,bke,2,4,"vidis-ms-detail-field",6)(13,Ike,1,1),R(14,"activeAndFutureSuspensions"),oe(15,Dke,4,13,"vidis-ms-detail-field",7)(16,Tke,3,8,"vidis-ms-detail-field",8),V(17,"vidis-ms-detail-field-slot",9),R(18,"hasMedicationError"),le(19,"vidis-medication-scheme-posology",10),B(),oe(20,Oke,4,10,"vidis-ms-detail-field",11)(21,Nke,4,10,"vidis-ms-detail-field",12),le(22,"vidis-ms-detail-field",13)(23,"vidis-ms-detail-field",14),oe(24,Pke,1,1,"vidis-ms-detail-field",15),R(25,"translateValue"),oe(26,Mke,1,1,"vidis-ms-detail-field",16),R(27,"translateValue"),oe(28,Ake,1,2,"vidis-ms-detail-field",17),R(29,"hasMedicationError"),B()),n&2){let r,o,l,u,c,h,m,v,g;Q(dt(1,18,a.fieldErrors(),a.medication().index)?0:-1),O(3),q("value",Y(5,23,Y(4,21,a.medication().name))),O(3),q("value",Y(8,27,Y(7,25,a.medication().indication))),O(3),q("value",Y(10,29,a.medication().author)),O(2),Q((r=a.medication().treatmentStartDate)?11:-1,r),O(),Q((o=a.medication().treatmentEndDate)?12:-1,o),O(),Q((l=Y(14,31,a.medication().suspensions))?13:-1,l),O(2),Q(!((u=a.medication().posology)==null||u[0]==null||u[0].quantity==null)&&u[0].quantity.unit?15:-1),O(),Q((c=(c=a.medication().frequency)==null?null:c.periodicity)?16:-1,c),O(),q("withError",fn(18,33,a.fieldErrors(),a.medication().index,"posologies")),O(2),q("medication",a.medication()),O(),Q((h=a.medication().route)?20:-1,h),O(),Q((m=a.medication().temporality)?21:-1,m),O(),q("value",a.medication().treatmentStartCondition),O(),q("value",a.medication().treatmentEndCondition),O(),Q((v=Y(25,37,a.medication().instructions))?24:-1,v),O(2),Q((g=Y(27,39,a.medication().comment))?26:-1,g),O(2),Q(fn(29,41,a.fieldErrors(),a.medication().index,"others")?28:-1)}},dependencies:[Wc,rm,un,xEe,sae,mae,fae,kp,sm,Zie,lm,Qie,iae],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{gap:10px 20px}.details[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{display:none}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{grid-template-columns:max-content max-content max-content max-content max-content max-content;column-gap:10px}.details[_ngcontent-%COMP%] .suspension__date[_ngcontent-%COMP%]{margin-right:20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{border:1px solid #8f8f8f;padding:8px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin-top:6px;margin-bottom:6px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__label[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__value[_ngcontent-%COMP%]{margin-bottom:0}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}@media only screen and (min-width: 960px){vidis-error-display[_ngcontent-%COMP%]{display:none!important}}"],changeDetection:0});let e=t;return e})(),Fke=(()=>{const t=class t{constructor(){this.translate=C(li),this.cdRef=C(lr),this.destroyRef=C(ii),this.result="",this.translate.onLangChange.pipe(am(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(n,a){return(this.posology!==n||this.medication!==a)&&(this.posology=n,this.medication=a,this.result=this.getResult(n,a)),this.result}getResult(n,a){var r,o;return!((r=n.daytime)!=null&&r.dayPeriod)&&!((o=n.daytime)!=null&&o.time)?"":[this.getPosologyDayTimeTranslation(n)].join(" ").trim()}getPosologyDayTimeTranslation(n){var a,r,o;return n&&((a=n.daytime)!=null&&a.dayPeriod)&&Object.values(ct).includes((r=n.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+n.daytime.dayPeriod):(o=n.daytime)!=null&&o.time?n.daytime.time.substring(0,5):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"posologyGrouped",type:t,pure:!1});let e=t;return e})(),Lke=e=>({posologies:e}),jke=e=>({count:e}),Vke=(e,t)=>t.key;function zke(e,t){e&1&&(V(0,"span",1),ge(1),R(2,"translate"),B()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function Bke(e,t){if(e&1&&(ge(0),ka(1,2)),e&2){let i=t.$implicit,n=ae(2),a=sr(3);qe(" ",n.keyLabel(i.key)," "),O(),q("ngTemplateOutlet",a)("ngTemplateOutletContext",Cn(3,Lke,i.value))}}function Hke(e,t){if(e&1&&(oe(0,zke,3,3,"span",1),so(1,Bke,2,5,null,null,Vke),R(3,"keyvalue")),e&2){let i=ae();Q(i.medication().temporality===i.temporalities.ONESHOT?0:-1),O(),lo(dt(3,1,i.groupedPosologies,i.compareGroups))}}function Uke(e,t){e&1&&(ge(0),R(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
42
+ `)}function Gke(e,t){e&1&&(V(0,"span"),ge(1),B()),e&2&&(O(),qe(" ",t,""))}function Wke(e,t){if(e&1&&(V(0,"span"),ge(1),R(2,"translate"),B(),oe(3,Gke,2,1,"span"),R(4,"posologyGrouped")),e&2){let i,n=ae(2).$implicit,a=ae(2);O(),qe(" ",dt(2,2,"commons.administrationUnits."+n.quantity.unit,Cn(8,jke,n.quantity.value)),""),O(2),Q((i=dt(4,5,n,a.medication()))?3:-1,i)}}function qke(e,t){if(e&1&&(V(0,"span"),ge(1),R(2,"quantity"),B(),oe(3,Wke,5,10)),e&2){let i=ae().$implicit;O(),Mt(Y(2,2,i.quantity.value)),O(2),Q(i.quantity.unit?3:-1)}}function $ke(e,t){if(e&1&&(V(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B()),e&2){let i=ae();q("lang",Y(1,3,i.lang)),Vt("translate",Y(2,5,i.lang)),O(3),qe("  ",t," ")}}function Yke(e,t){if(e&1&&(V(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B(),oe(4,$ke,4,7,"span",3),R(5,"posologyGrouped")),e&2){let i,n=t,a=ae().$implicit,r=ae(2);q("lang",Y(1,4,n.lang)),Vt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),Q((i=dt(5,8,a,r.medication()))?4:-1,i)}}function Zke(e,t){if(e&1&&(V(0,"li"),oe(1,qke,4,4)(2,Yke,6,11),R(3,"translateObject"),B()),e&2){let i,n=t.$implicit;O(),Q(n.quantity?1:-1),O(),Q((i=Y(3,2,n.text))?2:-1,i)}}function Kke(e,t){if(e&1&&(V(0,"ul"),so(1,Zke,4,4,"li",null,ks),B()),e&2){let i=t.posologies;O(),lo(i)}}var Jke=(()=>{const t=class t{constructor(){this.translate=C(li),this.medication=fe.required(),this.date=fe(),this.temporalities=yi,this.groupedPosologies={},this.sortOrder=[],this.orderedWeekdays=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],this.compareGroups=(n,a)=>this.sortOrder.indexOf(n.key)-this.sortOrder.indexOf(a.key),xp(()=>{var a;let n=(a=this.medication())==null?void 0:a.posology;!n||n.length===0||(this.groupedPosologies=this.groupPosologies(n))})}groupPosologies(n){let a={},r=qwe(this.date());n.forEach(h=>{var v,g,x;let m;(g=(v=h.day)==null?void 0:v.weekday)!=null&&g.day?m=h.day.weekday.day:((x=h.day)==null?void 0:x.dayNumber)!=null?m=`day ${h.day.dayNumber}`:m="other",a[m]||(a[m]=[]),a[m].push(h)});let o={},l=Object.keys(a).filter(h=>this.orderedWeekdays.includes(h)).filter(h=>!r||h===r).sort((h,m)=>this.orderedWeekdays.indexOf(h)-this.orderedWeekdays.indexOf(m)),u=Object.keys(a).filter(h=>h.startsWith("day ")).sort((h,m)=>parseInt(h.split(" ")[1],10)-parseInt(m.split(" ")[1],10)),c=Object.keys(a).filter(h=>h==="other");return[...l,...u,...c].forEach(h=>{o[h]=a[h]}),o}keyLabel(n){return this.orderedWeekdays.includes(n)?this.translate.instant("commons.days."+n):n.startsWith("day ")?this.translate.instant("commons.posology.day")+n.substring(3):""}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-medication-scheme-grouped-posology"]],inputs:{medication:[1,"medication"],date:[1,"date"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(n,a){if(n&1&&oe(0,Hke,4,4)(1,Uke,2,3)(2,Kke,3,0,"ng-template",null,0,Zl),n&2){let r;Q((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Jie,Fke,Kme,Xie,Yie,Kie,Sp],encapsulation:2,changeDetection:0});let e=t;return e})(),Zc=(()=>{const t=class t{setClientId(n){this.clientId=n}buildClientIdHeader(){return this.clientId&&new tr().set(Lr.exchangeClientId,this.clientId)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gae=(()=>{const t=class t extends Zc{constructor(){super(...arguments),this.http=C(Cs)}find(n){return this.http.post("/v1/medicationscheme",{ssins:n?[n]:[]},{headers:this.buildClientIdHeader()})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xke={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000004",role:Jt.PERSPHYSICIAN},date:"2024-10-16T19:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000037",role:Jt.PERSPHYSICIAN},identifier:{value:"0041020",type:Rn.CNK},temporality:yi.CHRONIC,frequency:{periodicity:G.D},route:An._00064,name:[{lang:d.FR,value:"Novyra 50 mg"},{lang:d.NL,value:"Novyra 50 mg"},{lang:d.DE,value:"Novyra 50 mg"},{lang:d.EN,value:"Novyra 50 mg"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],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:gt._00005,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING}],treatmentStartDate:"2025-09-01",treatmentEndCondition:"wanneer niet nodig"},{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000008",role:Jt.PERSPHARMACIST},frequency:{periodicity:G.D},route:An._00064,name:[{lang:d.NL,value:"Elenzom 100 ml"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:gt._00016,value:10},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00016,value:10},daytime:{dayPeriod:ct.THEHOUROFSLEEP},dayPart:vt.NIGHT}],treatmentStartDate:"2025-08-15",comment:[{lang:d.NL,value:"magistrale bereiding"}]},{author:{firstName:"Dr.",lastName:"François Dupont",nihdi:"10000000003",role:Jt.PERSPHYSICIAN},identifier:{value:"0039347",type:Rn.CNK},frequency:{periodicity:G.D},route:An._00002,name:[{lang:d.FR,value:"Zypharel 5%"},{lang:d.NL,value:"Zypharel 5%"},{lang:d.DE,value:"Zypharel 5%"},{lang:d.EN,value:"Zypharel 5%"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],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:gt._00003,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00003,value:1},daytime:{dayPeriod:ct.AFTERNOON},dayPart:vt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Francois Alexandre",nihdi:"10000000027",role:Jt.PERSPHYSICIAN},identifier:{value:"2120046",type:Rn.CNK},temporality:yi.CHRONIC,frequency:{periodicity:G.D},route:An._00064,name:[{lang:d.FR,value:"Trivonex 10 mg"},{lang:d.NL,value:"Trivonex 10 mg"},{lang:d.DE,value:"Trivonex 10 mg"},{lang:d.EN,value:"Trivonex 10 mg"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],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:gt._00005,value:.5},daytime:{dayPeriod:ct.EVENING},dayPart:vt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Pieter Dumont",nihdi:"10000000005",role:Jt.PERSPHARMACIST},identifier:{value:"0119065",type:Rn.CNK},frequency:{periodicity:G.D},route:An.OFT,instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],name:[{lang:d.FR,value:"Meldiora 10 ml"},{lang:d.NL,value:"Meldiora 10 ml"},{lang:d.DE,value:"Meldiora 10 ml"},{lang:d.EN,value:"Meldiora 10 ml"}],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:[{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ct.AFTERNOON},dayPart:vt.NOON},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ct.EVENING},dayPart:vt.EVENING}],treatmentStartDate:"2025-06-30"},{author:{firstName:"Dr.",lastName:"Maxwel Bernard",nihdi:"10000000014",role:Jt.PERSPHARMACIST,organization:{type:Jt.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Rn.CNK},frequency:{periodicity:G.ONDEMAND},route:An._00064,name:[{lang:d.FR,value:"Praxelin 5 mg"},{lang:d.NL,value:"Praxelin 5 mg"},{lang:d.DE,value:"Praxelin 5 mg"},{lang:d.EN,value:"Praxelin 5 mg"}],posology:[{dayPart:vt.TO_PLAN,quantity:{unit:gt._00005,value:1},daytime:{dayPeriod:ct.AFTERNOON}}],instructions:[{lang:d.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"David Martins",nihdi:"10000000007",role:Jt.PERSPHARMACIST,organization:{type:Jt.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Rn.CNK},frequency:{periodicity:G.D},route:An._00004,name:[{lang:d.FR,value:"Voralyte 250 mg"},{lang:d.NL,value:"Voralyte 250 mg"},{lang:d.DE,value:"Voralyte 250 mg"},{lang:d.EN,value:"Voralyte 250 mg"}],posology:[{dayPart:vt.MORNING,quantity:{value:1,unit:gt._00004},daytime:{dayPeriod:ct.BEFOREBREAKFAST}},{dayPart:vt.NOON,quantity:{value:1,unit:gt._00004},daytime:{dayPeriod:ct.BEFORELUNCH}},{dayPart:vt.EVENING,quantity:{value:1,unit:gt._00004},daytime:{dayPeriod:ct.BEFOREDINNER}}],instructions:[{lang:d.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"Isabelle Francis",nihdi:"10000000034",role:Jt.PERSPHYSICIAN},identifier:{value:"1557396",type:Rn.CNK},temporality:yi.ONESHOT,frequency:{periodicity:G.DD},route:An.TRANSDERMAL,name:[{lang:d.FR,value:"Syntoril 10 mg/24h"},{lang:d.NL,value:"Syntoril 10 mg/24h"},{lang:d.DE,value:"Syntoril 10 mg/24h"},{lang:d.EN,value:"Syntoril 10 mg/24h"}],posology:[{quantity:{unit:gt._00020,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],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"}],treatmentStartDate:"2025-07-01"},{author:{firstName:"Dr.",lastName:"Jane Marchand",nihdi:"10000000009",role:Jt.PERSPHYSICIAN},identifier:{value:"2915353",type:Rn.CNK},frequency:{periodicity:G.ONDEMAND},route:An._00049,name:[{lang:d.FR,value:"Cymelune 200 µg"},{lang:d.NL,value:"Cymelune 200 µg"},{lang:d.DE,value:"Cymelune 200 µg"},{lang:d.EN,value:"Cymelune 200 µg"}],posology:[{quantity:{unit:gt._00011,value:2},dayPart:vt.IF_NEEDED}],instructions:[{lang:d.EN,value:" (max 4/j) - Exemple FICTIF - NE PAS UTILISER"}],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"}],treatmentStartDate:"2025-09-02"},{author:{firstName:"Dr.",lastName:"Anne Smith",nihdi:"40000000401",role:Jt.PERSNURSE},identifier:{value:"2744753",type:Rn.CNK},frequency:{periodicity:G.D},route:An._00064,name:[{lang:d.FR,value:"Orvexis 25 mg"},{lang:d.NL,value:"Orvexis 25 mg"},{lang:d.DE,value:"Orvexis 25 mg"},{lang:d.EN,value:"Orvexis 25 mg"}],posology:[{quantity:{unit:gt._00005,value:1},daytime:{dayPeriod:ct.THEHOUROFSLEEP},dayPart:vt.NIGHT}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],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"}],treatmentStartDate:"2025-08-22",treatmentStartCondition:"afwisselend: 1/2 per dag, en 2x 1/2 per dag"},{author:{firstName:"Dr.",lastName:"Maurice Antoine",nihdi:"20000000001",role:Jt.PERSPHARMACIST},identifier:{value:"0062521",type:Rn.CNK},temporality:yi.ONESHOT,frequency:{periodicity:G.D},route:An._00055,name:[{lang:d.FR,value:"Beltrion 20 ml"},{lang:d.NL,value:"Beltrion 20 ml"},{lang:d.DE,value:"Beltrion 20 ml"},{lang:d.EN,value:"Beltrion 20 ml"}],posology:[{quantity:{unit:gt._00012,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00012,value:1},daytime:{dayPeriod:ct.NIGHT},dayPart:vt.NIGHT}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],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"}],treatmentStartDate:"2025-07-28"},{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000011",role:Jt.PERSPHYSICIAN},identifier:{value:"3301",type:Rn.VMP},temporality:yi.CHRONIC,name:[{lang:d.FR,value:"Lumexor 200 mg"},{lang:d.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ct.AFTERNOON},dayPart:vt.NOON},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ct.EVENING},dayPart:vt.EVENING}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:tae.VITALINK}],errors:[]},vae=(()=>{const t=class t extends Zc{constructor(){super(...arguments),this.demoService=C(a_e)}find(n){return this.demoService.post("/v1/medicationscheme",Xke,this.buildClientIdHeader())}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ea=class Fn{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,i=!1){return this.onePassHasher.start().appendStr(t).end(i)}static hashAsciiStr(t,i=!1){return this.onePassHasher.start().appendAsciiStr(t).end(i)}static _hex(t){let i=Fn.hexChars,n=Fn.hexOut,a,r,o,l;for(l=0;l<4;l+=1)for(r=l*8,a=t[l],o=0;o<8;o+=2)n[r+1+o]=i.charAt(a&15),a>>>=4,n[r+0+o]=i.charAt(a&15),a>>>=4;return n.join("")}static _md5cycle(t,i){let n=t[0],a=t[1],r=t[2],o=t[3];n+=(a&r|~a&o)+i[0]-680876936|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[1]-389564586|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[2]+606105819|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[3]-1044525330|0,a=(a<<22|a>>>10)+r|0,n+=(a&r|~a&o)+i[4]-176418897|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[5]+1200080426|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[6]-1473231341|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[7]-45705983|0,a=(a<<22|a>>>10)+r|0,n+=(a&r|~a&o)+i[8]+1770035416|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[9]-1958414417|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[10]-42063|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[11]-1990404162|0,a=(a<<22|a>>>10)+r|0,n+=(a&r|~a&o)+i[12]+1804603682|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[13]-40341101|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[14]-1502002290|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[15]+1236535329|0,a=(a<<22|a>>>10)+r|0,n+=(a&o|r&~o)+i[1]-165796510|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[6]-1069501632|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[11]+643717713|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[0]-373897302|0,a=(a<<20|a>>>12)+r|0,n+=(a&o|r&~o)+i[5]-701558691|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[10]+38016083|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[15]-660478335|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[4]-405537848|0,a=(a<<20|a>>>12)+r|0,n+=(a&o|r&~o)+i[9]+568446438|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[14]-1019803690|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[3]-187363961|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[8]+1163531501|0,a=(a<<20|a>>>12)+r|0,n+=(a&o|r&~o)+i[13]-1444681467|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[2]-51403784|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[7]+1735328473|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[12]-1926607734|0,a=(a<<20|a>>>12)+r|0,n+=(a^r^o)+i[5]-378558|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[8]-2022574463|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[11]+1839030562|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[14]-35309556|0,a=(a<<23|a>>>9)+r|0,n+=(a^r^o)+i[1]-1530992060|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[4]+1272893353|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[7]-155497632|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[10]-1094730640|0,a=(a<<23|a>>>9)+r|0,n+=(a^r^o)+i[13]+681279174|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[0]-358537222|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[3]-722521979|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[6]+76029189|0,a=(a<<23|a>>>9)+r|0,n+=(a^r^o)+i[9]-640364487|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[12]-421815835|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[15]+530742520|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[2]-995338651|0,a=(a<<23|a>>>9)+r|0,n+=(r^(a|~o))+i[0]-198630844|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[14]-1416354905|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[5]-57434055|0,a=(a<<21|a>>>11)+r|0,n+=(r^(a|~o))+i[12]+1700485571|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[10]-1051523|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[1]-2054922799|0,a=(a<<21|a>>>11)+r|0,n+=(r^(a|~o))+i[8]+1873313359|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[15]-30611744|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[6]-1560198380|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[13]+1309151649|0,a=(a<<21|a>>>11)+r|0,n+=(r^(a|~o))+i[4]-145523070|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[2]+718787259|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[9]-343485551|0,a=(a<<21|a>>>11)+r|0,t[0]=n+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(Fn.stateIdentity),this}appendStr(t){let i=this._buffer8,n=this._buffer32,a=this._bufferLength,r,o;for(o=0;o<t.length;o+=1){if(r=t.charCodeAt(o),r<128)i[a++]=r;else if(r<2048)i[a++]=(r>>>6)+192,i[a++]=r&63|128;else if(r<55296||r>56319)i[a++]=(r>>>12)+224,i[a++]=r>>>6&63|128,i[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");i[a++]=(r>>>18)+240,i[a++]=r>>>12&63|128,i[a++]=r>>>6&63|128,i[a++]=r&63|128}a>=64&&(this._dataLength+=64,Fn._md5cycle(this._state,n),a-=64,n[0]=n[16])}return this._bufferLength=a,this}appendAsciiStr(t){let i=this._buffer8,n=this._buffer32,a=this._bufferLength,r,o=0;for(;;){for(r=Math.min(t.length-o,64-a);r--;)i[a++]=t.charCodeAt(o++);if(a<64)break;this._dataLength+=64,Fn._md5cycle(this._state,n),a=0}return this._bufferLength=a,this}appendByteArray(t){let i=this._buffer8,n=this._buffer32,a=this._bufferLength,r,o=0;for(;;){for(r=Math.min(t.length-o,64-a);r--;)i[a++]=t[o++];if(a<64)break;this._dataLength+=64,Fn._md5cycle(this._state,n),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 i=t.buffer,n=t.state,a=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,a[0]=n[0],a[1]=n[1],a[2]=n[2],a[3]=n[3],r=0;r<i.length;r+=1)this._buffer8[r]=i.charCodeAt(r)}end(t=!1){let i=this._bufferLength,n=this._buffer8,a=this._buffer32,r=(i>>2)+1;this._dataLength+=i;let o=this._dataLength*8;if(n[i]=128,n[i+1]=n[i+2]=n[i+3]=0,a.set(Fn.buffer32Identity.subarray(r),r),i>55&&(Fn._md5cycle(this._state,a),a.set(Fn.buffer32Identity)),o<=4294967295)a[14]=o;else{let l=o.toString(16).match(/(.*?)(.{0,8})$/);if(l===null)return;let u=parseInt(l[2],16),c=parseInt(l[1],16)||0;a[14]=u,a[15]=c}return Fn._md5cycle(this._state,a),t?this._state:Fn._hex(this._state)}};Ea.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);Ea.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);Ea.hexChars="0123456789abcdef";Ea.hexOut=[];Ea.onePassHasher=new Ea;if(Ea.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var l0=(()=>{const t=class t extends ex{constructor(n,a){super(n.getServices(),Ga.MEDICATION_SCHEME,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ga.MEDICATION_SCHEME),this.medicationSchemeApiService=C(Zc),this.authServiceSelector=C(ns),this.medicationSchemeStateSubject$=new yh({status:xa.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(Bt(o=>bt(ue({},o),{schemes:o.schemes.map(l=>bt(ue({},l),{medications:l.medications.map((u,c)=>bt(ue({},u),{id:u.id??Ea.hashStr(JSON.stringify(u)),index:c}))}))})))}fetchMedicationScheme(n=!0){return Pt(this,null,function*(){return r_e(this.getData(n),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ga.MEDICATION_SCHEME_PAGE_STATE)??{filter:eae.ALL,view:0,date:{displayDate:new Date,startOfWeek:Ji(new Date,this.fnsOptions),endOfWeek:Xye(new Date,this.fnsOptions)}}}setPageState(n){let a=this.getPageState(),r=ue(ue({},a),n);this.services.cacheDataStorage.set(Ga.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return Pt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin();return Yoe(this.medicationSchemeApiService.find(n).pipe(this.addIdToMedication()))})}setClientId(n){this.medicationSchemeApiService.setClientId(n)}};t.ɵfac=function(n){return new(n||t)(pe(Yc),pe(ns))},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qke=(e,t)=>e.getEnvironmentVariable("env")===ua.DEMO?t.get(vae):t.get(gae),eCe={provide:Zc,useFactory:Qke,deps:[uo,st]},tCe=["*"],nCe=(e,t,i,n,a)=>({"custom-content":e,circle:t,progress:i,"progress-dark":n,pulse:a});function iCe(e,t){e&1&&nt(0)}function aCe(e,t){if(e&1&&(V(0,"div",0),oe(1,iCe,1,0),B()),e&2){let i=ae(),n=Ef(0),a=Ef(1);q("ngClass",Spe(5,nCe,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",i.styles()),Vt("aria-label",i.ariaLabel())("aria-valuetext",i.loadingText()),O(),Q(n==="custom-content"?1:-1)}}var yae=new se("ngx-skeleton-loader.config"),rCe=(()=>{var t;const i=class i{constructor(){Em(this,t);var a,r,o,l,u,c;Sm(this,t,C(yae,{optional:!0})),this.count=fe(((a=Vi(this,t))==null?void 0:a.count)||1,{transform:jc}),this.loadingText=fe(((r=Vi(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=fe(((o=Vi(this,t))==null?void 0:o.appearance)||"line"),this.animation=fe(((l=Vi(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=fe(((u=Vi(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=fe(((c=Vi(this,t))==null?void 0:c.theme)||null),this.items=Wi(()=>{let h=this.count()||1;return this.appearance()==="custom-content"&&Hpe(),[...Array(h)].map((m,v)=>v)}),this.styles=Wi(()=>{var m,v,g;let h=this.theme();return(v=(m=Vi(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ue(ue({},(g=Vi(this,t))==null?void 0:g.theme),h):h})}};t=new WeakMap,i.ɵfac=function(a){return new(a||i)},i.ɵcmp=Ae({type:i,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:tCe,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,r){a&1&&(Dn(),Yb(0)(1),so(2,aCe,2,11,"div",0,ks)),a&2&&(wf(r.appearance()),O(),wf(r.animation()),O(),lo(r.items()))},dependencies:[Ep,Gme],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=i;return e})(),oCe=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:yae,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=an({type:t}),t.ɵinj=nn({imports:[s1]});let e=t;return e})(),sCe=e=>({prescriber:e}),lCe=e=>({count:e});function cCe(e,t){if(e&1&&(le(0,"vidis-error-display",0),R(1,"translate"),R(2,"fullname")),e&2){let i=ae();q("message",Y(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,sCe,Y(2,4,i.medication().author)))}}function uCe(e,t){e&1&&(V(0,"mat-chip",2),ge(1),R(2,"translate"),B()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.future")," "))}function dCe(e,t){e&1&&(V(0,"mat-chip",3),ge(1),R(2,"translate"),B()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.ifneeded")," "))}function hCe(e,t){e&1&&(V(0,"mat-chip",4),ge(1),R(2,"translate"),B()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.lastDayDefinitive")," "))}function pCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",27),R(1,"firstLetterUppercase")),e&2&&q("value",Y(1,1,t))}function mCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",28),R(1,"date"),R(2,"hasMedicationError")),e&2){let i=ae().$implicit,n=ae(3);q("value",dt(1,2,t,"dd/MM/yyyy"))("withError",fn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function fCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),R(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function gCe(e,t){if(e&1&&(oe(0,pCe,2,3,"vidis-ms-detail-field",27),R(1,"translateValue"),V(2,"div",11),oe(3,mCe,3,9,"vidis-ms-detail-field",28)(4,fCe,2,4,"vidis-ms-detail-field",13),B()),e&2){let i,n,a,r=t.$implicit;Q((i=Y(1,3,r.item.reason))?0:-1,i),O(3),Q((n=r.item.startDate)?3:-1,n),O(),Q((a=r.item.endDate)?4:-1,a)}}function vCe(e,t){if(e&1&&(V(0,"span",24),le(1,"mat-icon",25),ge(2),R(3,"translate"),B(),V(4,"span",26),so(5,gCe,5,5,null,null,ks),B()),e&2){let i=ae();O(2),Mt(Y(3,1,"medicationSchemeDetails.suspension.label")),O(3),lo(i)}}function yCe(e,t){e&1&&oe(0,vCe,7,3),e&2&&Q(t.length>0?0:-1)}function bCe(e,t){e&1&&le(0,"vidis-ms-detail-field",6),e&2&&q("value",t)}function _Ce(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",10),R(1,"translate"),R(2,"hasMedicationError")),e&2){let i=ae();q("value",Y(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function xCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",12),R(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function wCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),R(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function ECe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",16),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i,n=ae();q("value",Y(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,lCe,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function SCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",17),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function kCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",18),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function CCe(e,t){e&1&&le(0,"vidis-ms-detail-field",19),e&2&&q("value",t)}function ICe(e,t){e&1&&le(0,"vidis-ms-detail-field",20),e&2&&q("value",t)}function DCe(e,t){if(e&1&&le(0,"vidis-ms-detail-field",21),e&2){let i,n=ae();q("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}function TCe(e,t){e&1&&le(0,"vidis-download-link",22),e&2&&q("leaflet",t)}var OCe=(()=>{const t=class t{constructor(){this.medication=fe.required(),this.patient=fe.required(),this.fieldErrors=fe(),this.date=fe(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-medication-scheme-details-mobile"]],inputs:{medication:[1,"medication"],patient:[1,"patient"],fieldErrors:[1,"fieldErrors"],date:[1,"date"]},decls:41,vars:61,consts:[["fontIcon","warning",3,"message","translateParams"],[3,"medicationName","canDisplayDetails"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[1,"mh-orange","mh-no-overlay",3,"disableRipple"],[1,"mh-blue","mh-no-overlay",3,"disableRipple"],[3,"label","withDivider","dispaly"],["labelKey","medicationSchemeDetails.indication",3,"value"],[3,"label"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication","date"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],[1,"two-columns"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.comment",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[3,"leaflet"],[3,"patient","prescriber"],[1,"suspension_label"],["fontIcon","hourglass_empty"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value","withError"]],template:function(n,a){if(n&1&&(oe(0,cCe,3,8,"vidis-error-display",0),R(1,"hasMedicationError"),V(2,"vidis-detail",1),R(3,"translateValue"),R(4,"firstLetterUppercase"),V(5,"vidis-detail-header-left"),oe(6,uCe,3,4,"mat-chip",2),R(7,"isFutureMedication"),oe(8,dCe,3,4,"mat-chip",3),R(9,"isLastMedicationDay"),oe(10,hCe,3,4,"mat-chip",4),B(),V(11,"vidis-detail-header"),oe(12,yCe,1,1),R(13,"activeAndFutureSuspensions"),B(),V(14,"vidis-detail-section",5),R(15,"translate"),oe(16,bCe,1,1,"vidis-ms-detail-field",6),R(17,"translateValue"),B(),V(18,"vidis-detail-section",7),R(19,"translate"),V(20,"vidis-ms-detail-field-slot",8),R(21,"hasMedicationError"),le(22,"vidis-medication-scheme-grouped-posology",9),B(),oe(23,_Ce,3,8,"vidis-ms-detail-field",10),V(24,"div",11),oe(25,xCe,2,4,"vidis-ms-detail-field",12)(26,wCe,2,4,"vidis-ms-detail-field",13),B(),le(27,"vidis-ms-detail-field",14)(28,"vidis-ms-detail-field",15),oe(29,ECe,4,13,"vidis-ms-detail-field",16)(30,SCe,4,10,"vidis-ms-detail-field",17)(31,kCe,4,10,"vidis-ms-detail-field",18)(32,CCe,1,1,"vidis-ms-detail-field",19),R(33,"translateValue"),oe(34,ICe,1,1,"vidis-ms-detail-field",20),R(35,"translateValue"),oe(36,DCe,1,2,"vidis-ms-detail-field",21),R(37,"hasMedicationError"),oe(38,TCe,1,1,"vidis-download-link",22),R(39,"translateValue"),B(),le(40,"vidis-person-detail-section",23),B()),n&2){let r,o,l,u,c,h,m,v,g,x,w;Q(dt(1,28,a.fieldErrors(),a.medication().index)?0:-1),O(2),q("medicationName",Y(4,33,Y(3,31,a.medication().name)))("canDisplayDetails",!0),O(4),Q(Y(7,35,a.medication())?6:-1),O(2),Q(a.medication().temporality===a.temporalities.ONESHOT?8:Y(9,37,a.medication())?10:-1),O(4),Q((r=Y(13,39,a.medication().suspensions))?12:-1,r),O(2),q("label",Y(15,41,"medicationSchemeDetails.section.treatment"))("withDivider",!1)("dispaly",!!a.medication().indication),O(2),Q((o=Y(17,43,a.medication().indication))?16:-1,o),O(2),q("label",Y(19,45,"medicationSchemeDetails.section.intake")),O(2),q("withError",fn(21,47,a.fieldErrors(),a.medication().index,"posologies")),O(2),q("medication",a.medication())("date",a.date()),O(),Q((l=(l=a.medication().frequency)==null?null:l.periodicity)?23:-1,l),O(2),Q((u=a.medication().treatmentStartDate)?25:-1,u),O(),Q((c=a.medication().treatmentEndDate)?26:-1,c),O(),q("value",a.medication().treatmentStartCondition),O(),q("value",a.medication().treatmentEndCondition),O(),Q(!((h=a.medication().posology)==null||h[0]==null||h[0].quantity==null)&&h[0].quantity.unit?29:-1),O(),Q((m=a.medication().route)?30:-1,m),O(),Q((v=a.medication().temporality)?31:-1,v),O(),Q((g=Y(33,51,a.medication().instructions))?32:-1,g),O(2),Q((x=Y(35,53,a.medication().comment))?34:-1,x),O(2),Q(fn(37,55,a.fieldErrors(),a.medication().index,"others")?36:-1),O(2),Q((w=Y(39,59,a.medication().leaflet))?38:-1,w),O(2),q("patient",a.patient())("prescriber",a.medication().author)}},dependencies:[pae,om,PEe,ho,VSe,sae,mae,fae,dae,XSe,oae,Jke,$Se,oke,un,lm,Zie,iae,sm,kp,Qie,rEe,sEe],styles:[".two-columns[_ngcontent-%COMP%]{display:flex}.two-columns[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}.suspension_label[_ngcontent-%COMP%]{border:1px solid #f44336;padding:3px}mat-icon[_ngcontent-%COMP%]{vertical-align:sub}"]});let e=t;return e})(),NCe=()=>({width:"40%",height:"20px"});function PCe(e,t){e&1&&(V(0,"div"),ge(1,"Component not properly initialized!"),B())}function MCe(e,t){if(e&1&&le(0,"vidis-status-message",0),e&2){let i=ae();q("error",i.error)}}function ACe(e,t){e&1&&le(0,"ngx-skeleton-loader",1),e&2&&q("count",10)("theme",Epe(2,NCe))}function RCe(e,t){e&1&&le(0,"vidis-download-link",4),e&2&&q("leaflet",t)}function FCe(e,t){if(e&1&&(le(0,"vidis-medication-scheme-details-row",3),oe(1,RCe,1,1,"vidis-download-link",4),R(2,"translateValue"),le(3,"vidis-medication-scheme-details-mobile",5)),e&2){let i,n,a,r=ae(2),o=ae(2);q("medication",r.data)("fieldErrors",(i=o.medicationSchemeState().data.schemes[0])==null?null:i.fieldErrors),O(),Q((n=Y(2,7,r.data.leaflet))?1:-1,n),O(2),q("medication",r.data)("patient",o.patient())("fieldErrors",(a=o.medicationSchemeState().data.schemes[0])==null?null:a.fieldErrors)("date",o.detail.date)}}function LCe(e,t){e&1&&(V(0,"div",2)(1,"h3"),ge(2),R(3,"translate"),B()()),e&2&&(O(2),Mt(Y(3,1,"medicationSchemeDetails.noDetails")))}function jCe(e,t){if(e&1&&oe(0,ACe,1,3,"ngx-skeleton-loader",1)(1,FCe,4,9)(2,LCe,4,3,"div",2),e&2){let i=ae(),n=ae(2);Q(i.status===n.loadingStatus.LOADING?0:i.data?1:2)}}function VCe(e,t){if(e&1&&oe(0,MCe,1,1,"vidis-status-message",0)(1,jCe,3,1),e&2){let i=ae(2);Q(t.status===i.loadingStatus.ERROR?0:1)}}function zCe(e,t){if(e&1&&oe(0,VCe,2,1),e&2){let i,n=ae();Q((i=n.medicationDetail())?0:-1,i)}}var BCe=(()=>{const t=class t extends hSe{constructor(){super(...arguments),this.extraRequiredFields=[...this.defaultExtraRequiredFields,"detail","exchangeClientId"],this.medicationDetail=Wi(()=>{let n=this.medicationSchemeState();return bt(ue({},n),{data:n.status===xa.SUCCESS?n.data.schemes[0].medications.find(a=>a.id===this.detail.id):void 0})}),this.patient=Wi(()=>{let n=this.medicationSchemeState();return n.status===xa.SUCCESS?n.data.schemes[0].patient:void 0}),this.loadingStatus=xa}fetchData(n){return Pt(this,null,function*(){return this.medicationSchemeService.setClientId(this.exchangeClientId),this.medicationSchemeService.fetchMedicationScheme(n)})}injectService(){wc(this.injector,()=>{this.medicationSchemeService=C(l0),this.medicationSchemeState=u_e(this.medicationSchemeService.medicationSchemeState$),xp(()=>{let n=this.medicationDetail();this.checkError(n.error)})})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["vidis-medication-scheme-detail"]],inputs:{detail:"detail",exchangeClientId:"exchangeClientId"},features:[Kb([l0,gae,vae,eCe]),Gn],decls:2,vars:1,consts:[[3,"error"],["appearance","line",3,"count","theme"],[1,"center"],[3,"medication","fieldErrors"],[3,"leaflet"],[3,"medication","patient","fieldErrors","date"]],template:function(n,a){n&1&&oe(0,PCe,2,0,"div")(1,zCe,1,1),n&2&&Q(a.isCorrectlySetup()?1:0)},dependencies:[oCe,rCe,Rke,oae,PSe,OCe,lm,un],styles:["@media only screen and (max-width: 960px){vidis-medication-scheme-details-row[_ngcontent-%COMP%], vidis-download-link[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-medication-scheme-details-mobile[_ngcontent-%COMP%]{display:none}}"]});let e=t;return e})();ffe({providers:[Bwe]}).then(e=>{let t=fme(BCe,{injector:e.injector});customElements.define("vidis-medication-scheme-detail",t)}).catch(e=>console.error(e));