@smals-belgium-shared/vidis-medication-scheme-detail 3.4.4-snapshot.16 → 3.4.4-snapshot.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -42
- package/README.md +13 -15
- package/assets/main-D-RFuMsg.js +40 -0
- package/medication-scheme-detail.css +1 -1
- package/medication-scheme-detail.js +1 -1
- package/package.json +1 -1
- package/assets/main-Cac084j7.js +0 -42
package/assets/main-Cac084j7.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var fre=Object.defineProperty;var xm=e=>{throw TypeError(e)};var gre=(e,t,i)=>t in e?fre(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var s=(e,t,i)=>gre(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 vre=Object.create,uc=Object.defineProperty,yre=Object.defineProperties,bre=Object.getOwnPropertyDescriptor,_re=Object.getOwnPropertyDescriptors,xre=Object.getOwnPropertyNames,Il=Object.getOwnPropertySymbols,wre=Object.getPrototypeOf,hh=Object.prototype.hasOwnProperty,d0=Object.prototype.propertyIsEnumerable,km=(e,t,i)=>t in e?uc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ue=(e,t)=>{for(var i in t||(t={}))hh.call(t,i)&&km(e,i,t[i]);if(Il)for(var i of Il(t))d0.call(t,i)&&km(e,i,t[i]);return e},bt=(e,t)=>yre(e,_re(t)),h0=(e,t)=>{var i={};for(var n in e)hh.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Il)for(var n of Il(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)uc(e,i,{get:t[i],enumerable:!0})},Ere=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of xre(t))!hh.call(e,a)&&a!==i&&uc(e,a,{get:()=>t[a],enumerable:!(n=bre(t,a))||n.enumerable});return e},p0=(e,t,i)=>(i=e!=null?vre(wre(e)):{},Ere(t||!e||!e.__esModule?uc(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())}),Sre=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"}},L=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(L(y))return P(p,f);if(y==="'")return re(p,f);let b=y,_=1;for(;;){let E=p[++f];if(!E||L(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 Ce extends Qe{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class V 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 Fe(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:sn,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 sn=="number"&&(ne.maximumSignificantDigits=sn);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:sn}=E;ne.notation=sn;break}}if(_){let{min:tt,max:Et,source:jt}=_;if(tt>0&&(ne.minimumIntegerDigits=tt),Number(Et)>0){let sn=ne.notation==="engineering"||ne.notation==="scientific";Et===3&&sn?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 ct(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 V("¤",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 V("'",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=ct(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=ct(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 Vt(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 V("#",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 V("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 V(".",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 V("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 V("¤",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:_}=Vt(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 Cae(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 Dae(p){return p in um}function Tae(p){return p in dm}function Oae(p,f,y){if(Dae(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(Tae(p)&&f.length<dm[p])return y(new Ce(p)),!1}return!0}function Jc(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 Nae(p,f,y){let b=Jc(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=Jc(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 _=Jc(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 Pae{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(!Oae(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":{Cae(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=Nae(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 Pae(f);for(let{stem:_,options:E}of y)b.parseToken(_,E);return b.skeleton}function Mae(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 Aae(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=Fe(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 Xc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rae(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()})(Xc,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 Ie=M.lastIndexOf(`
|
|
6
|
-
`,ce-1);if(Ie===-1||(he++,ce=Ie,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 Ie=$[he],ye=M[Ie],Ve=[].concat(ye);if(Ie==="include"){for(var ot=0;ot<Ve.length;ot++)ce.push({include:Ve[ot]});continue}var Ye=[];Ve.forEach(function(Ee){E(Ee)?(Ye.length&&ce.push(Et(Ie,Ye)),ce.push(Et(Ie,Ee)),Ye=[]):Ye.push(Ee)}),Ye.length&&ce.push(Et(Ie,Ye))}return ce}function tt(M){for(var $=[],ce=0;ce<M.length;ce++){var he=M[ce];if(he.include){for(var Ie=[].concat(he.include),ye=0;ye<Ie.length;ye++)$.push({include:Ie[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 Ie=ce.match;return ce.match=Array.isArray(Ie)?Ie:Ie?[Ie]:[],ce.match.sort(function(ye,Ve){return _(ye)&&_(Ve)?0:_(Ve)?-1:_(ye)?1:Ve.length-ye.length}),ce}function jt(M){return Array.isArray(M)?tt(M):ne(M)}var sn=Et("error",{lineBreaks:!0,shouldThrow:!0});function qn(M,$){for(var ce=null,he=Object.create(null),Ie=!0,ye=null,Ve=[],ot=[],Ye=0;Ye<M.length;Ye++)M[Ye].fallback&&(Ie=!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(Ie)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){Ie=!1,Ve.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",Vs=b||fr?"":"|";ye===!0&&(go+="u");var mre=new RegExp(z(ot)+Vs,go);return{regexp:mre,groups:Ve,fast:he,error:ce||sn}}function aa(M){var $=qn(jt(M));return new ft({start:$},"start")}function Ai(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 Ri(M,$){var ce=M.$all?jt(M.$all):[];delete M.$all;var he=Object.getOwnPropertyNames(M);$||($=he[0]);for(var Ie=Object.create(null),ye=0;ye<he.length;ye++){var Ve=he[ye];Ie[Ve]=jt(M[Ve]).concat(ce)}for(var ye=0;ye<he.length;ye++)for(var Ve=he[ye],ot=Ie[Ve],Ye=Object.create(null),Ee=0;Ee<ot.length;Ee++){var Tt=ot[Ee];if(Tt.include){var pr=[Ee,1];if(Tt.include!==Ve&&!Ye[Tt.include]){Ye[Tt.include]=!0;var hi=Ie[Tt.include];if(!hi)throw new Error("Cannot include nonexistent state '"+Tt.include+"' (in state '"+Ve+"')");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 Ve=he[ye];$n[Ve]=qn(Ie[Ve],!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++)Ai(go[Ee],fo,$n);for(var Vs=Object.getOwnPropertyNames(fr.fast),Ee=0;Ee<Vs.length;Ee++)Ai(fr.fast[Vs[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),Ie=0;Ie<he.length;Ie++){var ye=he[Ie],Ve=M[ye],ot=Array.isArray(Ve)?Ve:[Ve];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 Ls=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 Fs(){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 Ve=this.fast[ce.charCodeAt(M)];if(Ve)return this._token(Ve,ce.charAt(M),M);var he=this.re;he.lastIndex=M;var Ie=Ls(he,ce),ye=this.error;if(Ie==null)return this._token(ye,ce.slice(M,ce.length),M);var Ve=this._getGroup(Ie),ot=Ie[0];return ye.fallback&&Ie.index!==M?(this.queuedGroup=Ve,this.queuedText=ot,this._token(ye,ce.slice(M,Ie.index),M)):this._token(Ve,ot,M)}},ft.prototype._token=function(M,$,ce){var he=0;if(M.lineBreaks){var Ie=/\n/g,ye=1;if($===`
|
|
10
|
-
`)he=1;else for(;Ie.exec($);)he++,ye=Ie.lastIndex}var Ve={type:typeof M.type=="function"&&M.type($)||M.defaultType,value:typeof M.value=="function"?M.value($):$,text:$,toString:Fs,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(Ve,"invalid syntax"));throw Ye}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ve},typeof Symbol<"u"&&Symbol.iterator){var Fi=function(M){this.lexer=M};Fi.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Fi.prototype[Symbol.iterator]=function(){return this},ft.prototype[Symbol.iterator]=function(){return new Fi(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 Ie=2,ye=Math.max(he.line-Ie,1),Ve=he.line+Ie,ot=String(Ve).length,Ye=Re(this.buffer,this.line-he.line+Ie+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:Ri,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Li}})})(mm);var Lae=mm.exports;(function(p){var f=Xc&&Xc.__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(Lae);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}),Qc=p=>p==="plural"||p==="select"||p==="selectordinal";function Fae(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 Bt(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 Vae=["number","date","time","spellout","ordinal","duration"],vm=["zero","one","two","few","many","other"];class Bt extends Error{constructor(f,y){super(gm.lexer.formatError(f,y))}}po.ParseError=Bt;class jae{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 Bt(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 Bt(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 Bt(D,"Unexpected plural offset for select");if(k.cases.length>0)throw new Bt(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 Bt(D,`Unexpected lexer token: ${D.type}`)}throw new Bt(null,"Unexpected message end")}parseArgToken(f,y){let b=Ps(f),_=this.lexer.next();if(!_)throw new Bt(null,"Unexpected message end");if(b.text+=_.text,b.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!Vae.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Bt(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 Bt(null,"Unexpected message end");if(E.type!=="end")throw new Bt(E,`Unexpected lexer token: ${E.type}`);if(b.text+=E.text,Qc(_.value.toLowerCase()))throw new Bt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:b}}case"func-args":{if(Qc(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Bt(_,k)}let E=this.parseBody(this.strict?!1:y);return this.strict&&E.length>0&&(E=Fae(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:b}}case"select":if(Qc(_.value))return this.parseSelect(f,y,b,_.value);throw new Bt(_,`Unexpected select type ${_.value}`);default:throw new Bt(_,`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 Bt(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 Bt(null,"Unexpected message end")}}function zae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new jae(p,f).parse()}fm=po.parse=zae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function Bae(p,f,y){return mo(p).format(f-y)}function Hae(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 Uae(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 Gae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Wae(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 qae=Object.freeze({__proto__:null,_nf:mo,number:Bae,plural:Uae,reqArgs:Wae,select:Gae,strictNumber:Hae});function $ae(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 Yae(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 eu={};function Ms(p,f){var y=String(p)+JSON.stringify(f);return eu[y]||(eu[y]=new Intl.NumberFormat(p,f)),eu[y]}function Zae(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 Kae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Jae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Xae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function Qae(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 tu=Object.freeze({__proto__:null,date:$ae,duration:Yae,numberCurrency:Kae,numberFmt:Zae,numberInteger:Jae,numberPercent:Xae,time:Qae}),ere={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}},nu=Rae(ere);function tre(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+=" "+tre(p).toString(36));let y=p.trim().replace(/\W+/g,"_");return nu.ES3[y]||nu.ESnext[y]||/^\d/.test(y)?"_"+y:y}function iu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!nu.ES3[f])return p?p+"."+f:f;{let y=JSON.stringify(f);return p?p+"["+y+"]":y}}var nre=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],ire=new RegExp("^"+nre.join("|^"));function are(p,f){var y=ire.test(f),b=JSON.stringify(y?"":"");return"".concat(b," + ").concat(p," + ").concat(b)}var rre="@messageformat/runtime",ore="@messageformat/runtime/lib/cardinals",ym="@messageformat/runtime/lib/plurals",sre="@messageformat/runtime/lib/formatters",lre=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,sn=b&&jt&&b[jt]||y;Re[Et]=this.compile(f[Et],sn,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)}),Ai=this.arguments.length>0,Ri=this.concatenate(aa,!0);if(z&&Ai){this.setRuntimeFn("reqArgs");var Li=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Li,", d); return ").concat(Ri,"; }")}return"(".concat(Ai?"d":"",") => ").concat(Ri)},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(iu(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=[iu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?are(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),iu("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=ore,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(qae[f],{id:f,module:rre,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)&&tu[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(Fi){b={error:Fi}}finally{try{tt&&!tt.done&&(_=ne.return)&&_.call(ne)}finally{if(b)throw b.error}}var jt={};try{for(var sn=n(Re.split(",")),qn=sn.next();!qn.done;qn=sn.next()){var aa=qn.value,Ai=aa.indexOf(":");if(Ai===-1)jt[aa.trim()]=null;else{var Ri=aa.substring(0,Ai).trim(),Li=aa.substring(Ai+1).trim();if(Li==="true")jt[Ri]=!0;else if(Li==="false")jt[Ri]=!1;else if(Li==="null")jt[Ri]=null;else{var ft=Number(Li);jt[Ri]=Number.isFinite(ft)?ft:Li}}}}catch(Fi){E={error:Fi}}finally{try{qn&&!qn.done&&(k=sn.return)&&k.call(sn)}finally{if(E)throw E.error}}return JSON.stringify(jt)}else{var Ls=z.map(function(Fi){return D.token(Fi,y)});if(xe==="raw")return"[".concat(Ls.join(", "),"]");var Fs=Ls.join(" + ");return Fs?"(".concat(Fs,").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(tu[f],{type:"formatter"},{id:f,module:sre});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=Mae(k,D,de);this.runtime[z]=Object.assign(xe,{id:null,module:null,toString:function(){return Aae(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 tu}let U=p=>p==1?"one":"other",Ti=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",Oi=p=>p==1?"one":p==2?"two":"other";var cre=Object.freeze({__proto__:null,af:U,ak:Ti,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:Ti,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:Ti,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:Oi,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:Ti,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:Ti,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:Oi,nb:U,nd:U,ne:U,nl:Wt,nn:U,nnh:U,no:U,nqo:ze,nr:U,nso:Ti,ny:U,nyn:U,om:U,or:U,os:U,osa:ze,pa:Ti,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:Oi,sc:Wt,scn:Wt,sd:U,sdh:U,se:Oi,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:Oi,smi:Oi,smj:Oi,smn:Oi,sms:Oi,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:Ti,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:Ti,wae:U,wo:ze,xh:U,xog:U,yi:Wt,yo:ze,yue:ze,zh:ze,zu:ui});let Ni="zero",X="one",rt="two",De="few",Te="many",A="other",F={cardinal:[X,A],ordinal:[A]},Ca={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:F,ak:F,am:F,an:F,ar:{cardinal:[Ni,X,rt,De,Te,A],ordinal:[A]},ars:{cardinal:[Ni,X,rt,De,Te,A],ordinal:[A]},as:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},asa:F,ast:F,az:{cardinal:[X,A],ordinal:[X,De,Te,A]},bal:Ca,be:{cardinal:[X,De,Te,A],ordinal:[De,A]},bem:F,bez:F,bg:F,bho:F,bm:Ue,bn:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},bo:Ue,br:{cardinal:[X,rt,De,Te,A],ordinal:[A]},brx:F,bs:{cardinal:[X,De,A],ordinal:[A]},ca:{cardinal:[X,Te,A],ordinal:[X,rt,De,A]},ce:F,ceb:F,cgg:F,chr:F,ckb:F,cs:{cardinal:[X,De,Te,A],ordinal:[A]},cy:{cardinal:[Ni,X,rt,De,Te,A],ordinal:[Ni,X,rt,De,Te,A]},da:F,de:F,doi:F,dsb:{cardinal:[X,rt,De,A],ordinal:[A]},dv:F,dz:Ue,ee:F,el:F,en:{cardinal:[X,A],ordinal:[X,rt,De,A]},eo:F,es:{cardinal:[X,Te,A],ordinal:[A]},et:F,eu:F,fa:F,ff:F,fi:F,fil:Ca,fo:F,fr:{cardinal:[X,Te,A],ordinal:[X,A]},fur:F,fy:F,ga:{cardinal:[X,rt,De,Te,A],ordinal:[X,A]},gd:{cardinal:[X,rt,De,A],ordinal:[X,rt,De,A]},gl:F,gsw:F,gu:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},guw:F,gv:{cardinal:[X,rt,De,Te,A],ordinal:[A]},ha:F,haw:F,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:Ca,hy:Ca,ia:F,id:Ue,ig:Ue,ii:Ue,io:F,is:F,it:{cardinal:[X,Te,A],ordinal:[Te,A]},iu:di,ja:Ue,jbo:Ue,jgo:F,jmc:F,jv:Ue,jw:Ue,ka:{cardinal:[X,A],ordinal:[X,Te,A]},kab:F,kaj:F,kcg:F,kde:Ue,kea:Ue,kk:{cardinal:[X,A],ordinal:[Te,A]},kkj:F,kl:F,km:Ue,kn:F,ko:Ue,ks:F,ksb:F,ksh:{cardinal:[Ni,X,A],ordinal:[A]},ku:F,kw:{cardinal:[Ni,X,rt,De,Te,A],ordinal:[X,Te,A]},ky:F,lag:{cardinal:[Ni,X,A],ordinal:[A]},lb:F,lg:F,lij:{cardinal:[X,A],ordinal:[Te,A]},lkt:Ue,ln:F,lo:{cardinal:[A],ordinal:[X,A]},lt:{cardinal:[X,De,Te,A],ordinal:[A]},lv:{cardinal:[Ni,X,A],ordinal:[A]},mas:F,mg:F,mgo:F,mk:{cardinal:[X,A],ordinal:[X,rt,Te,A]},ml:F,mn:F,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:F,naq:di,nb:F,nd:F,ne:Ca,nl:F,nn:F,nnh:F,no:F,nqo:Ue,nr:F,nso:F,ny:F,nyn:F,om:F,or:{cardinal:[X,A],ordinal:[X,rt,De,Te,A]},os:F,osa:Ue,pa:F,pap:F,pcm:F,pl:{cardinal:[X,De,Te,A],ordinal:[A]},prg:{cardinal:[Ni,X,A],ordinal:[A]},ps:F,pt:{cardinal:[X,Te,A],ordinal:[A]},pt_PT:{cardinal:[X,Te,A],ordinal:[A]},rm:F,ro:{cardinal:[X,De,A],ordinal:[X,A]},rof:F,ru:{cardinal:[X,De,Te,A],ordinal:[A]},rwk:F,sah:Ue,saq:F,sat:di,sc:{cardinal:[X,A],ordinal:[Te,A]},scn:{cardinal:[X,A],ordinal:[Te,A]},sd:F,sdh:F,se:di,seh:F,ses:Ue,sg:Ue,sh:{cardinal:[X,De,A],ordinal:[A]},shi:{cardinal:[X,De,A],ordinal:[A]},si:F,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:F,so:F,sq:{cardinal:[X,A],ordinal:[X,Te,A]},sr:{cardinal:[X,De,A],ordinal:[A]},ss:F,ssy:F,st:F,su:Ue,sv:Ca,sw:F,syr:F,ta:F,te:F,teo:F,th:Ue,ti:F,tig:F,tk:{cardinal:[X,A],ordinal:[De,A]},tl:Ca,tn:F,to:Ue,tpi:Ue,tr:F,ts:F,tzm:F,ug:F,uk:{cardinal:[X,De,Te,A],ordinal:[De,A]},und:Ue,ur:F,uz:F,ve:F,vec:{cardinal:[X,Te,A],ordinal:[Te,A]},vi:{cardinal:[A],ordinal:[X,A]},vo:F,vun:F,wa:F,wae:F,wo:Ue,xh:F,xog:F,yi:F,yo:Ue,yue:Ue,zh:Ue,zu:F});let ee=(p,f)=>f?"other":p==1?"one":"other",Pi=(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",Mi=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var As=Object.freeze({__proto__:null,af:ee,ak:Pi,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:Pi,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:Pi,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:Mi,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:Pi,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:Pi,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:Mi,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:Pi,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:Pi,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:Mi,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:Mi,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:Mi,smi:Mi,smj:Mi,smn:Mi,sms:Mi,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:Pi,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:Pi,wae:ee,wo:Ge,xh:ee,xog:ee,yi:On,yo:Ge,yue:Ge,zh:Ge,zu:hr});function au(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=au(p.name);return{isDefault:!1,id:ia(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var y=au(p),b=ia(y);return hre(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:cre[b],getPlural:As[b],cardinals:_m[b].cardinal,ordinals:_m[b].ordinal}:null}function ure(p){var f=Object.keys(As).filter(function(y){return y!==p});return f.unshift(p),f.map(Rs)}function dre(p){var f=au(p);return ia(f)in As}function hre(p){return p in As}var pre=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=ure(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(dre)},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 lre(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 pre})}),Cn=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}),kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,L){for(var P=0;P<L.length;P++){var re=L[P];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(T,re.key,re)}}return function(T,L,P){return L&&S(T.prototype,L),P&&S(T,P),T}}(),i=Cn(),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(L,P){return r(this,T),L=L.toUpperCase(),P.mod43&&(L+=g(w(L))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,L,P))}return t(T,[{key:"encode",value:function(){for(var L=m("*"),P=0;P<this.data.length;P++)L+=m(this.data[P])+"0";return L+=m("*"),{data:L,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,L=0;L<S.length;L++)T+=x(S[L]);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]}),dc=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=Cn(),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 L=m.getBar(S),P=S*g;return{result:L+w.result,checksum:P+w.checksum}}}]),m}(n.default);e.default=c}),Ire=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})}}),Cre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=dc(),i=r(t),n=Ire(),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}),Dre=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=dc(),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}),Tre=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=dc(),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}),Ore=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=dc(),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}),Nre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Cre(),i=c(t),n=Dre(),a=c(n),r=Tre(),o=c(r),l=Ore(),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=Cn(),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}),Pre=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 L=S.get;return L===void 0?void 0:L.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}),Mre=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}),Are=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=Cn(),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}),Rre=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=Cn(),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=Cn(),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}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(S,T){for(var L=0;L<T.length;L++){var P=T[L];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(S,P.key,P)}}return function(S,T,L){return T&&w(S.prototype,T),L&&w(S,L),S}}(),i=rs(),n=l(i),a=Cn(),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,L){u(this,S);var P=c(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,L));if(P.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)P.middleDigits=T,P.upcA=x(T,"0"),P.text=L.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=L.displayValue,L.fontSize>L.width*10?P.fontSize=L.width*10:P.fontSize=L.fontSize,P.guardHeight=L.height+P.fontSize/2+L.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],L=this.upcA[this.upcA.length-1],P=v[parseInt(L)][parseInt(T)];return(0,n.default)(this.middleDigits,P)}}]),S}(r.default);function x(w,S){for(var T=parseInt(w[w.length-1]),L=m[T],P="",re=0,ve=0;ve<L.length;ve++){var ke=L[ve];ke==="X"?P+=w[re++]:P+=ke}return P=""+S+P,""+P+(0,o.checksum)(P)}e.default=g}),Fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Pre(),i=g(t),n=Mre(),a=g(n),r=Are(),o=g(r),l=Rre(),u=g(l),c=f0(),h=g(c),m=Lre(),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}),Vre=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=Vre(),n=Cn(),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}),jre=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}),zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=g0(),i=r(t),n=jre(),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=Cn(),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}),hc=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}}),Bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=hc();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}),Hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=hc();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}),Ure=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=hc();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}),Gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=hc();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}),Wre=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=Bre(),a=m(n),r=Hre(),o=m(r),l=Ure(),u=m(l),c=Gre(),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}),qre=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=Cn(),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}),$re=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=Cn(),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}),Yre=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=Yre(),n=Cn(),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 L=T%g+1;return w+m.symbolValue(S)*L},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=c}),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=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}),Kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=v0(),i=r(t),n=Zre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),Jre=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=Cn(),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}),Xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=kre(),i=Nre(),n=Fre(),a=zre(),r=Wre(),o=qre(),l=$re(),u=Kre(),c=Jre();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}}),pc=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)}}),Qre=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}}),eoe=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}),toe=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=pc(),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}),noe=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=pc(),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}),ioe=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=pc(),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}),aoe=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}),roe=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=noe(),i=l(t),n=ioe(),a=l(n),r=aoe(),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}),ooe=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=toe(),n=l(i),a=roe(),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}),soe=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}),loe=me((e,t)=>{var i=Xre(),n=P(i),a=pc(),r=P(a),o=Qre(),l=P(o),u=eoe(),c=P(u),h=ooe(),m=P(h),v=y0(),g=P(v),x=soe(),w=P(x),S=x0(),T=b0(),L=P(T);function P(ie){return ie&&ie.__esModule?ie:{default:ie}}var re=function(){},ve=function(ie,J,Ce){var V=new re;if(typeof ie>"u")throw Error("No element to render on was provided.");return V._renderProperties=(0,m.default)(ie),V._encodings=[],V._options=L.default,V._errorHandler=new w.default(V),typeof J<"u"&&(Ce=Ce||{},Ce.format||(Ce.format=Qe()),V.options(Ce)[Ce.format](J,Ce).render()),V};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(Ce,V){var H=this;return H._errorHandler.wrapBarcodeCall(function(){V.text=typeof V.text>"u"?void 0:""+V.text;var te=(0,r.default)(H._options,V);te=(0,g.default)(te);var Pe=ie[J],Je=wt(Ce,Pe,te);return H._encodings.push(Je),H})}}function wt(ie,J,Ce){ie=""+ie;var V=new J(ie,Ce);if(!V.valid())throw new S.InvalidInputException(V.constructor.name,ie);var H=V.encode();H=(0,l.default)(H);for(var te=0;te<H.length;te++)H[te].options=(0,r.default)(Ce,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 Ce=(0,r.default)(this._options,ie.options);Ce.format=="auto"&&(Ce.format=Qe()),this._errorHandler.wrapBarcodeCall(function(){var V=Ce.value,H=n.default[Ce.format.toUpperCase()],te=wt(V,H,Ce);Dt(ie,te,Ce)})}}},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=L.default;function Dt(ie,J,Ce){J=(0,l.default)(J);for(var V=0;V<J.length;V++)J[V].options=(0,r.default)(Ce,J[V].options),(0,c.default)(J[V].options);(0,c.default)(Ce);var H=ie.renderer,te=new H(ie.element,J,Ce);te.render(),ie.afterRender&&ie.afterRender()}typeof window<"u"&&(window.JsBarcode=ve),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ie,J){var Ce=[];return jQuery(this).each(function(){Ce.push(this)}),ve(Ce,ie,J)}),t.exports=ve});function ph(e,t){return Object.is(e,t)}var St=null,cl=!1,mh=1,kn=Symbol("SIGNAL");function Oe(e){let t=St;return St=e,t}function coe(){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 mc(e){if(cl)throw new Error("");if(St===null)return;St.consumerOnSignalRead(e);let t=St.nextProducerIndex++;if(yc(St),t<St.producerNode.length&&St.producerNode[t]!==e&&Fo(St)){let i=St.producerNode[t];vc(i,St.producerIndexOfThis[t])}St.producerNode[t]!==e&&(St.producerNode[t]=e,St.producerIndexOfThis[t]=Fo(St)?S0(e,St,t):0),St.producerLastReadVersion[t]=e.version}function uoe(){mh++}function ss(e){if(!(Fo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===mh)){if(!e.producerMustRecompute(e)&&!fh(e)){Cl(e);return}e.producerRecomputeValue(e),Cl(e)}}function w0(e){if(e.liveConsumerNode===void 0)return;let t=cl;cl=!0;try{for(let i of e.liveConsumerNode)i.dirty||doe(i)}finally{cl=t}}function E0(){return(St==null?void 0:St.consumerAllowSignalWrites)!==!1}function doe(e){var t;e.dirty=!0,w0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Cl(e){e.dirty=!1,e.lastCleanEpoch=mh}function Lo(e){return e&&(e.nextProducerIndex=0),Oe(e)}function fc(e,t){if(Oe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Fo(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)vc(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function fh(e){yc(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 gc(e){if(yc(e),Fo(e))for(let t=0;t<e.producerNode.length;t++)vc(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&&I0(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 vc(e,t){if(k0(e),e.liveConsumerNode.length===1&&I0(e))for(let n=0;n<e.producerNode.length;n++)vc(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];yc(a),a.producerIndexOfThis[n]=t}}function Fo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function yc(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 I0(e){return e.producerNode!==void 0}function hoe(e,t){let i=Object.create(poe);i.computation=e,t!==void 0&&(i.equal=t);let n=()=>{if(ss(i),mc(i),i.value===fa)throw i.error;return i.value};return n[kn]=i,n}var za=Symbol("UNSET"),Tr=Symbol("COMPUTING"),fa=Symbol("ERRORED"),poe=bt(ue({},Yr),{value:za,dirty:!0,error:null,equal:ph,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=Lo(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{fc(e,i)}if(a){e.value=t;return}e.value=n,e.version++}});function moe(){throw new Error}var C0=moe;function D0(e){C0(e)}function foe(e){C0=e}function goe(e,t){let i=Object.create(O0);i.value=e,t!==void 0&&(i.equal=t);let n=()=>(mc(i),i.value);return n[kn]=i,n}function bc(e,t){E0()||D0(e),e.equal(e.value,t)||(e.value=t,voe(e))}function T0(e,t){E0()||D0(e),bc(e,t(e.value))}var O0=bt(ue({},Yr),{equal:ph,value:void 0,kind:"signal"});function voe(e){e.version++,uoe(),w0(e)}function Im(e,t,i){let n=Object.create(_oe);n.source=e,n.computation=t,i!=null&&(n.equal=i);let a=()=>{if(ss(n),mc(n),n.value===fa)throw n.error;return n.value};return a[kn]=n,a}function yoe(e,t){ss(e),bc(e,t),Cl(e)}function boe(e,t){ss(e),T0(e,t),Cl(e)}var _oe=bt(ue({},Yr),{value:za,dirty:!0,error:null,equal:ph,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=Lo(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{fc(e,i)}if(t!==za&&n!==fa&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function xoe(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var rd;function ul(){return rd}function sa(e){let t=rd;return rd=e,t}var N0=Symbol("NotFound");function it(e){return typeof e=="function"}function gh(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 ru=gh(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 od{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 ru?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{Cm(r)}catch(o){t=t??[],o instanceof ru?t=[...t,...o.errors]:t.push(o)}}if(t)throw new ru(t)}}add(t){var i;if(t&&t!==this)if(this.closed)Cm(t);else{if(t instanceof od){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 od&&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 Cm(e){it(e)?e():e.unsubscribe()}var woe={Promise:void 0},Eoe={setTimeout(e,t,...i){return setTimeout(e,t,...i)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function A0(e){Eoe.setTimeout(()=>{throw e})}function sd(){}function dl(e){e()}var vh=class extends pn{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,M0(e)&&e.add(this)):this.destination=Ioe}static create(e,t,i){return new Vo(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()}}},Soe=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){js(i)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){js(i)}else js(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){js(t)}}},Vo=class extends vh{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 Soe(n)}};function js(e){A0(e)}function koe(e){throw e}var Ioe={closed:!0,next:sd,error:koe,complete:sd},yh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Zr(e){return e}function Coe(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=Toe(i)?i:new Vo(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 Vo({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)}[yh](){return this}pipe(...i){return Coe(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??woe.Promise)!==null&&t!==void 0?t:Promise}function Doe(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function Toe(e){return e&&e instanceof vh||Doe(e)&&M0(e)}function Ooe(e){return it(e==null?void 0:e.lift)}function tn(e){return t=>{if(Ooe(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 Noe(e,t,i,n,a)}var Noe=class extends vh{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))}}},Poe=gh(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 Poe}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}},bh=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)}},_h={now(){return(_h.delegate||Date).now()},delegate:void 0},R0=class extends be{constructor(e=1/0,t=1/0,i=_h){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)}}},Moe=class extends pn{constructor(e,t){super()}schedule(e,t=0){return this}},ld={setInterval(e,t,...i){let{delegate:n}=ld;return n!=null&&n.setInterval?n.setInterval(e,t,...i):setInterval(e,t,...i)},clearInterval(e){return clearInterval(e)},delegate:void 0},Aoe=class extends Moe{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 ld.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&&ld.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()}}},cd=class L0{constructor(t,i=L0.now){this.schedulerActionCtor=t,this.now=i}schedule(t,i=0,n){return new this.schedulerActionCtor(this,t).schedule(n,i)}};cd.now=_h.now;var Roe=class extends cd{constructor(e,t=cd.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}}},xh=new Roe(Aoe),Loe=xh,F0=new ht(e=>e.complete());function V0(e){return e&&it(e.schedule)}function wh(e){return e[e.length-1]}function j0(e){return it(wh(e))?e.pop():void 0}function ls(e){return V0(wh(e))?e.pop():void 0}function Foe(e,t){return typeof wh(e)=="number"?e.pop():t}function Voe(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 joe(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 zoe(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[yh])}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 Boe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var W0=Boe();function q0(e){return it(e==null?void 0:e[W0])}function $0(e){return joe(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 vn(e){if(e instanceof ht)return e;if(e!=null){if(H0(e))return Hoe(e);if(z0(e))return Uoe(e);if(B0(e))return Goe(e);if(U0(e))return Z0(e);if(q0(e))return Woe(e);if(Y0(e))return qoe(e)}throw G0(e)}function Hoe(e){return new ht(t=>{let i=e[yh]();if(it(i.subscribe))return i.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Uoe(e){return new ht(t=>{for(let i=0;i<e.length&&!t.closed;i++)t.next(e[i]);t.complete()})}function Goe(e){return new ht(t=>{e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,A0)})}function Woe(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=>{$oe(e,t).catch(i=>t.error(i))})}function qoe(e){return Z0($0(e))}function $oe(e,t){var i,n,a,r;return Voe(this,void 0,void 0,function*(){try{for(i=zoe(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 Yoe(e,t){return vn(e).pipe(J0(t),K0(t))}function Zoe(e,t){return vn(e).pipe(J0(t),K0(t))}function Koe(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 Joe(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 Xoe(e,t){return X0($0(e),t)}function Qoe(e,t){if(e!=null){if(H0(e))return Yoe(e,t);if(z0(e))return Koe(e,t);if(B0(e))return Zoe(e,t);if(U0(e))return X0(e,t);if(q0(e))return Joe(e,t);if(Y0(e))return Xoe(e,t)}throw G0(e)}function ir(e,t){return t?Qoe(e,t):vn(e)}function yt(...e){let t=ls(e);return ir(e,t)}function ese(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 tse=gh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function nse(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 tse)}})})}function ise(e){return e instanceof Date&&!isNaN(e)}function Ht(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>{n.next(e.call(t,r,a++))}))})}var{isArray:ase}=Array;function rse(e,t){return ase(t)?e(...t):e(t)}function Q0(e){return Ht(t=>rse(e,t))}var{isArray:ose}=Array,{getPrototypeOf:sse,prototype:lse,keys:cse}=Object;function ev(e){if(e.length===1){let t=e[0];if(ose(t))return{args:t,keys:null};if(use(t)){let i=cse(t);return{args:i.map(n=>t[n]),keys:i}}}return{args:e,keys:null}}function use(e){return e&&typeof e=="object"&&sse(e)===lse}function tv(e,t){return e.reduce((i,n,a)=>(i[n]=t[a],i),{})}function dse(...e){let t=ls(e),i=j0(e),{args:n,keys:a}=ev(e);if(n.length===0)return ir([],t);let r=new ht(hse(n,t,a?o=>tv(a,o):Zr));return i?r.pipe(Q0(i)):r}function hse(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 pse(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;vn(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 jo(e,t,i=1/0){return it(t)?jo((n,a)=>Ht((r,o)=>t(n,r,a,o))(vn(e(n,a))),i):(typeof t=="number"&&(i=t),tn((n,a)=>pse(n,a,e,i)))}function nv(e=1/0){return jo(Zr,e)}function mse(){return nv(1)}function zo(...e){return mse()(ir(e,ls(e)))}function Tl(e){return new ht(t=>{vn(e()).subscribe(t)})}function iv(...e){let t=j0(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;vn(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 fse(e=0,t,i=Loe){let n=-1;return t!=null&&(V0(t)?i=t:n=t),new ht(a=>{let r=ise(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=Foe(e,1/0),n=e;return n.length?n.length===1?vn(n[0]):nv(i)(ir(n,t)):F0}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 gse(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||vn(e(c)).subscribe(r=$t(i,l,u))},()=>{o=!0,(!n||!r||r.closed)&&i.complete()}))})}function av(e,t=xh){return gse(()=>fse(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=vn(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)?jo(e,t,1):jo(e,1)}function sv(e,t=xh){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 jn(e){return e<=0?()=>F0:tn((t,i)=>{let n=0;t.subscribe($t(i,a=>{++n<=e&&(i.next(a),e<=n&&i.complete())}))})}function vse(e,t=Zr){return e=e??yse,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 yse(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=ou(x,a))}),T.subscribe(S),!o&&c>0&&(o=new Vo({next:L=>T.next(L),error:L=>{m=!0,v(),l=ou(g,i,L),T.error(L)},complete:()=>{h=!0,v(),l=ou(g,n),T.complete()}}),vn(w).subscribe(o))})(r)}}function ou(e,t,...i){if(t===!0){e();return}if(t===!1)return;let n=new Vo({next:()=>{n.unsubscribe(),e()}});return vn(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++;vn(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)=>{vn(e).subscribe($t(i,()=>i.complete(),sd)),!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 bse(e){return`NG0${Math.abs(e)}`}function hv(e,t){return`${bse(e)}${t?": "+t:""}`}var pv=Symbol("InputSignalNode#UNSET"),_se=bt(ue({},O0),{transformFn:void 0,applyValueToInputSignal(e,t){bc(e,t)}});function mv(e,t){let i=Object.create(_se);i.value=e,i.transformFn=t==null?void 0:t.transform;function n(){if(mc(i),i.value===pv){let a=null;throw new Z(-950,a)}return i.value}return n[kn]=i,n}function us(e){return{toString:e}.toString()}var zs="__parameters__";function xse(e){return function(...t){}}function fv(e,t,i){return us(()=>{let n=xse();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 wse(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 ud(e,t){return e?t?`${e} ${t}`:e:t||""}var Ese=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(Ese)&&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 Eh(e){return Mm(e,yv)||Mm(e,bv)}function Mm(e,t){return e.hasOwnProperty(t)?e[t]:null}function Sse(e){return e&&(e[yv]||e[bv])||null}function Am(e){return e&&(e.hasOwnProperty(Rm)||e.hasOwnProperty(kse))?e[Rm]:null}var yv=at({ɵprov:at}),Rm=at({ɵinj:at}),bv=at({ngInjectableDef:at}),kse=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 Ise=at({ɵcmp:at}),Cse=at({ɵdir:at}),Dse=at({ɵpipe:at}),Ol=at({ɵfac:at}),No=at({__NG_ELEMENT_ID__:at}),Lm=at({__NG_ENV_ID__:at});function _c(e){return typeof e=="string"?e:e==null?"":String(e)}function Tse(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_c(e)}function xv(e,t){throw new Z(-200,e)}function Sh(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||{}),dd;function wv(){return dd}function dn(e){let t=dd;return dd=e,t}function Ev(e,t,i){let n=Eh(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;Sh()}var Ose={},qa=Ose,hd="__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",Nse="ngTokenPath",Pse=/\n/gm,Mse="ɵ",Fm="__source";function Ase(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()||Ase)(qt(e),t)}function I(e,t=Me.Default){return pe(e,xc(t))}function xc(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pd(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=Rse(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[hd]=t,e.prototype[hd]=t,e}function Rse(e){return e[hd]}function Lse(e,t,i,n){let a=e[Nl];throw t[Fm]&&a.unshift(t[Fm]),e.message=Fse(`
|
|
16
|
-
`+e.message,a,i,n),e[Nse]=a,e[Nl]=null,e}function Fse(e,t,i,n=null){e=e&&e.charAt(0)===`
|
|
17
|
-
`&&e.charAt(1)==Mse?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(Pse,`
|
|
18
|
-
`)}`}var Vse=kv(fv("Optional"),8),jse=kv(fv("SkipSelf"),4);function $a(e,t){return e.hasOwnProperty(Ol)?e[Ol]:null}function zse(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 Bse(e){return e.flat(Number.POSITIVE_INFINITY)}function kh(e,t){e.forEach(i=>Array.isArray(i)?kh(i,t):t(i))}function Iv(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 Hse(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Use(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 Ih(e,t,i){let n=ds(e,t);return n>=0?e[n|1]=i:(n=~n,Use(e,n,t,i)),n}function su(e,t){let i=ds(e,t);if(i>=0)return e[i|1]}function ds(e,t){return Gse(e,t,1)}function Gse(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 _i={},hn=[],Ml=new se(""),Cv=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 Vr(e){return e[Ise]||null}function Ov(e){return e[Cse]||null}function Wse(e){return e[Dse]||null}function Ch(e){return{ɵproviders:e}}function qse(...e){return{ɵproviders:Nv(!0,e),ɵfromNgModule:!0}}function Nv(e,...t){let i=[],n=new Set,a,r=o=>{i.push(o)};return kh(t,o=>{let l=o;md(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];Dh(a,r=>{t(r,n)})}}function md(e,t,i,n){if(e=qt(e),!e)return!1;let a=null,r=Am(e),o=!r&&Vr(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)md(c,t,i,n)}}else if(r){if(r.imports!=null&&!l){n.add(a);let c;try{kh(r.imports,h=>{md(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;Dh(u,h=>{t(h,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Dh(e,t){for(let i of e)_v(i)&&(i=i.ɵproviders),Array.isArray(i)?Dh(i,t):t(i)}var $se=at({provide:String,useValue:at});function Mv(e){return e!==null&&typeof e=="object"&&$se in e}function Yse(e){return!!(e&&e.useExisting)}function Zse(e){return!!(e&&e.useFactory)}function jr(e){return typeof e=="function"}function Kse(e){return!!e.useClass}var Th=new se(""),pl={},Vm={},lu;function wc(){return lu===void 0&&(lu=new Tv),lu}var xi=class{},Oh=class extends xi{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,gd(t,o=>this.processProvider(o)),this.records.set(Cv,kr(void 0,this)),a.has("environment")&&this.records.set(xi,kr(void 0,this));let r=this.records.get(Th);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(Lm))return t[Lm](this);n=xc(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=tle(t)&&Eh(t);u&&this.injectableDefInScope(u)?l=kr(fd(t),pl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Me.Self?wc():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 Lse(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=jr(t)?t:qt(t&&t.provide),n=Xse(t);if(!jr(t)&&t.multi===!0){let a=this.records.get(i);a||(a=kr(void 0,pl,!0),a.factory=()=>pd(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===Vm?xv(zn(t)):i.value===pl&&(i.value=Vm,i.value=i.factory(void 0,n)),typeof i.value=="object"&&i.value&&ele(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 fd(e){let t=Eh(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 Jse(e);throw new Z(204,!1)}function Jse(e){if(e.length>0)throw new Z(204,!1);let t=Sse(e);return t!==null?()=>t.factory(e):()=>new e}function Xse(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(jr(e)){let a=qt(e);return $a(a)||fd(a)}else if(Mv(e))n=()=>qt(e.useValue);else if(Zse(e))n=()=>e.useFactory(...pd(e.deps||[]));else if(Yse(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(Qse(e))n=()=>new a(...pd(e.deps));else return $a(a)||fd(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 Qse(e){return!!e.deps}function ele(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function tle(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function gd(e,t){for(let i of e)Array.isArray(i)?gd(i,t):i&&_v(i)?gd(i.ɵproviders,t):t(i)}function Ec(e,t){let i;e instanceof Oh?(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 nle(e){return typeof e=="function"}var Xi=0,Se=1,_e=2,en=3,ti=4,yn=5,zr=6,Pr=7,Ut=8,Br=9,Ki=10,Ct=11,Ho=12,jm=13,Kr=14,Hn=15,Ya=16,Ir=17,ni=18,Sc=19,Lv=20,ga=21,cu=22,Ui=23,Bn=24,va=25,_t=26,Fv=1,Za=7,Al=8,Hr=9,Xt=10;function ya(e){return Array.isArray(e)&&typeof e[Fv]=="object"}function Qi(e){return Array.isArray(e)&&e[Fv]===!0}function Nh(e){return(e.flags&4)!==0}function Jr(e){return e.componentOffset>-1}function kc(e){return(e.flags&1)===1}function wi(e){return!!e.template}function Rl(e){return(e[_e]&512)!==0}function Xr(e){return(e[_e]&256)===256}var ile=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 Vv(e,t,i,n){t!==null?t.applyValueToInputSignal(t,n):e[i]=n}var Ph=(()=>{let e=()=>jv;return e.ngInherit=!0,e})();function jv(e){return e.type.prototype.ngOnChanges&&(e.setInput=rle),ale}function ale(){let e=Bv(this),t=e==null?void 0:e.current;if(t){let i=e.previous;if(i===_i)e.previous=t;else for(let n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function rle(e,t,i,n,a){let r=this.declaredInputs[n],o=Bv(e)||ole(e,{previous:_i,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new ile(c&&c.currentValue,i,u===_i),Vv(e,t,a,i)}var zv="__ngSimpleChanges__";function Bv(e){return e[zv]||null}function ole(e,t){return e[zv]=t}var Ka=function(e,t=null,i){},sle="svg",lle="math";function Ei(e){for(;Array.isArray(e);)e=e[Xi];return e}function Hv(e,t){return Ei(t[e])}function Ci(e,t){return Ei(t[e.index])}function Mh(e,t){return e.data[t]}function ps(e,t){return e[t]}function Ah(e,t,i,n){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}function Si(e,t){let i=t[e];return ya(i)?i:i[Xi]}function cle(e){return(e[_e]&4)===4}function Rh(e){return(e[_e]&128)===128}function ule(e){return Qi(e[en])}function Ja(e,t){return t==null?null:e[t]}function Uv(e){e[Ir]=0}function Lh(e){e[_e]&1024||(e[_e]|=1024,Rh(e)&&Qr(e))}function dle(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 vd(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,!Rh(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 hle(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 Vh(e){return e.cleanup??(e.cleanup=[])}function ple(e,t,i,n){let a=Fh(t);a.push(i),e.firstCreatePass&&Vh(e).push(n,a.length-1)}var Ne={lFrame:Qv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},yd=!1;function mle(){return Ne.lFrame.elementDepthCount}function fle(){Ne.lFrame.elementDepthCount++}function gle(){Ne.lFrame.elementDepthCount--}function vle(){return Ne.bindingsEnabled}function Wv(){return Ne.skipHydrationRootTNode!==null}function yle(e){return Ne.skipHydrationRootTNode===e}function ble(){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 un(){let e=qv();for(;e!==null&&e.type===64;)e=e.parent;return e}function qv(){return Ne.lFrame.currentTNode}function _le(){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 zh(){Ne.lFrame.isParent=!1}function $v(){return Ne.lFrame.contextLView}function Yv(){return yd}function Ll(e){let t=yd;return yd=e,t}function eo(){let e=Ne.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xle(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 wle(){return Ne.lFrame.inI18n}function Ele(e,t){let i=Ne.lFrame;i.bindingIndex=i.bindingRootIndex=e,bd(t)}function Sle(){return Ne.lFrame.currentDirectiveIndex}function bd(e){Ne.lFrame.currentDirectiveIndex=e}function kle(e){let t=Ne.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Kv(){return Ne.lFrame.currentQueryIndex}function Bh(e){Ne.lFrame.currentQueryIndex=e}function Ile(e){let t=e[Se];return t.type===2?t.declTNode:t.type===1?e[yn]: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=Ile(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 Hh(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 Uh(){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 Cle(e){return(Ne.lFrame.contextLView=dle(e,Ne.lFrame.contextLView))[Ut]}function ea(){return Ne.lFrame.selectedIndex}function Qa(e){Ne.lFrame.selectedIndex=e}function Gh(){let e=Ne.lFrame;return Mh(e.tView,e.selectedIndex)}function Dle(){return Ne.lFrame.currentNamespace}var ny=!0;function Ic(){return ny}function Cc(e){ny=e}function Tle(e,t,i){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(n){let o=jv(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 Wh(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 uu(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[Ir]&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[Ir]+=65536),(l<r||r==-1)&&(Ole(e,i,t,u),e[Ir]=(e[Ir]&4294901760)+u+2),u++}function zm(e,t){let i=Oe(null);try{t.call(e)}finally{Oe(i)}}function Ole(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[Ir]>>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 Nle(e){return(e.flags&8)!==0}function Ple(e){return(e.flags&16)!==0}function Mle(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];Ale(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 Ale(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 Fl(e){return e&32767}function Rle(e){return e>>16}function Vl(e,t){let i=Rle(e),n=t;for(;i>0;)n=n[Kr],i--;return n}var _d=!0;function jl(e){let t=_d;return _d=e,t}var Lle=256,oy=Lle-1,sy=5,Fle=0,bi={};function Vle(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(No)&&(n=i[No]),n==null&&(n=i[No]=Fle++);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,du(n.data,e),du(t,null),du(n.blueprint,null));let a=qh(e,t),r=e.injectorIndex;if(ry(a)){let o=Fl(a),l=Vl(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 du(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 qh(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 xd(e,t,i){Vle(e,t,i)}function jle(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;Sh()}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=Ule(e,t,i,n,bi);if(o!==bi)return o}let r=hy(e,t,i,n,bi);if(r!==bi)return r}return uy(t,i,n,a)}function hy(e,t,i,n,a){let r=Ble(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))Sh(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][yn]:null;for((l===-1||n&Me.SkipSelf)&&(u=l===-1?qh(e,t):t[l+8],u===Mr||!Um(n,!1)?l=-1:(o=t[Se],l=Fl(u),t=Vl(u,t)));l!==-1;){let h=t[Se];if(Hm(r,l,h.data)){let m=zle(l,t,i,o,n,c);if(m!==bi)return m}u=t[l+8],u!==Mr&&Um(n,t[Se].data[l+8]===c)&&Hm(r,l,t)?(o=h,l=Fl(u),t=Vl(u,t)):l=-1}}return a}function zle(e,t,i,n,a,r){let o=t[Se],l=o.data[e+8],u=n==null?Jr(l)&&_d: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):bi}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&&wi(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(Tse(o[i]));let u=jl(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&&Tle(i,o[i],t)}finally{c!==null&&dn(c),jl(u),l.resolving=!1,ty()}}return r}function Ble(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:Hle: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,xc(i),t)}};function Hle(){return new Po(un(),we())}function Gt(e){return us(()=>{let t=e.prototype.constructor,i=t[Ol]||wd(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let r=a[Ol]||wd(a);if(r&&r!==i)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function wd(e){return vv(e)?()=>{let t=wd(qt(e));return t&&t()}:$a(e)}function Ule(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,bi);if(l!==bi)return l;let u=r.parent;if(!u){let c=o[Lv];if(c){let h=c.get(i,bi,n);if(h!==bi)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[yn]:null}function Gle(e){return jle(un(),e)}function Gm(e,t=null,i=null,n){let a=Wle(e,t,i,n);return a.resolveInjectorInitializers(),a}function Wle(e,t=null,i=null,n,a=new Set){let r=[i||hn,qse(e)];return n=n||(typeof e=="object"?void 0:zn(e)),new Oh(r,t||wc(),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(Cv)})),s(pi,"__NG_ELEMENT_ID__",-1),pi),qle=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Gle(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},$le=new se("");$le.__NG_ELEMENT_ID__=e=>{let t=un();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__",Yle),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),()=>hle(i,t))}};function Yle(){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 bh(!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})(),Zle=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Rv()&&(this.destroyRef=I(ii,{optional:!0})??void 0,this.pendingTasks=I(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))}})}}},zt=Zle;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 $h="isAngularZone",Bl=$h+"_ID",Kle=0,We=class Ed{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new zt(!1));s(this,"onMicrotaskEmpty",new zt(!1));s(this,"onStable",new zt(!1));s(this,"onError",new zt(!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,Qle(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get($h)===!0}static assertInAngularZone(){if(!Ed.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(Ed.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,Jle,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)}},Jle={};function Yh(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 Xle(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){by(()=>{e.callbackScheduled=!1,Sd(e),e.isCheckStableRunning=!0,Yh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Sd(e)}function Qle(e){let t=()=>{Xle(e)},i=Kle++;e._inner=e._inner.fork({name:"angular",properties:{[$h]:!0,[Bl]:i,[Bl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if(tce(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&&!nce(u)&&t(),$m(e)}},onHasTask:(n,a,r,o)=>{n.hasTask(r,o),a===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Sd(e),Yh(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 Sd(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--,Yh(e)}var ece=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new zt);s(this,"onMicrotaskEmpty",new zt);s(this,"onStable",new zt);s(this,"onError",new zt)}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 tce(e){return _y(e,"__ignore_ng_zone__")}function nce(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)}},ice=new se("",{providedIn:"root",factory:()=>{let e=I(We),t=I(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),ace=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",I(ai,{optional:!0}));s(this,"destroyRef",I(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 ace}function Zm(e,t){return mv(e,t)}function rce(e){return mv(pv,e)}var fe=(Zm.required=rce,Zm);function oce(){return io(un(),we())}function io(e,t){return new Rt(Ci(e,t))}var Rt=(()=>{class e{constructor(i){s(this,"nativeElement");this.nativeElement=i}}return s(e,"__NG_ELEMENT_ID__",oce),e})();function sce(e){return e instanceof Rt?e.nativeElement:e}function Km(e){return typeof e=="function"&&e[kn]!==void 0}function kd(e,t){let i=goe(e,t==null?void 0:t.equal),n=i[kn];return i.set=a=>bc(n,a),i.update=a=>T0(n,a),i.asReadonly=xy.bind(i),i}function xy(){let e=this[kn];if(e.readonlyFn===void 0){let t=()=>this();t[kn]=e,e.readonlyFn=t}return e.readonlyFn}function lce(){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,lce);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=Bse(e);(this._changesDetected=!zse(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,cce=0;function uce(){return cce++}function dce(e){Sy.set(e[Sc],e)}function Id(e){Sy.delete(e[Sc])}var Jm="__ngContext__";function ao(e,t){ya(t)?(e[Jm]=t[Sc],dce(t)):e[Jm]=t}function ky(e){return Cy(e[Ho])}function Iy(e){return Cy(e[ti])}function Cy(e){for(;e!==null&&!Qi(e);)e=e[ti];return e}var Cd;function hce(e){Cd=e}function pce(){if(Cd!==void 0)return Cd;if(typeof document<"u")return document;throw new Z(210,!1)}var Zh=new se("",{providedIn:"root",factory:()=>mce}),mce="ng",Dy=new se(""),Dc=new se("",{providedIn:"platform",factory:()=>"unknown"}),ar=new se(""),Kh=new se("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=pce().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Ty=!1,fce=new se("",{providedIn:"root",factory:()=>Ty}),Jh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Jh||{}),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 Xh=(()=>{class e{constructor(i,n){s(this,"view");s(this,"node");this.view=i,this.node=n}}return s(e,"__NG_ELEMENT_ID__",gce),e})();function gce(){return new Xh(we(),un())}var Cr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Cr||{}),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})(),vce=[Cr.EarlyRead,Cr.Write,Cr.MixedReadWrite,Cr.Read],yce=(()=>{const t=class t{constructor(){s(this,"ngZone",I(We));s(this,"scheduler",I(no));s(this,"errorHandler",I(ai,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);I(vs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of vce)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(Jh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),bce=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)??I(st);return rr("NgAfterRender"),Py(e,i,t,!1)}function Qh(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??I(st);return rr("NgAfterNextRender"),Py(e,i,t,!0)}function _ce(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(yce));let r=t.get(vs,null,{optional:!0}),o=(i==null?void 0:i.phase)??Cr.MixedReadWrite,l=(i==null?void 0:i.manualCleanup)!==!0?t.get(ii):null,u=t.get(Xh,null,{optional:!0}),c=new bce(a.impl,_ce(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var xce=()=>null;function My(e,t,i=!1){return xce()}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];Bh(r),l.contentQueries(2,t[o],o)}}}finally{Oe(n)}}}function Dd(e,t,i){Bh(0);let n=Oe(null);try{t(e,i)}finally{Oe(n)}}function ep(e,t,i){if(Nh(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 wce(){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 Tc(e){var t;return((t=wce())==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})`}},Ece=class extends or{getTypeName(){return"HTML"}},Sce=class extends or{getTypeName(){return"Style"}},kce=class extends or{getTypeName(){return"Script"}},Ice=class extends or{getTypeName(){return"URL"}},Cce=class extends or{getTypeName(){return"ResourceURL"}};function la(e){return e instanceof or?e.changingThisBreaksApplicationSecurity:e}function _r(e,t){let i=Dce(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 Dce(e){return e instanceof or&&e.getTypeName()||null}function Tce(e){return new Ece(e)}function Oce(e){return new Sce(e)}function Nce(e){return new kce(e)}function Pce(e){return new Ice(e)}function Mce(e){return new Cce(e)}function Ace(e){let t=new Lce(e);return Fce()?new Rce(t):t}var Rce=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(Tc(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):((t=i.firstChild)==null||t.remove(),i)}catch{return null}}},Lce=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=Tc(e),t}};function Fce(){try{return!!new window.DOMParser().parseFromString(Tc(""),"text/html")}catch{return!1}}var Vce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function tp(e){return e=String(e),e.match(Vce)?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"),Ly=ta("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fy=ta("rp,rt"),jce=ys(Fy,Ly),zce=ys(Ly,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")),Bce=ys(Fy,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,zce,Bce,jce),Vy=ta("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hce=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"),Uce=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"),Gce=ys(Vy,Hce,Uce),Wce=ta("script,style,template"),qce=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=Zce(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=Yce(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,!Wce.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(!Gce.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Vy[o]&&(l=tp(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 $ce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Yce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw jy(t);return t}function Zce(e){let t=e.firstChild;if(t&&$ce(e,t))throw jy(t);return t}function ef(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function jy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Kce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jce=/([^\#-~ |!])/g;function tf(e){return e.replace(/&/g,"&").replace(Kce,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(Jce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Hs;function Xce(e,t){let i=null;try{Hs=Hs||Ace(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 qce().sanitizeChildren(nf(i)||i);return Tc(o)}finally{if(i){let n=nf(i)||i;for(;n.firstChild;)n.firstChild.remove()}}}function nf(e){return"content"in e&&Qce(e)?e.content:null}function Qce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var eue=/^>|^->|<!--|-->|--!>|<!-$/g,tue=/(<|>)/g,nue="$1";function iue(e){return e.replace(eue,t=>t.replace(tue,nue))}function aue(e,t){return e.createText(t)}function rue(e,t,i){e.setValue(t,i)}function oue(e,t){return e.createComment(iue(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 sue(e,t,i){e.removeChild(null,t,i)}function lue(e,t,i){e.setAttribute(t,"style",i)}function cue(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&&Mle(e,t,n),a!==null&&cue(e,t,a),r!==null&&lue(e,t,r)}var En=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}(En||{});function Uy(e){let t=uue();return t?t.sanitize(En.URL,e)||"":_r(e,"URL")?la(e):tp(_c(e))}function uue(){let e=we();return e&&e[Ki].sanitizer}function due(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 hue(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&due(t[a+1].toLowerCase(),i,0)!==-1)return!0}else if(np(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 np(e){return e.type===4&&e.value!==Gy}function pue(e,t,i){let n=e.type===4&&!i?Gy:e.value;return t===n}function mue(e,t,i){let n=4,a=e.attrs,r=a!==null?vue(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!==""&&!pue(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!hue(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=fue(u,a,np(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 fue(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 yue(t,e)}function Wy(e,t,i=!1){for(let n=0;n<t.length;n++)if(mue(e,t[n],i))return!0;return!1}function gue(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function vue(e){for(let t=0;t<e.length;t++){let i=e[t];if(ay(i))return t}return e.length}function yue(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 bue(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 _ue(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 xue(e){return e.map(_ue).join(",")}function wue(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 ip(e,t,i,n,a,r,o,l,u,c,h){let m=_t+n,v=m+a,g=Eue(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 Eue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function Sue(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ip(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ap(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[Ct]=l||e&&e[Ct],m[Br]=u||e&&e[Br]||null,m[yn]=r,m[Sc]=uce(),m[zr]=h,m[Lv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function kue(e,t,i){let n=Ci(t,e),a=Sue(i),r=e[Ki].rendererFactory,o=rp(e,ap(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 rp(e,t){return e[Ho]?e[jm][ti]=t:e[Ho]=t,e[jm]=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 Oc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Oc||{});function Td(e,t,i,n){let a=Oe(null);try{let[r,o,l]=e.inputs[i],u=null;o&Oc.SignalBased&&(u=t[r][kn]),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):Vv(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 Nc(e,t,i){Tue(e,t,i),(i.flags&64)===64&&Oue(e,t,i)}function op(e,t,i=Ci){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 Iue(e,t,i,n){let a=n.get(fce,Ty)||i===Gi.ShadowDom;return e.selectRootElement(t,a)}function Cue(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&&lp(t,e,i,n,a)){Jr(t)&&Due(i,t.index);return}if(t.type&3){let u=Ci(t,i);n=Cue(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function Due(e,t){let i=Si(t,e);i[_e]&16||(i[_e]|=64)}function Tue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Jr(i)&&kue(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&&Aue(t,o-n,u,l,i,r),wi(l)){let c=Si(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function Oue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=Sle();try{Qa(r);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];bd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Nue(u,c)}}finally{Qa(-1),bd(o)}}function Nue(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function sp(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=[]),wi(r)?n.unshift(r):n.push(r))}return n}function Pue(e,t,i,n,a,r){let o=Ci(e,t);Mue(t[Ct],o,r,e.value,i,n,a)}function Mue(e,t,i,n,a,r,o){if(r==null)e.removeAttribute(t,a,i);else{let l=o==null?_c(r):o(r,n||"",a);e.setAttribute(t,a,l,i)}}function Aue(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];Td(n,i,u,c)}}function Rue(e,t){let i=e[Br],n=i?i.get(ai,null):null;n&&n.handleError(t)}function lp(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];Td(g,i[m],v,a),l=!0}if(r)for(let h of r){let m=i[h],v=t.data[h];Td(v,m,n,a),l=!0}return l}function Lue(e,t){let i=Si(t,e),n=i[Se];Fue(n,i);let a=i[Xi];a!==null&&i[zr]===null&&(i[zr]=My(a,i[Br])),cp(n,i,i[Ut]),Ka(19,i[Ut])}function Fue(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}function cp(e,t,i){var n;Hh(t);try{let a=e.viewQuery;a!==null&&Dd(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&&Dd(2,e.viewQuery,i);let o=e.components;o!==null&&Vue(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,Uh()}}function Vue(e,t){for(let i=0;i<t.length;i++)Lue(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=ap(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)),cp(r,l,i),l}finally{Oe(a)}}function Gr(e,t){return!t||t.firstChild===null||wy(e)}var jue;function up(e,t){return jue(e,t)}var da=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(da||{});function dp(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=Ei(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?sue(t,l,o):e===3&&t.destroyNode(l),r!=null&&Zue(t,e,r,i,a)}}function zue(e,t){Jy(e,t),t[Xi]=null,t[yn]=null}function Bue(e,t,i,n,a,r){n[Xi]=a,n[yn]=t,Ac(e,n,i,1,a,r)}function Jy(e,t){var i;(i=t[Ki].changeDetectionScheduler)==null||i.notify(9),Ac(e,t,t[Ct],2,null,null)}function Hue(e){let t=e[Ho];if(!t)return hu(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)&&hu(t[Se],t),t=t[en];t===null&&(t=e),ya(t)&&hu(t[Se],t),i=t&&t[ti]}t=i}}function hp(e,t){let i=e[Hr],n=i.indexOf(t);i.splice(n,1)}function Pc(e,t){if(Xr(t))return;let i=t[Ct];i.destroyNode&&Ac(e,t,i,3,null,null),Hue(t)}function hu(e,t){if(Xr(t))return;let i=Oe(null);try{t[_e]&=-129,t[_e]|=256,t[Bn]&&gc(t[Bn]),Gue(e,t),Uue(e,t),t[Se].type===1&&t[Ct].destroy();let n=t[Ya];if(n!==null&&Qi(t[en])){n!==t[en]&&hp(n,t);let a=t[ni];a!==null&&a.detachView(e)}Id(t)}finally{Oe(i)}}function Uue(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 Gue(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 Wue(e,t.parent,i)}function Wue(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 Ci(n,i)}function Qy(e,t,i){return $ue(e,t,i)}function que(e,t,i){return e.type&40?Ci(e,i):null}var $ue=que;function Mc(e,t,i,n){let a=Xy(e,n,t),r=t[Ct],o=n.parent||t[yn],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 Io(e,t){if(t!==null){let i=t.type;if(i&3)return Ci(t,e);if(i&4)return Od(-1,e[t.index]);if(i&8){let n=t.child;if(n!==null)return Io(e,n);{let a=e[t.index];return Qi(a)?Od(-1,a):Ei(a)}}else{if(i&128)return Io(e,t.next);if(i&32)return up(t,e)()||Ei(e[t.index]);{let n=eb(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Xa(e[Hn]);return Io(a,n)}else return Io(e,t.next)}}}return null}function eb(e,t){if(t!==null){let i=e[Hn][yn],n=t.projection;return i.projection[n]}return null}function Od(e,t){let i=Xt+e+1;if(i<t.length){let n=t[i],a=n[Se].firstChild;if(a!==null)return Io(n,a)}return t[Za]}function pp(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(Ei(l),n),i.flags|=2),!dp(i))if(u&8)pp(e,t,i.child,n,a,r,!1),Dr(t,e,a,l,r);else if(u&32){let c=up(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 Ac(e,t,i,n,a,r){pp(i,n,e.firstChild,t,a,r,!1)}function Yue(e,t,i){let n=t[Ct],a=Xy(e,i,t),r=i.parent||t[yn],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[yn].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),pp(e,t,u,c,a,r,!0)}}function Zue(e,t,i,n,a){let r=i[Za],o=Ei(i);r!==o&&Dr(t,e,n,r,a);for(let l=Xt;l<i.length;l++){let u=i[l];Ac(u[Se],u,e,t,n,r)}}function Kue(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(Ei(r)),Qi(r)&&Jue(r,n);let o=i.type;if(o&8)Gl(e,t,i.child,n);else if(o&32){let l=up(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 Jue(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 Xue(e){return e[Bn]??Que(e)}function Que(e){let t=ib.pop()??Object.create(tde);return t.lView=e,t}function ede(e){e.lView[Bn]!==e&&(e.lView=null,ib.push(e))}var tde=bt(ue({},Yr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Qr(e.lView)},consumerOnSignalRead(){this.lView[Bn]=this}});function nde(e){let t=e[Bn]??Object.create(ide);return t.lView=e,t}var ide=bt(ue({},Yr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Xa(e.lView);for(;t&&!ab(t[Se]);)t=Xa(t);t&&Lh(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 ade=100;function ob(e,t=!0,i=0){var a,r;let n=e[Ki].rendererFactory;(a=n.begin)==null||a.call(n);try{rde(e,i)}catch(o){throw t&&Rue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function rde(e,t){let i=Yv();try{Ll(!0),Nd(e,t);let n=0;for(;ms(e);){if(n===ade)throw new Z(103,!1);n++,Nd(e,1)}}finally{Ll(i)}}function ode(e,t,i,n){if(Xr(t))return;let a=t[_e],r=!1,o=!1;Hh(t);let l=!0,u=null,c=null;ab(e)?(c=Xue(t),u=Lo(c)):coe()===null?(l=!1,c=nde(t),u=Lo(c)):t[Bn]&&(gc(t[Bn]),t[Bn]=null);try{Uv(t),xle(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),uu(t,0)}if(o||sde(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),uu(t,1)}cde(e,t);let m=e.components;m!==null&&cb(t,m,0);let v=e.viewQuery;if(v!==null&&Dd(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),uu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[cu]){for(let g of t[cu])g();t[cu]=null}r||(nb(t),t[_e]&=-73)}catch(h){throw Qr(t),h}finally{c!==null&&(fc(c,u),l&&ede(c)),Uh()}}function sb(e,t){for(let i=ky(e);i!==null;i=Iy(i))for(let n=Xt;n<i.length;n++){let a=i[n];lb(a,t)}}function sde(e){for(let t=ky(e);t!==null;t=Iy(t)){if(!(t[_e]&2))continue;let i=t[Hr];for(let n=0;n<i.length;n++){let a=i[n];Lh(a)}}}function lde(e,t,i){let n=Si(t,e);lb(n,i),Ka(19,n[Ut])}function lb(e,t){Rh(e)&&Nd(e,t)}function Nd(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&&fh(a))),r||(r=!1),a&&(a.dirty=!1),e[_e]&=-9217,r)ode(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++)lde(e,t[n],i)}function cde(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];Ele(o,r);let u=t[r];Ka(24,u),l(2,u),Ka(25,u)}}}finally{Qa(-1)}}function mp(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(ude(a,t,e,i),n){let o=Od(i,e),l=t[Ct],u=l.parentNode(e[Za]);u!==null&&Bue(a,e[yn],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&&Pc(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&&hp(a,n),t>0&&(e[i-1][ti]=n[ti]);let r=Pl(e,Xt+t);zue(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 ude(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],Iv(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),vd(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}Pc(this._lView[Se],this._lView)}onDestroy(e){Gv(this._lView,e)}markForCheck(){mp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_e]&=-129}reattach(){vd(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&&hp(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),vd(this._lView)}};function dde(e){return ms(e._lView)||!!(e._lView[_e]&64)}function hde(e){Lh(e._cdRefInjectingView||e._lView)}var Wr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",fde),e})(),pde=Wr,mde=class extends pde{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 fde(){return Rc(un(),we())}function Rc(e,t){return e.type&4?new mde(t,e,io(e,t)):null}function ro(e,t,i,n,a){let r=e.data[t];if(r===null)r=gde(e,t,i,n,a),wle()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=_le();r.injectorIndex=o===null?-1:o.injectorIndex}return Sa(r,!0),r}function gde(e,t,i,n,a){let r=qv(),o=jh(),l=o?r:r&&r.parent,u=e.data[t]=yde(e,l,i,t,n,a);return vde(e,u,r,o),u}function vde(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 yde(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 bde=()=>null;function qr(e,t){return bde()}var _de=class{},mb=class{},xde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${zn(e)}.`)}},id,xs=(id=class{},s(id,"NULL",new xde),id),oi=class{},oo=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>wde()),e})();function wde(){let e=we(),t=un(),i=Si(t.index,e);return(ya(i)?i:e)[Ct]}var Ede=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),pu={},Sde=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,i){i=xc(i);let n=this.injector.get(e,pu,i);return n!==pu||t===pu?n:this.parentInjector.get(e,t,i)}};function Pd(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=ud(a,l);else if(r==2){let u=l,c=t[++o];n=ud(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=un();return dy(n,i,qt(e),t)}function fp(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=Ide(o);h===null?l=o:[l,u,c]=h,Tde(e,t,i,l,r,u,c)}r!==null&&n!==null&&kde(i,n,r)}function kde(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 Ide(e){let t=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&wi(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),Cde(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 Cde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function Dde(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function Tde(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&&wi(g)&&(u=!0,Dde(e,i,v)),xd(zl(i,t),e,g.type)}Rde(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),Nde(e,i,t,m,g),Ade(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++}Ode(e,i,r)}function Ode(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||np(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 Nde(e,t,i,n,a){e.data[n]=a;let r=a.factory||(a.factory=$a(a.type)),o=new fs(r,wi(a),Qt);e.blueprint[n]=o,i[n]=o,Pde(e,t,n,$y(e,i,a.hostVars,ri),a)}function Pde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;Mde(o)!=l&&o.push(l),o.push(i,n,r)}}function Mde(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function Ade(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;wi(t)&&(i[""]=e)}}function Rde(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 fp(t,i,h,Ja(u,l),a),h.mergedAttrs=Ur(h.mergedAttrs,h.attrs),h.attrs!==null&&Pd(h,h.attrs,!1),h.mergedAttrs!==null&&Pd(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function vb(e,t){Wh(e,t),Nh(t)&&e.queries.elementEnd(t)}var Lde=class extends xs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let i=Vr(t);return new gp(i,this.ngModule)}};function Fde(e){return Object.keys(e).map(t=>{let[i,n,a]=e[t],r={propName:i,templateName:t,isSignal:(n&Oc.SignalBased)!==0};return a&&(r.transform=a),r})}function Vde(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function jde(e,t,i){let n=t instanceof xi?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new Sde(i,n):i}function zde(e){let t=e.get(oi,null);if(t===null)throw new Z(407,!1);let i=e.get(Ede,null),n=e.get(no,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function Bde(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return zy(t,i,i==="svg"?sle:i==="math"?lle:null)}var gp=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=xue(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=Fde(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Vde(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"]:wue(this.componentDef.selectors[0]),u=ip(0,null,null,1,0,null,null,null,null,[l],null),c=jde(o,a||this.ngModule,t),h=zde(c),m=h.rendererFactory.createRenderer(null,o),v=n?Iue(m,n,o.encapsulation,c):Bde(o,m),g=ap(null,u,null,512|qy(o),null,null,h,m,c,null,My(v,c,!0));g[_t]=v,Hh(g);let x=null;try{let w=gb(_t,u,g,"#host",()=>[this.componentDef],!0,0);v&&(Hy(m,v,w),ao(v,g)),Nc(u,g,w),ep(u,w,g),vb(u,w),i!==void 0&&Ude(w,this.ngContentSelectors,i),x=Si(w.index,g),g[Ut]=x[Ut],cp(u,g,null)}catch(w){throw x!==null&&Id(x),Id(g),w}finally{Ka(23),Uh()}return new Hde(this.componentType,g)}finally{Oe(r)}}},Hde=class extends _de{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=Mh(i[Se],_t),this.location=io(this._tNode,i),this.instance=Si(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;lp(n,a[Se],a,t,i),this.previousInputValues.set(t,i);let r=Si(n.index,a);mp(r,1)}get injector(){return new Po(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ude(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__",Gde),e})();function Gde(){let e=un();return bb(e,we())}var Wde=ws,yb=class extends Wde{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=qh(this._hostTNode,this._hostLView);if(ry(t)){let i=Vl(t,this._hostLView),n=Fl(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&&!nle(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 gp(Vr(t)),c=n||this.parentInjector;if(!r&&u.ngModule==null){let x=(o?c:this.parentInjector).get(xi,null);x&&(r=x)}let h=Vr(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(ule(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[en],c=new yb(u,u[yn],u[en]);c.detach(c.indexOf(t))}}let r=this._adjustIndex(i),o=this._lContainer;return _s(o,a,r,n),t.attachToViewContainerRef(),Iv(mu(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(mu(this._lContainer),i),Pc(n[Se],n))}detach(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);return n&&Pl(mu(this._lContainer),i)!=null?new qo(n):null}_adjustIndex(t,i=0){return t??this.length+i}};function cf(e){return e[Al]}function mu(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,rp(t,i)),$de(i,t,e,n),new yb(i,e,t)}function qde(e,t){let i=e[Ct],n=i.createComment(""),a=Ci(t,e),r=i.parentNode(a);return Ul(i,r,n,i.nextSibling(a),!1),n}var $de=Yde;function Yde(e,t,i,n){if(e[Za])return;let a;i.type&8?a=Ei(n):a=qde(t,i),e[Za]=a}var Zde=class _b{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new _b(this.queryList)}setDirty(){this.queryList.setDirty()}},Kde=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++)vp(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=ohe(e):this.predicate=e}},Jde=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)}},Xde=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,Qde(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 Qde(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 ehe(e,t){return e.type&11?io(e,t):e.type&4?Rc(e,t):null}function the(e,t,i,n){return i===-1?ehe(t,e):i===-2?nhe(e,t,n):Uo(e,e[Se],i,t)}function nhe(e,t,i){if(i===Rt)return io(t,e);if(i===Wr)return Rc(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(the(t,h,o[u+1],i.metadata.read))}}a.matches=l}return a.matches}function Md(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]&&Md(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];Md(g[Se],g,c,n)}}}}}return n}function ihe(e,t){return e[ni].queries[t].queryList}function Ib(e,t,i){let n=new Hl((i&4)===4);return ple(e,t,n,n.destroy),(t[ni]??(t[ni]=new Kde)).queries.push(new Zde(n))-1}function ahe(e,t,i){let n=mt();return n.firstCreatePass&&(Cb(n,new wb(e,t,i),-1),(t&2)===2&&(n.staticViewQueries=!0)),Ib(n,we(),t)}function rhe(e,t,i,n){let a=mt();if(a.firstCreatePass){let r=un();Cb(a,new wb(t,i,n),r.index),she(a,e)}return Ib(a,we(),i)}function ohe(e){return e.split(",").map(t=>t.trim())}function Cb(e,t,i){e.queries===null&&(e.queries=new Jde),e.queries.track(new Xde(t,i))}function she(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 vp(e,t){return e.queries.getByIndex(t)}function lhe(e,t){let i=e[Se],n=vp(i,t);return n.crossesNgTemplate?Md(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 Lde(this));s(this,"instance",null);let i=new Oh([...t.providers,{provide:$o,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],t.parent||wc(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function che(e,t,i=null){return new Db({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var uhe=(()=>{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?che([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(xi))}));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(uhe).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=fhe(i),i})}function dhe(e){return Vr(e)||Ov(e)}function hhe(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 phe(e,t){if(e==null)return _i;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=Oc.None,u=null),i[r]=[n,l,u],t[r]=o}return i}function mhe(e){if(e==null)return _i;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||_i,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:phe(e.inputs,t),outputs:mhe(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?Wse:dhe;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(hhe)}function fhe(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 ghe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=ghe(e.type),i=!0,n=[e];for(;t;){let a;if(wi(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=fu(e.inputs),o.declaredInputs=fu(e.declaredInputs),o.outputs=fu(e.outputs);let l=a.hostBindings;l&&xhe(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&bhe(e,u),c&&_he(e,c),vhe(e,a),wse(e.outputs,a.outputs),wi(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)}yhe(n)}function vhe(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 yhe(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 fu(e){return e===_i?{}:e===hn?[]:e}function bhe(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function _he(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function xhe(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function whe(e){let t=i=>{let n=Array.isArray(e);i.hostDirectives===null?(i.findHostDirectiveDefs=Nb,i.hostDirectives=n?e.map(Ad):[e]):n?i.hostDirectives.unshift(...e.map(Ad)):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(Ad(r),t,i)}else df(n,t,i)}function df(e,t,i){let n=Ov(e.directive);Ehe(n.declaredInputs,e.inputs),Nb(n,t,i),i.set(n,e),t.push(n)}function Ad(e){return typeof e=="function"?{directive:qt(e),inputs:_i,outputs:_i}:{directive:qt(e.directive),inputs:hf(e.inputs),outputs:hf(e.outputs)}}function hf(e){if(e===void 0||e.length===0)return _i;let t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function Ehe(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 In(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=In(e,t,i);return In(e,t+1,n)||a}function She(e,t,i,n,a){let r=Wl(e,t,i,n);return In(e,t+2,a)||r}function khe(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function Ihe(e,t,i,n,a,r,o,l,u){let c=t.consts,h=ro(t,e,4,o||null,l||null);fp(t,i,h,Ja(c,u),sp),h.mergedAttrs=Ur(h.mergedAttrs,h.attrs),Wh(t,h);let m=h.tView=ip(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?Ihe(h,t,e,n,a,r,o,l,u):t.data[h];Sa(m,!1);let v=Che(t,e);Ic()&&Mc(t,e,v,m),ao(v,e);let g=ub(v,e,v,m);return e[h]=g,rp(e,g),kc(m)&&Nc(t,e,m),u!=null&&op(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 Che=Dhe;function Dhe(e,t,i,n){return Cc(!0),t[Ct].createComment("")}var The=new se(""),Rb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new Ohe}));let e=t;return e})(),Ohe=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 Lb(e){return!!e&&typeof e.then=="function"}function Nhe(e){return!!e&&typeof e.subscribe=="function"}var Phe=new se(""),Fb=(()=>{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",I(Phe,{optional:!0})??[]);s(this,"injector",I(st))}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=Ec(this.injector,r);if(Lb(o))n.push(o);else if(Nhe(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})(),Mhe=new se("");function Ahe(){foe(()=>{throw new Z(600,!1)})}function Rhe(e){return e.isBoundToModule}var Lhe=10,wa=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",I(ice));s(this,"afterRenderManager",I(Oy));s(this,"zonelessEnabled",I(gy));s(this,"rootEffectScheduler",I(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",I(gs).hasPendingTasks.pipe(Ht(n=>!n)));s(this,"_injector",I(xi));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()}});I(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(Fb).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=Rhe(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(The,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(Jh.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++<Lhe;)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)Fhe(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(Mhe,[]).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 Fhe(e,t,i,n){!i&&!ms(e)||ob(e,t,i&&!n?0:1)}function Lt(e,t,i,n){let a=we(),r=to();if(In(a,r,t)){mt();let o=Gh();Pue(o,a,e,t,i,n)}return Lt}function Vhe(e,t,i,n){return In(e,to(),i)?t+_c(i)+n:ri}function Us(e,t){return e<<17|t<<2}function er(e){return e>>17&32767}function jhe(e){return(e&2)==2}function zhe(e,t){return e&131071|t<<17}function Rd(e){return e|2}function $r(e){return(e&131068)>>2}function gu(e,t){return e&-131069|t<<2}function Bhe(e){return(e&1)===1}function Ld(e){return e|1}function Hhe(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]=gu(e[m+1],n)),e[l+1]=zhe(e[l+1],n)}else e[n+1]=Us(l,0),l!==0&&(e[l+1]=gu(e[l+1],n)),l=n;else e[n+1]=Us(u,0),l===0?l=n:e[u+1]=gu(e[u+1],n),u=n;c&&(e[n+1]=Rd(e[n+1])),pf(e,h,n,!0),pf(e,h,n,!1),Uhe(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function Uhe(e,t,i,n,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&ds(r,t)>=0&&(i[n+1]=Ld(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];Ghe(u,t)&&(l=!0,e[o+1]=n?Ld(c):Rd(c)),o=n?er(c):$r(c)}l&&(e[i+1]=n?Rd(a):Ld(a))}function Ghe(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 Whe(e){return e.substring(Qn.key,Qn.keyEnd)}function qhe(e){return $he(e),Vb(e,jb(e,0,Qn.textEnd))}function Vb(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=Yhe(e,Qn.key=t,i),jb(e,t,i))}function $he(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function jb(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Yhe(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}function q(e,t,i){let n=we(),a=to();if(In(n,a,t)){let r=mt(),o=Gh();Ky(r,o,n,e,t,n[Ct],i,!1)}return q}function Fd(e,t,i,n,a){lp(t,e,i,a?"class":"style",n)}function yp(e,t,i){return zb(e,t,i,!1),yp}function mn(e,t){return zb(e,t,null,!0),mn}function Ss(e){Khe(npe,Zhe,e,!0)}function Zhe(e,t){for(let i=qhe(t);i>=0;i=Vb(t,i))Ih(e,Whe(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&&In(a,o,t)){let l=r.data[ea()];Ub(r,l,a,a[Ct],e,a[o+1]=ape(t,i),n,o)}}function Khe(e,t,i,n){let a=mt(),r=Zv(2);a.firstUpdatePass&&Hb(a,null,r,n);let o=we();if(i!==ri&&In(o,r,i)){let l=a.data[ea()];if(Gb(l,n)&&!Bb(a,r)){let u=l.classesWithoutHost;u!==null&&(i=ud(u,i||"")),Fd(a,l,o,i,n)}else ipe(a,l,o,o[Ct],o[r+1],o[r+1]=tpe(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=Jhe(a,r,t,n),Hhe(a,r,t,i,o,n)}}function Jhe(e,t,i,n){let a=kle(e),r=n?t.residualClasses:t.residualStyles;if(a===null)(n?t.classBindings:t.styleBindings)===0&&(i=vu(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=vu(a,e,t,i,n),r===null){let l=Xhe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=vu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),Qhe(e,t,n,l))}else r=epe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Xhe(e,t,i){let n=i?t.classBindings:t.styleBindings;if($r(n)!==0)return e[er(n)]}function Qhe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[er(a)]=n}function epe(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 vu(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]),Ih(e,o,i?!0:t[++r]))}return e===void 0?null:e}function tpe(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 npe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&Ih(e,n,i)}function ipe(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=Bhe(c)?mf(u,t,i,a,$r(c),o):void 0;if(!ql(h)){ql(r)||jhe(c)&&(r=mf(u,null,i,a,l,o));let m=Hv(ea(),i);Kue(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?su(v,n):h===n?v:void 0;if(c&&!ql(g)&&(g=su(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=su(u,n))}return l}function ql(e){return e!==void 0}function ape(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 rpe=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 yu(e,t,i,n,a){return e===i&&Object.is(t,n)?1:Object.is(a(e,t),a(i,n))?-1:0}function ope(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=yu(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=yu(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)),Vd(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=yu(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(Vd(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 Vd(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(Vd(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(In(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 spe=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 lpe=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,L=new lpe(w,T);S[_t+e]=L,Ab(g,x,e+1,t,i,n,a,Ja(x.consts,r))}var cpe=class extends rpe{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),upe(this.lContainer,t)}create(t,i){var r;let n=qr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new spe(this.lContainer,i,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var i;Pc(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 dpe(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 cpe(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(ope(u,e,r.trackByFn),u.updateIndexes(),r.hasEmptyBlock){let c=to(),h=u.length===0;if(In(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 upe(e,t){return Wo(e,t)}function dpe(e,t){return db(e,t)}function jd(e,t){return Mh(e,t)}function j(e,t,i,n){let a=we(),r=mt(),o=_t+e,l=a[Ct],u=r.firstCreatePass?gb(o,r,a,t,sp,vle(),i,n):r.data[o],c=hpe(r,a,u,l,t);a[o]=c;let h=kc(u);return Sa(u,!0),Hy(l,c,u),!dp(u)&&Ic()&&Mc(r,a,c,u),(mle()===0||h)&&ao(c,a),fle(),h&&(Nc(r,a,u),ep(r,u,a)),n!==null&&op(a,u),j}function B(){let e=un();jh()?zh():(e=e.parent,Sa(e,!1));let t=e;yle(t)&&ble(),gle();let i=mt();return i.firstCreatePass&&vb(i,t),t.classesWithoutHost!=null&&Nle(t)&&Fd(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ple(t)&&Fd(i,t,we(),t.stylesWithoutHost,!1),B}function le(e,t,i,n){return j(e,t,i,n),B(),le}var hpe=(e,t,i,n,a,r)=>(Cc(!0),zy(n,a,Dle()));function ppe(e,t,i,n,a){let r=t.consts,o=Ja(r,n),l=ro(t,e,8,"ng-container",o);o!==null&&Pd(l,o,!0);let u=Ja(r,a);return fp(t,i,l,u,sp),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?ppe(r,a,n,t,i):a.data[r];Sa(o,!0);let l=mpe(a,n);return n[r]=l,Ic()&&Mc(a,n,l,o),ao(l,n),kc(o)&&(Nc(a,n,o),ep(a,o,n)),i!=null&&op(n,o),Wb}function qb(){let e=un(),t=mt();return jh()?zh():(e=e.parent,Sa(e,!1)),t.firstCreatePass&&(Wh(t,e),Nh(e)&&t.queries.elementEnd(e)),qb}function ka(e,t,i){return Wb(e,t,i),qb(),ka}var mpe=(e,t,i,n)=>(Cc(!0),oue(t[Ct],""));function Lc(){return we()}function Fc(e,t,i){let n=we(),a=to();if(In(n,a,t)){let r=mt(),o=Gh();Ky(r,o,n,e,t,n[Ct],i,!0)}return Fc}var Ta=void 0;function fpe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var gpe=["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",fpe],Mo={};function vpe(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=ype(e),i=yf(t);if(i)return i;let n=t.split("-")[0];if(i=yf(n),i)return i;if(n==="en")return gpe;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 ype(e){return e.toLowerCase().replace(/_/g,"-")}var zd="en-US";function bpe(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)?Si(e.index,t):t;mp(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 _pe(e,r),!1}finally{Oe(a)}}function _pe(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?Vh(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 Di(e,t,i,n){let a=we(),r=mt(),o=un();return wpe(r,a,a[Ct],o,e,t,n),Di}function xpe(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 wpe(e,t,i,n,a,r,o){var m,v;let l=kc(n),u=e.firstCreatePass?Vh(e):null,c=Fh(t),h=!0;if(n.type&3||o){let g=Ci(n,t),x=o?o(g):g,w=c.length,S=o?L=>o(Ei(L[n.index])):n.index,T=null;if(!o&&l&&(T=xpe(e,t,a,n.index)),T!==null){let L=T.__ngLastListenerFn__||T;L.__ngNextListenerFn__=r,T.__ngLastListenerFn__=r,h=!1}else{r=bf(n,t,r);let L=i.listen(x,a,r);c.push(r,L),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 Cle(e)}function Epe(e,t){let i=null,n=gue(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):bue(n,r))return a}return i}function Dn(e){let t=we()[Hn][yn];if(!t.projection){let i=e?e.length:1,n=t.projection=Hse(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?Epe(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),zh();let h=!o[zr]||Wv();o[Hn][yn].projection[c.projection]===null&&u!==null?Spe(o,l,u):h&&!dp(c)&&Yue(l,o,c)}function Spe(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 La(e,t,i,n){rhe(e,t,i,n)}function Yl(e,t,i){ahe(e,t,i)}function Kn(e){let t=we(),i=mt(),n=Kv();Bh(n+1);let a=vp(i,n);if(e.dirty&&cle(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=lhe(t,n);e.reset(r,sce),e.notifyOnChanges()}return!0}return!1}function Jn(){return ihe(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=kpe(n,i,r,t);i[a]=o,Ic()&&Mc(n,i,o,r),Sa(r,!1)}var kpe=(e,t,i,n,a)=>(Cc(!0),aue(t[Ct],n));function Mt(e){return qe("",e,""),Mt}function qe(e,t,i){let n=we(),a=Vhe(n,e,t,i);return a!==ri&&Ipe(n,ea(),a),qe}function Ipe(e,t,i){let n=Hv(t,e);rue(e[Ct],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),Ah(t,i,n,$b),Yb}function wf(e){rr("NgLet");let t=mt(),i=we(),n=ea();return Ah(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 Cpe(e,t,i){let n=mt();if(n.firstCreatePass){let a=wi(e);Bd(i,n.data,n.blueprint,a,!0),Bd(t,n.data,n.blueprint,a,!1)}}function Bd(e,t,i,n,a){if(e=qt(e),Array.isArray(e))for(let r=0;r<e.length;r++)Bd(e[r],t,i,n,a);else{let r=mt(),o=we(),l=un(),u=jr(e)?e:qt(e.provide),c=Av(e),h=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(jr(e)||!e.multi){let g=new fs(c,a,Qt),x=_u(u,t,a?h:h+v,m);x===-1?(xd(zl(l,o),r,u),bu(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=_u(u,t,h+v,m),x=_u(u,t,h,h+v),w=g>=0&&i[g],S=x>=0&&i[x];if(a&&!S||!a&&!w){xd(zl(l,o),r,u);let T=Ope(a?Tpe:Dpe,i.length,a,n,c);!a&&S&&(i[x].providerFactory=T),bu(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);bu(r,e,g>-1?g:x,T)}!a&&n&&S&&i[x].componentProviders++}}}function bu(e,t,i,n){let a=jr(t),r=Kse(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 _u(e,t,i,n){for(let a=i;a<n;a++)if(t[a]===e)return a;return-1}function Dpe(e,t,i,n,a){return Hd(this.multi,[])}function Tpe(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),Hd(r,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Hd(r,o);return o}function Hd(e,t){for(let i=0;i<e.length;i++){let n=e[i];t.push(n())}return t}function Ope(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)=>Cpe(n,a?a(e):e,t)}}function Npe(e,t,i){let n=eo()+e,a=we();return a[n]===ri?Es(a,n,t()):Mb(a,n)}function fn(e,t,i,n){return Jb(we(),eo(),e,t,i,n)}function Ppe(e,t,i,n,a,r,o,l){let u=eo()+e,c=we(),h=khe(c,u,i,n,a,r);return In(c,u+4,o)||h?Es(c,u+5,t(i,n,a,r,o)):Mb(c,u+5)}function bp(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 In(e,o,a)?Es(e,o+1,r?n.call(r,a):n(a)):bp(e,o+1)}function Mpe(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)):bp(e,l+2)}function Ape(e,t,i,n,a,r,o,l){let u=t+i;return She(e,u,a,r,o)?Es(e,u+3,l?n.call(l,a,r,o):n(a,r,o)):bp(e,u+3)}function R(e,t){let i=mt(),n,a=e+_t;i.firstCreatePass?(n=Rpe(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=jl(!1),u=r();return jl(l),Ah(i,we(),a,u),u}finally{dn(o)}}function Rpe(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 _p(a,n)?Jb(a,eo(),t,r.transform,i,r):r.transform(i)}function lt(e,t,i,n){let a=e+_t,r=we(),o=ps(r,a);return _p(r,a)?Mpe(r,eo(),t,o.transform,i,n,o):o.transform(i,n)}function gn(e,t,i,n,a){let r=e+_t,o=we(),l=ps(o,r);return _p(o,r)?Ape(o,eo(),t,l.transform,i,n,a,l):l.transform(i,n,a)}function _p(e,t){return e[Se].data[t].pure}function Zl(e,t){return Rc(e,t)}var Lpe=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 Lpe("19.2.18"),Fpe=(()=>{const t=class t{constructor(){s(this,"zone",I(We));s(this,"changeDetectionScheduler",I(no));s(this,"applicationRef",I(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 Vpe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new We(bt(ue({},jpe()),{scheduleInRootZone:i}))),[{provide:We,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=I(Fpe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=I(zpe);return()=>{n.initialize()}}},t===!0?{provide:vy,useValue:!0}:[],{provide:yy,useValue:i??my}]}function jpe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var zpe=(()=>{const t=class t{constructor(){s(this,"subscription",new pn);s(this,"initialized",!1);s(this,"zone",I(We));s(this,"pendingTasks",I(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})(),Bpe=(()=>{var t;const i=class i{constructor(){s(this,"appRef",I(wa));s(this,"taskService",I(gs));s(this,"ngZone",I(We));s(this,"zonelessEnabled",I(gy));s(this,"tracing",I(vs,{optional:!0}));s(this,"disableScheduling",I(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&&(I(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 ece||!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 Hpe(){return typeof $localize<"u"&&$localize.locale||zd}var Vc=new se("",{providedIn:"root",factory:()=>I(Vc,Me.Optional|Me.SkipSelf)||Hpe()}),Ud=new se(""),Upe=new se("");function vo(e){return!e.moduleRef}function Gpe(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(Ud);o.add(r),t.onDestroy(()=>{a.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Ud);o.add(r),e.moduleRef.onDestroy(()=>{vl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(r)})}return qpe(n,i,()=>{let r=t.get(Fb);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Vc,zd);if(bpe(o||zd),!t.get(Upe,!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 Wpe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Wpe(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 qpe(e,t,i){try{let n=i();return Lb(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 $pe(e=[],t){return st.create({name:t,providers:[{provide:Th,useValue:"platform"},{provide:Ud,useValue:new Set([()=>yl=null])},...e]})}function Ype(e=[]){if(yl)return yl;let t=$pe(e);return yl=t,Ahe(),Zpe(t),t}function Zpe(e){let t=e.get(Dy,null);Ec(e,()=>{t==null||t.forEach(i=>i())})}function Kpe(){return!1}var lr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Jpe),e})();function Jpe(e){return Xpe(un(),we(),(e&16)===16)}function Xpe(e,t,i){if(Jr(e)&&!i){let n=Si(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 Qpe=class{constructor(){}supports(e){return e instanceof Map||Pb(e)}create(){return new eme}},eme=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 tme(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))}},tme=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 xp([new Qpe])}var xp=(()=>{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 jse,new Vse]]}}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 nme(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Ype(n),o=[Vpe({}),{provide:no,useExisting:Bpe},...i||[]],l=new Db({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Gpe({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 ime(e){return xoe(e)}function Wi(e,t){return hoe(e,t==null?void 0:t.equal)}var u0,ame=(u0=kn,class{constructor(e){s(this,u0);this[kn]=e}destroy(){this[kn].destroy()}});function wp(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??I(st),n=(t==null?void 0:t.manualCleanup)!==!0?i.get(ii):null,a,r=i.get(Xh,null,{optional:!0}),o=i.get(no);return r!==null&&!(t!=null&&t.forceRoot)?(a=sme(r.view,o,e),n instanceof fy&&n._lView===r.view&&(n=null)):a=lme(e,i.get(Rb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new ame(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&&!fh(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Lo(this),i=Ll(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ll(i),fc(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),rme=bt(ue({},Xb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){gc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),ome=bt(ue({},Xb),{consumerMarkedDirty(){this.view[_e]|=8192,Qr(this.view),this.notifier.notify(13)},destroy(){var e;gc(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Ui])==null||e.delete(this)}});function sme(e,t,i){let n=Object.create(ome);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 lme(e,t,i){let n=Object.create(rme);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 cme=e=>e;function ume(e,t){if(typeof e=="function"){let i=Im(e,cme,t==null?void 0:t.equal);return If(i)}else{let i=Im(e.source,e.computation,e.equal);return If(i)}}function If(e){let t=e[kn],i=e;return i.set=n=>yoe(t,n),i.update=n=>boe(t,n),i.asReadonly=xy.bind(e),i}function Qb(e,t){let i=Vr(e),n=t.elementInjector||wc();return new gp(i).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var dme={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function hme(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function pme(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var xu;function mme(e,t){if(!xu){let i=Element.prototype;xu=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?xu.call(e,t):!1}function fme(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[hme(n)]=[i,a]}),t}function gme(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function vme(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=yme(l,t,a);u!==-1&&n[u].push(l)}return n}function yme(e,t,i){let n=i;return pme(e)&&t.some((a,r)=>a!=="*"&&mme(e,a)?(n=r,!0):!1),n}var bme=10,_me=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 xme(this.componentFactory,e,this.inputMap)}},xme=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=dme.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},bme))})}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),dde(this.componentRef.hostView)&&(hde(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=vme(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()}},wme=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function Eme(e,t){let i=gme(e,t.injector),n=t.strategyFactory||new _me(e,t.injector),a=fme(i);class r extends wme{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 Sme(e){e1??(e1=e)}var kme=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:()=>I(Ime),providedIn:"platform"}));let e=t;return e})(),Ime=(()=>{const t=class t extends t1{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",I(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 Cf(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 Ep=(()=>{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:()=>I(Dme),providedIn:"root"}));let e=t;return e})(),Cme=new se(""),Dme=(()=>{const t=class t extends Ep{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=I(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(Cme,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=Nme(Cf(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(Ome(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",Cf),s(t,"ɵfac",function(n){return new(n||t)(pe(Ep))}),s(t,"ɵprov",W({token:t,factory:()=>Tme(),providedIn:"root"}));let e=t;return e})();function Tme(){return new i1(pe(Ep))}function Ome(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 Nme(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var ln=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ln||{}),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||{}),xn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(xn||{}),zc={MinusSign:5};function Pme(e){return si(e)[At.LocaleId]}function Mme(e,t,i){let n=si(e),a=[n[At.DayPeriodsFormat],n[At.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function Ame(e,t,i){let n=si(e),a=[n[At.DaysFormat],n[At.DaysStandalone]],r=Un(a,t);return Un(r,i)}function Rme(e,t,i){let n=si(e),a=[n[At.MonthsFormat],n[At.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function Lme(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 Bc(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 Fme(e){let t=si(e);return a1(t),(t[At.ExtraData][2]||[]).map(i=>typeof i=="string"?wu(i):[wu(i[0]),wu(i[1])])}function Vme(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 wu(e){let[t,i]=e.split(":");return{hours:+t,minutes:+i}}var jme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gr={},zme=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Bme(e,t,i,n){let a=Kme(e);t=ji(i,t)||t;let r=[],o;for(;t;)if(o=zme.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=Zme(a,n));let u="";return r.forEach(c=>{let h=$me(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 ji(e,t){let i=Pme(e);if(gr[i]??(gr[i]={}),gr[i][t])return gr[i][t];let n="";switch(t){case"shortDate":n=Gs(e,xn.Short);break;case"mediumDate":n=Gs(e,xn.Medium);break;case"longDate":n=Gs(e,xn.Long);break;case"fullDate":n=Gs(e,xn.Full);break;case"shortTime":n=Ws(e,xn.Short);break;case"mediumTime":n=Ws(e,xn.Medium);break;case"longTime":n=Ws(e,xn.Long);break;case"fullTime":n=Ws(e,xn.Full);break;case"short":let a=ji(e,"shortTime"),r=ji(e,"shortDate");n=$s(qs(e,xn.Short),[a,r]);break;case"medium":let o=ji(e,"mediumTime"),l=ji(e,"mediumDate");n=$s(qs(e,xn.Medium),[o,l]);break;case"long":let u=ji(e,"longTime"),c=ji(e,"longDate");n=$s(qs(e,xn.Long),[u,c]);break;case"full":let h=ji(e,"fullTime"),m=ji(e,"fullDate");n=$s(qs(e,xn.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 Hme(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=Ume(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Hme(l,t);let u=Bc(o,zc.MinusSign);return Xn(l,t,u,n,a)}}function Ume(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=ln.Format,n=!1){return function(a,r){return Gme(a,r,e,t,i,n)}}function Gme(e,t,i,n,a,r){switch(i){case 2:return Rme(t,a,n)[e.getMonth()];case 1:return Ame(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=Fme(t),h=Vme(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 Mme(t,a,n)[o<12?0:1];case 3:return Lme(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=Bc(i,zc.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 Wme=0,bl=4;function qme(e){let t=Kl(e,Wme,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 Eu(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=qme(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Xn(a,e,Bc(n,zc.MinusSign))}}function Zs(e,t=!1){return function(i,n){let a=r1(i).getFullYear();return Xn(a,e,Bc(n,zc.MinusSign),t)}}var Su={};function $me(e){if(Su[e])return Su[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,ln.Standalone);break;case"LLLL":t=Xe(2,Ke.Wide,ln.Standalone);break;case"LLLLL":t=Xe(2,Ke.Narrow,ln.Standalone);break;case"w":t=Eu(1);break;case"ww":t=Eu(2);break;case"W":t=Eu(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,ln.Standalone);break;case"cccc":t=Xe(1,Ke.Wide,ln.Standalone);break;case"ccccc":t=Xe(1,Ke.Narrow,ln.Standalone);break;case"cccccc":t=Xe(1,Ke.Short,ln.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,ln.Standalone,!0);break;case"bbbb":t=Xe(0,Ke.Wide,ln.Standalone,!0);break;case"bbbbb":t=Xe(0,Ke.Narrow,ln.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ke.Abbreviated,ln.Format,!0);break;case"BBBB":t=Xe(0,Ke.Wide,ln.Format,!0);break;case"BBBBB":t=Xe(0,Ke.Narrow,ln.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 Su[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 Yme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Zme(e,t,i){let n=e.getTimezoneOffset(),a=o1(t,n);return Yme(e,-1*(a-n))}function Kme(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(jme))return Jme(n)}let t=new Date(e);if(!Tf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Jme(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 ku=/\s+/,Of=[],Sp=(()=>{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(ku):Of}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ku):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(ku).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})(),Xme=(()=>{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(xp),Qt(oo))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),kp=(()=>{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:[Ph]}));let e=t;return e})();function Qme(e,t){return new Z(2100,!1)}var efe="mediumDate",tfe=new se(""),nfe=new se(""),Ip=(()=>{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)??efe,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Bme(n,c,o||this.locale,h)}catch(c){throw Qme(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Vc,16),Qt(tfe,24),Qt(nfe,24))}),s(t,"ɵpipe",Yt({name:"date",type:t,pure:!0}));let e=t;return e})();function ife(e,t){return{key:e,value:t}}var afe=(()=>{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(ife(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(xp,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",rfe="server";function ofe(e){return e===c1}function u1(e){return e===rfe}var d1=class{};function Hc(e,t,i){return vpe(e,t,i)}var Gd=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(Gd),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 sfe(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 Wd(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),sfe(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,Wd))}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,Wd(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(Zh),pe(Kh,8),pe(Dc))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Iu={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%",lfe=`_nghost-${f1}`,cfe=`_ngcontent-${f1}`,ufe=!0,dfe=new se("",{providedIn:"root",factory:()=>ufe});function hfe(e){return cfe.replace(Cp,e)}function pfe(e){return lfe.replace(Cp,e)}function g1(e,t){return t.map(i=>i.replace(Cp,e))}var qd=(()=>{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 Dp(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 $d&&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 mfe(c,h,n,a,l,u,this.nonce,v,g);default:o=new $d(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(Zh),pe(dfe),pe(He),pe(Dc),pe(We),pe(Kh),pe(vs,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Dp=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(Iu[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=Iu[n];a?e.setAttributeNS(a,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let n=Iu[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 mfe=class extends Dp{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=Wd(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)}},$d=class extends Dp{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 $d{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=hfe(h),this.hostAttr=pfe(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}},ffe=class v1 extends kme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){Sme(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=gfe();return n==null?null:vfe(n)}resetBaseElement(){Co=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return l1(document.cookie,i)}},Co=null;function gfe(){return Co=Co||document.head.querySelector("base"),Co?Co.getAttribute("href"):null}function vfe(e){return new URL(e,document.baseURI).pathname}var yfe=(()=>{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})(),bfe=(()=>{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})(),Lf=["alt","control","meta","shift"],_fe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},wfe=(()=>{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."),Lf.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=_fe[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"),Lf.forEach(l=>{if(l!==r){let u=xfe[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 Efe(e){return nme(Sfe(e))}function Sfe(e){return{appProviders:[...Tfe,...(e==null?void 0:e.providers)??[]],platformProviders:Dfe}}function kfe(){ffe.makeCurrent()}function Ife(){return new ai}function Cfe(){return hce(document),document}var Dfe=[{provide:Dc,useValue:c1},{provide:Dy,useValue:kfe,multi:!0},{provide:He,useFactory:Cfe}],Tfe=[{provide:Th,useValue:"root"},{provide:ai,useFactory:Ife},{provide:Gd,useClass:bfe,multi:!0,deps:[He]},{provide:Gd,useClass:wfe,multi:!0,deps:[He]},qd,m1,h1,{provide:oi,useExisting:qd},{provide:d1,useClass:yfe},[]],Tp=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)))}},Ofe=class{encodeKey(e){return Ff(e)}encodeValue(e){return Ff(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Nfe(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 Pfe=/%(\d[a-f0-9])/gi,Mfe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ff(e){return encodeURIComponent(e).replace(Pfe,(t,i)=>Mfe[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 Ofe,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=Nfe(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)}},Afe=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 Rfe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Vf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function jf(e){return typeof Blob<"u"&&e instanceof Blob}function zf(e){return typeof FormData<"u"&&e instanceof FormData}function Lfe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Bf="Content-Type",Hf="Accept",_1="X-Request-URL",x1="text/plain",w1="application/json",Ffe=`${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(Rfe(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 Afe),!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"||Vf(this.body)||jf(this.body)||zf(this.body)||Lfe(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:jf(this.body)?this.body.type||null:Vf(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||{}),Op=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}},Vfe=class S1 extends Op{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 I1 extends Op{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 I1({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 Op{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}},jfe=200,zfe=204;function Du(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 Is=(()=>{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(Ht(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Z(2806,!1);return c.body}));case"blob":return u.pipe(Ht(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Z(2807,!1);return c.body}));case"text":return u.pipe(Ht(c=>{if(c.body!==null&&typeof c.body!="string")throw new Z(2808,!1);return c.body}));case"json":default:return u.pipe(Ht(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,Du(r,a))}post(n,a,r={}){return this.request("POST",n,Du(r,a))}put(n,a,r={}){return this.request("PUT",n,Du(r,a))}};s(t,"ɵfac",function(n){return new(n||t)(pe(Tp))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Bfe=new se("");function Hfe(e,t){return t(e)}function Ufe(e,t,i){return(n,a)=>Ec(i,()=>t(n,r=>e(r,a)))}var Np=new se(""),Gfe=new se(""),Wfe=new se("",{providedIn:"root",factory:()=>!0}),Gf=(()=>{const t=class t extends Tp{constructor(a,r){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",I(gs));s(this,"contributeToStability",I(Wfe));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Np),...this.injector.get(Gfe,[])]));this.chain=r.reduceRight((o,l)=>Ufe(o,l,this.injector),Hfe)}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(xi))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),qfe=/^\)\]\}',?\n/,$fe=RegExp(`^${_1}:`,"m");function Yfe(e){return"responseURL"in e&&e.responseURL?e.responseURL:$fe.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,Ffe),!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=Yfe(o)||n.url;return u=new Vfe({headers:S,status:o.status,statusText:w,url:T}),u},h=()=>{let{headers:w,status:S,statusText:T,url:L}=c(),P=null;S!==zfe&&(P=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=P?jfe:0);let re=S>=200&&S<300;if(n.responseType==="json"&&typeof P=="string"){let ve=P;P=P.replace(qfe,"");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:L||void 0})),r.complete()):r.error(new Uf({error:P,headers:w,status:S,statusText:T,url:L||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})(),C1=new se(""),Zfe="XSRF-TOKEN",Kfe=new se("",{providedIn:"root",factory:()=>Zfe}),Jfe="X-XSRF-TOKEN",Xfe=new se("",{providedIn:"root",factory:()=>Jfe}),D1=class{},Qfe=(()=>{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(Kfe))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),ege=/^(?:https?:)?\/\//i;function tge(e,t){if(!I(C1)||e.method==="GET"||e.method==="HEAD"||ege.test(e.url))return t(e);let i=I(D1).getToken(),n=I(Xfe);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 nge(e,t){return{ɵkind:e,ɵproviders:t}}function ige(...e){let t=[Is,Wf,Gf,{provide:Tp,useExisting:Gf},{provide:y1,useFactory:()=>I(Bfe,{optional:!0})??I(Wf)},{provide:Np,useValue:tge,multi:!0},{provide:C1,useValue:!0},{provide:D1,useClass:Qfe}];for(let i of e)t.push(...i.ɵproviders);return Ch(t)}function age(e){return nge(T1.Interceptors,e.map(t=>({provide:Np,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(rge),a},providedIn:"root"}));let e=t;return e})(),rge=(()=>{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 En.NONE:return r;case En.HTML:return _r(r,"HTML")?la(r):Xce(this._doc,String(r)).toString();case En.STYLE:return _r(r,"Style")?la(r):r;case En.SCRIPT:if(_r(r,"Script"))return la(r);throw new Z(5200,!1);case En.URL:return _r(r,"URL")?la(r):tp(String(r));case En.RESOURCE_URL:if(_r(r,"ResourceURL"))return la(r);throw new Z(5201,!1);default:throw new Z(5202,!1)}}bypassSecurityTrustHtml(a){return Tce(a)}bypassSecurityTrustStyle(a){return Oce(a)}bypassSecurityTrustScript(a){return Nce(a)}bypassSecurityTrustUrl(a){return Pce(a)}bypassSecurityTrustResourceUrl(a){return Mce(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})(),Cs=class{},oge=(()=>{const t=class t extends Cs{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{},sge=(()=>{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)&&!Pp(e)&&e!==null}function wl(e){return typeof e=="object"}function Pp(e){return Array.isArray(e)}function Mp(e){return typeof e=="string"}function lge(e){return typeof e=="function"}function Yd(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]=Yd(e[n],t[n]):Object.assign(i,{[n]:t[n]}):Object.assign(i,{[n]:t[n]})}),i):Yd({},t)}function Zd(e,t){let i=t.split(".");t="";do t+=i.shift(),ha(e)&&ha(e[t])&&(Ds(e[t])||Pp(e[t])||!i.length)?(e=e[t],t=""):i.length?t+=".":e=void 0;while(i.length);return e}function cge(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 Ap=class{},uge=(()=>{const t=class t extends Ap{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(Mp(a))return this.interpolateString(a,r);if(lge(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=Zd(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{},dge=(()=>{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})(),Kd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new zt);s(this,"onLangChange",new zt);s(this,"onDefaultLangChange",new zt)}},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 Kd),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(jn(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(jn(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),jn(1));return this.loadingTranslations=a.pipe(Ht(r=>this.compiler.compileTranslations(r,n)),Pm(1),jn(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]=Yd(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(Zd(n,a),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Zd(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(Pp(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(Ht(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){cge(this.translations[r],n,Mp(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(Kd),pe(Cs),pe(Ts),pe(Ap),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})(),on=(()=>{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(Mp(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})(),hge=(e={})=>Ch([e.loader||{provide:Cs,useClass:oge},e.compiler||{provide:Ts,useClass:dge},e.parser||{provide:Ap,useClass:uge},e.missingTranslationHandler||{provide:N1,useClass:sge},Kd,{provide:P1,useValue:e.isolate},{provide:M1,useValue:e.useDefaultLang},{provide:R1,useValue:e.extend},{provide:A1,useValue:e.defaultLanguage},li]);function L1(e){return e.buttons===0||e.detail===0}function F1(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 Tu;function pge(){if(Tu==null){let e=typeof document<"u"?document.head:null;Tu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Tu}function mge(e){if(pge()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ou(){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 Jd;try{Jd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jd=!1}var Tn=(()=>{const t=class t{constructor(){s(this,"_platformId",I(Dc));s(this,"isBrowser",this._platformId?ofe(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||Jd)&&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 fge(){if(bo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>bo=!0}))}finally{bo=bo||!1}return bo}function Rp(e){return fge()?e:!!e.capture}function qf(e,t=0){return gge(e)?Number(e):arguments.length===2?t:0}function gge(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Lr(e){return e instanceof Rt?e.nativeElement:e}var vge=new se("cdk-input-modality-detector-options"),yge={ignoreKeys:[18,17,224,91,16]},V1=650,Nu={passive:!0,capture:!0},bge=(()=>{const t=class t{constructor(){s(this,"_platform",I(Tn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new bh(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<V1||(this._modality.next(L1(n)?"keyboard":"mouse"),this._mostRecentTarget=Zi(n))});s(this,"_onTouchstart",n=>{if(F1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zi(n)});let n=I(We),a=I(He),r=I(vge,{optional:!0});if(this._options=ue(ue({},yge),r),this.modalityDetected=this._modality.pipe(uv(1)),this.modalityChanged=this.modalityDetected.pipe(vse()),this._platform.isBrowser){let o=I(oi).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[pa(o,a,"keydown",this._onKeydown,Nu),pa(o,a,"mousedown",this._onMousedown,Nu),pa(o,a,"touchstart",this._onTouchstart,Nu)])}}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||{}),_ge=new se("cdk-focus-monitor-default-options"),Js=Rp({passive:!0,capture:!0}),Lp=(()=>{const t=class t{constructor(){s(this,"_ngZone",I(We));s(this,"_platform",I(Tn));s(this,"_inputModalityDetector",I(bge));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",I(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=I(_ge,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||El.IMMEDIATE}monitor(n,a=!1){let r=Lr(n);if(!this._platform.isBrowser||r.nodeType!==1)return yt();let o=mge(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=Lr(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=Lr(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?V1: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",I(st));s(this,"_environmentInjector",I(xi))}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})(),j1=(()=>{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,xge=(()=>{const t=class t{constructor(){s(this,"_platform",I(Tn));s(this,"_nonce",I(Kh,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ege}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&wge(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 wge(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 Ege(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var z1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",I(xge));s(this,"_zone",I(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=dse(a);return r=zo(r.pipe(jn(1)),r.pipe(uv(1),sv(0))),r.pipe(Ht(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),Ht(({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 Sge=(()=>{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})(),kge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[Sge]}));let e=t;return e})(),B1=(()=>{const t=class t{constructor(){s(this,"_platform",I(Tn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return Cge(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=Ige(Rge(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&&!Mge(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 Age(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 Ige(e){try{return e.frameElement}catch{return null}}function Cge(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function Dge(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Tge(e){return Nge(e)&&e.type=="hidden"}function Oge(e){return Pge(e)&&e.hasAttribute("href")}function Nge(e){return e.nodeName.toLowerCase()=="input"}function Pge(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 Mge(e){let t=e.nodeName.toLowerCase(),i=t==="input"&&e.type;return i==="text"||i==="password"||t==="select"||t==="textarea"}function Age(e){return Tge(e)?!1:Dge(e)||Oge(e)||e.hasAttribute("contenteditable")||H1(e)}function Rge(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Lge=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?Qh(e,{injector:this._injector}):setTimeout(e)}},Fge=(()=>{const t=class t{constructor(){s(this,"_checker",I(B1));s(this,"_ngZone",I(We));s(this,"_document",I(He));s(this,"_injector",I(st));I(cr).load(j1)}create(n,a=!1){return new Lge(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})(),Vge=new se("liveAnnouncerElement",{providedIn:"root",factory:jge});function jge(){return null}var zge=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Bge=0,Hge=(()=>{const t=class t{constructor(){s(this,"_ngZone",I(We));s(this,"_defaultOptions",I(zge,{optional:!0}));s(this,"_liveElement");s(this,"_document",I(He));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=I(Vge,{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-${Bge++}`,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})(),Fa=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}(Fa||{}),Kf="cdk-high-contrast-black-on-white",Jf="cdk-high-contrast-white-on-black",Pu="cdk-high-contrast-active",U1=(()=>{const t=class t{constructor(){s(this,"_platform",I(Tn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",I(He));s(this,"_breakpointSubscription");this._breakpointSubscription=I(z1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Fa.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 Fa.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Fa.BLACK_ON_WHITE}return Fa.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Pu,Kf,Jf),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===Fa.BLACK_ON_WHITE?n.add(Pu,Kf):a===Fa.WHITE_ON_BLACK&&n.add(Pu,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})(),Uge=(()=>{const t=class t{constructor(){I(U1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[kge]}));let e=t;return e})(),Mu={},co=(()=>{const t=class t{constructor(){s(this,"_appId",I(Zh))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Mu.hasOwnProperty(n)||(Mu[n]=0),`${n}${Mu[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})(),Gge=200,Wge=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:Gge;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),Ht(()=>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 qge=class{constructor(e,t){s(this,"_items");s(this,"_activeItemIndex",-1);s(this,"_activeItem",kd(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=wp(()=>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 Wge(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))}}},$ge=class extends qge{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)}},Yge=new se("cdk-dir-doc",{providedIn:"root",factory:Zge});function Zge(){return I(He)}var Kge=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Jge(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Kge.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Zo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new zt);let n=I(Yge,{optional:!0});if(n){let a=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=Jge(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})(),ki=(()=>{const t=class t{constructor(){I(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})(),Xd=new se("MAT_DATE_LOCALE",{providedIn:"root",factory:Xge});function Xge(){return I(Vc)}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}},Qge=new se("mat-date-formats"),Vp=(()=>{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 Fn=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}(Fn||{}),e0e=class{constructor(e,t,i,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Fn.HIDDEN);this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},eg=Rp({passive:!0,capture:!0}),t0e=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},n0e=800,tg=Rp({passive:!0,capture:!0}),ng=["mousedown","touchstart"],ig=["mouseup","mouseleave","touchend","touchcancel"],i0e=(()=>{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,a0e=(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=Lr(n)),r&&r.get(cr).load(i0e)}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||r0e(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 e0e(this,h,n,x);h.style.transform="scale3d(1, 1, 1)",w.state=Fn.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)},L=()=>this._destroyRipple(w),P=setTimeout(L,c+100);h.addEventListener("transitionend",T),h.addEventListener("transitioncancel",L),S={onTransitionEnd:T,onTransitionCancel:L,fallbackTimer:P}}),this._activeRipples.set(w,S),(x||!c)&&this._finishRippleTransition(w),w}fadeOutRipple(t){if(t.state===Fn.FADING_OUT||t.state===Fn.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=Fn.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=Lr(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===Fn.FADING_IN?this._startFadeOutTransition(t):t.state===Fn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let i=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=Fn.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=Fn.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=L1(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+n0e;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!F1(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===Fn.VISIBLE||t.config.terminateOnPointerUp&&t.state===Fn.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 t0e),ma);function r0e(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"),o0e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[ki,ki]}));let e=t;return e})(),s0e={capture:!0},l0e=["focus","mousedown","mouseenter","touchstart"],Au="mat-ripple-loader-uninitialized",Ru="mat-ripple-loader-class-name",ag="mat-ripple-loader-centered",el="mat-ripple-loader-disabled",$1=(()=>{const t=class t{constructor(){s(this,"_document",I(He));s(this,"_animationMode",I(ar,{optional:!0}));s(this,"_globalRippleOptions",I(q1,{optional:!0}));s(this,"_platform",I(Tn));s(this,"_ngZone",I(We));s(this,"_injector",I(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(`[${Au}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);o&&this._createRipple(o)}});let n=I(oi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>l0e.map(a=>pa(n,this._document,a,this._onInteraction,s0e)))}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(Au,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!n.hasAttribute(Ru))&&n.setAttribute(Ru,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(Ru)),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 a0e(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(Au)}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})(),c0e=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,u0e=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Lu(e,t){let i=Array(e);for(let n=0;n<e;n++)i[n]=t(n);return i}var d0e=(()=>{const t=class t extends G1{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",I(Xd,{optional:!0}));let a=I(Xd,{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 Lu(12,o=>this._format(r,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Lu(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 Lu(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(c0e.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(u0e);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}},zp=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()}},h0e=class extends jp{constructor(t){super();s(this,"element");this.element=t instanceof Rt?t.nativeElement:t}},Uc=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 zp)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof h0e)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)}},p0e=class extends Uc{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(xi,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 Uc{constructor(){super();s(this,"_moduleRef",I($o,{optional:!0}));s(this,"_document",I(He));s(this,"_viewContainerRef",I(ws));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new zt);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})(),m0e=20,Y1=(()=>{const t=class t{constructor(){s(this,"_ngZone",I(We));s(this,"_platform",I(Tn));s(this,"_renderer",I(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=m0e){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=Lr(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})(),f0e=(()=>{const t=class t{constructor(){s(this,"elementRef",I(Rt));s(this,"scrollDispatcher",I(Y1));s(this,"ngZone",I(We));s(this,"dir",I(Zo,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new be);s(this,"_renderer",I(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})(),g0e=20,Z1=(()=>{const t=class t{constructor(){s(this,"_platform",I(Tn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new be);s(this,"_document",I(He,{optional:!0}));let n=I(We),a=I(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=g0e){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(),v0e=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}},y0e=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 Qd(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 b0e=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();Qd(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}},_0e=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",I(Y1));s(this,"_viewportRuler",I(Z1));s(this,"_ngZone",I(We));s(this,"_document",I(He));s(this,"noop",()=>new K1);s(this,"close",n=>new y0e(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new v0e(this._viewportRuler,this._document));s(this,"reposition",n=>new b0e(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})(),Bp=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])}}},x0e=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",I(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})(),w0e=(()=>{const t=class t extends J1{constructor(){super(...arguments);s(this,"_ngZone",I(We));s(this,"_renderer",I(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})(),E0e=(()=>{const t=class t extends J1{constructor(){super(...arguments);s(this,"_platform",I(Tn));s(this,"_ngZone",I(We));s(this,"_renderer",I(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})(),Hp=(()=>{const t=class t{constructor(){s(this,"_platform",I(Tn));s(this,"_containerElement");s(this,"_document",I(He));s(this,"_styleLoader",I(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})(),S0e=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")})}},Up=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=ime(()=>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=Qh(()=>{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 S0e(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",k0e=/([A-Za-z%]+)$/,I0e=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||!C0e(this._lastScrollVisibility,i)){let n=new x0e(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:Qd(e,i),isOverlayClipped:lg(t,i),isOverlayOutsideView:Qd(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(k0e);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 C0e(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",D0e=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}},T0e=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",I(Z1));s(this,"_document",I(He));s(this,"_platform",I(Tn));s(this,"_overlayContainer",I(Hp))}global(){return new D0e}flexibleConnectedTo(n){return new I0e(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})(),Ia=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",I(_0e));s(this,"_overlayContainer",I(Hp));s(this,"_positionBuilder",I(T0e));s(this,"_keyboardDispatcher",I(w0e));s(this,"_injector",I(st));s(this,"_ngZone",I(We));s(this,"_document",I(He));s(this,"_directionality",I(Zo));s(this,"_location",I(i1));s(this,"_outsideClickDispatcher",I(E0e));s(this,"_animationsModuleType",I(ar,{optional:!0}));s(this,"_idGenerator",I(co));s(this,"_renderer",I(oi).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",I(cr))}create(n){this._styleLoader.load(X1);let a=this._createHostElement(),r=this._createPaneElement(a),o=this._createPortalOutlet(r),l=new Bp(n);return l.direction=l.direction||this._directionality.value,new Up(o,a,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(xi),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 p0e(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})(),O0e=new se("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=I(Ia);return()=>e.scrollStrategies.reposition()}});function N0e(e){return()=>e.scrollStrategies.reposition()}var P0e={provide:O0e,deps:[Ia],useFactory:N0e},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:[Ia,P0e],imports:[Ko,ec,og,og]}));let e=t;return e})();function M0e(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 Uc{constructor(){super();s(this,"_elementRef",I(Rt));s(this,"_focusTrapFactory",I(Fge));s(this,"_config");s(this,"_interactivityChecker",I(B1));s(this,"_ngZone",I(We));s(this,"_overlayRef",I(Up));s(this,"_focusMonitor",I(Lp));s(this,"_renderer",I(oo));s(this,"_changeDetectorRef",I(lr));s(this,"_injector",I(st));s(this,"_platform",I(Tn));s(this,"_document",I(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=I(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||Qh(()=>{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=Ou(),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=Ou();return a===r||a.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ou()))}_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&&Lt("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,M0e,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})(),Vu=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}},A0e=new se("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=I(Ia);return()=>e.scrollStrategies.block()}}),R0e=new se("DialogData"),L0e=new se("DefaultDialogConfig"),t_=(()=>{const t=class t{constructor(){s(this,"_overlay",I(Ia));s(this,"_injector",I(st));s(this,"_defaultOptions",I(L0e,{optional:!0}));s(this,"_parentDialog",I(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",I(Hp));s(this,"_idGenerator",I(co));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",I(A0e));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 Vu(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(jn(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 Bp({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:Vu,useValue:a},{provide:Up,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 zp(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:R0e,useValue:n.data},{provide:Vu,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 F0e=(()=>{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,Uge,ec]}));let e=t;return e})();function V0e(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")}},zu="mdc-dialog--open",fg="mdc-dialog--opening",gg="mdc-dialog--closing",j0e=150,z0e=75,B0e=(()=>{const t=class t extends e_{constructor(){super(...arguments);s(this,"_animationMode",I(ar,{optional:!0}));s(this,"_animationStateChanged",new zt);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)??j0e:0);s(this,"_exitAnimationDuration",this._animationsEnabled?yg(this._config.exitAnimationDuration)??z0e: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,zu)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(zu),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(zu),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),Lt("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&&(j(0,"div",0)(1,"div",1),oe(2,V0e,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||{}),Gp=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"),jn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Bi(n=>n.state==="closed"),jn(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"),jn(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"),H0e=new se("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=I(Ia);return()=>e.scrollStrategies.block()}}),Gc=(()=>{const t=class t{constructor(){s(this,"_overlay",I(Ia));s(this,"_defaultOptions",I(a_,{optional:!0}));s(this,"_scrollStrategy",I(H0e));s(this,"_parentDialog",I(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",I(co));s(this,"_dialog",I(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=Gp,this._dialogContainerType=B0e,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",I(Gp,{optional:!0}));s(this,"_elementRef",I(Rt));s(this,"_dialog",I(Gc));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&&Di("click",function(r){return a._onButtonClick(r)}),n&2&&Lt("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:[Ph]}));let e=t;return e})(),o_=(()=>{const t=class t{constructor(){s(this,"_dialogRef",I(Gp,{optional:!0}));s(this,"_elementRef",I(Rt));s(this,"_dialog",I(Gc))}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",I(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:[whe([f0e])]}));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:[Gc],imports:[F0e,Q1,ec,ki,ki]}));let e=t;return e})(),U0e=new se("MAT_BUTTON_CONFIG"),G0e=[{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",I(Rt));s(this,"_ngZone",I(We));s(this,"_animationMode",I(ar,{optional:!0}));s(this,"_focusMonitor",I(Lp));s(this,"_rippleLoader",I($1));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;I(cr).load(Vp);let n=I(U0e,{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 G0e)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})(),W0e=(()=>{const t=class t extends h_{constructor(){super(...arguments);s(this,"_renderer",I(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]"],q0e=`.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
|
-
`,$0e=`@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
|
-
`,Wc=(()=>{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&&(Lt("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),j(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})(),Y0e=(()=>{const t=class t extends W0e{};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&&(Lt("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),j(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:[q0e,$0e],encapsulation:2,changeDetection:0}));let e=t;return e})(),qc=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[ki,o0e,ki]}));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})(),Le=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}(Le||{}),qi="*";function Z0e(e,t=null){return{type:Le.Sequence,steps:e,options:t}}function bg(e){return{type:Le.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}},Wp="!";function _g(e){return new Z(3e3,!1)}function K0e(){return new Z(3100,!1)}function J0e(){return new Z(3101,!1)}function X0e(e){return new Z(3001,!1)}function Q0e(e){return new Z(3003,!1)}function eve(e){return new Z(3004,!1)}function tve(e,t){return new Z(3005,!1)}function nve(){return new Z(3006,!1)}function ive(){return new Z(3007,!1)}function ave(e,t){return new Z(3008,!1)}function rve(e){return new Z(3002,!1)}function ove(e,t,i,n,a){return new Z(3010,!1)}function sve(){return new Z(3011,!1)}function lve(){return new Z(3012,!1)}function cve(){return new Z(3200,!1)}function uve(){return new Z(3202,!1)}function dve(){return new Z(3013,!1)}function hve(e){return new Z(3014,!1)}function pve(e){return new Z(3015,!1)}function mve(e){return new Z(3016,!1)}function fve(e,t){return new Z(3404,!1)}function gve(e){return new Z(3502,!1)}function vve(e){return new Z(3503,!1)}function yve(){return new Z(3300,!1)}function bve(e){return new Z(3504,!1)}function _ve(e){return new Z(3301,!1)}function xve(e,t){return new Z(3302,!1)}function wve(e){return new Z(3303,!1)}function Eve(e,t){return new Z(3400,!1)}function Sve(e){return new Z(3401,!1)}function kve(e){return new Z(3402,!1)}function Ive(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 Wp: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 gve();return r}function qp(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&Bu(i,"start",e)));break;case"done":e.onDone(()=>n(i&&Bu(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&Bu(i,"destroy",e)));break}}function Bu(e,t,i){let n=i.totalTime,a=!!i.disabled,r=$p(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 $p(e,t,i,n,a="",r=0,o){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:a,totalTime:r,disabled:!!o}}function Sn(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 Cve=typeof document>"u"?null:document.documentElement;function Yp(e){let t=e.parentNode||e.host||null;return t===Cve?null:t}function Dve(e){return e.substring(1,6)=="ebkit"}var Ma=null,wg=!1;function Tve(e){Ma||(Ma=Ove()||{},wg=Ma.style?"WebkitAppearance"in Ma.style:!1);let t=!0;return Ma.style&&!Dve(e)&&(t=e in Ma.style,!t&&wg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Ma.style)),t}function Ove(){return typeof document<"u"?document.body:null}function y_(e,t){for(;t;){if(t===e)return!0;t=Yp(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 Nve=1e3,__="{{",Pve="}}",x_="ng-enter",eh="ng-leave",tl="ng-trigger",tc=".ng-trigger",Eg="ng-animating",th=".ng-animating";function zi(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:nh(parseFloat(t[1]),t[2])}function nh(e,t){switch(t){case"s":return e*Nve;default:return e}}function nc(e,t,i){return e.hasOwnProperty("duration")?e:Mve(e,t,i)}function Mve(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=nh(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(r=nh(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(K0e()),l=!0),r<0&&(t.push(J0e()),l=!0),l&&t.splice(u,0,_g())}return{duration:a,delay:r,easing:o}}function Ave(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=Zp(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=Zp(n);e.style[a]=""})}function xo(e){return Array.isArray(e)?e.length==1?e[0]:Z0e(e):e}function Rve(e,t,i){let n=t.params||{},a=w_(e);a.length&&a.forEach(r=>{n.hasOwnProperty(r)||i.push(X0e())})}var ih=new RegExp(`${__}\\s*(.+?)\\s*${Pve}`,"g");function w_(e){let t=[];if(typeof e=="string"){let i;for(;i=ih.exec(e);)t.push(i[1]);ih.lastIndex=0}return t}function ts(e,t,i){let n=`${e}`,a=n.replace(ih,(r,o)=>{let l=t[o];return l==null&&(i.push(Q0e()),l=""),l.toString()});return a==n?e:a}var Lve=/-+([a-z0-9])/g;function Zp(e){return e.replace(Lve,(...t)=>t[1].toUpperCase())}function Fve(e,t){return e===0||t===0}function Vve(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,Kp(e,l)))}}return t}function wn(e,t,i){switch(t.type){case Le.Trigger:return e.visitTrigger(t,i);case Le.State:return e.visitState(t,i);case Le.Transition:return e.visitTransition(t,i);case Le.Sequence:return e.visitSequence(t,i);case Le.Group:return e.visitGroup(t,i);case Le.Animate:return e.visitAnimate(t,i);case Le.Keyframes:return e.visitKeyframes(t,i);case Le.Style:return e.visitStyle(t,i);case Le.Reference:return e.visitReference(t,i);case Le.AnimateChild:return e.visitAnimateChild(t,i);case Le.AnimateRef:return e.visitAnimateRef(t,i);case Le.Query:return e.visitQuery(t,i);case Le.Stagger:return e.visitStagger(t,i);default:throw eve(t.type)}}function Kp(e,t){return window.getComputedStyle(e)[t]}var jve=(()=>{const t=class t{validateStyleProperty(n){return Tve(n)}containsElement(n,a){return y_(n,a)}getParentElement(n){return Yp(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})(),ad,E_=(ad=class{},s(ad,"NOOP",new jve),ad),Jp=class{},zve=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"]),Bve=class extends Jp{normalizePropertyName(e,t){return Zp(e)}normalizeStyleValue(e,t,i,n){let a="",r=i.toString().trim();if(zve.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(tve())}return r+a}},ic="*";function Hve(e,t){let i=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Uve(n,i,t)):i.push(e),i}function Uve(e,t,i){if(e[0]==":"){let u=Gve(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(pve()),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 Gve(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(mve()),"* => *"}}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",Wve=new RegExp(`s*${S_}s*,?`,"g");function k_(e,t,i,n){return new qve(e).build(t,i,n)}var kg="",qve=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,i){let n=new Zve(t);return this._resetContextStyleTimingState(n),wn(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(nve()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Le.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==Le.Transition){let l=this.visitTransition(o,t);i+=l.queryCount,n+=l.depCount,r.push(l)}else t.errors.push(ive())}),{type:Le.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(ave(e.name,[...a.values()]))}return{type:Le.State,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=wn(this,xo(e.animation),t),n=Hve(e.expr,t.errors);return{type:Le.Transition,matchers:n,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Aa(e.options)}}visitSequence(e,t){return{type:Le.Sequence,steps:e.steps.map(i=>wn(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=wn(this,r,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Le.Group,steps:a,options:Aa(e.options)}}visitAnimate(e,t){let i=Jve(e.timings,t.errors);t.currentAnimateTimings=i;let n,a=e.styles?e.styles:bg({});if(a.type==Le.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:Le.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(rve()):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:Le.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(ove(l,c.startTime,c.endTime)),h=!1),a=c.startTime),h&&u.set(l,{startTime:a,endTime:n}),t.options&&Rve(o,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:Le.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(sve()),i;let n=1,a=0,r=[],o=!1,l=!1,u=0,c=e.steps.map(S=>{let T=this._makeStyleAst(S,t),L=T.offset!=null?T.offset:Kve(T.styles),P=0;return L!=null&&(a++,P=T.offset=L),l=l||P<0||P>1,o=o||P<u,u=P,r.push(P),T});l&&t.errors.push(lve()),o&&t.errors.push(cve());let h=e.steps.length,m=0;a>0&&a<h?t.errors.push(uve()):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 L=m>0?T==v?1:m*T:r[T],P=L*w;t.currentTime=g+x.delay+P,x.duration=P,this._validateStyleAst(S,t),S.offset=L,i.styles.push(S)}),i}visitReference(e,t){return{type:Le.Reference,animation:wn(this,xo(e.animation),t),options:Aa(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Le.AnimateChild,options:Aa(e.options)}}visitAnimateRef(e,t){return{type:Le.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]=$ve(e.selector);t.currentQuerySelector=i.length?i+" "+a:a,Sn(t.collectedStyles,t.currentQuerySelector,new Map);let o=wn(this,xo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:Le.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(dve());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:nc(e.timings,t.errors,!0);return{type:Le.Stagger,animation:wn(this,xo(e.animation),t),timings:i,options:null}}};function $ve(e){let t=!!e.split(/\s*,\s*/).find(i=>i==S_);return t&&(e=e.replace(Wve,"")),e=e.replace(/@\*/g,tc).replace(/@\w+/g,i=>tc+"-"+i.slice(1)).replace(/:animating/g,th),[e,t]}function Yve(e){return e?ue({},e):null}var Zve=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 Kve(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 Jve(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=nc(e,t).duration;return Hu(a,0,"")}let i=e;if(i.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Hu(0,0,"");return a.dynamic=!0,a.strValue=i,a}let n=nc(i,t);return Hu(n.duration,n.delay,n.easing)}function Aa(e){return e?(e=ue({},e),e.params&&(e.params=Yve(e.params))):e={},e}function Hu(e,t,i){return{duration:e,delay:t,easing:i}}function Xp(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 Qp=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()}},Xve=1,Qve=":enter",eye=new RegExp(Qve,"g"),tye=":leave",nye=new RegExp(tye,"g");function I_(e,t,i,n,a,r=new Map,o=new Map,l,u,c=[]){return new iye().buildKeyframes(e,t,i,n,a,r,o,l,u,c)}var iye=class{buildKeyframes(e,t,i,n,a,r,o,l,u,c=[]){u=u||new Qp;let h=new aye(e,t,u,n,a,c,[]);h.options=l;let m=l.delay?zi(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([r],null,h.errors,l),wn(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()):[Xp(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:zi(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?zi(i.duration):null,r=i.delay!=null?zi(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),wn(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==Le.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ac);let r=zi(a.delay);n.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>wn(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?zi(e.options.delay):0;e.steps.forEach(r=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),wn(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==Le.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?zi(n.delay):0;a&&(t.previousNode.type===Le.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),wn(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;wn(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}},ac={},aye=class C_{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=zi(n.duration)),n.delay!=null&&(a.delay=zi(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 C_(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 rye(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(eye,"."+this._enterClassName),t=t.replace(nye,"."+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(hve()),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+=Xve,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=oye(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===Wp?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 Xp(this.element,a,r,o,this.duration,this.startTime,this.easing,!1)}},rye=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",Ig(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",Ig(x/o)),r.push(v)}n=o,i=0,a="",t=r}return Xp(this.element,t,this.preStyleProps,this.postStyleProps,n,i,a,!0)}};function Ig(e,t=3){let i=Math.pow(10,t-1);return Math.round(e*i)/i}function oye(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 Cg(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 Uu={},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 sye(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||Uu,v=o&&o.params||Uu,g=this.buildStyles(i,v,h),x=l&&l.params||Uu,w=this.buildStyles(n,x,h),S=new Set,T=new Map,L=new Map,P=n==="void",re={params:N_(x,m),delay:(Ft=this.ast.options)==null?void 0:Ft.delay},ve=c?[]:I_(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?Cg(t,this._triggerName,i,n,P,g,w,[],[],T,L,ke,h):(ve.forEach(wt=>{let Qe=wt.element,Dt=Sn(T,Qe,new Set);wt.preStyleProps.forEach(J=>Dt.add(J));let ie=Sn(L,Qe,new Set);wt.postStyleProps.forEach(J=>ie.add(J)),Qe!==t&&S.add(Qe)}),Cg(t,this._triggerName,i,n,P,g,w,ve,[...S.values()],T,L,ke))}};function sye(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 lye=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 cye(e,t,i){return new uye(e,t,i)}var uye=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 lye(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=dye(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 dye(e,t,i){let n=[(o,l)=>!0],a={type:Le.Sequence,steps:[],options:null},r={type:Le.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 hye=new Qp,pye=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 vve();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=I_(this._driver,t,a,x_,eh,new Map,new Map,i,hye,n),r.forEach(c=>{let h=Sn(o,c.element,new Map);c.postStyleProps.forEach(m=>h.set(m,null))})):(n.push(yve()),r=[]),n.length)throw bve();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 _ve();return t}listen(e,t,i,n){let a=$p(t,"","","");return qp(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",mye=".ng-animate-queued",Gu="ng-animate-disabled",fye=".ng-animate-disabled",gye="ng-star-inserted",vye=".ng-star-inserted",yye=[],P_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},bye={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zn="__ng_removed",ah=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=Eye(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",Wu=new ah(Ro),_ye=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,Vn(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.has(t))throw xve();if(i==null||i.length==0)throw wve();if(!Sye(i))throw Eve();let a=Sn(this._elementListeners,e,[]),r={name:t,phase:i,callback:n};a.push(r);let o=Sn(this._engine.statesByElement,e,new Map);return o.has(t)||(Vn(e,tl),Vn(e,tl+"-"+t),o.set(t,Wu)),()=>{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 Sve();return t}trigger(e,t,i,n=!0){let a=this._getTrigger(t),r=new rh(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Vn(e,tl),Vn(e,tl+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new ah(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Wu),u.value!==Ro&&l.value===u.value){if(!Cye(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=Sn(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||(Vn(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)||Wu,u=new ah(Ro),c=new rh(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){Vn(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=$p(a,i.triggerName,i.fromState.value,i.toState.value);l._data=e,qp(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)}},xye=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 _ye(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),Vn(e,Gu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xr(e,Gu))}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,th,!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(Gu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,fye,!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];Vn(n,gye)}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 kve()}_flushAnimations(e,t){let i=new Qp,n=[],a=new Map,r=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(V=>{c.add(V);let H=this.driver.query(V,mye,!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((V,H)=>{let te=x_+x++;g.set(H,te),V.forEach(Pe=>Vn(Pe,te))});let w=[],S=new Set,T=new Set;for(let V=0;V<this.collectedLeaveElements.length;V++){let H=this.collectedLeaveElements[V],te=H[Zn];te&&te.setForRemoval&&(w.push(H),S.add(H),te.hasAnimation?this.driver.query(H,vye,!0).forEach(Pe=>S.add(Pe)):T.add(H))}let L=new Map,P=Pg(m,Array.from(S));P.forEach((V,H)=>{let te=eh+x++;L.set(H,te),V.forEach(Pe=>Vn(Pe,te))}),e.push(()=>{v.forEach((V,H)=>{let te=g.get(H);V.forEach(Pe=>xr(Pe,te))}),P.forEach((V,H)=>{let te=L.get(H);V.forEach(Pe=>xr(Pe,te))}),w.forEach(V=>{this.processLeaveNode(V)})});let re=[],ve=[];for(let V=this._namespaceList.length-1;V>=0;V--)this._namespaceList[V].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),Vt=this.statesByElement.get(H.element);if(Vt&&Vt.has(H.triggerName)){let ci=Vt.get(H.triggerName);ci.value=Kt,Vt.set(H.triggerName,ci)}}te.destroy();return}}let Je=!h||!this.driver.containsElement(h,Pe),Zt=L.get(Pe),Fe=g.get(Pe),Be=this._buildInstruction(H,i,Fe,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 ct=[];Be.timelines.forEach(et=>{et.stretchStartingKeyframe=!0,this.disabledNodes.has(et.element)||ct.push(et)}),Be.timelines=ct,i.append(Pe,Be.timelines);let Wn={instruction:Be,player:te,element:Pe};r.push(Wn),Be.queriedElements.forEach(et=>Sn(o,et,[]).push(te)),Be.preStyleProps.forEach((et,Kt)=>{if(et.size){let Vt=l.get(Kt);Vt||l.set(Kt,Vt=new Set),et.forEach((ci,na)=>Vt.add(na))}}),Be.postStyleProps.forEach((et,Kt)=>{let Vt=u.get(Kt);Vt||u.set(Kt,Vt=new Set),et.forEach((ci,na)=>Vt.add(na))})});if(ve.length){let V=[];ve.forEach(H=>{V.push(Ive(H.triggerName,H.errors))}),re.forEach(H=>H.destroy()),this.reportError(V)}let ke=new Map,Ft=new Map;r.forEach(V=>{let H=V.element;i.has(H)&&(Ft.set(H,H),this._beforeAnimationBuild(V.player.namespaceId,V.instruction,ke))}),n.forEach(V=>{let H=V.element;this._getPreviousPlayers(H,!1,V.namespaceId,V.triggerName,null).forEach(te=>{Sn(ke,H,[]).push(te),te.destroy()})});let wt=w.filter(V=>Mg(V,l,u)),Qe=new Map;Ng(Qe,this.driver,T,u,qi).forEach(V=>{Mg(V,l,u)&&wt.push(V)});let Dt=new Map;v.forEach((V,H)=>{Ng(Dt,this.driver,new Set(V),l,Wp)}),wt.forEach(V=>{let H=Qe.get(V),te=Dt.get(V);Qe.set(V,new Map([...(H==null?void 0:H.entries())??[],...(te==null?void 0:te.entries())??[]]))});let ie=[],J=[],Ce={};r.forEach(V=>{let{element:H,player:te,instruction:Pe}=V;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=Ce;if(Ft.size>1){let Fe=H,Be=[];for(;Fe=Fe.parentNode;){let ct=Ft.get(Fe);if(ct){Je=ct;break}Be.push(Fe)}Be.forEach(ct=>Ft.set(ct,Je))}let Zt=this._buildAnimation(te.namespaceId,Pe,ke,a,Dt,Qe);if(te.setRealPlayer(Zt),Je===Ce)ie.push(te);else{let Fe=this.playersByElement.get(Je);Fe&&Fe.length&&(te.parentPlayer=ca(Fe)),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(V=>{let H=a.get(V.element);if(H&&H.length){let te=ca(H);V.setRealPlayer(te)}}),n.forEach(V=>{V.parentPlayer?V.syncPlayerEvents(V.parentPlayer):V.destroy()});for(let V=0;V<w.length;V++){let H=w[V],te=H[Zn];if(xr(H,eh),te&&te.hasAnimation)continue;let Pe=[];if(o.size){let Zt=o.get(H);Zt&&Zt.length&&Pe.push(...Zt);let Fe=this.driver.query(H,th,!0);for(let Be=0;Be<Fe.length;Be++){let ct=o.get(Fe[Be]);ct&&ct.length&&Pe.push(...ct)}}let Je=Pe.filter(Zt=>!Zt.destroyed);Je.length?kye(this,H,Je):this.processLeaveNode(H)}return w.length=0,ie.forEach(V=>{this.players.push(V),V.onDone(()=>{V.destroy();let H=this.players.indexOf(V);this.players.splice(H,1)}),V.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=Sn(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=Iye((i.get(x)||yye).map(ke=>ke.getRealPlayer())).filter(ke=>{let Ft=ke;return Ft.element?Ft.element===x:!1}),L=a.get(x),P=r.get(x),re=v_(this._normalizer,g.keyframes,L,P),ve=this._buildPlayer(g,re,T);if(g.subTimeline&&n&&h.add(x),S){let ke=new rh(e,o,x);ke.setRealPlayer(ve),u.push(ke)}return ve});u.forEach(g=>{Sn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>wye(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Vn(g,Eg));let v=ca(m);return v.onDestroy(()=>{c.forEach(g=>xr(g,Eg)),fi(l,t.toStyles)}),h.forEach(g=>{Sn(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)}},rh=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=>qp(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){Sn(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 wye(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 Eye(e){return e??null}function al(e){return e&&e.nodeType===1}function Sye(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]=bye,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 Vn(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 kye(e,t,i){ca(i).onDone(()=>e.processLeaveNode(t))}function Iye(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 Cye(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 oh=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 xye(e.body,t,i),this._timelineEngine=new pye(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 fve();o=cye(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 Dye(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=qu(t[0]),t.length>1&&(n=qu(t[t.length-1]))):t instanceof Map&&(i=qu(t)),i||n?new Tye(e,i,n):null}var Tye=(()=>{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 qu(e){let t=null;return e.forEach((i,n)=>{Oye(n)&&(t=t||new Map,t.set(n,i))}),t}function Oye(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:Kp(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Nye=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return y_(e,t)}getParentElement(e){return Yp(e)}query(e,t,i){return b_(e,t,i)}computeStyle(e,t,i){return Kp(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);Fve(i,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,x)=>u.set(x,g))});let h=Ave(t).map(v=>new Map(v));h=Vve(e,h,u);let m=Dye(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)}},Pye=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=Mye(t),o=i.slice(1),l="";return o.charAt(0)!=kl&&([o,l]=Aye(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 Mye(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Aye(e){let t=e.indexOf("."),i=e.substring(0,t),n=e.slice(t+1);return[i,n]}var Rye=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 Pye(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)}},Lye=(()=>{const t=class t extends oh{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(Jp))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Fye(){return new Bve}function Vye(e,t,i){return new Rye(e,t,i)}var jye=[{provide:Jp,useFactory:Fye},{provide:oh,useClass:Lye},{provide:oi,useFactory:Vye,deps:[qd,oh,We]}],zye=[{provide:E_,useFactory:()=>new Nye},{provide:ar,useFactory:()=>"BrowserAnimations"},...jye];function Bye(){return rr("NgEagerAnimations"),[...zye]}var Hye=(()=>{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})(),L_=6048e5,Uye=864e5,Gye=6e4,Wye=36e5,qye=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 je(e,t){return pt(t||e,e)}function ur(e,t,i){let n=je(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 $ye(e,t,i){let n=je(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 Yye={};function dr(){return Yye}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=je(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 F_(e,t){let i=je(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=je(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 em(e,...t){let i=pt.bind(null,t.find(n=>typeof n=="object"));return t.map(i)}function Ii(e,t){let i=je(e,t==null?void 0:t.in);return i.setHours(0,0,0,0),i}function Zye(e,t,i){let[n,a]=em(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)/Uye)}function Kye(e,t){let i=F_(e,t),n=pt(e,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),nr(n)}function Jye(e,t,i){return ur(e,t*7,i)}function Xye(e,t,i){return $ye(e,t*12,i)}function Qye(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=je(a,n);(!i||i>r||isNaN(+r))&&(i=r)}),pt(n,i||NaN)}function ebe(e,t){let i=+je(e);if(isNaN(i))return NaN;let n,a;return t.forEach((r,o)=>{let l=je(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 tbe(e,t,i){let[n,...a]=em(i==null?void 0:i.in,e,...t),r=ebe(n,a);if(typeof r=="number"&&isNaN(r))return pt(n,NaN);if(r!==void 0)return a[r]}function nbe(e,t,i){let[n,a]=em(i==null?void 0:i.in,e,t);return+Ii(n)==+Ii(a)}function ibe(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function V_(e){return!(!ibe(e)&&typeof e!="number"||isNaN(+je(e)))}function abe(e,t){let i=je(e,t==null?void 0:t.in);return i.setHours(23,59,59,999),i}function rbe(e,t){let i=je(e,t==null?void 0:t.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}function obe(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=je(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 sbe={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"}},lbe=(e,t,i)=>{let n,a=sbe[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 $u(e){return(t={})=>{let i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var cbe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ube={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dbe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hbe={date:$u({formats:cbe,defaultWidth:"full"}),time:$u({formats:ube,defaultWidth:"full"}),dateTime:$u({formats:dbe,defaultWidth:"full"})},pbe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mbe=(e,t,i,n)=>pbe[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 fbe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},gbe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},vbe={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"]},ybe={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"]},bbe={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"}},_be={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"}},xbe=(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"},wbe={ordinalNumber:xbe,era:wo({values:fbe,defaultWidth:"wide"}),quarter:wo({values:gbe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wo({values:vbe,defaultWidth:"wide"}),day:wo({values:ybe,defaultWidth:"wide"}),dayPeriod:wo({values:bbe,defaultWidth:"wide",formattingValues:_be,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)?Sbe(l,m=>m.test(o)):Ebe(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 Ebe(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}function Sbe(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}function kbe(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 Ibe=/^(\d+)(th|st|nd|rd)?/i,Cbe=/\d+/i,Dbe={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},Tbe={any:[/^b/i,/^(a|c)/i]},Obe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Nbe={any:[/1/i,/2/i,/3/i,/4/i]},Pbe={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},Mbe={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]},Abe={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},Rbe={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]},Lbe={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},Fbe={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}},Vbe={ordinalNumber:kbe({matchPattern:Ibe,parsePattern:Cbe,valueCallback:e=>parseInt(e,10)}),era:Eo({matchPatterns:Dbe,defaultMatchWidth:"wide",parsePatterns:Tbe,defaultParseWidth:"any"}),quarter:Eo({matchPatterns:Obe,defaultMatchWidth:"wide",parsePatterns:Nbe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Eo({matchPatterns:Pbe,defaultMatchWidth:"wide",parsePatterns:Mbe,defaultParseWidth:"any"}),day:Eo({matchPatterns:Abe,defaultMatchWidth:"wide",parsePatterns:Rbe,defaultParseWidth:"any"}),dayPeriod:Eo({matchPatterns:Lbe,defaultMatchWidth:"any",parsePatterns:Fbe,defaultParseWidth:"any"})},j_={code:"en-US",formatDistance:lbe,formatLong:hbe,formatRelative:mbe,localize:wbe,match:Vbe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function jbe(e,t){let i=je(e,t==null?void 0:t.in);return Zye(i,rbe(i))+1}function tm(e,t){let i=je(e,t==null?void 0:t.in),n=+nr(i)-+Kye(i);return Math.round(n/L_)+1}function nm(e,t){var h,m,v,g;let i=je(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 zbe(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=nm(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=je(e,t==null?void 0:t.in),n=+Ji(i,t)-+zbe(i,t);return Math.round(n/L_)+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"},Lg={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=nm(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=F_(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=tm(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=jbe(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 Vg(n);case"XXXX":case"XX":return Va(n);case"XXXXX":case"XXX":default:return Va(n,":")}},x:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"x":return Vg(n);case"xxxx":case"xx":return Va(n);case"xxxxx":case"xxx":default:return Va(n,":")}},O:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Fg(n,":");case"OOOO":default:return"GMT"+Va(n,":")}},z:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Fg(n,":");case"zzzz":default:return"GMT"+Va(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 Fg(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 Vg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Va(e,t)}function Va(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 jg=(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"})}},Bbe=(e,t)=>{let i=e.match(/(P+)(p+)?/)||[],n=i[1],a=i[2];if(!a)return jg(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}}",jg(n,t)).replace("{{time}}",B_(a,t))},sh={p:B_,P:Bbe},Hbe=/^D+$/,Ube=/^Y+$/,Gbe=["D","DD","YY","YYYY"];function H_(e){return Hbe.test(e)}function U_(e){return Ube.test(e)}function lh(e,t,i){let n=Wbe(e,t,i);if(console.warn(n),Gbe.includes(e))throw new RangeError(n)}function Wbe(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 qbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$be=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ybe=/^'([^]*?)'?$/,Zbe=/''/g,Kbe=/[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??j_,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=je(e,i==null?void 0:i.in);if(!V_(l))throw new RangeError("Invalid time value");let u=t.match($be).map(L=>{let P=L[0];if(P==="p"||P==="P"){let re=sh[P];return re(L,a.formatLong)}return L}).join("").match(qbe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let P=L[0];if(P==="'")return{isToken:!1,value:Jbe(L)};if(Lg[P])return{isToken:!0,value:L};if(P.match(Kbe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:L}});a.localize.preprocessor&&(u=a.localize.preprocessor(l,u));let c={firstWeekContainsDate:r,weekStartsOn:o,locale:a};return u.map(L=>{if(!L.isToken)return L.value;let P=L.value;(!(i!=null&&i.useAdditionalWeekYearTokens)&&U_(P)||!(i!=null&&i.useAdditionalDayOfYearTokens)&&H_(P))&&lh(P,t,String(e));let re=Lg[P[0]];return re(l,P,a.localize,c)}).join("")}function Jbe(e){let t=e.match(Ybe);return t?t[1].replace(Zbe,"'"):e}function rl(e,t){return je(e,t==null?void 0:t.in).getDate()}function G_(){return Object.assign({},dr())}function W_(e,t){let i=je(e,t==null?void 0:t.in).getDay();return i===0?7:i}function zg(e,t){return je(e,t==null?void 0:t.in).getMonth()}function Xbe(e,t){return+je(e)>+je(t)}function $c(e,t){return+je(e)<+je(t)}function Qbe(e,t){let i=e1e(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 e1e(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var t1e=10,q_=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},n1e=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)}},i1e=class extends q_{constructor(t,i){super();s(this,"priority",t1e);s(this,"subPriority",-1);this.context=t||(n=>pt(i,n))}set(t,i){return i.timestampIsSet?t:pt(t,Qbe(t,this.context))}},$e=class{run(e,t,i,n){let a=this.parse(e,t,i,n);return a?{setter:new n1e(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,i){return!0}},a1e=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 It(e,t){return e&&{value:t(e.value),rest:e.rest}}function dt(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*Wye+r*Gye+o*qye),rest:t.slice(i[0].length)}}function $_(e){return dt(kt.anyDigitsSigned,e)}function xt(e,t){switch(e){case 1:return dt(kt.singleDigit,t);case 2:return dt(kt.twoDigits,t);case 3:return dt(kt.threeDigits,t);case 4:return dt(kt.fourDigits,t);default:return dt(new RegExp("^\\d{1,"+e+"}"),t)}}function oc(e,t){switch(e){case 1:return dt(kt.singleDigitSigned,t);case 2:return dt(kt.twoDigitsSigned,t);case 3:return dt(kt.threeDigitsSigned,t);case 4:return dt(kt.fourDigitsSigned,t);default:return dt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function im(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 r1e=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 It(xt(4,t),a);case"yo":return It(n.ordinalNumber(t,{unit:"year"}),a);default:return It(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}},o1e=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 It(xt(4,t),a);case"Yo":return It(n.ordinalNumber(t,{unit:"year"}),a);default:return It(xt(i.length,t),a)}}validate(t,i){return i.isTwoDigitYear||i.year>0}set(t,i,n,a){let r=nm(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)}},s1e=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)}},l1e=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}},c1e=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}},u1e=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}},d1e=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 It(dt(kt.month,t),a);case"MM":return It(xt(2,t),a);case"Mo":return It(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}},h1e=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 It(dt(kt.month,t),a);case"LL":return It(xt(2,t),a);case"Lo":return It(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 p1e(e,t,i){let n=je(e,i==null?void 0:i.in),a=z_(n,i)-t;return n.setDate(n.getDate()-a*7),je(n,i==null?void 0:i.in)}var m1e=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 dt(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(p1e(t,n,a),a)}};function f1e(e,t,i){let n=je(e,i==null?void 0:i.in),a=tm(n,i)-t;return n.setDate(n.getDate()-a*7),n}var g1e=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 dt(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(f1e(t,n))}},v1e=[31,28,31,30,31,30,31,31,30,31,30,31],y1e=[31,29,31,30,31,30,31,31,30,31,30,31],b1e=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 dt(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<=y1e[r]:i>=1&&i<=v1e[r]}set(t,i,n){return t.setDate(n),t.setHours(0,0,0,0),t}},_1e=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 dt(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 am(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=je(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 x1e=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=am(t,n,a),t.setHours(0,0,0,0),t}},w1e=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 It(xt(i.length,t),r);case"eo":return It(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=am(t,n,a),t.setHours(0,0,0,0),t}},E1e=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 It(xt(i.length,t),r);case"co":return It(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=am(t,n,a),t.setHours(0,0,0,0),t}};function S1e(e,t,i){let n=je(e,i==null?void 0:i.in),a=W_(n,i),r=t-a;return ur(n,r,i)}var k1e=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 It(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 It(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return It(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return It(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=S1e(t,n),t.setHours(0,0,0,0),t}},I1e=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(im(n),0,0,0),t}},C1e=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(im(n),0,0,0),t}},D1e=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(im(n),0,0,0),t}},T1e=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 dt(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}},O1e=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 dt(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}},N1e=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 dt(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}},P1e=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 dt(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}},M1e=class extends $e{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,i,n){switch(i){case"m":return dt(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}},A1e=class extends $e{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,i,n){switch(i){case"s":return dt(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}},R1e=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 It(xt(i.length,t),n)}set(t,i,n){return t.setMilliseconds(n),t}},L1e=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)}},F1e=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)}},V1e=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}]}},j1e=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}]}},z1e={G:new a1e,y:new r1e,Y:new o1e,R:new s1e,u:new l1e,Q:new c1e,q:new u1e,M:new d1e,L:new h1e,w:new m1e,I:new g1e,d:new b1e,D:new _1e,E:new x1e,e:new w1e,c:new E1e,i:new k1e,a:new I1e,b:new C1e,B:new D1e,h:new T1e,H:new O1e,K:new N1e,k:new P1e,m:new M1e,s:new A1e,S:new R1e,X:new L1e,x:new F1e,t:new V1e,T:new j1e},B1e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,H1e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,U1e=/^'([^]*?)'?$/,G1e=/''/g,W1e=/\S/,q1e=/[a-zA-Z]/;function K_(e,t,i,n){var S,T,L,P;let a=()=>pt(i,NaN),r=G_(),o=r.locale??j_,l=r.firstWeekContainsDate??((T=(S=r.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,u=r.weekStartsOn??((P=(L=r.locale)==null?void 0:L.options)==null?void 0:P.weekStartsOn)??0;if(!t)return e?a():je(i,n==null?void 0:n.in);let c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},h=[new i1e(n==null?void 0:n.in,i)],m=t.match(H1e).map(re=>{let ve=re[0];if(ve in sh){let ke=sh[ve];return ke(re,o.formatLong)}return re}).join("").match(B1e),v=[];for(let re of m){U_(re)&&lh(re,t,e),H_(re)&&lh(re,t,e);let ve=re[0],ke=z1e[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(q1e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ve+"`");if(re==="''"?re="'":ve==="'"&&(re=$1e(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&W1e.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=je(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 $1e(e){return e.match(U1e)[1].replace(G1e,"'")}function Y1e(e,t,i){let n=+je(e,i==null?void 0:i.in),[a,r]=[+je(t.start,i==null?void 0:i.in),+je(t.end,i==null?void 0:i.in)].sort((o,l)=>o-l);return n>=a&&n<=r}function Z1e(e,t,i){return ur(e,-1,i)}var C=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}(C||{}),Yc=new se("ngx-mask config"),J_=new se("new ngx-mask config"),X_=new se("initial ngx-mask config"),K1e={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 zt,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")}}};C.HOURS_MINUTES_SECONDS,C.HOURS_MINUTES,C.MINUTES_SECONDS;C.PERCENT,C.HOURS_HOUR,C.SECONDS,C.MINUTES,C.SEPARATOR,C.DAYS_MONTHS_YEARS,C.DAYS_MONTHS,C.DAYS,C.MONTHS;var J1e=(()=>{const t=class t{constructor(){s(this,"_config",I(Yc));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])??C.EMPTY_STRING}else l=n.split(r),u=r;let c=l.length>1?`${u}${l[1]}`:C.EMPTY_STRING,h=l[0]??C.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,C.EMPTY_STRING);m&&+m&&(h[0]===C.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(C.MINUS)?a.slice(1,n.length):a);return!isNaN(r)&&r>=0&&r<=100});s(this,"getPrecision",n=>{let a=n.split(C.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,C.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 C.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(C.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(c,c+1)===C.MINUS&&(h+=w.slice(c,c+1)),a===C.IP){let ie=w.split(C.DOT);this.ipError=this._validIP(ie),a="099.099.099.099"}let L=[];for(let ie=0;ie<w.length;ie++)(wt=w[ie])!=null&&wt.match("\\d")&&L.push(w[ie]??C.EMPTY_STRING);if(a===C.CPF_CNPJ&&(this.cpfCnpjError=L.length!==11&&L.length!==14,L.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(C.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ce=this.getPrecision(a);w=this.checkInputPrecision(w,Ce,this.decimalMarker)}let ie=typeof this.decimalMarker=="string"?this.decimalMarker:C.DOT;if(w.indexOf(ie)>0&&!this.percentage(w.substring(0,w.indexOf(ie)))){let Ce=w.substring(0,w.indexOf(ie)-1);this.allowNegativeNumbers&&w.slice(c,c+1)===C.MINUS&&!l&&(Ce=w.substring(0,w.indexOf(ie))),w=`${Ce}${w.substring(w.indexOf(ie),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(c,c+1)===C.MINUS?J=`${C.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(C.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===C.DOT?C.COMMA:C.DOT:this.decimalMarker;if(ie===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===C.MINUS&&w[1]===C.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==C.COMMA&&w[2]!==C.DOT?"-"+w.slice(2,w.length):w[0]===C.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==C.COMMA&&w[1]!==C.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===C.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==C.COMMA&&w[1]!==C.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=C.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===C.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]===C.MINUS&&(w[1]===J||w[1]===C.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+C.NUMBER_ZERO+w.slice(1,w.length):w[1]===C.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Fe=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),Be=w[S]===C.NUMBER_ZERO||w[S]===J,ct=w[0]===C.NUMBER_ZERO,Wn=w[0]===C.MINUS,et=w[0]===this.thousandSeparator,Kt=w[1]===J,Vt=w[1]===C.NUMBER_ZERO,ci=w[2]===J;ct&&Kt&&Be&&S<2&&(w=Fe),Wn&&Vt&&ci&&Be&&S<3&&(w=C.MINUS+Fe),Fe!==C.MINUS&&(S===0&&(ct||et)||this.allowNegativeNumbers&&S===1&&Wn&&!Vt)&&(w=Wn?C.MINUS+Fe:Fe)}let Ce=this._charToRegExpExpression(this.thousandSeparator),V='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ce,"");if(Array.isArray(this.decimalMarker))for(let Fe of this.decimalMarker)V=V.replace(this._charToRegExpExpression(Fe),C.EMPTY_STRING);else V=V.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+V+"]");w.match(H)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,ie,this.decimalMarker);let te=w.replace(new RegExp(Ce,"g"),"");h=this._formatWithSeparators(te,this.thousandSeparator,this.decimalMarker,ie);let Pe=h.indexOf(C.COMMA)-w.indexOf(C.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 Fe=0;do this._shift.add(S+Fe),Fe++;while(Fe<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(C.COMMA)>=S&&S>3)||!(h.indexOf(C.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]??C.EMPTY_STRING){let Ce=C.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[c]??C.EMPTY_STRING)&&a[c+1]===C.SYMBOL_QUESTION)h+=J,c+=2;else if(a[c+1]===C.SYMBOL_STAR&&m&&this._checkSymbolMask(J,a[c+2]??C.EMPTY_STRING))h+=J,c+=3,m=!1;else if(this._checkSymbolMask(J,a[c]??C.EMPTY_STRING)&&a[c+1]===C.SYMBOL_STAR&&!Ce)h+=J,m=!0;else if(a[c+1]===C.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[c+2]??C.EMPTY_STRING))h+=J,c+=3;else if(this._checkSymbolMask(J,a[c]??C.EMPTY_STRING)){if(a[c]===C.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]===C.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]===C.MINUTE||a[c]===C.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 V=31,H=w[c],te=w[c+1],Pe=w[c+2],Je=w[c-1],Zt=w[c-2],Fe=w.slice(c-3,c-1),Be=w.slice(c-1,c+1),ct=w.slice(c,c+2),Wn=w.slice(c-2,c);if(a[c]===C.DAY){let et=a.slice(0,2)===C.MONTHS,Kt=a.slice(0,2)===C.MONTHS&&this.specialCharacters.includes(Zt);if(Number(J)>3&&this.leadZeroDateTime||!et&&(Number(ct)>V||Number(Be)>V||this.specialCharacters.includes(te))||(Kt?Number(Be)>V||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Pe)||this.specialCharacters.includes(H):Number(ct)>V||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]===C.MONTH){let et=c===0&&(Number(J)>2||Number(ct)>12||this.specialCharacters.includes(te)&&!l),Kt=a.slice(c+2,c+3),Vt=Fe.includes(Kt)&&a.includes("d0")&&(this.specialCharacters.includes(Zt)&&Number(Be)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),ci=Number(Fe)<=V&&!this.specialCharacters.includes(Fe)&&this.specialCharacters.includes(Je)&&(Number(ct)>12||this.specialCharacters.includes(te)),na=Number(ct)>12&&c===5||this.specialCharacters.includes(te)&&c===5,Os=Number(Fe)>V&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Wn)&&Number(Wn)>12&&a.includes("d0"),Ns=Number(Fe)<=V&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Je)&&Number(Be)>12;if(Number(J)>1&&this.leadZeroDateTime||et||Vt||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]??C.EMPTY_STRING)!==-1?(h+=a[c],c++,this._shiftStep(a,c,T.length),ie--):a[c]===C.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,c,T.length):this.patterns[a[c]??C.EMPTY_STRING]&&((Qe=this.patterns[a[c]??C.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]??C.EMPTY_STRING])!=null&&Dt.optional)&&(h+=T[c]),a.includes(C.NUMBER_NINE+C.SYMBOL_STAR)&&a.includes(C.NUMBER_ZERO+C.SYMBOL_STAR)&&c++,c++,ie--):this.maskExpression[c+1]===C.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??C.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===C.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??C.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]??C.EMPTY_STRING)!==-1&&(h+=a[a.length-1]);let P=S+1;for(;this._shift.has(P);)g++,P++;let re=o&&!a.startsWith(C.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?C.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(C.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&h===C.MINUS)return"";ke=`${C.MINUS}${this.prefix}${h.split(C.MINUS).join(C.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(C.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===C.MINUS&&r===0&&this.allowNegativeNumbers}).join(C.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===C.EMPTY_STRING||Number(a)>255:a===C.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===C.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(C.DOT),r=this.allowNegativeNumbers&&n.includes(C.MINUS)?"-":"";if(a===-1){let o=parseInt(r?n.slice(1,n.length):n,10);return isNaN(o)?C.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:C.DOT;return u===C.EMPTY_STRING?C.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 J1e{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",I(Rt,{optional:!0}));s(this,"document",I(He));s(this,"_config",I(Yc));s(this,"_renderer",I(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():C.EMPTY_STRING,this.maskExpression===C.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||C.HASH)),this.maskExpression===C.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||C.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]??C.EMPTY_STRING:C.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let S=a&&a.length===1?a.split(C.EMPTY_STRING):this.actualValue.split(C.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==C.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(C.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),u&&this.specialCharacters.indexOf(this.maskExpression[v]??C.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)!==C.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===C.DOT&&this.decimalMarker===C.DOT&&(this.decimalMarker=C.COMMA),this.maskExpression.startsWith(C.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(C.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${w.slice(x+S)}`}else if(this.maskExpression===C.IP||this.maskExpression===C.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(C.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[r[l]??C.EMPTY_STRING]&&((u=this.patterns[r[l]??C.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[r[l]??C.EMPTY_STRING])==null?void 0:c.symbol:o}).join(C.EMPTY_STRING)}getActualValue(a){let r=a.split(C.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??C.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return r.join(C.EMPTY_STRING)===a?r.join(C.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(C.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??C.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=o,a[l+1];if(r.length){let u=r;return r=C.EMPTY_STRING,u}return o})||[]).join(C.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(C.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(C.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${C.MINUS}/`,C.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===C.IP)return this._checkForIp(a);if(this.maskExpression===C.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,C.EMPTY_STRING).length&&(this.formElementProperty=["value",C.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(C.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===C.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<a.length;o++){let l=a[o]??C.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===C.HASH)return r;let l=[];for(let u=0;u<a.length;u++){let c=a[u]??C.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===C.EMPTY_STRING||this.maskExpression.startsWith(C.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(C.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(C.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(C.PERCENT)&&a.includes(C.DOT)?a:a&&a.replace(this._regExpForRemove(r),C.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,C.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,C.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(C.WHITE_SPACE)&&this.maskExpression.includes(C.SYMBOL_STAR)&&(r=r.filter(o=>o!==C.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),C.DOT)}_checkSymbols(a){let r=a;if(r===C.EMPTY_STRING)return r;this.maskExpression.startsWith(C.PERCENT)&&this.decimalMarker===C.COMMA&&(r=r.replace(C.COMMA,C.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(C.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===C.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(C.EMPTY_STRING).reduce((r,o,l)=>{if(this._start=o===C.CURLY_BRACKETS_LEFT?l:this._start,o!==C.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(C.LETTER_S)){let h=a.slice(0,this._start-1);return h.includes(C.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 X1e(){let e=I(X_),t=I(J_);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function Q1e(e){return[{provide:J_,useValue:e},{provide:X_,useValue:K1e},{provide:Yc,useFactory:X1e},Q_]}function e_e(e){return Ch(Q1e(e))}var t_e=(()=>{const t=class t{constructor(){s(this,"defaultOptions",I(Yc));s(this,"_maskService",I(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(C.CURLY_BRACKETS_LEFT))return this._maskService.applyMask(`${c}`,this._maskService._repeatPatternSymbols(a));if(a.startsWith(C.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===C.COMMA&&(c=c.replace(C.DOT,C.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]??C.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})(),Zc=(()=>{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})(),n_e="4.0",ch=n_e,ua=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ua||{}),i_e=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new zt);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=ch.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 (${ch})!`),!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:[Ph],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||{}),ut=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}(ut||{}),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"}},Fr={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Do=class extends Error{};Do.prototype.name="InvalidTokenError";function a_e(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 r_e(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 a_e(t)}catch{return atob(t)}}function o_e(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=r_e(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 s_e=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 o_e(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 l_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 c_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 u_e=(()=>{const t=class t extends nx{constructor(){super(...arguments),this.servicesStore=I(Zc)}resolveSsin(){return Pt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return l_e(n)})}resolvePatientInfo(){return Pt(this,null,function*(){let n=yield this.fetchUserProfileToken();return c_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 s_e(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})(),d_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})(),h_e=(()=>{const t=class t{constructor(){this.http=I(Is)}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 p_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:g_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 m_e(e){for(let t of Object.keys(Bg))if(Bg[t].includes(e))return t;return $i.OTHER}function f_e(e,t,i){let n=e||"UNKNOWN",a=m_e(n);return{code:n,message:i??"An unexpected error occurred",group:a,traceId:t}}function g_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 f_e(t,n,i)}var v_e={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function sc(e){e||(hs(),e=I(ii));let t=new ht(i=>e.onDestroy(i.next.bind(i)));return i=>i.pipe(Hi(t))}function y_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))??I(ii):null,a=b_e(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=kd({kind:0},{equal:a}):r=kd({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 b_e(e=Object.is){return(t,i)=>t.kind===1&&i.kind===1&&e(t.value,i.value)}function __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 x_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 w_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=I(uo),this.injector=I(st),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(d_e):this.injector.get(u_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 E_e(e,t){if(e&1){let i=Lc();j(0,"div",1)(1,"button",2),Di("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 S_e=["label"];function k_e(e,t){}var I_e=Math.pow(2,31)-1,uh=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,I_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"),lc=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")}},C_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})(),D_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})(),T_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})(),O_e=(()=>{const t=class t{constructor(){s(this,"snackBarRef",I(uh));s(this,"data",I(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&&(j(0,"div",0),ge(1),B(),oe(2,E_e,3,1,"div",1)),n&2&&(O(),qe(" ",a.data.message,`
|
|
30
|
-
`),O(),Q(a.hasAction?2:-1))},dependencies:[Wc,C_e,D_e,T_e],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
31
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Yu="_mat-snack-bar-enter",Zu="_mat-snack-bar-exit",N_e=(()=>{const t=class t extends Uc{constructor(){super();s(this,"_ngZone",I(We));s(this,"_elementRef",I(Rt));s(this,"_changeDetectorRef",I(lr));s(this,"_platform",I(Tn));s(this,"_rendersRef");s(this,"_animationsDisabled",I(ar,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",I(lc));s(this,"_document",I(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",I(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===Zu?this._completeExit():a===Yu&&(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(jn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Yu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Yu)},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(jn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Zu)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Zu),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(S_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&&Di("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&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),oe(4,k_e,0,0,"ng-template",4),B(),le(5,"div"),B()()),a&2&&(O(5),Lt("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 P_e(){return new lc}var M_e=new se("mat-snack-bar-default-options",{providedIn:"root",factory:P_e}),A_e=(()=>{const t=class t{constructor(){s(this,"_overlay",I(Ia));s(this,"_live",I(Hge));s(this,"_injector",I(st));s(this,"_breakpointObserver",I(z1));s(this,"_parentSnackBar",I(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",I(M_e));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",O_e);s(this,"snackBarContainerComponent",N_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:lc,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 lc),this._defaultConfig),a),o=this._createOverlay(r),l=this._attachSnackBarContainer(o,r),u=new uh(l,o);if(n instanceof Wr){let c=new zp(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(v_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 Bp;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:uh,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})(),R_e=(()=>{const t=class t{constructor(){this.snackbar=I(A_e),this.translate=I(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})(),L_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=L_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})(),F_e=(e,t)=>{let i=I(ns).getInstance(),n=I(Zc),a=I(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(jo(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(Fr.authorization,Wa.getAuthorizationHeader(l)).set(Fr.userType,Wa.getUserType({isProfessional:o})).set(Fr.clientType,tx()?Wa.clientType.mobileApp:Wa.clientType.webApp)}))))};function V_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var j_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",V_e];function z_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var B_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",z_e];function H_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 U_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",H_e];function G_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var W_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",G_e];Hc(j_e,"de");Hc(W_e,"nl");Hc(U_e,"fr");Hc(B_e,"en");var q_e=class{handleError(e){throw new Error(e)}},$_e=class extends d0e{getFirstDayOfWeek(){return 1}format(e){return Ua(e,"dd/MM/yyyy")}parse(e){return K_(e,"dd/MM/yyyy",new Date)}},Y_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"}}},Z_e=[Bye(),ige(age([F_e])),e_e(),{provide:ai,useClass:q_e},{provide:G1,useClass:$_e,deps:[Xd]},{provide:Qge,useValue:Y_e},{provide:f_,useClass:Hye},{provide:a_,useValue:{panelClass:"mh-dialog-container"}}],K_e=p0(Sre(),1),J_e=new se("MESSAGE_FORMAT_CONFIG"),X_e={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Q_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({},X_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=txe(n,a)}return this.throwOnError||(r=exe(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 K_e.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(pe(J_e,8))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})();function exe(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 txe(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":()=>Ix,"00022":()=>Cx,"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:()=>Lx,default:()=>nxe,dropsperminute:()=>Fx,"effervescent-tablet":()=>ew,gm:()=>Vx,internationalunits:()=>jx,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",Ix="cart",Cx="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",Lx="Zentimeter",Fx="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",Vx="Gramm",jx="{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}}",nxe={"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":Ix,"00022":Cx,"00023":Dx,"00024":Tx,"00025":Ox,"00026":Nx,"00027":Px,"00028":Mx,"00029":Ax,"00030":Rx,cm:Lx,dropsperminute:Fx,gm:Vx,internationalunits:jx,"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":()=>Iw,"00017":()=>Cw,"00018":()=>Dw,"00019":()=>Tw,"00020":()=>Ow,"00021":()=>Nw,"00022":()=>Pw,"00023":()=>Mw,"00024":()=>Aw,"00025":()=>Rw,"00026":()=>Lw,"00027":()=>Fw,"00028":()=>Vw,"00029":()=>jw,"00030":()=>zw,ampoule:()=>hE,bandage:()=>sE,bottle:()=>pE,box:()=>cE,cm:()=>Bw,default:()=>ixe,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",Iw="ml",Cw="{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}}",Lw="{count, plural, one{supository} other{supositories}}",Fw="{count, plural, one{tube} other{tubes}}",Vw="{count, plural, one{wick} other{wicks}}",jw="{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}}",ixe={"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":Iw,"00017":Cw,"00018":Dw,"00019":Tw,"00020":Ow,"00021":Nw,"00022":Pw,"00023":Mw,"00024":Aw,"00025":Rw,"00026":Lw,"00027":Fw,"00028":Vw,"00029":jw,"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":()=>IE,"00012":()=>CE,"00013":()=>DE,"00014":()=>TE,"00015":()=>OE,"00016":()=>NE,"00017":()=>PE,"00018":()=>ME,"00019":()=>AE,"00020":()=>RE,"00021":()=>LE,"00022":()=>FE,"00023":()=>VE,"00024":()=>jE,"00025":()=>zE,"00026":()=>BE,"00027":()=>HE,"00028":()=>UE,"00029":()=>GE,"00030":()=>WE,ampoule:()=>vS,bandage:()=>hS,bottle:()=>yS,box:()=>mS,cm:()=>qE,default:()=>axe,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}}",IE="{count, plural, one{inhalation} other{inhalations}}",CE="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}}",LE="patr.",FE="{count, plural, one{stylo} other{stylos}}",VE="{count, plural, one{puff} other{puffs}}",jE="{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}}",axe={"00001":gE,"00002":vE,"00003":yE,"00004":bE,"00005":_E,"00006":xE,"00007":wE,"00008":EE,"00009":SE,"00010":kE,"00011":IE,"00012":CE,"00013":DE,"00014":TE,"00015":OE,"00016":NE,"00017":PE,"00018":ME,"00019":AE,"00020":RE,"00021":LE,"00022":FE,"00023":VE,"00024":jE,"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":()=>IS,"00007":()=>CS,"00008":()=>DS,"00009":()=>TS,"00010":()=>OS,"00011":()=>NS,"00012":()=>PS,"00013":()=>MS,"00014":()=>AS,"00015":()=>RS,"00016":()=>LS,"00017":()=>FS,"00018":()=>VS,"00019":()=>jS,"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:()=>rxe,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}}",IS="{count, plural, one{dose} other{dosissen}}",CS="{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",LS="ml",FS="{count, plural, one{ovule} other{ovules}}",VS="{count, plural, one{parel} other{parels}}",jS="{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}}",rxe={"00001":xS,"00002":wS,"00003":ES,"00004":SS,"00005":kS,"00006":IS,"00007":CS,"00008":DS,"00009":TS,"00010":OS,"00011":NS,"00012":PS,"00013":MS,"00014":AS,"00015":RS,"00016":LS,"00017":FS,"00018":VS,"00019":jS,"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},oxe={nl:_S,fr:fE,de:rx,en:uw},kk={};K(kk,{default:()=>sxe,friday:()=>Ok,monday:()=>Ik,saturday:()=>Nk,sunday:()=>Pk,thursday:()=>Tk,tuesday:()=>Ck,wednesday:()=>Dk});var Ik="Montag",Ck="Dienstag",Dk="Mittwoch",Tk="Donnerstag",Ok="Freitag",Nk="Samstag",Pk="Sonntag",sxe={monday:Ik,tuesday:Ck,wednesday:Dk,thursday:Tk,friday:Ok,saturday:Nk,sunday:Pk},Mk={};K(Mk,{default:()=>lxe,friday:()=>Vk,monday:()=>Ak,saturday:()=>jk,sunday:()=>zk,thursday:()=>Fk,tuesday:()=>Rk,wednesday:()=>Lk});var Ak="Monday",Rk="Tuesday",Lk="Wednesday",Fk="Thursday",Vk="Friday",jk="Saturday",zk="Sunday",lxe={monday:Ak,tuesday:Rk,wednesday:Lk,thursday:Fk,friday:Vk,saturday:jk,sunday:zk},Bk={};K(Bk,{default:()=>cxe,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",cxe={monday:Hk,tuesday:Uk,wednesday:Gk,thursday:Wk,friday:qk,saturday:$k,sunday:Yk},Zk={};K(Zk,{default:()=>uxe,friday:()=>e2,monday:()=>Kk,saturday:()=>t2,sunday:()=>n2,thursday:()=>Qk,tuesday:()=>Jk,wednesday:()=>Xk});var Kk="Maandag",Jk="Dinsdag",Xk="Woensdag",Qk="Donderdag",e2="Vrijdag",t2="Zaterdag",n2="Zondag",uxe={monday:Kk,tuesday:Jk,wednesday:Xk,thursday:Qk,friday:e2,saturday:t2,sunday:n2},dxe={nl:Zk,fr:Bk,de:kk,en:Mk},i2={};K(i2,{VIDIS_0035:()=>a2,VIDIS_0050:()=>r2,VIDIS_0090:()=>o2,VIDIS_0100:()=>L2,VIDIS_0110:()=>V2,VIDIS_0120:()=>F2,VIDIS_0121:()=>s2,VIDIS_0122:()=>l2,VIDIS_0123:()=>c2,VIDIS_0124:()=>u2,VIDIS_0125:()=>d2,VIDIS_0126:()=>h2,VIDIS_0131:()=>p2,VIDIS_0132:()=>m2,VIDIS_0133:()=>f2,VIDIS_0134:()=>g2,VIDIS_0135:()=>v2,VIDIS_0136:()=>y2,VIDIS_0190:()=>b2,VIDIS_0200:()=>j2,VIDIS_0210:()=>_2,VIDIS_0211:()=>x2,VIDIS_0230:()=>w2,VIDIS_0290:()=>E2,VIDIS_0330:()=>S2,VIDIS_0340:()=>z2,VIDIS_0341:()=>B2,VIDIS_0400:()=>A2,VIDIS_04001:()=>H2,VIDIS_0435:()=>k2,VIDIS_0440:()=>I2,VIDIS_3030:()=>R2,VIDIS_3090:()=>O2,VIDIS_3100:()=>P2,VIDIS_3120:()=>M2,VIDIS_3140:()=>N2,VIDIS_3150:()=>T2,VIDIS_5000:()=>C2,VIDIS_7000:()=>D2,"action-not-authorized-close-button":()=>cI,"action-not-authorized-title":()=>lI,"data-not-available-title":()=>sI,default:()=>hxe,general:()=>G2,"has-hidden-prescriptions":()=>X2,"incorrect-elements-ms-detail":()=>dI,"incorrect-elements-ms-list":()=>uI,invalid_date_format:()=>Z2,myHealth:()=>q2,myHealthUrl:()=>$2,network_error:()=>Y2,"no-access":()=>W2,prescriptionList:()=>U2,"report-message-confirm-toast":()=>oI,"report-message-content":()=>tI,"report-message-explanation":()=>eI,"report-message-ignore-button":()=>rI,"report-message-link":()=>iI,"report-message-report-button":()=>aI,"report-message-term-use":()=>nI,"report-message-title":()=>Q2,"status-message-content":()=>J2,"status-message-title":()=>K2});var a2="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",r2="Die Patienten-INSS fehlt. (VIDIS_0050)",o2="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",s2="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",l2="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",c2="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",u2="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",d2="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",h2="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",p2="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",m2="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",f2="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",g2="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",v2="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",y2="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",b2="Ungültige INSS-Patientennummer. (VIDIS_0190)",_2="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",x2="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",w2="Der Vorgang ist ungültig (VIDIS_0230)",E2='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',S2="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)",k2="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",I2="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",C2="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",D2="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",T2="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",O2="Das Rezept ist abgelaufen.",N2="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.",P2="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",M2="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",A2="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",R2="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",L2="Vorgang nicht erlaubt.",F2="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",V2="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",j2="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",z2="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",B2="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.",H2="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",U2="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",G2="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",W2="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",q2="Zurück zum Portal Meine Gesundheit",$2="https://wwwint.meinegesundheit.belgien.be/#/",Y2="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Z2="Ungültiges Datumsformat.",K2="Dienst vorübergehend nicht verfügbar",J2=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
33
|
-
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,X2="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",Q2="Technisches Problem",eI="Bitte versuchen Sie es später noch einmal.",tI="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",nI="unsere Nutzungsbedingungen",iI="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",aI="Problem melden",rI="Nicht melden",oI="Das Problem wurde gemeldet",sI="Daten nicht verfügbar",lI="Aktion nicht erlaubt",cI="Schließen",uI="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",dI="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",hxe={VIDIS_0035:a2,VIDIS_0050:r2,VIDIS_0090:o2,VIDIS_0121:s2,VIDIS_0122:l2,VIDIS_0123:c2,VIDIS_0124:u2,VIDIS_0125:d2,VIDIS_0126:h2,VIDIS_0131:p2,VIDIS_0132:m2,VIDIS_0133:f2,VIDIS_0134:g2,VIDIS_0135:v2,VIDIS_0136:y2,VIDIS_0190:b2,VIDIS_0210:_2,VIDIS_0211:x2,VIDIS_0230:w2,VIDIS_0290:E2,VIDIS_0330:S2,VIDIS_0435:k2,VIDIS_0440:I2,VIDIS_5000:C2,VIDIS_7000:D2,VIDIS_3150:T2,VIDIS_3090:O2,VIDIS_3140:N2,VIDIS_3100:P2,VIDIS_3120:M2,VIDIS_0400:A2,VIDIS_3030:R2,VIDIS_0100:L2,VIDIS_0120:F2,VIDIS_0110:V2,VIDIS_0200:j2,VIDIS_0340:z2,VIDIS_0341:B2,VIDIS_04001:H2,prescriptionList:U2,general:G2,"no-access":W2,myHealth:q2,myHealthUrl:$2,network_error:Y2,invalid_date_format:Z2,"status-message-title":K2,"status-message-content":J2,"has-hidden-prescriptions":X2,"report-message-title":Q2,"report-message-explanation":eI,"report-message-content":tI,"report-message-term-use":nI,"report-message-link":iI,"report-message-report-button":aI,"report-message-ignore-button":rI,"report-message-confirm-toast":oI,"data-not-available-title":sI,"action-not-authorized-title":lI,"action-not-authorized-close-button":cI,"incorrect-elements-ms-list":uI,"incorrect-elements-ms-detail":dI},hI={};K(hI,{VIDIS_0035:()=>pI,VIDIS_0050:()=>mI,VIDIS_0090:()=>fI,VIDIS_0100:()=>WI,VIDIS_0110:()=>$I,VIDIS_0120:()=>qI,VIDIS_0121:()=>gI,VIDIS_0122:()=>vI,VIDIS_0123:()=>yI,VIDIS_0124:()=>bI,VIDIS_0125:()=>_I,VIDIS_0126:()=>xI,VIDIS_0131:()=>wI,VIDIS_0132:()=>EI,VIDIS_0133:()=>SI,VIDIS_0134:()=>kI,VIDIS_0135:()=>II,VIDIS_0136:()=>CI,VIDIS_0190:()=>DI,VIDIS_0200:()=>YI,VIDIS_0210:()=>TI,VIDIS_0211:()=>OI,VIDIS_0230:()=>NI,VIDIS_0290:()=>PI,VIDIS_0330:()=>MI,VIDIS_0340:()=>ZI,VIDIS_0341:()=>KI,VIDIS_0400:()=>UI,VIDIS_04001:()=>JI,VIDIS_0435:()=>AI,VIDIS_0440:()=>RI,VIDIS_3030:()=>GI,VIDIS_3090:()=>jI,VIDIS_3100:()=>BI,VIDIS_3120:()=>HI,VIDIS_3140:()=>zI,VIDIS_3150:()=>VI,VIDIS_5000:()=>LI,VIDIS_7000:()=>FI,"action-not-authorized-close-button":()=>yC,"action-not-authorized-title":()=>vC,"data-not-available-title":()=>gC,default:()=>pxe,general:()=>QI,"has-hidden-prescriptions":()=>sC,"incorrect-elements-ms-detail":()=>_C,"incorrect-elements-ms-list":()=>bC,invalid_date_format:()=>aC,myHealth:()=>tC,myHealthUrl:()=>nC,network_error:()=>iC,"no-access":()=>eC,prescriptionList:()=>XI,"report-message-confirm-toast":()=>fC,"report-message-content":()=>uC,"report-message-explanation":()=>cC,"report-message-ignore-button":()=>mC,"report-message-link":()=>hC,"report-message-report-button":()=>pC,"report-message-term-use":()=>dC,"report-message-title":()=>lC,"status-message-content":()=>oC,"status-message-title":()=>rC});var pI="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",mI="The patient's NISS number is missing (VIDIS_0050)",fI="The personal information provided was not recognised. (VIDIS_0090)",gI="Consulting data of a Brussels patient is currently not authorised.",vI="Consulting data of a Walloon patient is currently not authorised.",yI="Consulting data of a Brussels child by a parent is currently not authorised.",bI="Consulting data of a Walloon child by a parent is currently not authorised.",_I="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",xI="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",wI="Access to the data of a Brussels patient is currently not permitted.",EI="Access to the data of a Walloon patient is currently not permitted.",SI="A parent’s access to the data of a Brussels child is currently not permitted.",kI="A parent’s access to the data of a Walloon child is currently not permitted.",II="A representative’s access to the data of a Brussels patient is currently not permitted.",CI="A representative’s access to the data of a Walloon patient is currently not permitted.",DI="The patient's NISS number is invalid. (VIDIS_0190)",TI="The login was unsuccessful. Please try again. (VIDIS_0210)",OI="The login was unsuccessful. Please try again. (VIDIS_0211)",NI="The request is invalid. (VIDIS_0230)",PI="User role must be citizen. (VIDIS_0290)",MI="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)",AI="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",RI="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",LI="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",FI="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",VI="No mandate found between patient and mandateholder.",jI="Prescription has expired.",zI="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.",BI="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",HI="The patient in the session is different from the patient in the request.",UI="User is not authorized to make the request.",GI="No mandate found between patient and mandateholder.",WI="Operation is not allowed.",qI="A therapeutic relation between the requester and the patient is not available.",$I="There is no consent to share personal health information.",YI="User is not allowed to perform the operation due to an exclusion between requester and patient.",ZI="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",KI="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",JI="Your request is invalid. Please try again later.",XI="Unfortunately the details of the prescription could not be retrieved. Please try again.",QI="An internal technical error has occured. Please try again later.",eC="An internal technical error has occured. Please try again later.",tC="Back to the MyHealth portal.",nC="https://www.myhealth.belgium.be/",iC="A network error unfortunately has occured. Please contact your network manager if the problem persists.",aC="Invalid date format.",rC="Service temporarily unavailable",oC=`We are currently having a problem connecting to the server.
|
|
34
|
-
Please try again later.`,sC="The patient has hidden one or more prescriptions.",lC="Technical problem",cC="Please try again later.",uC="Help us identify and resolve the issue. By reporting it, you accept ",dC="our terms of use",hC="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",pC="Report the problem",mC="Don't report",fC="The problem has been reported",gC="Data not available",vC="Action not authorized",yC="Close",bC="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",_C="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",pxe={VIDIS_0035:pI,VIDIS_0050:mI,VIDIS_0090:fI,VIDIS_0121:gI,VIDIS_0122:vI,VIDIS_0123:yI,VIDIS_0124:bI,VIDIS_0125:_I,VIDIS_0126:xI,VIDIS_0131:wI,VIDIS_0132:EI,VIDIS_0133:SI,VIDIS_0134:kI,VIDIS_0135:II,VIDIS_0136:CI,VIDIS_0190:DI,VIDIS_0210:TI,VIDIS_0211:OI,VIDIS_0230:NI,VIDIS_0290:PI,VIDIS_0330:MI,VIDIS_0435:AI,VIDIS_0440:RI,VIDIS_5000:LI,VIDIS_7000:FI,VIDIS_3150:VI,VIDIS_3090:jI,VIDIS_3140:zI,VIDIS_3100:BI,VIDIS_3120:HI,VIDIS_0400:UI,VIDIS_3030:GI,VIDIS_0100:WI,VIDIS_0120:qI,VIDIS_0110:$I,VIDIS_0200:YI,VIDIS_0340:ZI,VIDIS_0341:KI,VIDIS_04001:JI,prescriptionList:XI,general:QI,"no-access":eC,myHealth:tC,myHealthUrl:nC,network_error:iC,invalid_date_format:aC,"status-message-title":rC,"status-message-content":oC,"has-hidden-prescriptions":sC,"report-message-title":lC,"report-message-explanation":cC,"report-message-content":uC,"report-message-term-use":dC,"report-message-link":hC,"report-message-report-button":pC,"report-message-ignore-button":mC,"report-message-confirm-toast":fC,"data-not-available-title":gC,"action-not-authorized-title":vC,"action-not-authorized-close-button":yC,"incorrect-elements-ms-list":bC,"incorrect-elements-ms-detail":_C},xC={};K(xC,{VIDIS_0035:()=>wC,VIDIS_0050:()=>EC,VIDIS_0090:()=>SC,VIDIS_0100:()=>eD,VIDIS_0110:()=>nD,VIDIS_0120:()=>tD,VIDIS_0121:()=>kC,VIDIS_0122:()=>IC,VIDIS_0123:()=>CC,VIDIS_0124:()=>DC,VIDIS_0125:()=>TC,VIDIS_0126:()=>OC,VIDIS_0131:()=>NC,VIDIS_0132:()=>PC,VIDIS_0133:()=>MC,VIDIS_0134:()=>AC,VIDIS_0135:()=>RC,VIDIS_0136:()=>LC,VIDIS_0190:()=>FC,VIDIS_0200:()=>iD,VIDIS_0210:()=>VC,VIDIS_0211:()=>jC,VIDIS_0230:()=>zC,VIDIS_0290:()=>BC,VIDIS_0330:()=>HC,VIDIS_0340:()=>aD,VIDIS_0341:()=>rD,VIDIS_0400:()=>XC,VIDIS_04001:()=>oD,VIDIS_0435:()=>UC,VIDIS_0440:()=>GC,VIDIS_3030:()=>QC,VIDIS_3090:()=>YC,VIDIS_3100:()=>KC,VIDIS_3120:()=>JC,VIDIS_3140:()=>ZC,VIDIS_3150:()=>$C,VIDIS_5000:()=>WC,VIDIS_7000:()=>qC,"action-not-authorized-close-button":()=>CD,"action-not-authorized-title":()=>ID,"data-not-available-title":()=>kD,default:()=>mxe,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 wC="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",EC="Le NISS du patient est manquant. (VIDIS_0050)",SC="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",kC="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",IC="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",CC="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",DC="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",TC="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",OC="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",NC="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",PC="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",MC="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",AC="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",RC="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",LC="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",FC="Le NISS du patient n’est pas valide. (VIDIS_0190)",VC="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",jC="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",zC="L’opération n’est pas valide. (VIDIS_0230)",BC="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",HC="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)",UC="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",GC="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",WC="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",qC="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",$C="Aucun mandat trouvé entre le patient et le mandataire.",YC="L’ordonnance est expirée.",ZC="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.",KC="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",JC="Le patient dans la session est différent de celui dans la demande.",XC="L’utilisateur n’est pas autorisé à effectuer la requête.",QC="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",ID="Action non autorisée",CD="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.",mxe={VIDIS_0035:wC,VIDIS_0050:EC,VIDIS_0090:SC,VIDIS_0121:kC,VIDIS_0122:IC,VIDIS_0123:CC,VIDIS_0124:DC,VIDIS_0125:TC,VIDIS_0126:OC,VIDIS_0131:NC,VIDIS_0132:PC,VIDIS_0133:MC,VIDIS_0134:AC,VIDIS_0135:RC,VIDIS_0136:LC,VIDIS_0190:FC,VIDIS_0210:VC,VIDIS_0211:jC,VIDIS_0230:zC,VIDIS_0290:BC,VIDIS_0330:HC,VIDIS_0435:UC,VIDIS_0440:GC,VIDIS_5000:WC,VIDIS_7000:qC,VIDIS_3150:$C,VIDIS_3090:YC,VIDIS_3140:ZC,VIDIS_3100:KC,VIDIS_3120:JC,VIDIS_0400:XC,VIDIS_3030:QC,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":ID,"action-not-authorized-close-button":CD,"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:()=>LD,VIDIS_0124:()=>FD,VIDIS_0125:()=>VD,VIDIS_0126:()=>jD,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":()=>LT,"action-not-authorized-title":()=>RT,"data-not-available-title":()=>AT,default:()=>fxe,general:()=>vT,"has-hidden-prescriptions":()=>kT,"incorrect-elements-ms-detail":()=>VT,"incorrect-elements-ms-list":()=>FT,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":()=>CT,"report-message-ignore-button":()=>PT,"report-message-link":()=>OT,"report-message-report-button":()=>NT,"report-message-term-use":()=>TT,"report-message-title":()=>IT,"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.",LD="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",FD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",VD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",jD="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.",IT="Technisch probleem",CT="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",LT="Sluiten",FT="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",VT="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",fxe={VIDIS_0035:ND,VIDIS_0050:PD,VIDIS_0090:MD,VIDIS_0121:AD,VIDIS_0122:RD,VIDIS_0123:LD,VIDIS_0124:FD,VIDIS_0125:VD,VIDIS_0126:jD,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":IT,"report-message-explanation":CT,"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":LT,"incorrect-elements-ms-list":FT,"incorrect-elements-ms-detail":VT},gxe={nl:OD,fr:xC,de:i2,en:hI},jT={};K(jT,{accessibility:()=>KT,close:()=>zT,default:()=>vxe,downloadLeaflet:()=>BT,downloading:()=>JT,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",KT={nihdiLabel:"RIZIV nummer {{value}}"},JT="Download läuft",vxe={close:zT,downloadLeaflet:BT,file:HT,notSpecified:UT,prescription:GT,patient:WT,prescriber:qT,prescribedOn:$T,seeDetails:YT,medicationDetails:ZT,accessibility:KT,downloading:JT},XT={};K(XT,{accessibility:()=>cO,close:()=>QT,default:()=>yxe,downloadLeaflet:()=>eO,downloading:()=>uO,file:()=>tO,medicationDetails:()=>lO,notSpecified:()=>nO,patient:()=>aO,prescribedOn:()=>oO,prescriber:()=>rO,prescription:()=>iO,seeDetails:()=>sO});var QT="Close",eO="Download leaflet (pdf)",tO="file",nO="Not specified",iO="Prescription",aO="Patient",rO="Prescriber",oO="Prescribed on",sO="View details",lO="Details for the medication",cO={nihdiLabel:"RIZIV number {{value}}"},uO="Download in progress",yxe={close:QT,downloadLeaflet:eO,file:tO,notSpecified:nO,prescription:iO,patient:aO,prescriber:rO,prescribedOn:oO,seeDetails:sO,medicationDetails:lO,accessibility:cO,downloading:uO},dO={};K(dO,{accessibility:()=>wO,close:()=>hO,default:()=>bxe,downloadLeaflet:()=>pO,downloading:()=>EO,file:()=>mO,medicationDetails:()=>xO,notSpecified:()=>fO,patient:()=>vO,prescribedOn:()=>bO,prescriber:()=>yO,prescription:()=>gO,seeDetails:()=>_O});var hO="Fermer",pO="Télécharger la notice (pdf)",mO="fichier",fO="Non spécifié",gO="Prescription",vO="Patient",yO="Prescripteur",bO="Prescrit le",_O="Voir détails",xO="Détails pour le médicament",wO={nihdiLabel:"numéro INAMI {{value}}"},EO="Téléchargement en cours",bxe={close:hO,downloadLeaflet:pO,file:mO,notSpecified:fO,prescription:gO,patient:vO,prescriber:yO,prescribedOn:bO,seeDetails:_O,medicationDetails:xO,accessibility:wO,downloading:EO},SO={};K(SO,{accessibility:()=>RO,close:()=>kO,default:()=>_xe,downloadLeaflet:()=>IO,downloading:()=>LO,file:()=>CO,medicationDetails:()=>AO,notSpecified:()=>DO,patient:()=>OO,prescribedOn:()=>PO,prescriber:()=>NO,prescription:()=>TO,seeDetails:()=>MO});var kO="Sluiten",IO="Download bijsluiter (pdf)",CO="bestand",DO="Niet gespecificeerd",TO="Voorschrift",OO="Patiënt",NO="Voorschrijver",PO="Voorgeschreven op",MO="Details bekijken",AO="Details voor het geneesmiddel",RO={nihdiLabel:"RIZIV nummer {{value}}"},LO="Download bezig",_xe={close:kO,downloadLeaflet:IO,file:CO,notSpecified:DO,prescription:TO,patient:OO,prescriber:NO,prescribedOn:PO,seeDetails:MO,medicationDetails:AO,accessibility:RO,downloading:LO},xxe={nl:SO,fr:dO,de:jT,en:XT},FO={};K(FO,{D:()=>VO,DA:()=>jO,DD:()=>zO,DE:()=>BO,DN:()=>HO,DQ:()=>UO,DT:()=>GO,DV:()=>WO,DW:()=>qO,DX:()=>$O,DZ:()=>YO,J:()=>ZO,JD:()=>KO,JH2:()=>JO,JQ:()=>XO,JT:()=>QO,JV:()=>eN,JZ:()=>tN,M:()=>nN,MA:()=>iN,MC:()=>aN,MD:()=>rN,ME:()=>oN,MN:()=>sN,MQ:()=>lN,MS:()=>cN,MT:()=>uN,MV:()=>dN,MX:()=>hN,MZ2:()=>pN,O1:()=>mN,U:()=>gN,UA:()=>EN,UD:()=>yN,UE:()=>IN,UH:()=>fN,UN:()=>SN,UQ:()=>_N,US:()=>wN,UT:()=>vN,UV:()=>bN,UW:()=>CN,UX:()=>kN,UZ:()=>xN,W:()=>DN,WA:()=>TN,WD:()=>ON,WE:()=>NN,WN:()=>PN,WP:()=>MN,WQ:()=>AN,WS:()=>RN,WT:()=>LN,WV:()=>FN,WW:()=>VN,WX:()=>jN,WZ:()=>zN,default:()=>wxe,ondemand:()=>BN});var VO="Pro Tag",jO="Pro 8 Tagen",zO="Pro 3 Tagen",BO="Pro 11 Tagen",HO="Pro 9 Tagen",UO="Pro 5 Tagen",GO="Pro 2 Tagen",WO="Pro 4 Tagen",qO="Pro 12 Tagen",$O="Pro 10 Tagen",YO="Pro 6 Tagen",ZO="Pro Jahre",KO="Pro 3 Jahren",JO="Pro halbes Jahre",XO="Pro 5 Jahren",QO="Pro 2 Jahren",eN="Pro 4 Jahren",tN="Pro 6 Jahren",nN="Pro Monat",iN="Pro 8 Monaten",aN="Pro 18 Monaten",rN="Pro 3 Monaten",oN="Pro 11 Monaten",sN="Pro 9 Monaten",lN="Pro 5 Monaten",cN="Pro 7 Monaten",uN="Pro 2 Monaten",dN="Pro 4 Monaten",hN="Pro 10 Monaten",pN="Pro 6 Monaten",mN="Jeden 2 Tagen",fN="Pro halbe Stunde",gN="Pro Uhr",vN="Pro 2 Uhren",yN="Pro 3 Uhren",bN="Pro 4 Uhren",_N="Pro 5 Uhren",xN="Pro 6 Uhren",wN="Pro 7 Uhren",EN="Pro 8 Uhren",SN="Pro 9 Uhren",kN="Pro 10 Uhren",IN="Pro 11 Uhren",CN="Pro 12 Uhren",DN="Pro Woche",TN="Pro 8 Wochen",ON="Pro 3 Wochen",NN="Pro 11 Wochen",PN="Pro 9 Wochen",MN="Pro 24 Wochen",AN="Pro 5 Wochen",RN="Pro 7 Wochen",LN="Pro 2 Wochen",FN="Pro 4 Wochen",VN="Pro 12 Wochen",jN="Pro 10 Wochen",zN="Pro 6 Wochen",BN="Auf Nachfrage",wxe={D:VO,DA:jO,DD:zO,DE:BO,DN:HO,DQ:UO,DT:GO,DV:WO,DW:qO,DX:$O,DZ:YO,J:ZO,JD:KO,JH2:JO,JQ:XO,JT:QO,JV:eN,JZ:tN,M:nN,MA:iN,MC:aN,MD:rN,ME:oN,MN:sN,MQ:lN,MS:cN,MT:uN,MV:dN,MX:hN,MZ2:pN,O1:mN,UH:fN,U:gN,UT:vN,UD:yN,UV:bN,UQ:_N,UZ:xN,US:wN,UA:EN,UN:SN,UX:kN,UE:IN,UW:CN,W:DN,WA:TN,WD:ON,WE:NN,WN:PN,WP:MN,WQ:AN,WS:RN,WT:LN,WV:FN,WW:VN,WX:jN,WZ:zN,ondemand:BN},HN={};K(HN,{D:()=>nP,DA:()=>uP,DD:()=>rP,DE:()=>pP,DN:()=>dP,DQ:()=>sP,DT:()=>iP,DV:()=>oP,DW:()=>mP,DX:()=>hP,DZ:()=>lP,J:()=>jP,JD:()=>HP,JH2:()=>PP,JQ:()=>GP,JT:()=>BP,JV:()=>UP,JZ:()=>WP,M:()=>yP,MA:()=>RP,MC:()=>zP,MD:()=>DP,ME:()=>VP,MN:()=>LP,MQ:()=>OP,MS:()=>AP,MT:()=>EP,MV:()=>TP,MX:()=>FP,MZ2:()=>MP,O1:()=>aP,U:()=>GN,UA:()=>JN,UD:()=>qN,UE:()=>eP,UH:()=>UN,UN:()=>XN,UQ:()=>YN,US:()=>KN,UT:()=>WN,UV:()=>$N,UW:()=>tP,UX:()=>QN,UZ:()=>ZN,W:()=>cP,WA:()=>wP,WD:()=>gP,WE:()=>IP,WN:()=>SP,WP:()=>NP,WQ:()=>bP,WS:()=>xP,WT:()=>fP,WV:()=>vP,WW:()=>CP,WX:()=>kP,WZ:()=>_P,default:()=>Exe,ondemand:()=>qP});var UN="Per half hour",GN="Per hour",WN="Per 2 hours",qN="Per 3 hours",$N="Per 4 hours",YN="Per 5 hours",ZN="Per 6 hours",KN="Per 7 hours",JN="Per 8 hours",XN="Per 9 hours",QN="Per 10 hours",eP="Per11 hours",tP="Per 12 hours",nP="Per day",iP="Per 2 days",aP="Every 2 days",rP="Per 3 days",oP="Per 4 days",sP="Per 5 days",lP="Per 6 days",cP="Per 7 days",uP="Per 8 days",dP="Per 9 days",hP="Per 10 days",pP="Per 11 days",mP="Per 12 days",fP="Per 2 weeks",gP="Per 3 weeks",vP="Per 4 weeks",yP="Per month",bP="Per 5 weeks",_P="Per 6 weeks",xP="Per 7 weeks",wP="Per 8 weeks",EP="Per 2 months",SP="Per 9 weeks",kP="Per 10 weeks",IP="Per 11 weeks",CP="Per 12 weeks",DP="Per 3 months",TP="Per 4 months",OP="Per 5 months",NP="Per 24 weeks",PP="Per half year",MP="Per 6 months",AP="Per 7 months",RP="Per 8 months",LP="Per 9 months",FP="Per 10 months",VP="Per 11 months",jP="Per Year",zP="Per 18 months",BP="Per 2 years",HP="Per 3 years",UP="Per 4 years",GP="Per 5 years",WP="Per 6 years",qP="On demand",Exe={UH:UN,U:GN,UT:WN,UD:qN,UV:$N,UQ:YN,UZ:ZN,US:KN,UA:JN,UN:XN,UX:QN,UE:eP,UW:tP,D:nP,DT:iP,O1:aP,DD:rP,DV:oP,DQ:sP,DZ:lP,W:cP,DA:uP,DN:dP,DX:hP,DE:pP,DW:mP,WT:fP,WD:gP,WV:vP,M:yP,WQ:bP,WZ:_P,WS:xP,WA:wP,MT:EP,WN:SP,WX:kP,WE:IP,WW:CP,MD:DP,MV:TP,MQ:OP,WP:NP,JH2:PP,MZ2:MP,MS:AP,MA:RP,MN:LP,MX:FP,ME:VP,J:jP,MC:zP,JT:BP,JD:HP,JV:UP,JQ:GP,JZ:WP,ondemand:qP},$P={};K($P,{D:()=>YP,DA:()=>ZP,DD:()=>KP,DE:()=>JP,DN:()=>XP,DQ:()=>QP,DT:()=>eM,DV:()=>tM,DW:()=>nM,DX:()=>iM,DZ:()=>aM,J:()=>rM,JD:()=>oM,JH2:()=>sM,JQ:()=>lM,JT:()=>cM,JV:()=>uM,JZ:()=>dM,M:()=>hM,MA:()=>pM,MC:()=>mM,MD:()=>fM,ME:()=>gM,MN:()=>vM,MQ:()=>yM,MS:()=>bM,MT:()=>_M,MV:()=>xM,MX:()=>wM,MZ2:()=>EM,O1:()=>SM,U:()=>IM,UA:()=>MM,UD:()=>DM,UE:()=>LM,UH:()=>kM,UN:()=>AM,UQ:()=>OM,US:()=>PM,UT:()=>CM,UV:()=>TM,UW:()=>FM,UX:()=>RM,UZ:()=>NM,W:()=>VM,WA:()=>jM,WD:()=>zM,WE:()=>BM,WN:()=>HM,WP:()=>UM,WQ:()=>GM,WS:()=>WM,WT:()=>qM,WV:()=>$M,WW:()=>YM,WX:()=>ZM,WZ:()=>KM,default:()=>Sxe,ondemand:()=>JM});var YP="Par jour",ZP="Par 8 jours",KP="Par 3 jours",JP="Par 11 jours",XP="Par 9 jours",QP="Par 5 jours",eM="Par 2 jours",tM="Par 4 jours",nM="Par 12 jours",iM="Par 10 jours",aM="Par 6 jours",rM="Par an",oM="Par 3 années",sM="Par demi-années",lM="Par 5 années",cM="Par 2 années",uM="Par 4 années",dM="Par 6 années",hM="Par mois",pM="Par 8 mois",mM="Par 18 mois",fM="Par 3 mois",gM="Par 11 mois",vM="Par 9 mois",yM="Par 5 mois",bM="Par 7 mois",_M="Par 2 mois",xM="Par 4 mois",wM="Par 10 mois",EM="Par 6 mois",SM="Tous les 2 jours",kM="Par demi-heure",IM="Par heure",CM="Par 2 heures",DM="Par 3 heures",TM="Par 4 heures",OM="Par 5 heures",NM="Par 6 heures",PM="Par 7 heures",MM="Par 8 heures",AM="Par 9 heures",RM="Par 10 heures",LM="Par 11 heures",FM="Par 12 heures",VM="Par semaine",jM="Par 8 semaines",zM="Par 3 semaines",BM="Par 11 semaines",HM="Par 9 semaines",UM="Par 24 semaines",GM="Par 5 semaines",WM="Par 7 semaines",qM="Par 2 semaines",$M="Par 4 semaines",YM="Par 12 semaines",ZM="Par 10 semaines",KM="Par 6 semaines",JM="Sur demande",Sxe={D:YP,DA:ZP,DD:KP,DE:JP,DN:XP,DQ:QP,DT:eM,DV:tM,DW:nM,DX:iM,DZ:aM,J:rM,JD:oM,JH2:sM,JQ:lM,JT:cM,JV:uM,JZ:dM,M:hM,MA:pM,MC:mM,MD:fM,ME:gM,MN:vM,MQ:yM,MS:bM,MT:_M,MV:xM,MX:wM,MZ2:EM,O1:SM,UH:kM,U:IM,UT:CM,UD:DM,UV:TM,UQ:OM,UZ:NM,US:PM,UA:MM,UN:AM,UX:RM,UE:LM,UW:FM,W:VM,WA:jM,WD:zM,WE:BM,WN:HM,WP:UM,WQ:GM,WS:WM,WT:qM,WV:$M,WW:YM,WX:ZM,WZ:KM,ondemand:JM},XM={};K(XM,{D:()=>QM,DA:()=>eA,DD:()=>tA,DE:()=>nA,DN:()=>iA,DQ:()=>aA,DT:()=>rA,DV:()=>oA,DW:()=>sA,DX:()=>lA,DZ:()=>cA,J:()=>uA,JD:()=>dA,JH2:()=>hA,JQ:()=>pA,JT:()=>mA,JV:()=>fA,JZ:()=>gA,M:()=>vA,MA:()=>yA,MC:()=>bA,MD:()=>_A,ME:()=>xA,MN:()=>wA,MQ:()=>EA,MS:()=>SA,MT:()=>kA,MV:()=>IA,MX:()=>CA,MZ2:()=>DA,O1:()=>TA,U:()=>NA,UA:()=>VA,UD:()=>MA,UE:()=>BA,UH:()=>OA,UN:()=>jA,UQ:()=>RA,US:()=>FA,UT:()=>PA,UV:()=>AA,UW:()=>HA,UX:()=>zA,UZ:()=>LA,W:()=>UA,WA:()=>GA,WD:()=>WA,WE:()=>qA,WN:()=>$A,WP:()=>YA,WQ:()=>ZA,WS:()=>KA,WT:()=>JA,WV:()=>XA,WW:()=>QA,WX:()=>eR,WZ:()=>tR,default:()=>kxe,ondemand:()=>nR});var QM="Dagelijks",eA="Om de 8 dagen",tA="Om de 3 dagen",nA="Om de 11 dagen",iA="Om de 9 dagen",aA="Om de 5 dagen",rA="Om de 2 dagen",oA="Om de 4 dagen",sA="Om de 12 dagen",lA="Om de 10 dagen",cA="Om de 6 dagen",uA="Jaarlijks",dA="Om de 3 jaar",hA="Halfjaarlijks",pA="Om de 5 jaar",mA="Om de 2 jaar",fA="Om de 4 jaar",gA="Om de 6 jaar",vA="Maandelijks",yA="Om de 8 maanden",bA="Om de 18 maanden",_A="Om de 3 maanden",xA="Om de 11 maanden",wA="Om de 9 maanden",EA="Om de 5 maanden",SA="Om de 7 maanden",kA="Om de 2 maanden",IA="Om de 4 maanden",CA="Om de 10 maanden",DA="Om de 6 maanden",TA="Om de 2 dagen",OA="Om het half uur",NA="Om het uur",PA="Om de 2 uren",MA="Om de 3 uren",AA="Om de 4 uren",RA="Om de 5 uren",LA="Om de 6 uren",FA="Om de 7 uren",VA="Om de 8 uren",jA="Om de 9 uren",zA="Om de 10 uren",BA="Om de 11 uren",HA="Om de 12 uren",UA="Wekelijks",GA="Om de 8 weken",WA="Om de 3 weken",qA="Om de 11 weken",$A="Om de 9 weken",YA="Om de 24 weken",ZA="Om de 5 weken",KA="Om de 7 weken",JA="Om de 2 weken",XA="Om de 4 weken",QA="Om de 12 weken",eR="Om de 10 weken",tR="Om de 6 weken",nR="Op aanvraag",kxe={D:QM,DA:eA,DD:tA,DE:nA,DN:iA,DQ:aA,DT:rA,DV:oA,DW:sA,DX:lA,DZ:cA,J:uA,JD:dA,JH2:hA,JQ:pA,JT:mA,JV:fA,JZ:gA,M:vA,MA:yA,MC:bA,MD:_A,ME:xA,MN:wA,MQ:EA,MS:SA,MT:kA,MV:IA,MX:CA,MZ2:DA,O1:TA,UH:OA,U:NA,UT:PA,UD:MA,UV:AA,UQ:RA,UZ:LA,US:FA,UA:VA,UN:jA,UX:zA,UE:BA,UW:HA,W:UA,WA:GA,WD:WA,WE:qA,WN:$A,WP:YA,WQ:ZA,WS:KA,WT:JA,WV:XA,WW:QA,WX:eR,WZ:tR,ondemand:nR},Ixe={nl:XM,fr:$P,de:FO,en:HN},iR={};K(iR,{afterbreakfast:()=>aR,afterdinner:()=>rR,afterlunch:()=>oR,aftermeal:()=>sR,afternoon:()=>lR,beforebreakfast:()=>cR,beforedinner:()=>uR,beforelunch:()=>dR,betweenbreakfastandlunch:()=>hR,betweendinnerandsleep:()=>pR,betweenlunchanddinner:()=>mR,betweenmeals:()=>fR,breakfast:()=>gR,default:()=>Cxe,dinner:()=>vR,duringbreakfast:()=>yR,duringdinner:()=>bR,duringlunch:()=>_R,evening:()=>xR,lunch:()=>wR,morning:()=>ER,night:()=>SR,thehourofsleep:()=>kR});var aR="nach dem Frühstück",rR="nach dem Abendessen",oR="nach dem Mittagessen",sR="nach dem Essen",lR="Nachmittag",cR="vor dem Frühstück",uR="vor dem Abendessen",dR="vor dem Mittagessen",hR="zwischen Frühstück und Mittagessen",pR="zwischen Abendessen und Nachtruhe",mR="zwischen Mittagessen und Abendessen",fR="zwischen den Mahlzeiten",gR="Frühstück",vR="Abendessen",yR="zum Frühstück",bR="zum Abendessen",_R="zum Mittagessen",xR="Abend",wR="Mittagessen",ER="Vormittag",SR="Nacht",kR="Nachtruhe",Cxe={afterbreakfast:aR,afterdinner:rR,afterlunch:oR,aftermeal:sR,afternoon:lR,beforebreakfast:cR,beforedinner:uR,beforelunch:dR,betweenbreakfastandlunch:hR,betweendinnerandsleep:pR,betweenlunchanddinner:mR,betweenmeals:fR,breakfast:gR,dinner:vR,duringbreakfast:yR,duringdinner:bR,duringlunch:_R,evening:xR,lunch:wR,morning:ER,night:SR,thehourofsleep:kR},IR={};K(IR,{afterbreakfast:()=>CR,afterdinner:()=>DR,afterlunch:()=>TR,aftermeal:()=>OR,afternoon:()=>NR,beforebreakfast:()=>PR,beforedinner:()=>MR,beforelunch:()=>AR,betweenbreakfastandlunch:()=>RR,betweendinnerandsleep:()=>LR,betweenlunchanddinner:()=>FR,betweenmeals:()=>VR,breakfast:()=>jR,default:()=>Dxe,dinner:()=>zR,duringbreakfast:()=>BR,duringdinner:()=>HR,duringlunch:()=>UR,evening:()=>GR,lunch:()=>WR,morning:()=>qR,night:()=>$R,thehourofsleep:()=>YR});var CR="after breakfast",DR="after dinner",TR="after lunch",OR="after meal",NR="afternoon",PR="before breakfast",MR="before dinner",AR="before lunch",RR="between breakfast and lunch",LR="between dinner and the hour of sleep",FR="between lunch and dinner",VR="between meals",jR="breakfast",zR="dinner",BR="during breakfast",HR="during dinner",UR="during lunch",GR="evening",WR="lunch",qR="morning",$R="night",YR="the hour of sleep",Dxe={afterbreakfast:CR,afterdinner:DR,afterlunch:TR,aftermeal:OR,afternoon:NR,beforebreakfast:PR,beforedinner:MR,beforelunch:AR,betweenbreakfastandlunch:RR,betweendinnerandsleep:LR,betweenlunchanddinner:FR,betweenmeals:VR,breakfast:jR,dinner:zR,duringbreakfast:BR,duringdinner:HR,duringlunch:UR,evening:GR,lunch:WR,morning:qR,night:$R,thehourofsleep:YR},ZR={};K(ZR,{afterbreakfast:()=>KR,afterdinner:()=>JR,afterlunch:()=>XR,aftermeal:()=>QR,afternoon:()=>eL,beforebreakfast:()=>tL,beforedinner:()=>nL,beforelunch:()=>iL,betweenbreakfastandlunch:()=>aL,betweendinnerandsleep:()=>rL,betweenlunchanddinner:()=>oL,betweenmeals:()=>sL,breakfast:()=>lL,default:()=>Txe,dinner:()=>cL,duringbreakfast:()=>uL,duringdinner:()=>dL,duringlunch:()=>hL,evening:()=>pL,lunch:()=>mL,morning:()=>fL,night:()=>gL,thehourofsleep:()=>vL});var KR="après le petit-déjeuner",JR="après le repas du soir",XR="après le repas du midi",QR="après le repas",eL="après-midi",tL="avant le petit-déjeuner",nL="avant le repas du soir",iL="avant le repas du midi",aL="entre le petit-déjeuner et le repas du midi",rL="entre le repas du soir et l’heure du coucher",oL="entre le repas du midi et le repas du soir",sL="entre les repas",lL="petit-déjeuner",cL="repas du soir",uL="pendant le petit-déjeuner",dL="pendant le repas du soir",hL="pendant le repas du midi",pL="soir",mL="repas du midi",fL="matin",gL="nuit",vL="heure du coucher",Txe={afterbreakfast:KR,afterdinner:JR,afterlunch:XR,aftermeal:QR,afternoon:eL,beforebreakfast:tL,beforedinner:nL,beforelunch:iL,betweenbreakfastandlunch:aL,betweendinnerandsleep:rL,betweenlunchanddinner:oL,betweenmeals:sL,breakfast:lL,dinner:cL,duringbreakfast:uL,duringdinner:dL,duringlunch:hL,evening:pL,lunch:mL,morning:fL,night:gL,thehourofsleep:vL},yL={};K(yL,{afterbreakfast:()=>bL,afterdinner:()=>_L,afterlunch:()=>xL,aftermeal:()=>wL,afternoon:()=>EL,beforebreakfast:()=>SL,beforedinner:()=>kL,beforelunch:()=>IL,betweenbreakfastandlunch:()=>CL,betweendinnerandsleep:()=>DL,betweenlunchanddinner:()=>TL,betweenmeals:()=>OL,breakfast:()=>NL,default:()=>Oxe,dinner:()=>PL,duringbreakfast:()=>ML,duringdinner:()=>AL,duringlunch:()=>RL,evening:()=>LL,lunch:()=>FL,morning:()=>VL,night:()=>jL,thehourofsleep:()=>zL});var bL="na het ontbijt",_L="na het avondmaal",xL="na het middagmaal",wL="na de maaltijd",EL="namiddag",SL="voor het ontbijt",kL="voor het avondmaal",IL="voor het middagmaal",CL="tussen het ontbijt en het middagmaal",DL="tussen het avondmaal en het slapen gaan",TL="tussen het middagmaal en het avondmaal",OL="tussen de maaltijden",NL="ontbijt",PL="avondmaal",ML="tijdens het ontbijt",AL="tijdens het avondmaal",RL="tijdens het middagmaal",LL="'s avonds",FL="middagmaal",VL="'s ochtends",jL="'s nachts",zL="voor het slapen gaan",Oxe={afterbreakfast:bL,afterdinner:_L,afterlunch:xL,aftermeal:wL,afternoon:EL,beforebreakfast:SL,beforedinner:kL,beforelunch:IL,betweenbreakfastandlunch:CL,betweendinnerandsleep:DL,betweenlunchanddinner:TL,betweenmeals:OL,breakfast:NL,dinner:PL,duringbreakfast:ML,duringdinner:AL,duringlunch:RL,evening:LL,lunch:FL,morning:VL,night:jL,thehourofsleep:zL},Nxe={nl:yL,fr:ZR,de:iR,en:IR},BL={};K(BL,{day:()=>HL,default:()=>Pxe,during:()=>WL,on:()=>GL,week:()=>UL});var HL="Tag",UL="Woche",GL="am",WL="für",Pxe={day:HL,week:UL,on:GL,during:WL},qL={};K(qL,{day:()=>$L,default:()=>Mxe,during:()=>KL,on:()=>ZL,week:()=>YL});var $L="day",YL="week",ZL="on",KL="during",Mxe={day:$L,week:YL,on:ZL,during:KL},JL={};K(JL,{day:()=>XL,default:()=>Axe,during:()=>tF,on:()=>eF,week:()=>QL});var XL="jour",QL="semaine",eF="le",tF="durant",Axe={day:XL,week:QL,on:eF,during:tF},nF={};K(nF,{day:()=>iF,default:()=>Rxe,during:()=>oF,on:()=>rF,week:()=>aF});var iF="dag",aF="week",rF="op",oF="gedurende",Rxe={day:iF,week:aF,on:rF,during:oF},Lxe={nl:nF,fr:JL,de:BL,en:qL},sF={};K(sF,{ambulance_driver:()=>lF,ambulance_first_aid:()=>cF,ambulance_rescuer:()=>uF,application:()=>dF,applied_psychology_bachelor:()=>hF,audician:()=>pF,audiologist:()=>mF,biologist_pharmacist:()=>fF,care_giver:()=>gF,certificateholder:()=>vF,citizen:()=>yF,clinical_orthopedic_pedagogue:()=>bF,clinical_psychologist:()=>_F,default:()=>Fxe,dental_hygienist:()=>xF,dentist:()=>wF,deptalgology:()=>EF,deptanatomopathology:()=>SF,deptanesthesiology:()=>kF,deptbacteriology:()=>IF,deptcardiacsurgery:()=>CF,deptcardiology:()=>DF,deptchildandadolescentpsychiatry:()=>TF,deptdentistry:()=>OF,deptdermatology:()=>NF,deptdiabetology:()=>PF,deptdietetics:()=>MF,deptemergency:()=>AF,deptendocrinology:()=>RF,deptgastroenterology:()=>LF,deptgeneralpractice:()=>FF,deptgenetics:()=>VF,deptgeriatry:()=>jF,deptgynecology:()=>zF,depthandsurgery:()=>BF,depthematology:()=>HF,deptinfectiousdisease:()=>UF,deptintensivecare:()=>GF,deptkinesitherapy:()=>WF,deptlaboratory:()=>qF,deptmajorburns:()=>$F,deptmaxillofacialsurgery:()=>YF,deptmedicine:()=>ZF,deptmolecularbiology:()=>KF,deptneonatalogy:()=>JF,deptnephrology:()=>XF,deptneurology:()=>QF,deptneurosurgery:()=>e3,deptnte:()=>t3,deptnuclear:()=>n3,deptnursing:()=>i3,deptnutritiondietetics:()=>a3,deptobstetrics:()=>r3,deptoccupationaltherapy:()=>o3,deptoncology:()=>s3,deptophtalmology:()=>l3,deptorthopedy:()=>c3,deptpalliativecare:()=>u3,deptpediatricintensivecare:()=>d3,deptpediatricsurgery:()=>h3,deptpediatry:()=>p3,deptpharmacy:()=>m3,deptphysicalmedecine:()=>f3,deptphysiotherapy:()=>g3,deptplasticandreparatorysurgery:()=>v3,deptpneumology:()=>y3,deptpodiatry:()=>b3,deptpodology:()=>_3,deptpsychiatry:()=>x3,deptpsychogeriatry:()=>w3,deptpsychology:()=>E3,deptradiology:()=>S3,deptradiotherapy:()=>k3,deptrevalidation:()=>I3,deptrheumatology:()=>C3,deptrhumatology:()=>D3,deptsenology:()=>T3,deptsocialservice:()=>O3,deptspeechtherapy:()=>N3,deptsportsmedecine:()=>P3,deptstomatology:()=>M3,deptsurgery:()=>A3,deptthoracicsurgery:()=>R3,depttoxicology:()=>L3,depttropicalmedecine:()=>F3,depturology:()=>V3,deptvascularsurgery:()=>j3,deptvisceraldigestiveabdominalsurgery:()=>z3,diabete_equipment_supplier:()=>B3,dietician:()=>H3,doctor:()=>U3,family_science_bachelor:()=>G3,gerontology_master:()=>W3,groupofnurses:()=>q3,groupofphysiciansdifferentaddress:()=>$3,groupofphysicianssameaddress:()=>Y3,guardpost:()=>Z3,hub:()=>K3,imaging_technologist:()=>J3,implantprovider:()=>X3,lab_technologist:()=>Q3,logopedist:()=>e5,midwife:()=>t5,nurse:()=>n5,occupational_therapist:()=>i5,optician:()=>a5,orghospital:()=>r5,orginsurance:()=>o5,orglaboratory:()=>s5,orgpharmacy:()=>l5,orgpharmacyinvoicingoffice:()=>c5,orgpolyclinic:()=>u5,orgpractice:()=>d5,orgprevention:()=>h5,orgprimaryhealthcarecenter:()=>p5,orgpsychiatriccarehome:()=>m5,orgpublichealth:()=>f5,orgretirementhome:()=>g5,orgrevalidationcenter:()=>v5,orgshelteredliving:()=>y5,orthopedagogist_master:()=>b5,orthopedist:()=>_5,orthoptist:()=>x5,orthotist:()=>w5,patient:()=>E5,pediatric_nurse:()=>S5,persadministrative:()=>k5,persambulancefirstaid:()=>I5,persappliedpsychbachelor:()=>C5,persaudician:()=>D5,persaudiologist:()=>T5,persbandagistorthosiologist:()=>O5,persbiologist:()=>N5,perscaregiver:()=>P5,persclinicalorthopedagogist:()=>M5,persclinicalpsychologist:()=>A5,persdentist:()=>R5,persdietician:()=>L5,perseducator:()=>F5,persfamilysciencebachelor:()=>V5,persgerontologymaster:()=>j5,perslogopedist:()=>z5,persmidwife:()=>B5,persmobilityimprover:()=>H5,persnurse:()=>U5,persoccupationaltherapist:()=>G5,persoptician:()=>W5,persoptometrist:()=>q5,persoraldentalhygienist:()=>$5,persorthopedagogistmaster:()=>Y5,persorthopedist:()=>Z5,persorthoptist:()=>K5,persorthotist:()=>J5,persparamedical:()=>X5,perspatientdriver:()=>Q5,perspharmacist:()=>eV,perspharmacistclinicalbiologist:()=>tV,perspharmacyassistant:()=>nV,persphysician:()=>iV,persphysiotherapist:()=>aV,perspodologist:()=>rV,perspracticalnurse:()=>oV,persprosthesiologist:()=>sV,perspsychologist:()=>lV,perspsychomotortherapymaster:()=>cV,persreadaptationbachelor:()=>uV,persshoetechnologist:()=>dV,perssocialworker:()=>hV,perstechnician:()=>pV,perstrussmaker:()=>mV,pharmacist:()=>fV,pharmacist_assistant:()=>gV,physician:()=>vV,physiotherapist:()=>yV,podologist:()=>bV,practical_nurse:()=>_V,prosthetist:()=>xV,psychologist:()=>wV,psychomotor_therapy_master:()=>EV,readaptaion_bachelor:()=>SV,social_worker:()=>kV,specialized_educator:()=>IV,truss_maker:()=>CV});var lF="Rettungswagenfahrer",cF="Rettungssanitäter",uF="Rettungssanitäter",dF="Softwareapplikation",hF="Bachelor der angewandten Psychologie",pF="Hörgeräteakustiker",mF="Audiologe",fF="Fachapotheker für klinische Chemie",gF="Pflegekräfte",vF="Zertifikatinhaber",yF="Bürger",bF="Klinischer Heilpädagoge",_F="Klinischer Psychologe",xF="Dentalhygieniker",wF="Zahnarzt",EF="Algologie",SF="pathologische Anatomie",kF="Anästhesiologie",IF="Bakteriologie",CF="Herzchirurgie",DF="Kardiologie",TF="Kinder-und Jugendpsychiatrie",OF="Zahnheilkunde",NF="Dermatologie",PF="Diabetologie",MF="Diätetik",AF="Notaufnahme",RF="Endokrinologie",LF="Gastroenterologie",FF="Allgemeinmedizin",VF="Genetik",jF="Geriatrie",zF="Gynäkologie",BF="Handchirurgie",HF="Hämatologie",UF="Infektionskrankheit",GF="Intensivmedizin",WF="Physiotherapie",qF="Labordienst/-abteilung einer Einrichtung",$F="Schwerbrandverletztenzentrum",YF="Mund-Kiefer-Gesichtschirurgie",ZF="Innere Medizin",KF="Molekularbiologie",JF="Neonatologie",XF="Nephrologie",QF="Neurologie",e3="Neurologie",t3="Hals-Nasen-Ohren-Heilkunde (HNO)",n3="Nuklearmedizin",i3="Krankenpflege",a3="Diätetik",r3="Geburtshilfe",o3="Ergotherapie",s3="Onkologie",l3="Augenheilkunde",c3="Orthopädie",u3="Palliativpflege",d3="Kinder-Intensivstation",h3="Kinderchirurgie",p3="Pädiatrie",m3="Apothekendienst/-abteilung einer Einrichtung",f3="physikalische Medizin",g3="Physiotherapie",v3="plastische Chirurgie und rekonstruktive Chirurgie",y3="Pneumologie",b3="Podiatrie",_3="",x3="Psychiatrie",w3="Psychogeriatrie",E3="Psychologie",S3="Radiologie",k3="Strahlentherapie",I3="Rehabilitation",C3="Rheumatologie",D3="",T3="Senologie",O3="Sozialdienst",N3="Logopädie",P3="Sportmedizin",M3="Stomatologie",A3="Chirurgie",R3="Thoraxchirurgie",L3="Toxikologie",F3="Tropenmedizin",V3="Urologie",j3="Vaskuläre Chirurgie",z3="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",B3="Lieferant von Material für Diabetesselbstverwaltung ",H3="Diätassistent",U3="Arzt",G3="Bachelor der Familienwissenschaften",W3="Master der Gerontologie",q3="Krankenpflegeverband",$3="Zusammenschluss von Ärzten, unterschiedliche Adresse",Y3="Zusammenschluss von Ärzten, gleiche Adresse",Z3="Schwesternstützpunkt",K3="Hub",J3="Technologe im bildgebenden Diagnoseverfahren",X3="Lieferant von Implantaten",Q3="Labortechniker",e5="Logopäde",t5="Hebamme",n5="Fachkraft für Krankenpflege",i5="Ergotherapeut",a5="Optiker",r5="Krankenhaus",o5="Versicherung",s5="Unabhängiges Labor",l5="Unabhängige Apotheke",c5="Rechnungstelle für Apotheken",u5="Poliklinik",d5="Praxis",h5="Präventionsdienst",p5="Gesundheits- und Sozialzentrum",m5="psychiatrische Klinik",f5="Gesundheitsbehörde",g5="Altenheim",v5="Reha-Klinik",y5="Initiative für begleitetes Wohnen",b5="Master der Heilpädagogik",_5="Orthopäde",x5="Orthoptist-Optometrist",w5="Orthopädietechniker",E5="Patient",S5="Kinderkrankenschwester",k5="Büroangestellter",I5="Rettungswagen",C5="Bachelor in angewandter Psychologie",D5="Hörgeräteakustiker",T5="Audiologe",O5="Bandagist Orthosiologe (Orthopädietechniker)",N5="medizinischer Labortechniker",P5="informelle Pflegeperson",M5="Klinischer Heilpädagoge",A5="Klinischer Psychologe",R5="Zahnarzt",L5="Diätassistent",F5="Erzieher",V5="Bachelor in Familienwissenschaften",j5="Master in Gerontologie",z5="Logopäde",B5="Hebamme",H5="Mobilitätsverbesserer (Orthopädietechniker)",U5="Krankenpfleger",G5="Ergotherapeut",W5="Optiker",q5="Optometrist",$5="Dentalhygieniker",Y5="Master in Heilpädagogik",Z5="Orthopädist",K5="Orthoptist",J5="Orthopädietechniker/Prothesenbauer",X5="medizinische Hilfskraft",Q5="Fahrdienst",eV="Apotheker",tV="Fachapotheker für klinische Chemie",nV="Apothekenhelfer",iV="Arzt",aV="Physiotherapeut",rV="Podologe",oV="Pfleger",sV="Orthopädietechniker (Orthopädietechniker)",lV="Psychologe",cV="Master in Psychomotorik",uV="Bachelor in Rehabilitation",dV="Schuhtechniker (Orthopädietechniker)",hV="Sozialarbeiter",pV="Techniker für medizinische Bildgebung",mV="Bandagist",fV="Apotheker",gV="Pharmazeutisch-technischer Assistent ",vV="Arzt",yV="Physiotherapeut",bV="Podologe",_V="Pflegehelfer",xV="Prothesenhersteller",wV="Psychologe",EV="Master der psychomotorischen Therapie",SV="Bachelor der Rehabilitationswissenschaften",kV="Sozialassistent",IV="Bachelor der Erziehungswissenschaften",CV="Bandagist",Fxe={ambulance_driver:lF,ambulance_first_aid:cF,ambulance_rescuer:uF,application:dF,applied_psychology_bachelor:hF,audician:pF,audiologist:mF,biologist_pharmacist:fF,care_giver:gF,certificateholder:vF,citizen:yF,clinical_orthopedic_pedagogue:bF,clinical_psychologist:_F,dental_hygienist:xF,dentist:wF,deptalgology:EF,deptanatomopathology:SF,deptanesthesiology:kF,deptbacteriology:IF,deptcardiacsurgery:CF,deptcardiology:DF,deptchildandadolescentpsychiatry:TF,deptdentistry:OF,deptdermatology:NF,deptdiabetology:PF,deptdietetics:MF,deptemergency:AF,deptendocrinology:RF,deptgastroenterology:LF,deptgeneralpractice:FF,deptgenetics:VF,deptgeriatry:jF,deptgynecology:zF,depthandsurgery:BF,depthematology:HF,deptinfectiousdisease:UF,deptintensivecare:GF,deptkinesitherapy:WF,deptlaboratory:qF,deptmajorburns:$F,deptmaxillofacialsurgery:YF,deptmedicine:ZF,deptmolecularbiology:KF,deptneonatalogy:JF,deptnephrology:XF,deptneurology:QF,deptneurosurgery:e3,deptnte:t3,deptnuclear:n3,deptnursing:i3,deptnutritiondietetics:a3,deptobstetrics:r3,deptoccupationaltherapy:o3,deptoncology:s3,deptophtalmology:l3,deptorthopedy:c3,deptpalliativecare:u3,deptpediatricintensivecare:d3,deptpediatricsurgery:h3,deptpediatry:p3,deptpharmacy:m3,deptphysicalmedecine:f3,deptphysiotherapy:g3,deptplasticandreparatorysurgery:v3,deptpneumology:y3,deptpodiatry:b3,deptpodology:_3,deptpsychiatry:x3,deptpsychogeriatry:w3,deptpsychology:E3,deptradiology:S3,deptradiotherapy:k3,deptrevalidation:I3,deptrheumatology:C3,deptrhumatology:D3,deptsenology:T3,deptsocialservice:O3,deptspeechtherapy:N3,deptsportsmedecine:P3,deptstomatology:M3,deptsurgery:A3,deptthoracicsurgery:R3,depttoxicology:L3,depttropicalmedecine:F3,depturology:V3,deptvascularsurgery:j3,deptvisceraldigestiveabdominalsurgery:z3,diabete_equipment_supplier:B3,dietician:H3,doctor:U3,family_science_bachelor:G3,gerontology_master:W3,groupofnurses:q3,groupofphysiciansdifferentaddress:$3,groupofphysicianssameaddress:Y3,guardpost:Z3,hub:K3,imaging_technologist:J3,implantprovider:X3,lab_technologist:Q3,logopedist:e5,midwife:t5,nurse:n5,occupational_therapist:i5,optician:a5,orghospital:r5,orginsurance:o5,orglaboratory:s5,orgpharmacy:l5,orgpharmacyinvoicingoffice:c5,orgpolyclinic:u5,orgpractice:d5,orgprevention:h5,orgprimaryhealthcarecenter:p5,orgpsychiatriccarehome:m5,orgpublichealth:f5,orgretirementhome:g5,orgrevalidationcenter:v5,orgshelteredliving:y5,orthopedagogist_master:b5,orthopedist:_5,orthoptist:x5,orthotist:w5,patient:E5,pediatric_nurse:S5,persadministrative:k5,persambulancefirstaid:I5,persappliedpsychbachelor:C5,persaudician:D5,persaudiologist:T5,persbandagistorthosiologist:O5,persbiologist:N5,perscaregiver:P5,persclinicalorthopedagogist:M5,persclinicalpsychologist:A5,persdentist:R5,persdietician:L5,perseducator:F5,persfamilysciencebachelor:V5,persgerontologymaster:j5,perslogopedist:z5,persmidwife:B5,persmobilityimprover:H5,persnurse:U5,persoccupationaltherapist:G5,persoptician:W5,persoptometrist:q5,persoraldentalhygienist:$5,persorthopedagogistmaster:Y5,persorthopedist:Z5,persorthoptist:K5,persorthotist:J5,persparamedical:X5,perspatientdriver:Q5,perspharmacist:eV,perspharmacistclinicalbiologist:tV,perspharmacyassistant:nV,persphysician:iV,persphysiotherapist:aV,perspodologist:rV,perspracticalnurse:oV,persprosthesiologist:sV,perspsychologist:lV,perspsychomotortherapymaster:cV,persreadaptationbachelor:uV,persshoetechnologist:dV,perssocialworker:hV,perstechnician:pV,perstrussmaker:mV,pharmacist:fV,pharmacist_assistant:gV,physician:vV,physiotherapist:yV,podologist:bV,practical_nurse:_V,prosthetist:xV,psychologist:wV,psychomotor_therapy_master:EV,readaptaion_bachelor:SV,social_worker:kV,specialized_educator:IV,truss_maker:CV},DV={};K(DV,{ambulance_driver:()=>TV,ambulance_first_aid:()=>OV,ambulance_rescuer:()=>NV,application:()=>PV,applied_psychology_bachelor:()=>MV,audician:()=>AV,audiologist:()=>RV,biologist_pharmacist:()=>LV,care_giver:()=>FV,certificateholder:()=>VV,citizen:()=>jV,clinical_orthopedic_pedagogue:()=>zV,clinical_psychologist:()=>BV,default:()=>Vxe,dental_hygienist:()=>HV,dentist:()=>UV,deptalgology:()=>GV,deptanatomopathology:()=>WV,deptanesthesiology:()=>qV,deptbacteriology:()=>$V,deptcardiacsurgery:()=>YV,deptcardiology:()=>ZV,deptchildandadolescentpsychiatry:()=>KV,deptdentistry:()=>JV,deptdermatology:()=>XV,deptdiabetology:()=>QV,deptdietetics:()=>e4,deptemergency:()=>t4,deptendocrinology:()=>n4,deptgastroenterology:()=>i4,deptgeneralpractice:()=>a4,deptgenetics:()=>r4,deptgeriatry:()=>o4,deptgynecology:()=>s4,depthandsurgery:()=>l4,depthematology:()=>c4,deptinfectiousdisease:()=>u4,deptintensivecare:()=>d4,deptkinesitherapy:()=>h4,deptlaboratory:()=>p4,deptmajorburns:()=>m4,deptmaxillofacialsurgery:()=>f4,deptmedicine:()=>g4,deptmolecularbiology:()=>v4,deptneonatalogy:()=>y4,deptnephrology:()=>b4,deptneurology:()=>_4,deptneurosurgery:()=>x4,deptnte:()=>w4,deptnuclear:()=>E4,deptnursing:()=>S4,deptnutritiondietetics:()=>k4,deptobstetrics:()=>I4,deptoccupationaltherapy:()=>C4,deptoncology:()=>D4,deptophtalmology:()=>T4,deptorthopedy:()=>O4,deptpalliativecare:()=>N4,deptpediatricintensivecare:()=>P4,deptpediatricsurgery:()=>M4,deptpediatry:()=>A4,deptpharmacy:()=>R4,deptphysicalmedecine:()=>L4,deptphysiotherapy:()=>F4,deptplasticandreparatorysurgery:()=>V4,deptpneumology:()=>j4,deptpodiatry:()=>z4,deptpodology:()=>B4,deptpsychiatry:()=>H4,deptpsychogeriatry:()=>U4,deptpsychology:()=>G4,deptradiology:()=>W4,deptradiotherapy:()=>q4,deptrevalidation:()=>$4,deptrheumatology:()=>Y4,deptrhumatology:()=>Z4,deptsenology:()=>K4,deptsocialservice:()=>J4,deptspeechtherapy:()=>X4,deptsportsmedecine:()=>Q4,deptstomatology:()=>ej,deptsurgery:()=>tj,deptthoracicsurgery:()=>nj,depttoxicology:()=>ij,depttropicalmedecine:()=>aj,depturology:()=>rj,deptvascularsurgery:()=>oj,deptvisceraldigestiveabdominalsurgery:()=>sj,diabete_equipment_supplier:()=>lj,dietician:()=>cj,doctor:()=>uj,family_science_bachelor:()=>dj,gerontology_master:()=>hj,groupofnurses:()=>pj,groupofphysiciansdifferentaddress:()=>mj,groupofphysicianssameaddress:()=>fj,guardpost:()=>gj,hub:()=>vj,imaging_technologist:()=>yj,implantprovider:()=>bj,lab_technologist:()=>_j,logopedist:()=>xj,midwife:()=>wj,nurse:()=>Ej,occupational_therapist:()=>Sj,optician:()=>kj,orghospital:()=>Ij,orginsurance:()=>Cj,orglaboratory:()=>Dj,orgpharmacy:()=>Tj,orgpharmacyinvoicingoffice:()=>Oj,orgpolyclinic:()=>Nj,orgpractice:()=>Pj,orgprevention:()=>Mj,orgprimaryhealthcarecenter:()=>Aj,orgpsychiatriccarehome:()=>Rj,orgpublichealth:()=>Lj,orgretirementhome:()=>Fj,orgrevalidationcenter:()=>Vj,orgshelteredliving:()=>jj,orthopedagogist_master:()=>zj,orthopedist:()=>Bj,orthoptist:()=>Hj,orthotist:()=>Uj,patient:()=>Gj,pediatric_nurse:()=>Wj,persadministrative:()=>qj,persambulancefirstaid:()=>$j,persappliedpsychbachelor:()=>Yj,persaudician:()=>Zj,persaudiologist:()=>Kj,persbandagistorthosiologist:()=>Jj,persbiologist:()=>Xj,perscaregiver:()=>Qj,persclinicalorthopedagogist:()=>e9,persclinicalpsychologist:()=>t9,persdentist:()=>n9,persdietician:()=>i9,perseducator:()=>a9,persfamilysciencebachelor:()=>r9,persgerontologymaster:()=>o9,perslogopedist:()=>s9,persmidwife:()=>l9,persmobilityimprover:()=>c9,persnurse:()=>u9,persoccupationaltherapist:()=>d9,persoptician:()=>h9,persoptometrist:()=>p9,persoraldentalhygienist:()=>m9,persorthopedagogistmaster:()=>f9,persorthopedist:()=>g9,persorthoptist:()=>v9,persorthotist:()=>y9,persparamedical:()=>b9,perspatientdriver:()=>_9,perspharmacist:()=>x9,perspharmacistclinicalbiologist:()=>w9,perspharmacyassistant:()=>E9,persphysician:()=>S9,persphysiotherapist:()=>k9,perspodologist:()=>I9,perspracticalnurse:()=>C9,persprosthesiologist:()=>D9,perspsychologist:()=>T9,perspsychomotortherapymaster:()=>O9,persreadaptationbachelor:()=>N9,persshoetechnologist:()=>P9,perssocialworker:()=>M9,perstechnician:()=>A9,perstrussmaker:()=>R9,pharmacist:()=>L9,pharmacist_assistant:()=>F9,physician:()=>V9,physiotherapist:()=>j9,podologist:()=>z9,practical_nurse:()=>B9,prosthetist:()=>H9,psychologist:()=>U9,psychomotor_therapy_master:()=>G9,readaptaion_bachelor:()=>W9,social_worker:()=>q9,specialized_educator:()=>$9,truss_maker:()=>Y9});var TV="Ambulance Driver",OV="Ambulance First Aider",NV="Ambulance Rescuer",PV="Software application",MV="Bachelor in Applied Psychology",AV="Audician",RV="Audiologist",LV="Biologist Pharmacist",FV="Caregiver",VV="Certificate holder",jV="Citizen",zV="Clinical Orthopedic Pedagogue",BV="Clinical Psychologist",HV="Dental Hygienist",UV="Dentist",GV="Algology",WV="Anatomopathology",qV="Anesthesiology",$V="Bacteriology",YV="Cardiac surgery",ZV="Cardiology",KV="Child and adolescent psychiatry",JV="Dentistry",XV="Dermatology",QV="Diabetology",e4="Dietetics",t4="Emergency",n4="Endocrinology",i4="Gastroenterology",a4="General practice",r4="Genetics",o4="Geriatry",s4="Gynecology",l4="Hand surgery",c4="Hematology",u4="Infectious disease",d4="Intensive care",h4="Kinesitherapy",p4="Laboratory service or department within an organisation",m4="Major burns",f4="Maxillofacial surgery",g4="Internal medecine",v4="Molecular biology",y4="Neonatalogy",b4="Nephrology",_4="Neurology",x4="Neurology",w4="Nose-throat-ear",E4="Nuclear",S4="Nursing",k4="Nutritional dietetics",I4="Obstetrics",C4="Occupational therapy",D4="Oncology",T4="Ophthalmology",O4="Orthopedy",N4="Palliative care",P4="Pediatric intensive care",M4="Pediatric surgery",A4="Pediatry",R4="Pharmacy Service/Department within an organization",L4="Physical medecine",F4="Physiotherapy",V4="Plastic and reparatory surgery",j4="Pneumology",z4="Podiatry",B4="Podiatry",H4="Psychiatry",U4="Psychogeriatry",G4="Psychology",W4="Radiology",q4="Radiotherapy",$4="Revalidation",Y4="Rheumatology",Z4="Rhumatology",K4="Senology",J4="Social service",X4="Speech therapy",Q4="Sports medecine",ej="Stomatology",tj="Surgery",nj="Thoracic surgery",ij="Toxicology",aj="Tropical medecine",rj="Urology",oj="Vascular surgery",sj="Visceral digestive abdominal surgery",lj="Diabetes Management Equipment Supplier",cj="Dietitian",uj="Doctor",dj="Bachelor in Family Science",hj="Master in Gerontology",pj="Group of nurses",mj="Group of physicians different address",fj="Group of physicians same address",gj="Guard post",vj="Hub",yj="Medical Imaging Technologist",bj="Implant Provider",_j="Laboratory Technologist",xj="Logopedist",wj="Midwife",Ej="Nurse",Sj="Occupational Therapist",kj="Optician",Ij="Hospital",Cj="Insurance",Dj="Independent laboratory",Tj="Independent pharmacy",Oj="Pharmacy invoicing office",Nj="Polyclinic",Pj="Practice organisation",Mj="Prevention Service",Aj="Primary health care center",Rj="Psychiatric care home",Lj="Public health organisation",Fj="Retirementhome",Vj="Revalidation center",jj="Sheltered living",zj="Master's in Orthopedagogy",Bj="Orthopedist",Hj="Orthoptist-Optometrist",Uj="Orthotist",Gj="Patient",Wj="Pediatric Nurse",qj="Administrative",$j="Ambulance first aid",Yj="Bachelor in Applied psychology",Zj="Audician",Kj="Audiologist",Jj="Bandagist orthosiologist (orthopedic technologist)",Xj="Medical laboratory technician",Qj="Informal Caregiver",e9="Clinical orthopedagogist",t9="Clinical psychologist",n9="Dentist",i9="Dietician",a9="Educator",r9="Bachelor in Family sciences",o9="Master in Gerontological sciences",s9="Logopedist",l9="Midwife",c9="Mobility improver (orthopedic technologist)",u9="Nurse",d9="Occupational therapist",h9="Optician",p9="Optometrist",m9="Oral Dental Hygienist",f9="Master of orthopedagogist",g9="Orthopedist",v9="Orthoptist",y9="Orthotist/Prosthetist",b9="Paramedical staff",_9="Patient Transporter (non-urgent)",x9="Pharmacist",w9="Pharmacist-clinical biologist",E9="Pharmacy assistant",S9="Physician",k9="Physiotherapist",I9="Podiologist",C9="Practical nurse",D9="prosthesiologist (orthopedic technologist)",T9="Psychologist",O9="Master in Psychomotor Therapy",N9="Bachelor in Physiotherapy and Rehabilitation",P9="shoe technologist (orthopedic technologist)",M9="Social worker",A9="Medical Imaging Technician",R9="Truss maker",L9="Pharmacist",F9="Pharmaceutical Technician Assistant",V9="Physician",j9="Physiotherapist",z9="Podiatrist",B9="Practical Nurse",H9="Prosthetist",U9="Clinical Psychologist",G9="Master's in Psychomotor Therapy",W9="Bachelor in Rehabilitation",q9="Social Worker",$9="Specialized Educator",Y9="Truss Maker",Vxe={ambulance_driver:TV,ambulance_first_aid:OV,ambulance_rescuer:NV,application:PV,applied_psychology_bachelor:MV,audician:AV,audiologist:RV,biologist_pharmacist:LV,care_giver:FV,certificateholder:VV,citizen:jV,clinical_orthopedic_pedagogue:zV,clinical_psychologist:BV,dental_hygienist:HV,dentist:UV,deptalgology:GV,deptanatomopathology:WV,deptanesthesiology:qV,deptbacteriology:$V,deptcardiacsurgery:YV,deptcardiology:ZV,deptchildandadolescentpsychiatry:KV,deptdentistry:JV,deptdermatology:XV,deptdiabetology:QV,deptdietetics:e4,deptemergency:t4,deptendocrinology:n4,deptgastroenterology:i4,deptgeneralpractice:a4,deptgenetics:r4,deptgeriatry:o4,deptgynecology:s4,depthandsurgery:l4,depthematology:c4,deptinfectiousdisease:u4,deptintensivecare:d4,deptkinesitherapy:h4,deptlaboratory:p4,deptmajorburns:m4,deptmaxillofacialsurgery:f4,deptmedicine:g4,deptmolecularbiology:v4,deptneonatalogy:y4,deptnephrology:b4,deptneurology:_4,deptneurosurgery:x4,deptnte:w4,deptnuclear:E4,deptnursing:S4,deptnutritiondietetics:k4,deptobstetrics:I4,deptoccupationaltherapy:C4,deptoncology:D4,deptophtalmology:T4,deptorthopedy:O4,deptpalliativecare:N4,deptpediatricintensivecare:P4,deptpediatricsurgery:M4,deptpediatry:A4,deptpharmacy:R4,deptphysicalmedecine:L4,deptphysiotherapy:F4,deptplasticandreparatorysurgery:V4,deptpneumology:j4,deptpodiatry:z4,deptpodology:B4,deptpsychiatry:H4,deptpsychogeriatry:U4,deptpsychology:G4,deptradiology:W4,deptradiotherapy:q4,deptrevalidation:$4,deptrheumatology:Y4,deptrhumatology:Z4,deptsenology:K4,deptsocialservice:J4,deptspeechtherapy:X4,deptsportsmedecine:Q4,deptstomatology:ej,deptsurgery:tj,deptthoracicsurgery:nj,depttoxicology:ij,depttropicalmedecine:aj,depturology:rj,deptvascularsurgery:oj,deptvisceraldigestiveabdominalsurgery:sj,diabete_equipment_supplier:lj,dietician:cj,doctor:uj,family_science_bachelor:dj,gerontology_master:hj,groupofnurses:pj,groupofphysiciansdifferentaddress:mj,groupofphysicianssameaddress:fj,guardpost:gj,hub:vj,imaging_technologist:yj,implantprovider:bj,lab_technologist:_j,logopedist:xj,midwife:wj,nurse:Ej,occupational_therapist:Sj,optician:kj,orghospital:Ij,orginsurance:Cj,orglaboratory:Dj,orgpharmacy:Tj,orgpharmacyinvoicingoffice:Oj,orgpolyclinic:Nj,orgpractice:Pj,orgprevention:Mj,orgprimaryhealthcarecenter:Aj,orgpsychiatriccarehome:Rj,orgpublichealth:Lj,orgretirementhome:Fj,orgrevalidationcenter:Vj,orgshelteredliving:jj,orthopedagogist_master:zj,orthopedist:Bj,orthoptist:Hj,orthotist:Uj,patient:Gj,pediatric_nurse:Wj,persadministrative:qj,persambulancefirstaid:$j,persappliedpsychbachelor:Yj,persaudician:Zj,persaudiologist:Kj,persbandagistorthosiologist:Jj,persbiologist:Xj,perscaregiver:Qj,persclinicalorthopedagogist:e9,persclinicalpsychologist:t9,persdentist:n9,persdietician:i9,perseducator:a9,persfamilysciencebachelor:r9,persgerontologymaster:o9,perslogopedist:s9,persmidwife:l9,persmobilityimprover:c9,persnurse:u9,persoccupationaltherapist:d9,persoptician:h9,persoptometrist:p9,persoraldentalhygienist:m9,persorthopedagogistmaster:f9,persorthopedist:g9,persorthoptist:v9,persorthotist:y9,persparamedical:b9,perspatientdriver:_9,perspharmacist:x9,perspharmacistclinicalbiologist:w9,perspharmacyassistant:E9,persphysician:S9,persphysiotherapist:k9,perspodologist:I9,perspracticalnurse:C9,persprosthesiologist:D9,perspsychologist:T9,perspsychomotortherapymaster:O9,persreadaptationbachelor:N9,persshoetechnologist:P9,perssocialworker:M9,perstechnician:A9,perstrussmaker:R9,pharmacist:L9,pharmacist_assistant:F9,physician:V9,physiotherapist:j9,podologist:z9,practical_nurse:B9,prosthetist:H9,psychologist:U9,psychomotor_therapy_master:G9,readaptaion_bachelor:W9,social_worker:q9,specialized_educator:$9,truss_maker:Y9},Z9={};K(Z9,{ambulance_driver:()=>K9,ambulance_first_aid:()=>J9,ambulance_rescuer:()=>X9,application:()=>Q9,applied_psychology_bachelor:()=>ez,audician:()=>tz,audiologist:()=>nz,biologist_pharmacist:()=>iz,care_giver:()=>az,certificateholder:()=>rz,citizen:()=>oz,clinical_orthopedic_pedagogue:()=>sz,clinical_psychologist:()=>lz,default:()=>jxe,dental_hygienist:()=>cz,dentist:()=>uz,deptalgology:()=>dz,deptanatomopathology:()=>hz,deptanesthesiology:()=>pz,deptbacteriology:()=>mz,deptcardiacsurgery:()=>fz,deptcardiology:()=>gz,deptchildandadolescentpsychiatry:()=>vz,deptdentistry:()=>yz,deptdermatology:()=>bz,deptdiabetology:()=>_z,deptdietetics:()=>xz,deptemergency:()=>wz,deptendocrinology:()=>Ez,deptgastroenterology:()=>Sz,deptgeneralpractice:()=>kz,deptgenetics:()=>Iz,deptgeriatry:()=>Cz,deptgynecology:()=>Dz,depthandsurgery:()=>Tz,depthematology:()=>Oz,deptinfectiousdisease:()=>Nz,deptintensivecare:()=>Pz,deptkinesitherapy:()=>Mz,deptlaboratory:()=>Az,deptmajorburns:()=>Rz,deptmaxillofacialsurgery:()=>Lz,deptmedicine:()=>Fz,deptmolecularbiology:()=>Vz,deptneonatalogy:()=>jz,deptnephrology:()=>zz,deptneurology:()=>Bz,deptneurosurgery:()=>Hz,deptnte:()=>Uz,deptnuclear:()=>Gz,deptnursing:()=>Wz,deptnutritiondietetics:()=>qz,deptobstetrics:()=>$z,deptoccupationaltherapy:()=>Yz,deptoncology:()=>Zz,deptophtalmology:()=>Kz,deptorthopedy:()=>Jz,deptpalliativecare:()=>Xz,deptpediatricintensivecare:()=>Qz,deptpediatricsurgery:()=>eB,deptpediatry:()=>tB,deptpharmacy:()=>nB,deptphysicalmedecine:()=>iB,deptphysiotherapy:()=>aB,deptplasticandreparatorysurgery:()=>rB,deptpneumology:()=>oB,deptpodiatry:()=>sB,deptpodology:()=>lB,deptpsychiatry:()=>cB,deptpsychogeriatry:()=>uB,deptpsychology:()=>dB,deptradiology:()=>hB,deptradiotherapy:()=>pB,deptrevalidation:()=>mB,deptrheumatology:()=>fB,deptrhumatology:()=>gB,deptsenology:()=>vB,deptsocialservice:()=>yB,deptspeechtherapy:()=>bB,deptsportsmedecine:()=>_B,deptstomatology:()=>xB,deptsurgery:()=>wB,deptthoracicsurgery:()=>EB,depttoxicology:()=>SB,depttropicalmedecine:()=>kB,depturology:()=>IB,deptvascularsurgery:()=>CB,deptvisceraldigestiveabdominalsurgery:()=>DB,diabete_equipment_supplier:()=>TB,dietician:()=>OB,doctor:()=>NB,family_science_bachelor:()=>PB,gerontology_master:()=>MB,groupofnurses:()=>AB,groupofphysiciansdifferentaddress:()=>RB,groupofphysicianssameaddress:()=>LB,guardpost:()=>FB,hub:()=>VB,imaging_technologist:()=>jB,implantprovider:()=>zB,lab_technologist:()=>BB,logopedist:()=>HB,midwife:()=>UB,nurse:()=>GB,occupational_therapist:()=>WB,optician:()=>qB,orghospital:()=>$B,orginsurance:()=>YB,orglaboratory:()=>ZB,orgpharmacy:()=>KB,orgpharmacyinvoicingoffice:()=>JB,orgpolyclinic:()=>XB,orgpractice:()=>QB,orgprevention:()=>e7,orgprimaryhealthcarecenter:()=>t7,orgpsychiatriccarehome:()=>n7,orgpublichealth:()=>i7,orgretirementhome:()=>a7,orgrevalidationcenter:()=>r7,orgshelteredliving:()=>o7,orthopedagogist_master:()=>s7,orthopedist:()=>l7,orthoptist:()=>c7,orthotist:()=>u7,patient:()=>d7,pediatric_nurse:()=>h7,persadministrative:()=>p7,persambulancefirstaid:()=>m7,persappliedpsychbachelor:()=>f7,persaudician:()=>g7,persaudiologist:()=>v7,persbandagistorthosiologist:()=>y7,persbiologist:()=>b7,perscaregiver:()=>_7,persclinicalorthopedagogist:()=>x7,persclinicalpsychologist:()=>w7,persdentist:()=>E7,persdietician:()=>S7,perseducator:()=>k7,persfamilysciencebachelor:()=>I7,persgerontologymaster:()=>C7,perslogopedist:()=>D7,persmidwife:()=>T7,persmobilityimprover:()=>O7,persnurse:()=>N7,persoccupationaltherapist:()=>P7,persoptician:()=>M7,persoptometrist:()=>A7,persoraldentalhygienist:()=>R7,persorthopedagogistmaster:()=>L7,persorthopedist:()=>F7,persorthoptist:()=>V7,persorthotist:()=>j7,persparamedical:()=>z7,perspatientdriver:()=>B7,perspharmacist:()=>H7,perspharmacistclinicalbiologist:()=>U7,perspharmacyassistant:()=>G7,persphysician:()=>W7,persphysiotherapist:()=>q7,perspodologist:()=>$7,perspracticalnurse:()=>Y7,persprosthesiologist:()=>Z7,perspsychologist:()=>K7,perspsychomotortherapymaster:()=>J7,persreadaptationbachelor:()=>X7,persshoetechnologist:()=>Q7,perssocialworker:()=>eH,perstechnician:()=>tH,perstrussmaker:()=>nH,pharmacist:()=>iH,pharmacist_assistant:()=>aH,physician:()=>rH,physiotherapist:()=>oH,podologist:()=>sH,practical_nurse:()=>lH,prosthetist:()=>cH,psychologist:()=>uH,psychomotor_therapy_master:()=>dH,readaptaion_bachelor:()=>hH,social_worker:()=>pH,specialized_educator:()=>mH,truss_maker:()=>fH});var K9="Ambulancier",J9="Ambulancier secouriste",X9="Ambulancier secouriste",Q9="application logicielle",ez="Bachelier en psychologie appliquée",tz="Audicien",nz="Audiologue",iz="Pharmacien biologiste",az="Personnel soignant",rz="Titulaire du certificat",oz="Citoyen",sz="Orthopédagogue clinicien",lz="Psychologue clinicien",cz="Hygiéniste bucco-dentaire",uz="Dentiste",dz="algologie",hz="anatomopathologie",pz="anesthésiologie",mz="bactériologie",fz="chirurgie cardiaque",gz="cardiologie",vz="psychiatrie de l’enfant et de l’adolescent",yz="dentisterie",bz="dermatologie",_z="diabétologie",xz="diététique",wz="services d’urgence",Ez="endocrinologie",Sz="gastroentérologie",kz="médecine générale",Iz="génétique",Cz="gériatrie",Dz="gynécologie",Tz="chirurgie de la main",Oz="hématologie",Nz="maladie infectieuse",Pz="soins intensifs",Mz="kinésithérapie",Az="Service/Département laboratoire au sein d’une organisation",Rz="grands brûlés",Lz="chirurgie maxillo-faciale",Fz="médecine interne",Vz="biologie moléculaire",jz="néonatologie",zz="néphrologie",Bz="neurologie",Hz="neurologie",Uz="oto-rhino-laryngologie",Gz="médecine nucléaire",Wz="soins infirmiers",qz="diététique nutritionnelle",$z="obstétrique",Yz="ergothérapie",Zz="oncologie",Kz="ophtalmologie",Jz="orthopédie",Xz="soins palliatifs",Qz="soins intensifs pédiatriques",eB="chirurgie pédiatrique",tB="pédiatrie",nB="Service/Département pharmacie au sein d’une organisation",iB="médecine physique",aB="physiothérapie",rB="chirurgie esthétique et réparatrice",oB="pneumologie",sB="podiatrie",lB="",cB="psychiatrie",uB="Psychogériatrie",dB="psychologie",hB="radiologie",pB="radiothérapie",mB="rééducation",fB="rhumatologie",gB="",vB="sénologie",yB="service social",bB="logopédie",_B="médecine des sports",xB="stomatologie",wB="chirurgie",EB="chirurgie thoracique",SB="toxicologie",kB="médecine tropicale",IB="urologie",CB="chirurgie vasculaire",DB="chirurgie abdominale, digestive et viscérale",TB="Fournisseur de matériel d’autogestion diabétique",OB="Diététicien",NB="Médecin",PB="Bachelier en science de la famille",MB="Master en gérontologie",AB="Regroupement d’infirmiers",RB="Regroupement de médecins adresse différente",LB="regroupement de médecins même adresse",FB="poste de garde",VB="hub",jB="Technologue en imagerie médicale",zB="Dispensateur d’implants",BB="Technologue de labo",HB="Logopède",UB="Sage-femme",GB="Infirmier\\Infirmière",WB="Ergothérapeute",qB="Opticien",$B="hôpital",YB="assurance",ZB="laboratoire indépendant",KB="Pharmacie indépendante",JB="office de tarification",XB="polyclinique",QB="cabinet",e7="Service de prévention",t7="Maison médicale",n7="maison de soins psychiatriques",i7="service public de santé",a7="maison de repos",r7="centre de revalidation",o7="initiative d’habitation protégée",s7="Master en Orthopédagogie",l7="Orthopédiste",c7="Orthoptiste-Optométriste",u7="Orthésiste",d7="Patient",h7="Puéricultrice",p7="personnel admistratif",m7="ambulance premier secours",f7="Bachelier en psychologie",g7="audicien",v7="audiologue",y7="orthosiologue bandagiste (technologue en orthopédie)",b7="technicien de laboratoire médical",_7="soignant informel",x7="Orthopédagogue clinicien",w7="Psychologue clinicien",E7="dentiste",S7="diététicien",k7="éducateur",I7="Bachelier en sciences de la famille",C7="Master en gérontologie",D7="logopède",T7="sage-femme",O7="améliorateur de mobilité (technologue en orthopédie)",N7="infirmier",P7="ergothérapeute",M7="opticien",A7="optométriste",R7="Hygiéniste bucco-dentaire",L7="Master en orthopédagogie",F7="orthopédiste",V7="orthoptiste",j7="Orthésiste/Prothésiste",z7="personnel paramédical",B7="Transporteur de patient (non urgent)",H7="pharmacien",U7="pharmacien-biologiste clinicien",G7="assistant en pharmacie",W7="médecin",q7="kinésithérapeute",$7="podologue",Y7="aide-soignante",Z7="prothésiste (technologue en orthopédie)",K7="psychologue",J7="Master en thérapie psychomotrice",X7="Bachelier en kinésithérapie et réadaptation",Q7="technicien de chaussures (technologue en orthopédie)",eH="travailleur social",tH="Technicien d’imagerie médicale",nH="Bandagiste",iH="Pharmacien",aH="Assistant Pharmaceutico-Technique",rH="Médecin",oH="Physiothérapeute",sH="Podologue",lH="Aide-soignant",cH="Prothésiste",uH="Psychologue clinicien",dH="Master en thérapie psychomotrice",hH="Bachelier en réadaptation",pH="Assistant social",mH="Educateur spécialisé",fH="Bandagiste",jxe={ambulance_driver:K9,ambulance_first_aid:J9,ambulance_rescuer:X9,application:Q9,applied_psychology_bachelor:ez,audician:tz,audiologist:nz,biologist_pharmacist:iz,care_giver:az,certificateholder:rz,citizen:oz,clinical_orthopedic_pedagogue:sz,clinical_psychologist:lz,dental_hygienist:cz,dentist:uz,deptalgology:dz,deptanatomopathology:hz,deptanesthesiology:pz,deptbacteriology:mz,deptcardiacsurgery:fz,deptcardiology:gz,deptchildandadolescentpsychiatry:vz,deptdentistry:yz,deptdermatology:bz,deptdiabetology:_z,deptdietetics:xz,deptemergency:wz,deptendocrinology:Ez,deptgastroenterology:Sz,deptgeneralpractice:kz,deptgenetics:Iz,deptgeriatry:Cz,deptgynecology:Dz,depthandsurgery:Tz,depthematology:Oz,deptinfectiousdisease:Nz,deptintensivecare:Pz,deptkinesitherapy:Mz,deptlaboratory:Az,deptmajorburns:Rz,deptmaxillofacialsurgery:Lz,deptmedicine:Fz,deptmolecularbiology:Vz,deptneonatalogy:jz,deptnephrology:zz,deptneurology:Bz,deptneurosurgery:Hz,deptnte:Uz,deptnuclear:Gz,deptnursing:Wz,deptnutritiondietetics:qz,deptobstetrics:$z,deptoccupationaltherapy:Yz,deptoncology:Zz,deptophtalmology:Kz,deptorthopedy:Jz,deptpalliativecare:Xz,deptpediatricintensivecare:Qz,deptpediatricsurgery:eB,deptpediatry:tB,deptpharmacy:nB,deptphysicalmedecine:iB,deptphysiotherapy:aB,deptplasticandreparatorysurgery:rB,deptpneumology:oB,deptpodiatry:sB,deptpodology:lB,deptpsychiatry:cB,deptpsychogeriatry:uB,deptpsychology:dB,deptradiology:hB,deptradiotherapy:pB,deptrevalidation:mB,deptrheumatology:fB,deptrhumatology:gB,deptsenology:vB,deptsocialservice:yB,deptspeechtherapy:bB,deptsportsmedecine:_B,deptstomatology:xB,deptsurgery:wB,deptthoracicsurgery:EB,depttoxicology:SB,depttropicalmedecine:kB,depturology:IB,deptvascularsurgery:CB,deptvisceraldigestiveabdominalsurgery:DB,diabete_equipment_supplier:TB,dietician:OB,doctor:NB,family_science_bachelor:PB,gerontology_master:MB,groupofnurses:AB,groupofphysiciansdifferentaddress:RB,groupofphysicianssameaddress:LB,guardpost:FB,hub:VB,imaging_technologist:jB,implantprovider:zB,lab_technologist:BB,logopedist:HB,midwife:UB,nurse:GB,occupational_therapist:WB,optician:qB,orghospital:$B,orginsurance:YB,orglaboratory:ZB,orgpharmacy:KB,orgpharmacyinvoicingoffice:JB,orgpolyclinic:XB,orgpractice:QB,orgprevention:e7,orgprimaryhealthcarecenter:t7,orgpsychiatriccarehome:n7,orgpublichealth:i7,orgretirementhome:a7,orgrevalidationcenter:r7,orgshelteredliving:o7,orthopedagogist_master:s7,orthopedist:l7,orthoptist:c7,orthotist:u7,patient:d7,pediatric_nurse:h7,persadministrative:p7,persambulancefirstaid:m7,persappliedpsychbachelor:f7,persaudician:g7,persaudiologist:v7,persbandagistorthosiologist:y7,persbiologist:b7,perscaregiver:_7,persclinicalorthopedagogist:x7,persclinicalpsychologist:w7,persdentist:E7,persdietician:S7,perseducator:k7,persfamilysciencebachelor:I7,persgerontologymaster:C7,perslogopedist:D7,persmidwife:T7,persmobilityimprover:O7,persnurse:N7,persoccupationaltherapist:P7,persoptician:M7,persoptometrist:A7,persoraldentalhygienist:R7,persorthopedagogistmaster:L7,persorthopedist:F7,persorthoptist:V7,persorthotist:j7,persparamedical:z7,perspatientdriver:B7,perspharmacist:H7,perspharmacistclinicalbiologist:U7,perspharmacyassistant:G7,persphysician:W7,persphysiotherapist:q7,perspodologist:$7,perspracticalnurse:Y7,persprosthesiologist:Z7,perspsychologist:K7,perspsychomotortherapymaster:J7,persreadaptationbachelor:X7,persshoetechnologist:Q7,perssocialworker:eH,perstechnician:tH,perstrussmaker:nH,pharmacist:iH,pharmacist_assistant:aH,physician:rH,physiotherapist:oH,podologist:sH,practical_nurse:lH,prosthetist:cH,psychologist:uH,psychomotor_therapy_master:dH,readaptaion_bachelor:hH,social_worker:pH,specialized_educator:mH,truss_maker:fH},gH={};K(gH,{ambulance_driver:()=>vH,ambulance_first_aid:()=>yH,ambulance_rescuer:()=>bH,application:()=>_H,applied_psychology_bachelor:()=>xH,audician:()=>wH,audiologist:()=>EH,biologist_pharmacist:()=>SH,care_giver:()=>kH,certificateholder:()=>IH,citizen:()=>CH,clinical_orthopedic_pedagogue:()=>DH,clinical_psychologist:()=>TH,default:()=>zxe,dental_hygienist:()=>OH,dentist:()=>NH,deptalgology:()=>PH,deptanatomopathology:()=>MH,deptanesthesiology:()=>AH,deptbacteriology:()=>RH,deptcardiacsurgery:()=>LH,deptcardiology:()=>FH,deptchildandadolescentpsychiatry:()=>VH,deptdentistry:()=>jH,deptdermatology:()=>zH,deptdiabetology:()=>BH,deptdietetics:()=>HH,deptemergency:()=>UH,deptendocrinology:()=>GH,deptgastroenterology:()=>WH,deptgeneralpractice:()=>qH,deptgenetics:()=>$H,deptgeriatry:()=>YH,deptgynecology:()=>ZH,depthandsurgery:()=>KH,depthematology:()=>JH,deptinfectiousdisease:()=>XH,deptintensivecare:()=>QH,deptkinesitherapy:()=>e6,deptlaboratory:()=>t6,deptmajorburns:()=>n6,deptmaxillofacialsurgery:()=>i6,deptmedicine:()=>a6,deptmolecularbiology:()=>r6,deptneonatalogy:()=>o6,deptnephrology:()=>s6,deptneurology:()=>l6,deptneurosurgery:()=>c6,deptnte:()=>u6,deptnuclear:()=>d6,deptnursing:()=>h6,deptnutritiondietetics:()=>p6,deptobstetrics:()=>m6,deptoccupationaltherapy:()=>f6,deptoncology:()=>g6,deptophtalmology:()=>v6,deptorthopedy:()=>y6,deptpalliativecare:()=>b6,deptpediatricintensivecare:()=>_6,deptpediatricsurgery:()=>x6,deptpediatry:()=>w6,deptpharmacy:()=>E6,deptphysicalmedecine:()=>S6,deptphysiotherapy:()=>k6,deptplasticandreparatorysurgery:()=>I6,deptpneumology:()=>C6,deptpodiatry:()=>D6,deptpodology:()=>T6,deptpsychiatry:()=>O6,deptpsychogeriatry:()=>N6,deptpsychology:()=>P6,deptradiology:()=>M6,deptradiotherapy:()=>A6,deptrevalidation:()=>R6,deptrheumatology:()=>L6,deptsenology:()=>F6,deptsocialservice:()=>V6,deptspeechtherapy:()=>j6,deptsportsmedecine:()=>z6,deptstomatology:()=>B6,deptsurgery:()=>H6,deptthoracicsurgery:()=>U6,depttoxicology:()=>G6,depttropicalmedecine:()=>W6,depturology:()=>q6,deptvascularsurgery:()=>$6,deptvisceraldigestiveabdominalsurgery:()=>Y6,diabete_equipment_supplier:()=>Z6,dietician:()=>K6,doctor:()=>J6,family_science_bachelor:()=>X6,gerontology_master:()=>Q6,groupofnurses:()=>eU,groupofphysiciansdifferentaddress:()=>tU,groupofphysicianssameaddress:()=>nU,guardpost:()=>iU,hub:()=>aU,imaging_technologist:()=>rU,implantprovider:()=>oU,lab_technologist:()=>sU,logopedist:()=>lU,midwife:()=>cU,nurse:()=>uU,occupational_therapist:()=>dU,optician:()=>hU,orghospital:()=>pU,orginsurance:()=>mU,orglaboratory:()=>fU,orgpharmacy:()=>gU,orgpharmacyinvoicingoffice:()=>vU,orgpolyclinic:()=>yU,orgpractice:()=>bU,orgprevention:()=>_U,orgprimaryhealthcarecenter:()=>xU,orgpsychiatriccarehome:()=>wU,orgpublichealth:()=>EU,orgretirementhome:()=>SU,orgrevalidationcenter:()=>kU,orgshelteredliving:()=>IU,orthopedagogist_master:()=>CU,orthopedist:()=>DU,orthoptist:()=>TU,orthotist:()=>OU,patient:()=>NU,pediatric_nurse:()=>PU,persadministrative:()=>MU,persambulancefirstaid:()=>AU,persappliedpsychbachelor:()=>RU,persaudician:()=>LU,persaudiologist:()=>FU,persbandagistorthosiologist:()=>VU,persbiologist:()=>jU,perscaregiver:()=>zU,persclinicalorthopedagogist:()=>BU,persclinicalpsychologist:()=>HU,persdentist:()=>UU,persdietician:()=>GU,perseducator:()=>WU,persfamilysciencebachelor:()=>qU,persgerontologymaster:()=>$U,perslogopedist:()=>YU,persmidwife:()=>ZU,persmobilityimprover:()=>KU,persnurse:()=>JU,persoccupationaltherapist:()=>XU,persoptician:()=>QU,persoptometrist:()=>e8,persoraldentalhygienist:()=>t8,persorthopedagogistmaster:()=>n8,persorthopedist:()=>i8,persorthoptist:()=>a8,persorthotist:()=>r8,persparamedical:()=>o8,perspatientdriver:()=>s8,perspharmacist:()=>l8,perspharmacistclinicalbiologist:()=>c8,perspharmacyassistant:()=>u8,persphysician:()=>d8,persphysiotherapist:()=>h8,perspodologist:()=>p8,perspracticalnurse:()=>m8,persprosthesiologist:()=>f8,perspsychologist:()=>g8,perspsychomotortherapymaster:()=>v8,persreadaptationbachelor:()=>y8,persshoetechnologist:()=>b8,perssocialworker:()=>_8,perstechnician:()=>x8,perstrussmaker:()=>w8,pharmacist:()=>E8,pharmacist_assistant:()=>S8,physician:()=>k8,physiotherapist:()=>I8,podologist:()=>C8,practical_nurse:()=>D8,prosthetist:()=>T8,psychologist:()=>O8,psychomotor_therapy_master:()=>N8,readaptaion_bachelor:()=>P8,social_worker:()=>M8,specialized_educator:()=>A8,truss_maker:()=>R8});var vH="Ambulancebestuurder",yH="Ambulancier eerste hulp",bH="Amublancier eerste hulp",_H="softwaretoepassing",xH="Bachelor toegepaste psychologie",wH="Audicien",EH="Audioloog",SH="Apotheker-bioloog",kH="Verzorgingspersoneel",IH="Houder van certificaat",CH="Burger",DH="Klinische orthopedagoog",TH="Klinische psycholoog",OH="Mondhygiënist",NH="Tandarts",PH="algologie",MH="anatomo-pathologie",AH="anesthesiologie",RH="bacteriologie",LH="hartchirurgie",FH="cardiologie",VH="kinder- en jeugdpsychiatrie",jH="tandheelkunde",zH="dermatologie",BH="diabetologie",HH="diëtetiek",UH="spoeddiensten",GH="endocrinologie/hormonenleer",WH="gastro-enterologie",qH="algemene geneeskunde",$H="genetica",YH="geriatrie",ZH="gynaecologie",KH="handchirurgie",JH="hematologie",XH="infectieziekte",QH="intensieve zorgen",e6="kinesitherapie",t6="Laboratoriumdienst of -afdeling binnen een organisatie",n6="brandwondencentrum",i6="mond-, kaak- en aangezichtschirurgie",a6="interne geneeskunde",r6="moleculaire biologie",o6="neonatologie",s6="nefrologie",l6="neurologie",c6="neurologie",u6="oto-rhino-laryngologie",d6="nucleaire geneeskunde",h6="verpleegkunde",p6="diëtetiek",m6="verloskunde",f6="ergotherapie",g6="oncologie",v6="oftalmologie",y6="orthopedie",b6="palliatieve zorg",_6="intensieve zorg voor kinderen",x6="kinderchirurgie",w6="pediatrie",E6="Apotheekdienst of -afdeling binnen een organisatie",S6="fysische geneeskunde",k6="fysiotherapie",I6="plastische en reconstructieve chirurgie",C6="pulmonologie",D6="podiatrie",T6="",O6="psychiatrie",N6="Psychogeriatrie",P6="psychologie",M6="radiologie",A6="radiotherapie",R6="revalidatie",L6="reumatologie",F6="senologie",V6="sociale dienst",j6="logopedie",z6="sportgeneeskunde",B6="stomatologie",H6="chirurgie",U6="thoraxchirurgie",G6="toxicologie",W6="tropische geneeskunde",q6="urologie",$6="vasculaire chirurgie",Y6="digestieve/viscerale chirurgie/buikchirurgie",Z6="Leverancier van materiaal voor diabetische zelfzorg ",K6="Diëtist",J6="Arts",X6="Bachelor gezinswetenschappen",Q6="Master gerontologie",eU="Groepering van verplegers",tU="Groepering van artsen verschillend adres",nU="groepering van artsen zelfde adres",iU="wachtpost",aU="hub",rU="Technoloog medische beeldvorming",oU="Leverancier implantaten",sU="Laboratoriumtechnoloog",lU="Logopedist",cU="Vroedvrouw",uU="verpleegkundige",dU="Ergotherapeut",hU="Opticien",pU="ziekenhuis",mU="verzekering",fU="Onafhankelijk laboratorium",gU="Onafhankelijke apotheek",vU="Facturatie kantoor apotheek",yU="polikliniek",bU="praktijk",_U="Preventiedienst",xU="medisch huis",wU="psychiatrisch verzorgingstehuis",EU="openbare gezondheidsdienst",SU="woonzorgcentrum",kU="revalidatiecentrum",IU="initiatief voor beschut wonen",CU="Master orthopedagogie",DU="Orthopedist",TU="Orthoptist-optometrist",OU="Orthesist",NU="Patiënt",PU="Kinderverzorgsters",MU="administratief medewerker",AU="ambulance eerste hulp",RU="Bachelor in de toegepaste psychologie",LU="audicien",FU="audioloog",VU="Bandagist orthosioloog (orthopedisch technoloog)",jU="medisch laboratoriumtechnoloog",zU="mantelzorger",BU="Klinisch orthopedagoog",HU="Klinisch psycholoog",UU="tandarts",GU="diëtist",WU="opvoeder",qU="Bachelor in de gezinswetenschappen",$U="Master in de gerontologie",YU="logopedist",ZU="vroedvrouw",KU="mobiliteitsverbeteraar (orthopedisch technoloog)",JU="verpleegkundige",XU="ergotherapeut",QU="opticien",e8="optometrist",t8="Mondhygiënist",n8="Master in de orthopedagogie",i8="orthopedist",a8="orthoptist",r8="Orthopedisch technicus",o8="paramedisch personeel",s8="Ziekenvervoerder (niet urgent)",l8="apotheker",c8="apotheker-klinisch bioloog",u8="apothekersassistent",d8="arts",h8="kinesitherapeut",p8="podologist",m8="verzorgende",f8="prothesemaker (orthopedisch technoloog)",g8="psycholoog",v8="Master in de psychomotorische therapie",y8="Bachelor in de readaptatiewetenschappen",b8="schoentechnicus (orthopedisch technoloog)",_8="maatschappelijk werker",x8="Technicus medische beeldvorming",w8="Bandagist",E8="Apotheker",S8="Farmaceutisch-technisch assistent",k8="Arts",I8="Fysiotherapeut",C8="Podoloog",D8="Zorgkundige",T8="Prothesist",O8="Psycholoog",N8="Master psychomotorische therapie",P8="Bachelor readaptatiewetenschappen",M8="Sociaal assistent",A8="Bachelor opvoedkunde",R8="Bandagist",zxe={ambulance_driver:vH,ambulance_first_aid:yH,ambulance_rescuer:bH,application:_H,applied_psychology_bachelor:xH,audician:wH,audiologist:EH,biologist_pharmacist:SH,care_giver:kH,certificateholder:IH,citizen:CH,clinical_orthopedic_pedagogue:DH,clinical_psychologist:TH,dental_hygienist:OH,dentist:NH,deptalgology:PH,deptanatomopathology:MH,deptanesthesiology:AH,deptbacteriology:RH,deptcardiacsurgery:LH,deptcardiology:FH,deptchildandadolescentpsychiatry:VH,deptdentistry:jH,deptdermatology:zH,deptdiabetology:BH,deptdietetics:HH,deptemergency:UH,deptendocrinology:GH,deptgastroenterology:WH,deptgeneralpractice:qH,deptgenetics:$H,deptgeriatry:YH,deptgynecology:ZH,depthandsurgery:KH,depthematology:JH,deptinfectiousdisease:XH,deptintensivecare:QH,deptkinesitherapy:e6,deptlaboratory:t6,deptmajorburns:n6,deptmaxillofacialsurgery:i6,deptmedicine:a6,deptmolecularbiology:r6,deptneonatalogy:o6,deptnephrology:s6,deptneurology:l6,deptneurosurgery:c6,deptnte:u6,deptnuclear:d6,deptnursing:h6,deptnutritiondietetics:p6,deptobstetrics:m6,deptoccupationaltherapy:f6,deptoncology:g6,deptophtalmology:v6,deptorthopedy:y6,deptpalliativecare:b6,deptpediatricintensivecare:_6,deptpediatricsurgery:x6,deptpediatry:w6,deptpharmacy:E6,deptphysicalmedecine:S6,deptphysiotherapy:k6,deptplasticandreparatorysurgery:I6,deptpneumology:C6,deptpodiatry:D6,deptpodology:T6,deptpsychiatry:O6,deptpsychogeriatry:N6,deptpsychology:P6,deptradiology:M6,deptradiotherapy:A6,deptrevalidation:R6,deptrheumatology:L6,deptsenology:F6,deptsocialservice:V6,deptspeechtherapy:j6,deptsportsmedecine:z6,deptstomatology:B6,deptsurgery:H6,deptthoracicsurgery:U6,depttoxicology:G6,depttropicalmedecine:W6,depturology:q6,deptvascularsurgery:$6,deptvisceraldigestiveabdominalsurgery:Y6,diabete_equipment_supplier:Z6,dietician:K6,doctor:J6,family_science_bachelor:X6,gerontology_master:Q6,groupofnurses:eU,groupofphysiciansdifferentaddress:tU,groupofphysicianssameaddress:nU,guardpost:iU,hub:aU,imaging_technologist:rU,implantprovider:oU,lab_technologist:sU,logopedist:lU,midwife:cU,nurse:uU,occupational_therapist:dU,optician:hU,orghospital:pU,orginsurance:mU,orglaboratory:fU,orgpharmacy:gU,orgpharmacyinvoicingoffice:vU,orgpolyclinic:yU,orgpractice:bU,orgprevention:_U,orgprimaryhealthcarecenter:xU,orgpsychiatriccarehome:wU,orgpublichealth:EU,orgretirementhome:SU,orgrevalidationcenter:kU,orgshelteredliving:IU,orthopedagogist_master:CU,orthopedist:DU,orthoptist:TU,orthotist:OU,patient:NU,pediatric_nurse:PU,persadministrative:MU,persambulancefirstaid:AU,persappliedpsychbachelor:RU,persaudician:LU,persaudiologist:FU,persbandagistorthosiologist:VU,persbiologist:jU,perscaregiver:zU,persclinicalorthopedagogist:BU,persclinicalpsychologist:HU,persdentist:UU,persdietician:GU,perseducator:WU,persfamilysciencebachelor:qU,persgerontologymaster:$U,perslogopedist:YU,persmidwife:ZU,persmobilityimprover:KU,persnurse:JU,persoccupationaltherapist:XU,persoptician:QU,persoptometrist:e8,persoraldentalhygienist:t8,persorthopedagogistmaster:n8,persorthopedist:i8,persorthoptist:a8,persorthotist:r8,persparamedical:o8,perspatientdriver:s8,perspharmacist:l8,perspharmacistclinicalbiologist:c8,perspharmacyassistant:u8,persphysician:d8,persphysiotherapist:h8,perspodologist:p8,perspracticalnurse:m8,persprosthesiologist:f8,perspsychologist:g8,perspsychomotortherapymaster:v8,persreadaptationbachelor:y8,persshoetechnologist:b8,perssocialworker:_8,perstechnician:x8,perstrussmaker:w8,pharmacist:E8,pharmacist_assistant:S8,physician:k8,physiotherapist:I8,podologist:C8,practical_nurse:D8,prosthetist:T8,psychologist:O8,psychomotor_therapy_master:N8,readaptaion_bachelor:P8,social_worker:M8,specialized_educator:A8,truss_maker:R8},Bxe={nl:gH,fr:Z9,de:sF,en:DV},L8={};K(L8,{"00001":()=>F8,"00002":()=>V8,"00003":()=>j8,"00004":()=>z8,"00005":()=>B8,"00006":()=>H8,"00007":()=>U8,"00008":()=>G8,"00009":()=>W8,"00010":()=>q8,"00011":()=>$8,"00012":()=>Y8,"00013":()=>Z8,"00014":()=>K8,"00015":()=>J8,"00016":()=>X8,"00017":()=>Q8,"00018":()=>eG,"00019":()=>tG,"00020":()=>nG,"00021":()=>iG,"00022":()=>aG,"00023":()=>rG,"00024":()=>oG,"00025":()=>sG,"00026":()=>lG,"00027":()=>cG,"00028":()=>uG,"00029":()=>dG,"00030":()=>hG,"00031":()=>pG,"00032":()=>mG,"00033":()=>fG,"00034":()=>gG,"00035":()=>vG,"00036":()=>yG,"00037":()=>bG,"00038":()=>_G,"00039":()=>xG,"00040":()=>wG,"00041":()=>EG,"00042":()=>SG,"00043":()=>kG,"00044":()=>IG,"00045":()=>CG,"00046":()=>DG,"00047":()=>TG,"00048":()=>OG,"00049":()=>NG,"00050":()=>PG,"00051":()=>MG,"00052":()=>AG,"00053":()=>RG,"00054":()=>LG,"00055":()=>FG,"00056":()=>VG,"00057":()=>jG,"00058":()=>zG,"00059":()=>BG,"00060":()=>HG,"00061":()=>UG,"00062":()=>GG,"00063":()=>WG,"00064":()=>qG,"00065":()=>$G,"00066":()=>YG,"00067":()=>ZG,"00068":()=>KG,"00069":()=>JG,"00070":()=>XG,"00071":()=>QG,"00072":()=>eW,"00073":()=>tW,"both-ears":()=>nW,"both-eyes":()=>iW,"both-nostrils":()=>aW,"cutaneous-injection":()=>rW,default:()=>Hxe,derm:()=>oW,"dermal-injection":()=>sW,"ear-left":()=>lW,"ear-right":()=>cW,"eye-left":()=>uW,"eye-right":()=>dW,hyperdermoclyse:()=>hW,icut:()=>pW,ider:()=>mW,larter:()=>fW,"nose-left":()=>gW,"nose-right":()=>vW,oft:()=>yW,transdermal:()=>bW,"vitreal-injection":()=>_W});var F8="ins Ohr",V8="auf die Haut",j8="derm./rect",z8="derm./vag.",B8="Injektion außerhalb der Hirnhaut",H8="e.dur./i.thec./lokal",U8="p.dur./lokal",G8="in die Luftröhre",W8="in den Gebärmutterhals einführen",q8="Injektion in eine Arterie",$8="Injektion in den Penis",Y8="Injektion in die Haut",Z8="Injektion in einen Muskel",K8="i.m./i.thec./p.dur./s.c.",J8="i.m./i.v.",X8="i.m./i.v./inf.",Q8="i.m./i.v./inf./e.dur./s.c.",eG="i.m./i.v./inf./i.arter./i.thec.",tG="i.m./i.v./perf./i.artér./lokal/s.c.",nG="i.m./i.v./inf./i.thec.",iG="i.m./i.v./inf./rect.",aG="i.m./i.v./inf./s.c.",rG="i.m./i.v./inhal.",oG="i.m./i.v./lokal",sG="i.m./i.v./or.",lG="i.m./i.v./rect",cG="i.m./i.v./s.c.",uG="i.m./inf.",dG="i.m./perf./lokal",hG="i.m./lokal",pG="i.m./lokal/rect.",mG="i.m./s.c.",fG="Injektion ins Rückenmark",gG="in die Gebärmutter einführen",vG="Injektion in eine Vene",yG="i.v./p.dur./lokal",bG="i.v./i.arter./i.ves.",_G="i.v./inf.",xG="i.v./perf./p.dur.",wG="i.v./inf./i.arter.",EG="i.v./inf./i.thec./s.c.",SG="i.v./inf./inhal.",kG="i.v./inf./s.c.",IG="i.v./s.c.",CG="in die Harnblase",DG="Infusion",TG="perf./i.ves.",OG="perf./s.c.",NG="Inhalation",PG="inhal./nas./lokal",MG="Injektion",AG="auf die Lippen",RG="lokal",LG="auf die Schleimhaut",FG="in die Nase",VG="in die Augen",jG="opht./auric.",zG="opht./auric./nas.",BG="opht./auric./nas./lokal",HG="einnehmen",UG="or./orofar./derm.",GG="or./rect.",WG="or./s.l.",qG="durch den Mund",$G="orofar./derm.",YG="durch Mund und Nase",ZG="rektal",KG="Spritze unter die Haut",JG="s.c./i.derm.",XG="unter die Zunge",QG="auf die Zähne",eW="in den Harnleiter",tW="vaginal",nW="beide Ohren",iW="beide Augen",aW="beide Nasenlöcher",rW="kutane Injektion",oW="dermatologisch",sW="dermale Injektion",lW="linkes Ohr",cW="rechtes Ohr",uW="linkes Auge",dW="rechtes Auge",hW="Hyperdermoklyse",pW="intrakutan",mW="intradermal",fW="intraarteriell",gW="linke Nase",vW="rechte Nase",yW="ophthalmologisch",bW="transdermal",_W="vitreale Injektion",Hxe={"00001":F8,"00002":V8,"00003":j8,"00004":z8,"00005":B8,"00006":H8,"00007":U8,"00008":G8,"00009":W8,"00010":q8,"00011":$8,"00012":Y8,"00013":Z8,"00014":K8,"00015":J8,"00016":X8,"00017":Q8,"00018":eG,"00019":tG,"00020":nG,"00021":iG,"00022":aG,"00023":rG,"00024":oG,"00025":sG,"00026":lG,"00027":cG,"00028":uG,"00029":dG,"00030":hG,"00031":pG,"00032":mG,"00033":fG,"00034":gG,"00035":vG,"00036":yG,"00037":bG,"00038":_G,"00039":xG,"00040":wG,"00041":EG,"00042":SG,"00043":kG,"00044":IG,"00045":CG,"00046":DG,"00047":TG,"00048":OG,"00049":NG,"00050":PG,"00051":MG,"00052":AG,"00053":RG,"00054":LG,"00055":FG,"00056":VG,"00057":jG,"00058":zG,"00059":BG,"00060":HG,"00061":UG,"00062":GG,"00063":WG,"00064":qG,"00065":$G,"00066":YG,"00067":ZG,"00068":KG,"00069":JG,"00070":XG,"00071":QG,"00072":eW,"00073":tW,"both-ears":nW,"both-eyes":iW,"both-nostrils":aW,"cutaneous-injection":rW,derm:oW,"dermal-injection":sW,"ear-left":lW,"ear-right":cW,"eye-left":uW,"eye-right":dW,hyperdermoclyse:hW,icut:pW,ider:mW,larter:fW,"nose-left":gW,"nose-right":vW,oft:yW,transdermal:bW,"vitreal-injection":_W},xW={};K(xW,{"00001":()=>wW,"00002":()=>EW,"00003":()=>SW,"00004":()=>kW,"00005":()=>IW,"00006":()=>CW,"00007":()=>DW,"00008":()=>TW,"00009":()=>OW,"00010":()=>NW,"00011":()=>PW,"00012":()=>MW,"00013":()=>AW,"00014":()=>RW,"00015":()=>LW,"00016":()=>FW,"00017":()=>VW,"00018":()=>jW,"00019":()=>zW,"00020":()=>BW,"00021":()=>HW,"00022":()=>UW,"00023":()=>GW,"00024":()=>WW,"00025":()=>qW,"00026":()=>$W,"00027":()=>YW,"00028":()=>ZW,"00029":()=>KW,"00030":()=>JW,"00031":()=>XW,"00032":()=>QW,"00033":()=>eq,"00034":()=>tq,"00035":()=>nq,"00036":()=>iq,"00037":()=>aq,"00038":()=>rq,"00039":()=>oq,"00040":()=>sq,"00041":()=>lq,"00042":()=>cq,"00043":()=>uq,"00044":()=>dq,"00045":()=>hq,"00046":()=>pq,"00047":()=>mq,"00048":()=>fq,"00049":()=>gq,"00050":()=>vq,"00051":()=>yq,"00052":()=>bq,"00053":()=>_q,"00054":()=>xq,"00055":()=>wq,"00056":()=>Eq,"00057":()=>Sq,"00058":()=>kq,"00059":()=>Iq,"00060":()=>Cq,"00061":()=>Dq,"00062":()=>Tq,"00063":()=>Oq,"00064":()=>Nq,"00065":()=>Pq,"00066":()=>Mq,"00067":()=>Aq,"00068":()=>Rq,"00069":()=>Lq,"00070":()=>Fq,"00071":()=>Vq,"00072":()=>jq,"00073":()=>zq,"both-ears":()=>Bq,"both-eyes":()=>Hq,"both-nostrils":()=>Uq,"cutaneous-injection":()=>Gq,default:()=>Uxe,derm:()=>Wq,"dermal-injection":()=>qq,"ear-left":()=>$q,"ear-right":()=>Yq,"eye-left":()=>Zq,"eye-right":()=>Kq,hyperdermoclyse:()=>Jq,icut:()=>Xq,ider:()=>Qq,larter:()=>e$,"nose-left":()=>t$,"nose-right":()=>n$,oft:()=>i$,transdermal:()=>a$,"vitreal-injection":()=>r$});var wW="auric.",EW="derm.",SW="derm./rect",kW="derm./vag.",IW="e.dur.",CW="e.dur./i.thec./local",DW="e.dur./local",TW="e.trach.",OW="endocerv.",NW="i.arter.",PW="i.cavern.",MW="i.derm.",AW="i.m.",RW="i.m./i.thec./e.dur./s.c.",LW="i.m./i.v.",FW="i.m./i.v./inf.",VW="i.m./i.v./inf./e.dur./s.c.",jW="i.m./i.v./inf./i.arter./i.thec.",zW="i.m./i.v./perf./i.artér./local/s.c.",BW="i.m./i.v./inf./i.thec.",HW="i.m./i.v./inf./rect.",UW="i.m./i.v./inf./s.c.",GW="i.m./i.v./inhal.",WW="i.m./i.v./local",qW="i.m./i.v./or.",$W="i.m./i.v./rect",YW="i.m./i.v./s.c.",ZW="i.m./inf.",KW="i.m./perf./local",JW="i.m./local",XW="i.m./local/rect.",QW="i.m./s.c.",eq="i.thec.",tq="i.ut.",nq="i.v.",iq="i.v./p.dur./local",aq="i.v./i.arter./i.ves.",rq="i.v./inf.",oq="i.v./perf./p.dur.",sq="i.v./perf./i.artér.",lq="i.v./perf./i.théc./s.c.",cq="i.v./perf./inhal.",uq="i.v./perf./s.c.",dq="i.v./s.c.",hq="i.ves.",pq="perf.",mq="perf./i.ves.",fq="perf./s.c.",gq="inhal.",vq="inhal./nas./local",yq="inj.",bq="lip",_q="local",xq="muc.",wq="nas.",Eq="opht.",Sq="opht./auric.",kq="opht./auric./nas.",Iq="opht./auric./nas./local",Cq="or.",Dq="or./bucco-phar./derm.",Tq="or./rect.",Oq="or./s.l.",Nq="bucco-phar.",Pq="bucco-phar./derm.",Mq="bucco-phar./nas.",Aq="rect.",Rq="s.c.",Lq="s.c./i.derm.",Fq="s.l.",Vq="teeth",jq="urethr.",zq="vag.",Bq="both ears",Hq="both eyes",Uq="both nostrils",Gq="cutaneous injection",Wq="dermatologically",qq="dermal injection",$q="ear left",Yq="ear right",Zq="eye left",Kq="eye right",Jq="hyperdermoclyse",Xq="intracutaneous",Qq="intradermally",e$="intra-arterial",t$="nose left",n$="nose right",i$="ophtalmological",a$="transdermal",r$="vitreal injection",Uxe={"00001":wW,"00002":EW,"00003":SW,"00004":kW,"00005":IW,"00006":CW,"00007":DW,"00008":TW,"00009":OW,"00010":NW,"00011":PW,"00012":MW,"00013":AW,"00014":RW,"00015":LW,"00016":FW,"00017":VW,"00018":jW,"00019":zW,"00020":BW,"00021":HW,"00022":UW,"00023":GW,"00024":WW,"00025":qW,"00026":$W,"00027":YW,"00028":ZW,"00029":KW,"00030":JW,"00031":XW,"00032":QW,"00033":eq,"00034":tq,"00035":nq,"00036":iq,"00037":aq,"00038":rq,"00039":oq,"00040":sq,"00041":lq,"00042":cq,"00043":uq,"00044":dq,"00045":hq,"00046":pq,"00047":mq,"00048":fq,"00049":gq,"00050":vq,"00051":yq,"00052":bq,"00053":_q,"00054":xq,"00055":wq,"00056":Eq,"00057":Sq,"00058":kq,"00059":Iq,"00060":Cq,"00061":Dq,"00062":Tq,"00063":Oq,"00064":Nq,"00065":Pq,"00066":Mq,"00067":Aq,"00068":Rq,"00069":Lq,"00070":Fq,"00071":Vq,"00072":jq,"00073":zq,"both-ears":Bq,"both-eyes":Hq,"both-nostrils":Uq,"cutaneous-injection":Gq,derm:Wq,"dermal-injection":qq,"ear-left":$q,"ear-right":Yq,"eye-left":Zq,"eye-right":Kq,hyperdermoclyse:Jq,icut:Xq,ider:Qq,larter:e$,"nose-left":t$,"nose-right":n$,oft:i$,transdermal:a$,"vitreal-injection":r$},o$={};K(o$,{"00001":()=>s$,"00002":()=>l$,"00003":()=>c$,"00004":()=>u$,"00005":()=>d$,"00006":()=>h$,"00007":()=>p$,"00008":()=>m$,"00009":()=>f$,"00010":()=>g$,"00011":()=>v$,"00012":()=>y$,"00013":()=>b$,"00014":()=>_$,"00015":()=>x$,"00016":()=>w$,"00017":()=>E$,"00018":()=>S$,"00019":()=>k$,"00020":()=>I$,"00021":()=>C$,"00022":()=>D$,"00023":()=>T$,"00024":()=>O$,"00025":()=>N$,"00026":()=>P$,"00027":()=>M$,"00028":()=>A$,"00029":()=>R$,"00030":()=>L$,"00031":()=>F$,"00032":()=>V$,"00033":()=>j$,"00034":()=>z$,"00035":()=>B$,"00036":()=>H$,"00037":()=>U$,"00038":()=>G$,"00039":()=>W$,"00040":()=>q$,"00041":()=>$$,"00042":()=>Y$,"00043":()=>Z$,"00044":()=>K$,"00045":()=>J$,"00046":()=>X$,"00047":()=>Q$,"00048":()=>eY,"00049":()=>tY,"00050":()=>nY,"00051":()=>iY,"00052":()=>aY,"00053":()=>rY,"00054":()=>oY,"00055":()=>sY,"00056":()=>lY,"00057":()=>cY,"00058":()=>uY,"00059":()=>dY,"00060":()=>hY,"00061":()=>pY,"00062":()=>mY,"00063":()=>fY,"00064":()=>gY,"00065":()=>vY,"00066":()=>yY,"00067":()=>bY,"00068":()=>_Y,"00069":()=>xY,"00070":()=>wY,"00071":()=>EY,"00072":()=>SY,"00073":()=>kY,"both-ears":()=>IY,"both-eyes":()=>CY,"both-nostrils":()=>DY,"cutaneous-injection":()=>TY,default:()=>Gxe,derm:()=>OY,"dermal-injection":()=>NY,"ear-left":()=>PY,"ear-right":()=>MY,"eye-left":()=>AY,"eye-right":()=>RY,hyperdermoclyse:()=>LY,icut:()=>FY,ider:()=>VY,larter:()=>jY,"nose-left":()=>zY,"nose-right":()=>BY,oft:()=>HY,transdermal:()=>UY,"vitreal-injection":()=>GY});var s$="dans l’oreille",l$="sur la peau",c$="derm./rect",u$="derm./vag.",d$="injection en dehors de la méninge",h$="e.dur./i.théc./local",p$="e.dur./local",m$="dans la trachée",f$="introduire dans le col de l’utérus",g$="injection dans l’artère",v$="injection dans le pénis",y$="injection dans la peau",b$="injection dans un muscle",_$="i.m./i.théc./e.dur./s.c.",x$="i.m./i.v.",w$="i.m./i.v./perf.",E$="i.m./i.v./perf./e.dur./s.c.",S$="i.m./i.v./inf./i.arter./i.thec.",k$="i.m./i.v./perf./i.artér./local/s.c.",I$="i.m./i.v./inf./i.thec.",C$="i.m./i.v./perf./rect.",D$="i.m./i.v./perf./s.c.",T$="i.m./i.v./inhal.",O$="i.m./i.v./local",N$="i.m./i.v./or.",P$="i.m./i.v./rect",M$="i.m./i.v./s.c.",A$="i.m./perf.",R$="i.m./perf./local",L$="i.m./local",F$="i.m./local/rect.",V$="i.m./s.c.",j$="injection dans la moelle épinière",z$="introduire dans l’utérus",B$="injection dans une veine",H$="i.v./p.dur./local",U$="i.v./i.arter./i.ves.",G$="i.v./perf.",W$="i.v./perf./p.dur.",q$="i.v./perf./i.artér.",$$="i.v./perf./i.théc./s.c.",Y$="i.v./perf./inhal.",Z$="i.v./perf./s.c.",K$="i.v./s.c.",J$="dans la vessie",X$="perfusion",Q$="perf./i.vés.",eY="perf./s.c.",tY="inhalation",nY="inhal./nas./local",iY="injection",aY="lèvre",rY="local",oY="sur la muqueuse",sY="dans le nez",lY="dans les yeux",cY="opht./auric.",uY="opht./auric./nas.",dY="opht./auric./nas./local",hY="prendre/avaler",pY="or./bucco-phar./derm.",mY="or./rect.",fY="or./s.l.",gY="par la bouche",vY="bucco-phar./derm.",yY="par la bouche et dans le nez",bY="par voie rectale",_Y="injection sous-cutanée",xY="s.c./i.derm.",wY="sous la langue",EY="sur les dents",SY="dans l’uretère",kY="par voie vaginale",IY="les deux oreilles",CY="les deux yeux",DY="les deux narines",TY="injection cutanée",OY="dermatologique",NY="injection dermique",PY="oreille gauche",MY="oreille droite",AY="oeil gauche",RY="oeil droite",LY="hyperdermoclyse",FY="intracutané",VY="intradermique",jY="intra-artérielle",zY="nez gauche",BY="nez droite",HY="ophtalmologique",UY="transdermique",GY="injection vitrale",Gxe={"00001":s$,"00002":l$,"00003":c$,"00004":u$,"00005":d$,"00006":h$,"00007":p$,"00008":m$,"00009":f$,"00010":g$,"00011":v$,"00012":y$,"00013":b$,"00014":_$,"00015":x$,"00016":w$,"00017":E$,"00018":S$,"00019":k$,"00020":I$,"00021":C$,"00022":D$,"00023":T$,"00024":O$,"00025":N$,"00026":P$,"00027":M$,"00028":A$,"00029":R$,"00030":L$,"00031":F$,"00032":V$,"00033":j$,"00034":z$,"00035":B$,"00036":H$,"00037":U$,"00038":G$,"00039":W$,"00040":q$,"00041":$$,"00042":Y$,"00043":Z$,"00044":K$,"00045":J$,"00046":X$,"00047":Q$,"00048":eY,"00049":tY,"00050":nY,"00051":iY,"00052":aY,"00053":rY,"00054":oY,"00055":sY,"00056":lY,"00057":cY,"00058":uY,"00059":dY,"00060":hY,"00061":pY,"00062":mY,"00063":fY,"00064":gY,"00065":vY,"00066":yY,"00067":bY,"00068":_Y,"00069":xY,"00070":wY,"00071":EY,"00072":SY,"00073":kY,"both-ears":IY,"both-eyes":CY,"both-nostrils":DY,"cutaneous-injection":TY,derm:OY,"dermal-injection":NY,"ear-left":PY,"ear-right":MY,"eye-left":AY,"eye-right":RY,hyperdermoclyse:LY,icut:FY,ider:VY,larter:jY,"nose-left":zY,"nose-right":BY,oft:HY,transdermal:UY,"vitreal-injection":GY},WY={};K(WY,{"00001":()=>qY,"00002":()=>$Y,"00003":()=>BZ,"00004":()=>HZ,"00005":()=>YY,"00006":()=>UZ,"00007":()=>GZ,"00008":()=>ZY,"00009":()=>KY,"00010":()=>JY,"00011":()=>XY,"00012":()=>QY,"00013":()=>eZ,"00014":()=>WZ,"00015":()=>qZ,"00016":()=>$Z,"00017":()=>YZ,"00018":()=>ZZ,"00019":()=>KZ,"00020":()=>JZ,"00021":()=>XZ,"00022":()=>QZ,"00023":()=>eK,"00024":()=>tK,"00025":()=>nK,"00026":()=>iK,"00027":()=>aK,"00028":()=>rK,"00029":()=>oK,"00030":()=>sK,"00031":()=>lK,"00032":()=>cK,"00033":()=>tZ,"00034":()=>nZ,"00035":()=>iZ,"00036":()=>uK,"00037":()=>dK,"00038":()=>hK,"00039":()=>pK,"00040":()=>mK,"00041":()=>fK,"00042":()=>gK,"00043":()=>vK,"00044":()=>yK,"00045":()=>aZ,"00046":()=>rZ,"00047":()=>bK,"00048":()=>_K,"00049":()=>oZ,"00050":()=>xK,"00051":()=>sZ,"00052":()=>lZ,"00053":()=>cZ,"00054":()=>uZ,"00055":()=>dZ,"00056":()=>hZ,"00057":()=>wK,"00058":()=>EK,"00059":()=>SK,"00060":()=>pZ,"00061":()=>kK,"00062":()=>IK,"00063":()=>CK,"00064":()=>mZ,"00065":()=>DK,"00066":()=>fZ,"00067":()=>gZ,"00068":()=>vZ,"00069":()=>TK,"00070":()=>yZ,"00071":()=>bZ,"00072":()=>_Z,"00073":()=>xZ,"both-ears":()=>FZ,"both-eyes":()=>AZ,"both-nostrils":()=>NZ,"cutaneous-injection":()=>CZ,default:()=>Wxe,derm:()=>wZ,"dermal-injection":()=>DZ,"ear-left":()=>RZ,"ear-right":()=>LZ,"eye-left":()=>PZ,"eye-right":()=>MZ,hyperdermoclyse:()=>zZ,icut:()=>SZ,ider:()=>kZ,larter:()=>EZ,"nose-left":()=>TZ,"nose-right":()=>OZ,oft:()=>IZ,transdermal:()=>jZ,"vitreal-injection":()=>VZ});var qY="in het oor",$Y="op de huid",YY="inspuiting buiten het hersenvlies",ZY="in de luchtpijp",KY="inbrengen in de baarmoederhals",JY="inspuiting in een slagader",XY="inspuiting in de penis",QY="inspuiting in de huid",eZ="inspuiting in een spier",tZ="inspuiting in het ruggenmerg",nZ="inbrengen in de baarmoeder",iZ="inspuiting in een ader",aZ="in de urineblaas",rZ="infuus",oZ="inhalatie",sZ="inspuiting",lZ="op de lippen",cZ="lokaal",uZ="op het slijmvlies",dZ="in de neus",hZ="in de ogen",pZ="innemen",mZ="in de mond",fZ="in de mond en in de neus",gZ="anaal opsteken",vZ="onderhuidse inspuiting",yZ="onder de tong",bZ="op de tanden",_Z="in de urineleider",xZ="vaginaal",wZ="dermatologisch",EZ="intra-arterieel",SZ="intracutaan",kZ="intradermaal",IZ="oftalmologisch",CZ="cutane injectie",DZ="dermale injectie",TZ="neus links",OZ="neus rechts",NZ="beide neusgaten",PZ="oog links",MZ="oog rechts",AZ="beide ogen",RZ="oor links",LZ="oor rechts",FZ="beide oren",VZ="vitreale injectie",jZ="transdermaal",zZ="hyperdermoclyse",BZ="derm./rect",HZ="derm./vag.",UZ="e.dur./i.thec./lokaal",GZ="e.dur./lokaal",WZ="i.m./i.thec./p.dur./s.c.",qZ="i.m./i.v.",$Z="i.m./i.v./inf.",YZ="i.m./i.v./inf./e.dur./s.c.",ZZ="i.m./i.v./inf./i.arter./i.thec.",KZ="i.m./i.v./perf./i.artér./lokaal/s.c.",JZ="i.m./i.v./inf./i.thec.",XZ="i.m./i.v./inf./rect.",QZ="i.m./i.v./inf./s.c.",eK="i.m./i.v./inhal.",tK="i.m./i.v./lokaal",nK="i.m./i.v./or.",iK="i.m./i.v./rect",aK="i.m./i.v./s.c.",rK="i.m./inf.",oK="i.m./perf./lokaal",sK="i.m./lokaal",lK="i.m./lokaal/rect.",cK="i.m./s.c.",uK="i.v./p.dur./lokaal",dK="i.v./i.arter./i.ves.",hK="i.v./inf.",pK="i.v./perf./p.dur.",mK="i.v./inf./i.arter.",fK="i.v./inf./i.thec./s.c.",gK="i.v./inf./inhal.",vK="i.v./inf./s.c.",yK="i.v./s.c.",bK="perf./i.ves.",_K="perf./s.c.",xK="inhal./nas./lokaal",wK="oft./auric.",EK="oft./auric./nas.",SK="oft./auric./nas./lokaal",kK="or./orofar./derm.",IK="or./rect.",CK="or./s.l.",DK="orofar./derm.",TK="s.c./i.derm.",Wxe={"00001":qY,"00002":$Y,"00005":YY,"00008":ZY,"00009":KY,"00010":JY,"00011":XY,"00012":QY,"00013":eZ,"00033":tZ,"00034":nZ,"00035":iZ,"00045":aZ,"00046":rZ,"00049":oZ,"00051":sZ,"00052":lZ,"00053":cZ,"00054":uZ,"00055":dZ,"00056":hZ,"00060":pZ,"00064":mZ,"00066":fZ,"00067":gZ,"00068":vZ,"00070":yZ,"00071":bZ,"00072":_Z,"00073":xZ,derm:wZ,larter:EZ,icut:SZ,ider:kZ,oft:IZ,"cutaneous-injection":CZ,"dermal-injection":DZ,"nose-left":TZ,"nose-right":OZ,"both-nostrils":NZ,"eye-left":PZ,"eye-right":MZ,"both-eyes":AZ,"ear-left":RZ,"ear-right":LZ,"both-ears":FZ,"vitreal-injection":VZ,transdermal:jZ,hyperdermoclyse:zZ,"00003":BZ,"00004":HZ,"00006":UZ,"00007":GZ,"00014":WZ,"00015":qZ,"00016":$Z,"00017":YZ,"00018":ZZ,"00019":KZ,"00020":JZ,"00021":XZ,"00022":QZ,"00023":eK,"00024":tK,"00025":nK,"00026":iK,"00027":aK,"00028":rK,"00029":oK,"00030":sK,"00031":lK,"00032":cK,"00036":uK,"00037":dK,"00038":hK,"00039":pK,"00040":mK,"00041":fK,"00042":gK,"00043":vK,"00044":yK,"00047":bK,"00048":_K,"00050":xK,"00057":wK,"00058":EK,"00059":SK,"00061":kK,"00062":IK,"00063":CK,"00065":DK,"00069":TK},qxe={nl:WY,fr:o$,de:L8,en:xW},OK={};K(OK,{default:()=>$xe,rsb:()=>MK,rsw:()=>PK,vitalink:()=>NK});var NK="Vitalink",PK="Réseau Santé Wallon",MK="Brüsseler Gesundheitsnetzwerk",$xe={vitalink:NK,rsw:PK,rsb:MK},AK={};K(AK,{default:()=>Yxe,rsb:()=>FK,rsw:()=>LK,vitalink:()=>RK});var RK="Vitalink",LK="Réseau Santé Wallon",FK="Brussels Health Network",Yxe={vitalink:RK,rsw:LK,rsb:FK},VK={};K(VK,{default:()=>Zxe,rsb:()=>BK,rsw:()=>zK,vitalink:()=>jK});var jK="Vitalink",zK="Réseau Santé Wallon",BK="Réseau Santé Bruxellois",Zxe={vitalink:jK,rsw:zK,rsb:BK},HK={};K(HK,{default:()=>Kxe,rsb:()=>WK,rsw:()=>GK,vitalink:()=>UK});var UK="Vitalink",GK="Réseau Santé Wallon",WK="Brusselse Gezondheidsnetwerk",Kxe={vitalink:UK,rsw:GK,rsb:WK},Jxe={nl:HK,fr:VK,de:OK,en:AK},qK={};K(qK,{alphabetical:()=>nJ,author:()=>ZK,date:()=>KK,default:()=>Xxe,expiration:()=>tJ,medicationName:()=>$K,role:()=>JK,sort:()=>eJ,"sorting-ascendant":()=>XK,"sorting-descendent":()=>QK,validityDate:()=>YK});var $K="Arzneimittel",YK="Ablaufdatum",ZK="Verfasser",KK="Datum",JK="Benutzerrolle",XK="Aufsteigend sortieren",QK="Absteigend sortieren",eJ="Sortieren",tJ={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},nJ={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},Xxe={medicationName:$K,validityDate:YK,author:ZK,date:KK,role:JK,"sorting-ascendant":XK,"sorting-descendent":QK,sort:eJ,expiration:tJ,alphabetical:nJ},iJ={};K(iJ,{alphabetical:()=>pJ,author:()=>lJ,date:()=>cJ,default:()=>Qxe,expiration:()=>hJ,medicationName:()=>aJ,role:()=>uJ,sort:()=>dJ,"sorting-ascendant":()=>oJ,"sorting-descendent":()=>sJ,validityDate:()=>rJ});var aJ="Drug",rJ="Validity",oJ="Sort by ascending order",sJ="Sort by descending order",lJ="Author",cJ="Date",uJ="Role",dJ="Sort by",hJ={asc:"expires first",desc:"expires last"},pJ={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Qxe={medicationName:aJ,validityDate:rJ,"sorting-ascendant":oJ,"sorting-descendent":sJ,author:lJ,date:cJ,role:uJ,sort:dJ,expiration:hJ,alphabetical:pJ},mJ={};K(mJ,{alphabetical:()=>SJ,author:()=>vJ,date:()=>yJ,default:()=>ewe,expiration:()=>EJ,medicationName:()=>fJ,role:()=>bJ,sort:()=>wJ,"sorting-ascendant":()=>_J,"sorting-descendent":()=>xJ,validityDate:()=>gJ});var fJ="Médicament",gJ="Validité",vJ="Auteur",yJ="Date",bJ="Qualité",_J="Trier par ordre croissant",xJ="Trier par ordre décroissant",wJ="Trier",EJ={asc:"expire en premier",desc:"expire en dernier"},SJ={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},ewe={medicationName:fJ,validityDate:gJ,author:vJ,date:yJ,role:bJ,"sorting-ascendant":_J,"sorting-descendent":xJ,sort:wJ,expiration:EJ,alphabetical:SJ},kJ={};K(kJ,{alphabetical:()=>RJ,author:()=>DJ,date:()=>TJ,default:()=>twe,expiration:()=>AJ,medicationName:()=>IJ,role:()=>OJ,sort:()=>MJ,"sorting-ascendant":()=>NJ,"sorting-descendent":()=>PJ,validityDate:()=>CJ});var IJ="Geneesmiddel",CJ="Geldigheid",DJ="Auteur",TJ="Datum",OJ="Rol",NJ="Oplopend sorteren",PJ="Aflopend sorteren",MJ="Sorteren",AJ={asc:"vervalt eerst",desc:"vervalt laatst"},RJ={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},twe={medicationName:IJ,validityDate:CJ,author:DJ,date:TJ,role:OJ,"sorting-ascendant":NJ,"sorting-descendent":PJ,sort:MJ,expiration:AJ,alphabetical:RJ},nwe={nl:kJ,fr:mJ,de:qK,en:iJ},LJ={};K(LJ,{acute:()=>FJ,chronic:()=>VJ,default:()=>iwe,ifnecessary:()=>jJ,oneshot:()=>zJ,reactivation:()=>BJ,remission:()=>HJ,subacute:()=>UJ});var FJ="akut",VJ="chronisch",jJ="falls erforderlich",zJ="einmalig",BJ="Reaktivierung",HJ="Remission",UJ="subakut",iwe={acute:FJ,chronic:VJ,ifnecessary:jJ,oneshot:zJ,reactivation:BJ,remission:HJ,subacute:UJ},GJ={};K(GJ,{acute:()=>WJ,chronic:()=>qJ,default:()=>awe,ifnecessary:()=>$J,oneshot:()=>YJ,reactivation:()=>ZJ,remission:()=>KJ,subacute:()=>JJ});var WJ="acute",qJ="chronic",$J="if necessary",YJ="one shot",ZJ="reactivation",KJ="remission",JJ="subacute",awe={acute:WJ,chronic:qJ,ifnecessary:$J,oneshot:YJ,reactivation:ZJ,remission:KJ,subacute:JJ},XJ={};K(XJ,{acute:()=>QJ,chronic:()=>eX,default:()=>rwe,ifnecessary:()=>tX,oneshot:()=>nX,reactivation:()=>iX,remission:()=>aX,subacute:()=>rX});var QJ="aigu",eX="chronique",tX="si nécessaire",nX="une seule fois",iX="réactivation",aX="rémission",rX="suraigu",rwe={acute:QJ,chronic:eX,ifnecessary:tX,oneshot:nX,reactivation:iX,remission:aX,subacute:rX},oX={};K(oX,{acute:()=>sX,chronic:()=>lX,default:()=>owe,ifnecessary:()=>cX,oneshot:()=>uX,reactivation:()=>dX,remission:()=>hX,subacute:()=>pX});var sX="tijdelijke medicatie",lX="chronische medicatie",cX="indien nodig",uX="eenmalig",dX="reactivatie",hX="remissie",pX="subacuut",owe={acute:sX,chronic:lX,ifnecessary:cX,oneshot:uX,reactivation:dX,remission:hX,subacute:pX},swe={nl:oX,fr:XJ,de:LJ,en:GJ},mX={};K(mX,{author:()=>_X,default:()=>lwe,profession:()=>xX,source:()=>bX,title:()=>fX,updated:()=>vX,updatedBy:()=>yX,version:()=>gX});var fX="Versionsdetails",gX="Version",vX="Aktualisiert am",yX="Von",bX="Ursprung",_X="Verfasser",xX="Beruf",lwe={title:fX,version:gX,updated:vX,updatedBy:yX,source:bX,author:_X,profession:xX},wX={};K(wX,{author:()=>DX,default:()=>cwe,profession:()=>TX,source:()=>CX,title:()=>EX,updated:()=>kX,updatedBy:()=>IX,version:()=>SX});var EX="Version details",SX="Version",kX="Updated on",IX="By",CX="Source",DX="Author",TX="Appeal",cwe={title:EX,version:SX,updated:kX,updatedBy:IX,source:CX,author:DX,profession:TX},OX={};K(OX,{author:()=>LX,default:()=>uwe,profession:()=>FX,source:()=>RX,title:()=>NX,updated:()=>MX,updatedBy:()=>AX,version:()=>PX});var NX="Détails de la version",PX="Version",MX="Mis à jour le",AX="Par",RX="Source",LX="Auteur",FX="Profession",uwe={title:NX,version:PX,updated:MX,updatedBy:AX,source:RX,author:LX,profession:FX},VX={};K(VX,{author:()=>GX,default:()=>dwe,profession:()=>WX,source:()=>UX,title:()=>jX,updated:()=>BX,updatedBy:()=>HX,version:()=>zX});var jX="Versie details",zX="Versie",BX="Bijgewerkt op",HX="Door",UX="Bron",GX="Auteur",WX="Beroep",dwe={title:jX,version:zX,updated:BX,updatedBy:HX,source:UX,author:GX,profession:WX},hwe={nl:VX,fr:OX,de:mX,en:wX},qX={};K(qX,{day:()=>$X,default:()=>pwe,moreInformations:()=>nQ,nextday:()=>eQ,nextweek:()=>XX,openCalendar:()=>tQ,previousday:()=>QX,previousweek:()=>JX,returnToCurrentWeek:()=>KX,returnToToday:()=>ZX,week:()=>YX});var $X="Tagesansicht",YX="Wochenansicht",ZX="Zurück zu heute",KX="Diese Woche",JX="Vorige week",XX="Volgende week",QX="Vorige dag",eQ="Volgende dag",tQ="den Kalender öffnen",nQ="Weitere Informationen",pwe={day:$X,week:YX,returnToToday:ZX,returnToCurrentWeek:KX,previousweek:JX,nextweek:XX,previousday:QX,nextday:eQ,openCalendar:tQ,moreInformations:nQ},iQ={};K(iQ,{day:()=>aQ,default:()=>mwe,moreInformations:()=>pQ,nextday:()=>dQ,nextweek:()=>cQ,openCalendar:()=>hQ,previousday:()=>uQ,previousweek:()=>lQ,returnToCurrentWeek:()=>sQ,returnToToday:()=>oQ,week:()=>rQ});var aQ="Day overview",rQ="Week overview",oQ="Back to today",sQ="Present week",lQ="Previous week",cQ="Next week",uQ="Previous day",dQ="Next day",hQ="open the calendar",pQ="More information",mwe={day:aQ,week:rQ,returnToToday:oQ,returnToCurrentWeek:sQ,previousweek:lQ,nextweek:cQ,previousday:uQ,nextday:dQ,openCalendar:hQ,moreInformations:pQ},mQ={};K(mQ,{day:()=>fQ,default:()=>fwe,moreInformations:()=>SQ,nextday:()=>wQ,nextweek:()=>_Q,openCalendar:()=>EQ,previousday:()=>xQ,previousweek:()=>bQ,returnToCurrentWeek:()=>yQ,returnToToday:()=>vQ,week:()=>gQ});var fQ="Vue journalière",gQ="Vue semaine",vQ="Revenir à aujourd'hui",yQ="Cette semaine",bQ="Semaine précédente",_Q="Semaine suivante",xQ="Jour précédent",wQ="Jour suivant",EQ="Ouvrir le calendrier",SQ="Plus d'informations",fwe={day:fQ,week:gQ,returnToToday:vQ,returnToCurrentWeek:yQ,previousweek:bQ,nextweek:_Q,previousday:xQ,nextday:wQ,openCalendar:EQ,moreInformations:SQ},kQ={};K(kQ,{day:()=>IQ,default:()=>gwe,moreInformations:()=>RQ,nextday:()=>MQ,nextweek:()=>NQ,openCalendar:()=>AQ,previousday:()=>PQ,previousweek:()=>OQ,returnToCurrentWeek:()=>TQ,returnToToday:()=>DQ,week:()=>CQ});var IQ="Dagoverzicht",CQ="Weekoverzicht",DQ="Terug naar vandaag",TQ="Huidige week",OQ="vorherige Woche",NQ="nächste Woche",PQ="vorheriger Tag",MQ="nächster Tag",AQ="de kalender openen",RQ="Meer informatie",gwe={day:IQ,week:CQ,returnToToday:DQ,returnToCurrentWeek:TQ,previousweek:OQ,nextweek:NQ,previousday:PQ,nextday:MQ,openCalendar:AQ,moreInformations:RQ},vwe={nl:kQ,fr:mQ,de:qX,en:iQ},LQ={};K(LQ,{comment:()=>JQ,default:()=>ywe,end:()=>BQ,endCondition:()=>ZQ,indication:()=>VQ,instructions:()=>KQ,medication:()=>FQ,noDetails:()=>XQ,other:()=>QQ,periodicity:()=>GQ,posologie:()=>WQ,prescriber:()=>jQ,quantity:()=>UQ,route:()=>qQ,section:()=>eee,start:()=>zQ,startCondition:()=>YQ,suspension:()=>HQ,temporality:()=>$Q});var FQ="Arzneimittel",VQ="Grund",jQ="Verordnende Person",zQ="Beginn",BQ="Ende",HQ={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},UQ="Darreichungsform",GQ="Abstand",WQ="Dosierung",qQ="Verabreichung",$Q="Zeitlichkeit",YQ="Anfangszustand",ZQ="Endzustand",KQ="Hinweise",JQ="Kommentar",XQ="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",QQ="Andere",eee={treatment:"Behandlung",intake:"Aufnahme",prescription:"Rezept"},ywe={medication:FQ,indication:VQ,prescriber:jQ,start:zQ,end:BQ,suspension:HQ,quantity:UQ,periodicity:GQ,posologie:WQ,route:qQ,temporality:$Q,startCondition:YQ,endCondition:ZQ,instructions:KQ,comment:JQ,noDetails:XQ,other:QQ,section:eee},tee={};K(tee,{comment:()=>gee,default:()=>bwe,end:()=>oee,endCondition:()=>mee,indication:()=>iee,instructions:()=>fee,medication:()=>nee,noDetails:()=>vee,other:()=>yee,periodicity:()=>cee,posologie:()=>uee,prescriber:()=>aee,quantity:()=>lee,route:()=>dee,section:()=>bee,start:()=>ree,startCondition:()=>pee,suspension:()=>see,temporality:()=>hee});var nee="Medication",iee="Reason",aee="Prescriber",ree="Beginning",oee="End",see={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},lee="Pharmaceutical form",cee="Frequency",uee="Dosage",dee="Route of administration",hee="Temporality",pee="Condition at the beginning",mee="Condition at the end",fee="Instructions ",gee="Comments",vee="The requested information has been deleted or doesn't exist.",yee="Other",bee={treatment:"Treatment",intake:"Intake",prescription:"Prescription"},bwe={medication:nee,indication:iee,prescriber:aee,start:ree,end:oee,suspension:see,quantity:lee,periodicity:cee,posologie:uee,route:dee,temporality:hee,startCondition:pee,endCondition:mee,instructions:fee,comment:gee,noDetails:vee,other:yee,section:bee},_ee={};K(_ee,{comment:()=>Ree,default:()=>_we,end:()=>kee,endCondition:()=>Mee,indication:()=>wee,instructions:()=>Aee,medication:()=>xee,noDetails:()=>Lee,other:()=>Fee,periodicity:()=>Dee,posologie:()=>Tee,prescriber:()=>Eee,quantity:()=>Cee,route:()=>Oee,section:()=>Vee,start:()=>See,startCondition:()=>Pee,suspension:()=>Iee,temporality:()=>Nee});var xee="Médicament",wee="Raison",Eee="Prescripteur",See="Début",kee="Fin",Iee={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},Cee="Forme pharmaceutique",Dee="Fréquence",Tee="Posologie",Oee="Voie d’administration",Nee="Temporalité",Pee="Condition de début",Mee="Condition de fin",Aee="Instructions",Ree="Commentaire",Lee="Le médicament demandé a été supprimé ou n'existe pas.",Fee="Autre",Vee={treatment:"Traitement",intake:"Prise",prescription:"Prescription"},_we={medication:xee,indication:wee,prescriber:Eee,start:See,end:kee,suspension:Iee,quantity:Cee,periodicity:Dee,posologie:Tee,route:Oee,temporality:Nee,startCondition:Pee,endCondition:Mee,instructions:Aee,comment:Ree,noDetails:Lee,other:Fee,section:Vee},jee={};K(jee,{comment:()=>ete,default:()=>xwe,end:()=>Gee,endCondition:()=>Xee,indication:()=>Bee,instructions:()=>Qee,medication:()=>zee,noDetails:()=>tte,other:()=>nte,periodicity:()=>$ee,posologie:()=>Yee,prescriber:()=>Hee,quantity:()=>qee,route:()=>Zee,section:()=>ite,start:()=>Uee,startCondition:()=>Jee,suspension:()=>Wee,temporality:()=>Kee});var zee="Geneesmiddel",Bee="Reden",Hee="Voorschrijver",Uee="Start",Gee="Einde",Wee={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},qee="Farmaceutische vorm",$ee="Frequentie",Yee="Posologie",Zee="Toedieningsweg",Kee="Temporaliteit",Jee="Beginconditie",Xee="Eindconditie",Qee="Instructies",ete="Opmerking",tte="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",nte="Andere",ite={treatment:"Behandeling",intake:"Inname",prescription:"Voorschrift"},xwe={medication:zee,indication:Bee,prescriber:Hee,start:Uee,end:Gee,suspension:Wee,quantity:qee,periodicity:$ee,posologie:Yee,route:Zee,temporality:Kee,startCondition:Jee,endCondition:Xee,instructions:Qee,comment:ete,noDetails:tte,other:nte,section:ite},wwe={nl:jee,fr:_ee,de:LQ,en:tee},ate={};K(ate,{all:()=>rte,atYourConvenienceText:()=>gte,consultDetails:()=>ute,current:()=>ote,days:()=>vte,default:()=>Ewe,future:()=>ste,headers:()=>cte,noMedications:()=>bte,posology:()=>pte,prescriber:()=>fte,reason:()=>mte,remarks:()=>dte,return:()=>lte,toPlan:()=>hte,toTake:()=>yte});var rte="Vollständige Liste",ote="Aktuel",ste="Künftig",lte="Zurück zur Übersicht",cte={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},ute="Siehe Details",dte={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},hte="Noch zu vereinbaren",pte="Dosierung",mte="Grund",fte="Verordnende Person",gte="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.",vte={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},yte="am {days} zu nehmen",bte={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"},Ewe={all:rte,current:ote,future:ste,return:lte,headers:cte,consultDetails:ute,remarks:dte,toPlan:hte,posology:pte,reason:mte,prescriber:fte,atYourConvenienceText:gte,days:vte,toTake:yte,noMedications:bte},_te={};K(_te,{all:()=>xte,atYourConvenienceText:()=>Mte,consultDetails:()=>Ite,current:()=>wte,days:()=>Ate,default:()=>Swe,future:()=>Ete,headers:()=>kte,noMedications:()=>Lte,notSpecified:()=>Cte,posology:()=>Ote,prescriber:()=>Pte,reason:()=>Nte,remarks:()=>Dte,return:()=>Ste,toPlan:()=>Tte,toTake:()=>Rte});var xte="Complete list",wte="Current",Ete="Future",Ste="Back to overview",kte={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 "},Ite="See details",Cte="Dosage not filled",Dte={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},Tte="Remains to be planned",Ote="Dosage",Nte="Reason",Pte="Prescriber",Mte="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.",Ate={monday:"Mo",tuesday:"Tu",thursday:"Th",wednesday:"We",friday:"Fr",saturday:"Sa",sunday:"Su",allDays:"Every day"},Rte="To take on {days}",Lte={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."},Swe={all:xte,current:wte,future:Ete,return:Ste,headers:kte,consultDetails:Ite,notSpecified:Cte,remarks:Dte,toPlan:Tte,posology:Ote,reason:Nte,prescriber:Pte,atYourConvenienceText:Mte,days:Ate,toTake:Rte,noMedications:Lte},Fte={};K(Fte,{all:()=>Vte,atYourConvenienceText:()=>Zte,consultDetails:()=>Ute,current:()=>jte,days:()=>Kte,default:()=>kwe,future:()=>zte,headers:()=>Hte,noMedications:()=>Xte,posology:()=>qte,prescriber:()=>Yte,reason:()=>$te,remarks:()=>Gte,return:()=>Bte,toPlan:()=>Wte,toTake:()=>Jte});var Vte="Toute la liste",jte="En cours",zte="Futur",Bte="Retour à la vue d'ensemble",Hte={moment:"Moment",medication:"Médicament",dose:"Dose",indication:"Raison",dayperiod:"Période",remark:"Remarque",leaflet:"Notice",days:"Jours",startCondition:"Condition de début",instructions:"Instructions"},Ute="Voir les détails",Gte={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},Wte="À convenir",qte="Posologie",$te="Raison",Yte="Prescripteur",Zte="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.",Kte={monday:"Lu",tuesday:"Ma",wednesday:"Me",thursday:"Je",friday:"Ve",saturday:"Sa",sunday:"Di",allDays:"Tous les jours"},Jte="À prendre {days}",Xte={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"},kwe={all:Vte,current:jte,future:zte,return:Bte,headers:Hte,consultDetails:Ute,remarks:Gte,toPlan:Wte,posology:qte,reason:$te,prescriber:Yte,atYourConvenienceText:Zte,days:Kte,toTake:Jte,noMedications:Xte},Qte={};K(Qte,{all:()=>ene,atYourConvenienceText:()=>hne,consultDetails:()=>rne,current:()=>tne,days:()=>pne,default:()=>Iwe,future:()=>nne,headers:()=>ane,noMedications:()=>fne,notSpecified:()=>one,posology:()=>cne,prescriber:()=>dne,reason:()=>une,remarks:()=>sne,return:()=>ine,toPlan:()=>lne,toTake:()=>mne});var ene="Volledige lijst",tne="Huidig",nne="Toekomstig",ine="Terug naar overzicht",ane={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},rne="Zie details",one="Dosering niet ingevuld",sne={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},lne="Nog in te plannen",cne="Posologie",une="Reden",dne="Voorschrijver",hne="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.",pne={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Wo",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},mne="Te nemen op {days}",fne={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"},Iwe={all:ene,current:tne,future:nne,return:ine,headers:ane,consultDetails:rne,notSpecified:one,remarks:sne,toPlan:lne,posology:cne,reason:une,prescriber:dne,atYourConvenienceText:hne,days:pne,toTake:mne,noMedications:fne},Cwe={nl:Qte,fr:Fte,de:ate,en:_te},gne={};K(gne,{default:()=>Dwe,flanders:()=>bne,subtitle:()=>yne,title:()=>vne,walloniaBrussels:()=>_ne});var vne="Medikamentenplan",yne="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",bne={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."},_ne={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>'},Dwe={title:vne,subtitle:yne,flanders:bne,walloniaBrussels:_ne},xne={};K(xne,{default:()=>Twe,flanders:()=>Sne,subtitle:()=>Ene,title:()=>wne,walloniaBrussels:()=>kne});var wne="Medication scheme",Ene="What to do if I I don't see any content in this part?",Sne={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."},kne={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>`},Twe={title:wne,subtitle:Ene,flanders:Sne,walloniaBrussels:kne},Ine={};K(Ine,{default:()=>Owe,flanders:()=>Tne,subtitle:()=>Dne,title:()=>Cne,walloniaBrussels:()=>One});var Cne="Schéma de médication",Dne="Que faire si je ne vois aucun contenu dans cette partie ?",Tne={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"},One={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>'},Owe={title:Cne,subtitle:Dne,flanders:Tne,walloniaBrussels:One},Nne={};K(Nne,{default:()=>Nwe,flanders:()=>Ane,subtitle:()=>Mne,title:()=>Pne,walloniaBrussels:()=>Rne});var Pne="Medicatieschema",Mne="Wat te doen indien ik geen inhoud zie in dit deel?",Ane={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."},Rne={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>'},Nwe={title:Pne,subtitle:Mne,flanders:Ane,walloniaBrussels:Rne},Pwe={nl:Nne,fr:Ine,de:gne,en:xne},Lne={};K(Lne,{day:()=>jne,default:()=>Mwe,list:()=>Fne,week:()=>Vne});var Fne="Liste",Vne="Woche",jne="Tag",Mwe={list:Fne,week:Vne,day:jne},zne={};K(zne,{day:()=>Une,default:()=>Awe,list:()=>Bne,week:()=>Hne});var Bne="List",Hne="Week",Une="Day",Awe={list:Bne,week:Hne,day:Une},Gne={};K(Gne,{day:()=>$ne,default:()=>Rwe,list:()=>Wne,week:()=>qne});var Wne="Liste",qne="Semaine",$ne="Jour",Rwe={list:Wne,week:qne,day:$ne},Yne={};K(Yne,{day:()=>Jne,default:()=>Lwe,list:()=>Zne,week:()=>Kne});var Zne="Lijst",Kne="Week",Jne="Dag",Lwe={list:Zne,week:Kne,day:Jne},Fwe={nl:Yne,fr:Gne,de:Lne,en:zne},Xne={};K(Xne,{default:()=>Vwe,evening:()=>nie,ifNeeded:()=>aie,morning:()=>eie,night:()=>iie,noon:()=>tie,toPlan:()=>Qne});var Qne="Spezifische Anweisungen",eie="Morgen",tie="Mittag und Nachmittag",nie="Abends",iie="Zubettgehen",aie="Gegebenenfalls",Vwe={toPlan:Qne,morning:eie,noon:tie,evening:nie,night:iie,ifNeeded:aie},rie={};K(rie,{default:()=>jwe,evening:()=>cie,ifNeeded:()=>die,morning:()=>sie,night:()=>uie,noon:()=>lie,toPlan:()=>oie});var oie="Specific instructions",sie="Morning",lie="Noon and afternoon",cie="Evening meal",uie="Going to sleep",die="If necessary",jwe={toPlan:oie,morning:sie,noon:lie,evening:cie,night:uie,ifNeeded:die},hie={};K(hie,{default:()=>zwe,evening:()=>gie,ifNeeded:()=>yie,morning:()=>mie,night:()=>vie,noon:()=>fie,toPlan:()=>pie});var pie="Instructions spécifiques",mie="Matin",fie="Midi et Après-midi",gie="Soir",vie="Au coucher",yie="Si nécessaire",zwe={toPlan:pie,morning:mie,noon:fie,evening:gie,night:vie,ifNeeded:yie},bie={};K(bie,{default:()=>Bwe,evening:()=>Eie,ifNeeded:()=>kie,morning:()=>xie,night:()=>Sie,noon:()=>wie,toPlan:()=>_ie});var _ie="Specifieke instructies",xie="Ochtend",wie="Middag en namiddag",Eie="Avondmaal",Sie="Bij het slapen gaan",kie="Indien nodig",Bwe={toPlan:_ie,morning:xie,noon:wie,evening:Eie,night:Sie,ifNeeded:kie},Hwe={nl:bie,fr:hie,de:Xne,en:rie},Iie={};K(Iie,{collapsed:()=>Nie,default:()=>Uwe,disclaimer:()=>Tie,expanded:()=>Oie,source:()=>Pie,subtitle:()=>Die,title:()=>Cie});var Cie="Version {versionNumber}, aktualisiert am {date} um {hour}",Die="von {authorProfession} {authorFirstName} {authorLastName}",Tie="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.",Oie="Information einklappen",Nie="Information erweitern",Pie="Ursprung",Uwe={title:Cie,subtitle:Die,disclaimer:Tie,expanded:Oie,collapsed:Nie,source:Pie},Mie={};K(Mie,{collapsed:()=>Vie,default:()=>Gwe,disclaimer:()=>Lie,expanded:()=>Fie,source:()=>jie,subtitle:()=>Rie,title:()=>Aie});var Aie="Version {versionNumber}, updated on {date} at {hour}",Rie="by {authorProfession} {authorFirstName} {authorLastName}",Lie="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.",Fie="Collapse information",Vie="Expand information",jie="Source",Gwe={title:Aie,subtitle:Rie,disclaimer:Lie,expanded:Fie,collapsed:Vie,source:jie},zie={};K(zie,{collapsed:()=>Wie,default:()=>Wwe,disclaimer:()=>Uie,expanded:()=>Gie,source:()=>qie,subtitle:()=>Hie,title:()=>Bie});var Bie="Version {versionNumber}, mis à jour le {date} à {hour}",Hie="par {authorProfession} {authorFirstName} {authorLastName}",Uie="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é.",Gie="Réduire l'information",Wie="Développer l’information ",qie="Source",Wwe={title:Bie,subtitle:Hie,disclaimer:Uie,expanded:Gie,collapsed:Wie,source:qie},$ie={};K($ie,{collapsed:()=>Xie,default:()=>qwe,disclaimer:()=>Kie,expanded:()=>Jie,source:()=>Qie,subtitle:()=>Zie,title:()=>Yie});var Yie="Versie {versionNumber}, bijgewerkt op {date} om {hour}",Zie="door {authorProfession} {authorFirstName} {authorLastName}",Kie="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.",Jie="Informatie inklappen",Xie="Informatie uitklappen",Qie="Bron",qwe={title:Yie,subtitle:Zie,disclaimer:Kie,expanded:Jie,collapsed:Xie,source:Qie},$we={nl:$ie,fr:zie,de:Iie,en:Mie},Ywe=class extends Cs{getTranslation(e){return yt({commons:bt(ue({},xxe[e]),{days:dxe[e],errors:gxe[e],roles:Bxe[e],safes:Jxe[e],periodicities:Ixe[e],administrationUnits:oxe[e],period:Nxe[e],routes:qxe[e],temporality:swe[e],posology:Lxe[e],sortDropdown:nwe[e]}),medicationSchemeListView:Cwe[e],medicationSchemeOverview:Fwe[e],medicationSchemeMoments:Hwe[e],medicationSchemeNoData:Pwe[e],medicationSchemeDateToggler:vwe[e],medicationSchemeCreationDetails:hwe[e],medicationSchemeDetails:wwe[e],medicationSchemeDisclaimer:$we[e]})}},Zwe=[Z_e,hge({defaultLanguage:"fr",loader:{provide:Cs,useClass:Ywe},compiler:{provide:Ts,useClass:Q_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&&(Lt("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:[ki,ki]}));let e=t;return e})(),eae={"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(eae);var Kwe=eae,tae={"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(tae);var Jwe=tae,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,ja,Xwe=class{constructor(...e){wr.set(this,new Map),To.set(this,new Map),ja.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,ja,"f").has(i)||Nn(this,ja,"f").set(i,new Set);let a=Nn(this,ja,"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,ja,"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,ja,"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,ja=new WeakMap;var Qwe=Xwe;new Qwe(Jwe,Kwe)._freeze();var nae=(()=>{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})(),iae=(()=>{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 __e(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"fullname",type:t,pure:!0});let e=t;return e})(),aae=(()=>{const t=class t{constructor(){this.translate=I(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})(),rae=(()=>{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})(),oae=(()=>{const t=class t{constructor(){this.translate=I(li)}transform(n){return w_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=I(li)}transform(n){return x_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})(),sae=(()=>{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&&!$c(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||{}),lae=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(lae||{}),cae=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(cae||{});function Hg(e,t){return!$c(e,t)}function uae(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 eEe(e){if(!e)return"";let t=K_(e,"yyyy-MM-dd",new Date);return V_(t)?Ua(t,"EEEE").toLowerCase():""}var tEe="minutes",Pn="hours",Mn="days",bn="weeks",_n="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 nEe=[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 Ku(e){return nEe.includes(e)}var iEe=[G.J,G.JH2,G.JT,G.JD,G.JV,G.JQ,G.JZ];function Ju(e){return iEe.includes(e)}function aEe(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=>Y1e(t,{start:Ii(new Date(a.startDate)),end:abe(new Date(a.endDate))})):!1}function rEe(e,t){var i,n;return(n=(i=e.day)==null?void 0:i.weekday)!=null&&n.weekNumber?oEe(e,t):sEe(e,t)}function oEe(e,t){let i=new Date(t.treatmentStartDate),n=tm(i),a=Ii(ur(Jye(nr(i),e.day.weekday.weekNumber-n),(uae(e.day.weekday.day)||1)-1));return $c(a,i)?Xye(a,1):a}function sEe(e,t){var a,r;let i=uae((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 lEe(e,t){let i=e.treatmentEndDate?new Date(e.treatmentEndDate):null,n=cEe(e,t);return i&&n?Qye([i,n]):i||n}function cEe(e,t){var n;if(!((n=e.suspensions)!=null&&n.length))return null;let i=e.suspensions.filter(a=>uEe(a,t)).map(a=>Z1e(new Date(a.startDate)));return tbe(t,i)}function uEe(e,t){return e.startDate&&Hg(new Date(e.startDate),t)||$c(new Date(e.startDate),t)&&Hg(new Date(e.endDate),t)}function dEe(e){let t=Ii(new Date);return e.treatmentStartDate&&Xbe(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&aEe(e,t)}function hEe(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 pEe=(()=>{const t=class t{transform(n){return dEe(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),mEe=(()=>{const t=class t{constructor(){this.translate=I(li),this.cdRef=I(lr),this.destroyRef=I(ii),this.result="",this.translate.onLangChange.pipe(sc(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&&!Ku(a)&&!Ju(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&&!Ku(a)&&!Ju(a))return[this.translate.instant("commons.posology.day"),n.day.dayNumber.toString()];if(Ku(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(Ju(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(rEe(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(ut).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})(),dae=(()=>{const t=class t{transform(n,a,r){return hEe(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})(),fEe=(()=>{const t=class t{transform(n,a){let r=a??new Date,o=lEe(n,r);return nbe(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})(),hae=e=>({posology:e}),gEe=e=>({count:e});function vEe(e,t){e&1&&(j(0,"span",1),ge(1),R(2,"translate"),B()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function yEe(e,t){if(e&1&&(j(0,"li"),ka(1,2),B()),e&2){let i=t.$implicit;ae(3);let n=sr(3);O(),q("ngTemplateOutlet",n)("ngTemplateOutletContext",fn(2,hae,i))}}function bEe(e,t){if(e&1&&(j(0,"ul"),so(1,yEe,2,4,"li",null,ks),B()),e&2){let i=ae(2);O(),lo(i.medication().posology)}}function _Ee(e,t){if(e&1&&ka(0,2),e&2){let i=ae(2),n=sr(3);q("ngTemplateOutlet",n)("ngTemplateOutletContext",fn(2,hae,i.medication().posology[0]))}}function xEe(e,t){if(e&1&&oe(0,vEe,3,3,"span",1)(1,bEe,3,0,"ul")(2,_Ee,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 wEe(e,t){e&1&&(ge(0),R(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
|
|
38
|
-
`)}function EEe(e,t){e&1&&(j(0,"span"),ge(1),B()),e&2&&(O(),qe(" ",t,""))}function SEe(e,t){if(e&1&&(j(0,"span"),ge(1),R(2,"translate"),B(),oe(3,EEe,2,1,"span"),R(4,"posologySpecification")),e&2){let i,n=ae(2).posology,a=ae();O(),qe(" ",lt(2,2,"commons.administrationUnits."+n.quantity.unit,fn(8,gEe,n.quantity.value)),""),O(2),Q((i=lt(4,5,n,a.medication()))?3:-1,i)}}function kEe(e,t){if(e&1&&(j(0,"span"),ge(1),R(2,"quantity"),B(),oe(3,SEe,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 IEe(e,t){if(e&1&&(j(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B()),e&2){let i=ae();q("lang",Y(1,3,i.lang)),Lt("translate",Y(2,5,i.lang)),O(3),qe(" ",t," ")}}function CEe(e,t){if(e&1&&(j(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B(),oe(4,IEe,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)),Lt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),Q((i=lt(5,8,a,r.medication()))?4:-1,i)}}function DEe(e,t){if(e&1&&(j(0,"div"),oe(1,kEe,4,4)(2,CEe,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 TEe=(()=>{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,xEe,3,2)(1,wEe,2,3)(2,DEe,4,4,"ng-template",null,0,Zl),n&2){let r;Q((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[on,rae,mEe,oae,nae,aae,kp],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(loe());var sl;function OEe(){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=OEe())==null?void 0:t.createHTML(e))||e}function Ug(e){return Error(`Unable to find icon with the name "${e}"`)}function NEe(){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}},PEe=(()=>{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(En.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(En.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(En.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)),Ht(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):ese(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(Ht(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(En.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),yt(null)})));return iv(o).pipe(Ht(()=>{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),Ht(()=>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 NEe();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(En.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(Ht(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 MEe(o)?new Ra(o.url,null,o.options):new Ra(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(pe(Is,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 MEe(e){return!!(e.url&&e.options)}var AEe=["*"],REe=new se("MAT_ICON_DEFAULT_OPTIONS"),LEe=new se("mat-icon-location",{providedIn:"root",factory:FEe});function FEe(){let e=I(He),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var pae=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],VEe=pae.map(e=>`[${e}]`).join(", "),jEe=/^url\(['"]?#(.*?)['"]?\)$/,ho=(()=>{const t=class t{constructor(){s(this,"_elementRef",I(Rt));s(this,"_iconRegistry",I(PEe));s(this,"_location",I(LEe));s(this,"_errorHandler",I(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=I(new qle("aria-hidden"),{optional:!0}),a=I(REe,{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(VEe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)pae.forEach(l=>{let u=a[o],c=u.getAttribute(l),h=c?c.match(jEe):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(jn(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&&(Lt("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:AEe,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})(),zEe=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[ki,ki]}));let e=t;return e})(),mae=(()=>{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&&(j(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:[qc,Y0e,ho,on],encapsulation:2});let e=t;return e})(),fae=(()=>{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(" ",lt(2,2,"commons.errors."+a.message(),a.translateParams())," "))},dependencies:[ho,on],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})(),BEe=(()=>{const t=class t{constructor(){this.vidisErrorCode=I(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&&(j(0,"h2",0),ge(1),R(2,"translate"),B(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),R(7,"translate"),B()()(),j(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_,qc,Wc,on],encapsulation:2});let e=t;return e})(),HEe=(()=>{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&&(j(0,"h2",0),ge(1),R(2,"translate"),B(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),R(7,"translate"),B()(),j(8,"p")(9,"span"),ge(10),R(11,"translate"),B(),j(12,"a",1),R(13,"translate"),ge(14),R(15,"translate"),B(),ge(16,"."),B()(),j(17,"mat-dialog-actions")(18,"button",2),ge(19),R(20,"translate"),B(),j(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_,qc,Wc,on],encapsulation:2});let e=t;return e})(),UEe=(()=>{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})(),GEe=(()=>{const t=class t{constructor(){this.http=I(Is),this.authService=I(ns).getInstance(),this.apiUrl=I(uo).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Fr.userType]:Wa.getUserType({isProfessional:this.authService.isProfessional}),[Fr.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})(),WEe=(()=>{const t=class t{constructor(){this.config=I(uo),this.injector=I(st),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(UEe):this.injector.get(GEe)}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=YEe(e,i.timeZone,i.locale??n.locale);return"formatToParts"in a?qEe(a,t):$Ee(a,t)}function qEe(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 $Ee(e,t){let i=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(i);return n?n[0].substr(1):""}function YEe(e,t,i){return new Intl.DateTimeFormat(i?[i.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function ZEe(e,t){let i=eSe(t);return"formatToParts"in i?JEe(i,e):XEe(i,e)}var KEe={year:0,month:1,day:2,hour:3,minute:4,second:5};function JEe(e,t){try{let i=e.formatToParts(t),n=[];for(let a=0;a<i.length;a++){let r=KEe[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 XEe(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 Xu={},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")),QEe=Yg==="06/25/2014, 00:00:00"||Yg==="06/25/2014 00:00:00";function eSe(e){return Xu[e]||(Xu[e]=QEe?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"})),Xu[e]}function gae(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,tSe=6e4,Qu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function vae(e,t,i){if(!e)return 0;let n=Qu.timezoneZ.exec(e);if(n)return 0;let a,r;if(n=Qu.timezoneHH.exec(e),n)return a=parseInt(n[1],10),Kg(a)?-(a*Zg):NaN;if(n=Qu.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*tSe,n[1]==="+"?-r:r):NaN}if(aSe(e)){t=new Date(t||Date.now());let o=i?t:nSe(t),l=dh(o,e);return-(i?l:iSe(t,l,e))}return NaN}function nSe(e){return gae(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function dh(e,t){let i=ZEe(e,t),n=gae(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 iSe(e,t,i){let n=e.getTime()-t,a=dh(new Date(n),i);if(t===a)return t;n-=a-t;let r=dh(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 aSe(e){if(Jg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Jg[e]=!0,!0}catch{return!1}}var rSe=60*1e3,oSe={X:function(e,t,i){let n=ed(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=ed(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=ed(i.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+sSe(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 ed(e,t){let i=e?vae(e,t,!0)/rSe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(i))throw new RangeError("Invalid time zone specified: "+e);return i}function cc(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=cc(Math.floor(n/60),2),r=cc(Math.floor(n%60),2);return i+a+t+r}function Xg(e,t){return e%60===0?(e>0?"-":"+")+cc(Math.abs(e)/60,2):Er(e,t)}function sSe(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+cc(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 lSe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,td=36e5,e0=6e4,cSe=2,cn={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:lSe};function uSe(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?cSe: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=dSe(e),{year:a,restDateString:r}=hSe(n.date,i),o=pSe(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=mSe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=vae(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 dSe(e){let t={},i=cn.dateTimePattern.exec(e),n;if(i?(t.date=i[1],n=i[3]):(i=cn.datePattern.exec(e),i?(t.date=i[1],n=i[2]):(t.date=null,n=e)),n){let a=cn.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function hSe(e,t){if(e){let i=cn.YYY[t],n=cn.YYYYY[t],a=cn.YYYY.exec(e)||n.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=cn.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 pSe(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=cn.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=cn.DDD.exec(e),r){i=new Date(0);let o=parseInt(r[1],10);return vSe(t,o)?(i.setUTCFullYear(t,0,o),i):new Date(NaN)}if(r=cn.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=cn.Www.exec(e),r)return a=parseInt(r[1],10)-1,i0(a)?t0(t,a):new Date(NaN);if(r=cn.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 mSe(e){let t,i,n=cn.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),nd(t)?t%24*td:NaN;if(n=cn.HHMM.exec(e),n)return t=parseInt(n[1],10),i=parseFloat(n[2].replace(",",".")),nd(t,i)?t%24*td+i*e0:NaN;if(n=cn.HHMMSS.exec(e),n){t=parseInt(n[1],10),i=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return nd(t,i,a)?t%24*td+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 fSe=[31,28,31,30,31,30,31,31,30,31,30,31],gSe=[31,29,31,30,31,30,31,31,30,31,30,31];function yae(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=yae(e);if(n&&i>gSe[t]||!n&&i>fSe[t])return!1}return!0}function vSe(e,t){if(t<1)return!1;let i=yae(e);return!(i&&t>366||!i&&t>365)}function i0(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function nd(e,t,i){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||i!=null&&(i<0||i>=60))}var ySe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function bSe(e,t,i={}){t=String(t);let n=t.match(ySe);if(n){let a=uSe(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,"'"+oSe[o[0]](a,o,i)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return Ua(e,t,i)}var _Se=(()=>{const t=class t extends i_e{constructor(){super(...arguments),this.version=ch,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=I(ns),this.translateService=I(li),this.webComponentConfig=I(uo),this.injector=I(st),this.servicesStore=I(Zc),this.matDialog=I(Gc),this.destroyRef=I(ii),this.errorServiceSelector=I(WEe),this.snackbarService=I(R_e),this.extraRequiredFields=this.defaultExtraRequiredFields,this.onError=new zt}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(HEe,{data:{error:n}}).beforeClosed().pipe(sc(this.destroyRef)).subscribe(a=>{a?(this.reportVidisError(n),this.onError.emit({reported:!0})):this.onError.emit({reported:!1})})}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(BEe,{data:n}).beforeClosed().pipe(sc(this.destroyRef)).subscribe(()=>{this.onError.emit({reported:!1})})}formatDateWithZone(){return bSe(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"},outputs:{onError:"onError"},features:[Gn],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),xSe=["*"];function wSe(e,t){e&1&&ka(0)}function ESe(e,t){if(e&1&&(j(0,"div",3),oe(1,wSe,1,0,"ng-container",5),B()),e&2){ae();let i=sr(5);O(),q("ngTemplateOutlet",i)}}function SSe(e,t){e&1&&ka(0)}function kSe(e,t){if(e&1){let i=Lc();j(0,"div",6),Di("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,SSe,1,0,"ng-container",5),B()}if(e&2){let i=ae(),n=sr(5);Lt("aria-label",i.currentExpandIconAriaLabel()),O(),q("ngTemplateOutlet",n)}}function ISe(e,t){e&1&&ka(0)}function CSe(e,t){if(e&1&&oe(0,ISe,1,0,"ng-container",5),e&2){ae();let i=sr(7);q("ngTemplateOutlet",i)}}function DSe(e,t){if(e&1&&(j(0,"h2"),ge(1),B()),e&2){let i=ae(3);O(),Mt(i.alertTitle())}}function TSe(e,t){if(e&1&&(j(0,"p"),ge(1),B()),e&2){let i=ae(3);O(),Mt(i.alertSubtitle())}}function OSe(e,t){if(e&1&&(j(0,"div"),oe(1,DSe,2,1,"h2")(2,TSe,2,1,"p"),B()),e&2){let i=ae(2);O(),Q(i.alertTitle()?1:-1),O(),Q(i.alertSubtitle()?2:-1)}}function NSe(e,t){e&1&&ka(0)}function PSe(e,t){if(e&1&&oe(0,NSe,1,0,"ng-container",5),e&2){ae(2);let i=sr(7);q("ngTemplateOutlet",i)}}function MSe(e,t){if(e&1){let i=Lc();j(0,"mat-icon",11),Di("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);Lt("aria-label",i.closeButtonAriaLabel())}}function ASe(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 RSe(e,t){if(e&1&&(le(0,"mat-icon",7),j(1,"div",8),oe(2,OSe,3,2,"div")(3,PSe,1,1,"ng-container"),B(),oe(4,MSe,1,1,"mat-icon",9)(5,ASe,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 LSe(e,t){if(e&1){let i=Lc();j(0,"button",14),Di("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 FSe(e,t){if(e&1&&(j(0,"span",12),nt(1),B(),oe(2,LSe,2,2,"button",13)),e&2){let i=ae();O(2),Q(i.actionButton()?2:-1)}}var VSe=(()=>{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",ume(()=>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:xSe,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(),j(0,"div",2),oe(1,ESe,2,1,"div",3)(2,kSe,2,2,"div",4)(3,CSe,1,1,"ng-container"),B(),oe(4,RSe,6,3,"ng-template",null,0,Zl)(6,FSe,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,kp,ho,Wc],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 jSe(e,t){if(e&1&&(j(0,"mh-alert",0),R(1,"translate"),j(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 zSe=(()=>{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,jSe,5,6,"mh-alert",0),n&2&&Q(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[on,VSe],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})(),BSe=e=>({value:e});function HSe(e,t){if(e&1&&(j(0,"span"),R(1,"translate"),ge(2),B()),e&2){let i=ae();Lt("aria-label",lt(1,2,"commons.accessibility.nihdiLabel",fn(5,BSe,i.idNumber()))),O(2),qe(" (",i.idNumber(),") ")}}var USe=(()=>{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,HSe,3,7,"span")),n&2&&(qe(" ",a.fullname()," "),O(),Q(a.idNumber()?1:-1))},dependencies:[on],styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),GSe=[[["vidis-detail-header-left"]],[["vidis-detail-header-right"]],[["vidis-detail-header"]],[["vidis-detail-action-button"]],[["vidis-detail-action-icon"]],"*"],WSe=["vidis-detail-header-left","vidis-detail-header-right","vidis-detail-header","vidis-detail-action-button","vidis-detail-action-icon","*"];function qSe(e,t){if(e&1&&(j(0,"h3"),ge(1),B()),e&2){let i=ae();O(),Mt(i.medicationName())}}function $Se(e,t){e&1&&nt(0,5)}var YSe=(()=>{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:WSe,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(GSe),j(0,"div",0)(1,"div",1),nt(2),B(),j(3,"div",2),nt(4,1),B(),oe(5,qSe,2,1,"h3"),nt(6,2),oe(7,$Se,1,0),B(),le(8,"mat-divider"),j(9,"div",3)(10,"div",4),nt(11,3),B(),j(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(),yp("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&&(j(0,"p",0)(1,"span",1),ge(2),R(3,"translate"),B(),j(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 KSe=(()=>{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:[on],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})(),JSe=["*"];function XSe(e,t){if(e&1&&(j(0,"span",1),ge(1),R(2,"translate"),B()),e&2){let i=ae(2);O(),Mt(Y(2,1,i.labelKey()))}}function QSe(e,t){if(e&1&&(j(0,"p",0),oe(1,XSe,3,3,"span",1),j(2,"span",2),nt(3),B()()),e&2){let i=ae();O(),Q(i.labelKey()?1:-1)}}var eke=(()=>{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:JSe,decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&(Dn(),oe(0,QSe,4,1,"p",0)),n&2&&Q(a.display()?0:-1)},dependencies:[on],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})(),tke=["*"],nke=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-header"]],ngContentSelectors:tke,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(0))},encapsulation:2});let e=t;return e})(),ike=[[["vidis-detail-section-header-right"]],"*"],ake=["vidis-detail-section-header-right","*"];function rke(e,t){e&1&&le(0,"mat-divider"),e&2&&yp("margin","1rem 0")}function oke(e,t){if(e&1&&(j(0,"div",0),oe(1,rke,1,2,"mat-divider",1),j(2,"div",2)(3,"span",3),ge(4),B(),j(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 bae=(()=>{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:ake,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(ike),oe(0,oke,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})(),ske=(()=>{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&&(j(0,"vidis-detail-section",0),R(1,"translate"),j(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"),j(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",lt(5,11,a.patient().ssin,"XXXXXX-XXX.XX")),O(3),q("value",lt(7,14,a.creationDate(),"dd/MM/yyyy")),O(3),q("fullname",Y(10,17,a.prescriber()))("idNumber",lt(11,19,(r=a.prescriber())==null?null:r.nihdi,"X/XXXXX/XX/XXX"))}},dependencies:[bae,eke,USe,KSe,on,t_e,Ip,sm],encapsulation:2});let e=t;return e})(),lke=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],cke=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function uke(e,t){e&1&&(j(0,"span",3),nt(1,1),B())}function dke(e,t){e&1&&(j(0,"span",6),nt(1,2),B())}var hke=["*"],a0=new se("MatChipAvatar"),r0=new se("MatChipTrailingIcon"),o0=new se("MatChipRemove"),_ae=new se("MatChip"),s0=(()=>{const t=class t{constructor(){s(this,"_elementRef",I(Rt));s(this,"_parentChip",I(_ae));s(this,"isInteractive",!0);s(this,"_isPrimary",!0);s(this,"_disabled",!1);s(this,"tabIndex",-1);s(this,"_allowFocusWhenDisabled",!1);I(cr).load(Vp),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&&Di("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),n&2&&(Lt("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})(),xae=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",I(lr));s(this,"_elementRef",I(Rt));s(this,"_ngZone",I(We));s(this,"_focusMonitor",I(Lp));s(this,"_globalRippleOptions",I(q1,{optional:!0}));s(this,"_document",I(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",I(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 zt);s(this,"destroyed",new zt);s(this,"basicChipAttrName","mat-basic-chip");s(this,"leadingIcon");s(this,"trailingIcon");s(this,"removeIcon");s(this,"primaryAction");s(this,"_rippleLoader",I($1));s(this,"_injector",I(st));var r;let n=I(cr);n.load(Vp),n.load(j1);let a=I(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&&(La(r,a0,5),La(r,r0,5),La(r,o0,5),La(r,a0,5),La(r,r0,5),La(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&&Di("keydown",function(r){return a._handleKeydown(r)}),n&2&&(Fc("id",a.id),Lt("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:_ae,useExisting:t}])],ngContentSelectors:cke,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(lke),le(0,"span",0),j(1,"span",1)(2,"span",2),oe(3,uke,2,0,"span",3),j(4,"span",4),nt(5),le(6,"span",5),B()()(),oe(7,dke,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})(),pke=(()=>{const t=class t{constructor(){s(this,"_elementRef",I(Rt));s(this,"_changeDetectorRef",I(lr));s(this,"_dir",I(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 $ge(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&&La(r,xae,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&&Di("keydown",function(r){return a._handleKeydown(r)}),n&2&&Lt("role",a.role)},inputs:{disabled:[2,"disabled","disabled",ei],role:"role",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:jc(n)]},ngContentSelectors:hke,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,a){n&1&&(Dn(),j(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})(),mke=["*"],fke=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-header-left"]],ngContentSelectors:mke,decls:2,vars:0,template:function(n,a){n&1&&(Dn(),j(0,"mat-chip-set"),nt(1),B())},dependencies:[pke],encapsulation:2});let e=t;return e})(),gke=e=>({label_error:e}),vke=e=>({value_error:e});function yke(e,t){e&1&&le(0,"mat-icon",3)}function bke(e,t){if(e&1&&(j(0,"span",0)(1,"span",1),ge(2),R(3,"translate"),B(),j(4,"span",2),oe(5,yke,1,0,"mat-icon",3),ge(6),B()()),e&2){let i=ae();O(),q("ngClass",fn(7,gke,i.withError())),O(),qe(" ",Y(3,5,i.labelKey())," "),O(2),q("ngClass",fn(9,vke,i.withError())),O(),Q(i.withError()?5:-1),O(),qe(" ",i.value()," ")}}var wae=(()=>{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,bke,7,11,"span",0),n&2&&Q(a.value()?0:-1)},dependencies:[on,ho,Sp],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})(),_ke=["*"],xke=e=>({label_error:e}),wke=e=>({value_error:e});function Eke(e,t){e&1&&le(0,"mat-icon",3)}var Eae=(()=>{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:_ke,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(),j(0,"span",0)(1,"span",1),ge(2),R(3,"translate"),B(),j(4,"span",2),oe(5,Eke,1,0,"mat-icon",3),nt(6),B()()),n&2&&(O(),q("ngClass",fn(6,xke,a.withError())),O(),qe(" ",Y(3,4,a.labelKey())," "),O(2),q("ngClass",fn(8,wke,a.withError())),O(),Q(a.withError()?5:-1))},dependencies:[on,ho,Sp],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})(),Ske=e=>({prescriber:e}),kke=e=>({count:e});function Ike(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",fn(6,Ske,Y(2,4,i.medication().author)))}}function Cke(e,t){e&1&&(le(0,"vidis-ms-detail-field",5),R(1,"date")),e&2&&q("value",lt(1,1,t,"dd/MM/yyyy"))}function Dke(e,t){e&1&&(le(0,"vidis-ms-detail-field",6),R(1,"date")),e&2&&q("value",lt(1,1,t,"dd/MM/yyyy"))}function Tke(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",lt(1,2,t,"dd/MM/yyyy"))("withError",gn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function Oke(e,t){e&1&&(le(0,"vidis-ms-detail-field",21),R(1,"date")),e&2&&q("value",lt(1,1,t,"dd/MM/yyyy"))}function Nke(e,t){e&1&&(le(0,"vidis-ms-detail-field",22),R(1,"firstLetterUppercase")),e&2&&q("value",Y(1,1,t))}function Pke(e,t){e&1&&le(0,"span",18)(1,"span",23)}function Mke(e,t){e&1&&le(0,"mat-divider")}function Ake(e,t){if(e&1&&(oe(0,Tke,3,9,"vidis-ms-detail-field",20)(1,Oke,2,4,"vidis-ms-detail-field",21)(2,Nke,2,3,"vidis-ms-detail-field",22),R(3,"translateValue"),oe(4,Pke,2,0)(5,Mke,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 Rke(e,t){if(e&1&&(j(0,"span",18),ge(1),R(2,"translate"),B(),j(3,"span",19),so(4,Ake,7,7,null,null,ks),B()),e&2){let i=ae();O(),Mt(Y(2,1,"medicationSchemeDetails.suspension.label")),O(3),lo(i)}}function Lke(e,t){e&1&&oe(0,Rke,6,3),e&2&&Q(t.length>0?0:-1)}function Fke(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,lt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),fn(11,kke,n.medication().posology[0].quantity.value))))("withError",gn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function Vke(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",gn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function jke(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",gn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function zke(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",gn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function Bke(e,t){e&1&&le(0,"vidis-ms-detail-field",15),e&2&&q("value",t)}function Hke(e,t){e&1&&le(0,"vidis-ms-detail-field",16),e&2&&q("value",t)}function Uke(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 Gke=(()=>{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,Ike,3,8,"vidis-error-display",0),R(1,"hasMedicationError"),j(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,Cke,2,4,"vidis-ms-detail-field",5)(12,Dke,2,4,"vidis-ms-detail-field",6)(13,Lke,1,1),R(14,"activeAndFutureSuspensions"),oe(15,Fke,4,13,"vidis-ms-detail-field",7)(16,Vke,3,8,"vidis-ms-detail-field",8),j(17,"vidis-ms-detail-field-slot",9),R(18,"hasMedicationError"),le(19,"vidis-medication-scheme-posology",10),B(),oe(20,jke,4,10,"vidis-ms-detail-field",11)(21,zke,4,10,"vidis-ms-detail-field",12),le(22,"vidis-ms-detail-field",13)(23,"vidis-ms-detail-field",14),oe(24,Bke,1,1,"vidis-ms-detail-field",15),R(25,"translateValue"),oe(26,Hke,1,1,"vidis-ms-detail-field",16),R(27,"translateValue"),oe(28,Uke,1,2,"vidis-ms-detail-field",17),R(29,"hasMedicationError"),B()),n&2){let r,o,l,u,c,h,m,v,g;Q(lt(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",gn(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(gn(29,41,a.fieldErrors(),a.medication().index,"others")?28:-1)}},dependencies:[qc,rm,on,TEe,fae,wae,Eae,Ip,sm,iae,lm,sae,dae],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})(),Wke=(()=>{const t=class t{constructor(){this.translate=I(li),this.cdRef=I(lr),this.destroyRef=I(ii),this.result="",this.translate.onLangChange.pipe(sc(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(ut).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})(),qke=e=>({posologies:e}),$ke=e=>({count:e}),Yke=(e,t)=>t.key;function Zke(e,t){e&1&&(j(0,"span",1),ge(1),R(2,"translate"),B()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function Kke(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",fn(3,qke,i.value))}}function Jke(e,t){if(e&1&&(oe(0,Zke,3,3,"span",1),so(1,Kke,2,5,null,null,Yke),R(3,"keyvalue")),e&2){let i=ae();Q(i.medication().temporality===i.temporalities.ONESHOT?0:-1),O(),lo(lt(3,1,i.groupedPosologies,i.compareGroups))}}function Xke(e,t){e&1&&(ge(0),R(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
|
|
42
|
-
`)}function Qke(e,t){e&1&&(j(0,"span"),ge(1),B()),e&2&&(O(),qe(" ",t,""))}function e2e(e,t){if(e&1&&(j(0,"span"),ge(1),R(2,"translate"),B(),oe(3,Qke,2,1,"span"),R(4,"posologyGrouped")),e&2){let i,n=ae(2).$implicit,a=ae(2);O(),qe(" ",lt(2,2,"commons.administrationUnits."+n.quantity.unit,fn(8,$ke,n.quantity.value)),""),O(2),Q((i=lt(4,5,n,a.medication()))?3:-1,i)}}function t2e(e,t){if(e&1&&(j(0,"span"),ge(1),R(2,"quantity"),B(),oe(3,e2e,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 n2e(e,t){if(e&1&&(j(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B()),e&2){let i=ae();q("lang",Y(1,3,i.lang)),Lt("translate",Y(2,5,i.lang)),O(3),qe(" ",t," ")}}function i2e(e,t){if(e&1&&(j(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ge(3),B(),oe(4,n2e,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)),Lt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),Q((i=lt(5,8,a,r.medication()))?4:-1,i)}}function a2e(e,t){if(e&1&&(j(0,"li"),oe(1,t2e,4,4)(2,i2e,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 r2e(e,t){if(e&1&&(j(0,"ul"),so(1,a2e,4,4,"li",null,ks),B()),e&2){let i=t.posologies;O(),lo(i)}}var o2e=(()=>{const t=class t{constructor(){this.translate=I(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),wp(()=>{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=eEe(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,Jke,4,4)(1,Xke,2,3)(2,r2e,3,0,"ng-template",null,0,Zl),n&2){let r;Q((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[on,rae,Wke,afe,oae,nae,aae,kp],encapsulation:2,changeDetection:0});let e=t;return e})(),Kc=(()=>{const t=class t{setClientId(n){this.clientId=n}buildClientIdHeader(){return this.clientId&&new tr().set(Fr.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})(),Sae=(()=>{const t=class t extends Kc{constructor(){super(...arguments),this.http=I(Is)}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})(),s2e={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:ut.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:ut.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00016,value:10},daytime:{dayPeriod:ut.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:ut.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00003,value:1},daytime:{dayPeriod:ut.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:ut.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:ut.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ut.AFTERNOON},dayPart:vt.NOON},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ut.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:ut.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:ut.BEFOREBREAKFAST}},{dayPart:vt.NOON,quantity:{value:1,unit:gt._00004},daytime:{dayPeriod:ut.BEFORELUNCH}},{dayPart:vt.EVENING,quantity:{value:1,unit:gt._00004},daytime:{dayPeriod:ut.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:ut.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:ut.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:ut.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00012,value:1},daytime:{dayPeriod:ut.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:ut.MORNING},dayPart:vt.MORNING},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ut.AFTERNOON},dayPart:vt.NOON},{quantity:{unit:gt._00007,value:1},daytime:{dayPeriod:ut.EVENING},dayPart:vt.EVENING}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:cae.VITALINK}],errors:[]},kae=(()=>{const t=class t extends Kc{constructor(){super(...arguments),this.demoService=I(h_e)}find(n){return this.demoService.post("/v1/medicationscheme",s2e,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 Ln{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=Ln.hexChars,n=Ln.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(Ln.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,Ln._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,Ln._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,Ln._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(Ln.buffer32Identity.subarray(r),r),i>55&&(Ln._md5cycle(this._state,a),a.set(Ln.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 Ln._md5cycle(this._state,a),t?this._state:Ln._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=I(Kc),this.authServiceSelector=I(ns),this.medicationSchemeStateSubject$=new bh({status:xa.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(Ht(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 p_e(this.getData(n),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ga.MEDICATION_SCHEME_PAGE_STATE)??{filter:lae.ALL,view:0,date:{displayDate:new Date,startOfWeek:Ji(new Date,this.fnsOptions),endOfWeek:obe(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 nse(this.medicationSchemeApiService.find(n).pipe(this.addIdToMedication()))})}setClientId(n){this.medicationSchemeApiService.setClientId(n)}};t.ɵfac=function(n){return new(n||t)(pe(Zc),pe(ns))},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),l2e=(e,t)=>e.getEnvironmentVariable("env")===ua.DEMO?t.get(kae):t.get(Sae),c2e={provide:Kc,useFactory:l2e,deps:[uo,st]},u2e=["*"],d2e=(e,t,i,n,a)=>({"custom-content":e,circle:t,progress:i,"progress-dark":n,pulse:a});function h2e(e,t){e&1&&nt(0)}function p2e(e,t){if(e&1&&(j(0,"div",0),oe(1,h2e,1,0),B()),e&2){let i=ae(),n=Ef(0),a=Ef(1);q("ngClass",Ppe(5,d2e,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",i.styles()),Lt("aria-label",i.ariaLabel())("aria-valuetext",i.loadingText()),O(),Q(n==="custom-content"?1:-1)}}var Iae=new se("ngx-skeleton-loader.config"),m2e=(()=>{var t;const i=class i{constructor(){Em(this,t);var a,r,o,l,u,c;Sm(this,t,I(Iae,{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"&&Kpe(),[...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:u2e,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,p2e,2,11,"div",0,ks)),a&2&&(wf(r.appearance()),O(),wf(r.animation()),O(),lo(r.items()))},dependencies:[Sp,Xme],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})(),f2e=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:Iae,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})(),g2e=e=>({prescriber:e}),v2e=e=>({count:e});function y2e(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",fn(6,g2e,Y(2,4,i.medication().author)))}}function b2e(e,t){e&1&&(j(0,"mat-chip",2),ge(1),R(2,"translate"),B()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.future")," "))}function _2e(e,t){e&1&&(j(0,"mat-chip",3),ge(1),R(2,"translate"),B()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.ifneeded")," "))}function x2e(e,t){e&1&&(j(0,"mat-chip",4),ge(1),R(2,"translate"),B()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.lastDayDefinitive")," "))}function w2e(e,t){e&1&&(le(0,"vidis-ms-detail-field",27),R(1,"firstLetterUppercase")),e&2&&q("value",Y(1,1,t))}function E2e(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",lt(1,2,t,"dd/MM/yyyy"))("withError",gn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function S2e(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),R(1,"date")),e&2&&q("value",lt(1,1,t,"dd/MM/yyyy"))}function k2e(e,t){if(e&1&&(oe(0,w2e,2,3,"vidis-ms-detail-field",27),R(1,"translateValue"),j(2,"div",11),oe(3,E2e,3,9,"vidis-ms-detail-field",28)(4,S2e,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 I2e(e,t){if(e&1&&(j(0,"span",24),le(1,"mat-icon",25),ge(2),R(3,"translate"),B(),j(4,"span",26),so(5,k2e,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 C2e(e,t){e&1&&oe(0,I2e,7,3),e&2&&Q(t.length>0?0:-1)}function D2e(e,t){e&1&&le(0,"vidis-ms-detail-field",6),e&2&&q("value",t)}function T2e(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",gn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function O2e(e,t){e&1&&(le(0,"vidis-ms-detail-field",12),R(1,"date")),e&2&&q("value",lt(1,1,t,"dd/MM/yyyy"))}function N2e(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),R(1,"date")),e&2&&q("value",lt(1,1,t,"dd/MM/yyyy"))}function P2e(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,lt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),fn(11,v2e,n.medication().posology[0].quantity.value))))("withError",gn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function M2e(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",gn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function A2e(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",gn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function R2e(e,t){e&1&&le(0,"vidis-ms-detail-field",19),e&2&&q("value",t)}function L2e(e,t){e&1&&le(0,"vidis-ms-detail-field",20),e&2&&q("value",t)}function F2e(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 V2e(e,t){e&1&&le(0,"vidis-download-link",22),e&2&&q("leaflet",t)}var j2e=(()=>{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,y2e,3,8,"vidis-error-display",0),R(1,"hasMedicationError"),j(2,"vidis-detail",1),R(3,"translateValue"),R(4,"firstLetterUppercase"),j(5,"vidis-detail-header-left"),oe(6,b2e,3,4,"mat-chip",2),R(7,"isFutureMedication"),oe(8,_2e,3,4,"mat-chip",3),R(9,"isLastMedicationDay"),oe(10,x2e,3,4,"mat-chip",4),B(),j(11,"vidis-detail-header"),oe(12,C2e,1,1),R(13,"activeAndFutureSuspensions"),B(),j(14,"vidis-detail-section",5),R(15,"translate"),oe(16,D2e,1,1,"vidis-ms-detail-field",6),R(17,"translateValue"),B(),j(18,"vidis-detail-section",7),R(19,"translate"),j(20,"vidis-ms-detail-field-slot",8),R(21,"hasMedicationError"),le(22,"vidis-medication-scheme-grouped-posology",9),B(),oe(23,T2e,3,8,"vidis-ms-detail-field",10),j(24,"div",11),oe(25,O2e,2,4,"vidis-ms-detail-field",12)(26,N2e,2,4,"vidis-ms-detail-field",13),B(),le(27,"vidis-ms-detail-field",14)(28,"vidis-ms-detail-field",15),oe(29,P2e,4,13,"vidis-ms-detail-field",16)(30,M2e,4,10,"vidis-ms-detail-field",17)(31,A2e,4,10,"vidis-ms-detail-field",18)(32,R2e,1,1,"vidis-ms-detail-field",19),R(33,"translateValue"),oe(34,L2e,1,1,"vidis-ms-detail-field",20),R(35,"translateValue"),oe(36,F2e,1,2,"vidis-ms-detail-field",21),R(37,"hasMedicationError"),oe(38,V2e,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(lt(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",gn(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(gn(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:[xae,om,zEe,ho,YSe,fae,wae,Eae,bae,ske,mae,o2e,nke,fke,on,lm,iae,dae,sm,Ip,sae,pEe,fEe],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})(),z2e=()=>({width:"40%",height:"20px"});function B2e(e,t){e&1&&(j(0,"div"),ge(1,"Component not properly initialized!"),B())}function H2e(e,t){if(e&1&&le(0,"vidis-status-message",0),e&2){let i=ae();q("error",i.error)}}function U2e(e,t){e&1&&le(0,"ngx-skeleton-loader",1),e&2&&q("count",10)("theme",Npe(2,z2e))}function G2e(e,t){e&1&&le(0,"vidis-download-link",4),e&2&&q("leaflet",t)}function W2e(e,t){if(e&1&&(le(0,"vidis-medication-scheme-details-row",3),oe(1,G2e,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 q2e(e,t){e&1&&(j(0,"div",2)(1,"h3"),ge(2),R(3,"translate"),B()()),e&2&&(O(2),Mt(Y(3,1,"medicationSchemeDetails.noDetails")))}function $2e(e,t){if(e&1&&oe(0,U2e,1,3,"ngx-skeleton-loader",1)(1,W2e,4,9)(2,q2e,4,3,"div",2),e&2){let i=ae(),n=ae(2);Q(i.status===n.loadingStatus.LOADING?0:i.data?1:2)}}function Y2e(e,t){if(e&1&&oe(0,H2e,1,1,"vidis-status-message",0)(1,$2e,3,1),e&2){let i=ae(2);Q(t.status===i.loadingStatus.ERROR?0:1)}}function Z2e(e,t){if(e&1&&oe(0,Y2e,2,1),e&2){let i,n=ae();Q((i=n.medicationDetail())?0:-1,i)}}var K2e=(()=>{const t=class t extends _Se{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(){Ec(this.injector,()=>{this.medicationSchemeService=I(l0),this.medicationSchemeState=y_e(this.medicationSchemeService.medicationSchemeState$),wp(()=>{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,Sae,kae,c2e]),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,B2e,2,0,"div")(1,Z2e,1,1),n&2&&Q(a.isCorrectlySetup()?1:0)},dependencies:[f2e,m2e,Gke,mae,zSe,j2e,lm,on],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})();Efe({providers:[Zwe]}).then(e=>{let t=Eme(K2e,{injector:e.injector});customElements.define("vidis-medication-scheme-detail",t)}).catch(e=>console.error(e));
|