@smals-belgium-shared/vidis-delivered-medication-detail 3.4.4-snapshot.3 → 3.4.4-snapshot.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var e7=Object.defineProperty;var kp=e=>{throw TypeError(e)};var t7=(e,t,r)=>t in e?e7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>t7(e,typeof t!="symbol"?t+"":t,r),Cp=(e,t,r)=>t.has(e)||kp("Cannot "+r);var dr=(e,t,r)=>(Cp(e,t,"read from private field"),r?r.call(e):t.get(e)),Ip=(e,t,r)=>t.has(e)?kp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Dp=(e,t,r,n)=>(Cp(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var n7=Object.create,El=Object.defineProperty,r7=Object.defineProperties,a7=Object.getOwnPropertyDescriptor,i7=Object.getOwnPropertyDescriptors,o7=Object.getOwnPropertyNames,Vs=Object.getOwnPropertySymbols,s7=Object.getPrototypeOf,wd=Object.prototype.hasOwnProperty,lg=Object.prototype.propertyIsEnumerable,Tp=(e,t,r)=>t in e?El(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,se=(e,t)=>{for(var r in t||(t={}))wd.call(t,r)&&Tp(e,r,t[r]);if(Vs)for(var r of Vs(t))lg.call(t,r)&&Tp(e,r,t[r]);return e},Yt=(e,t)=>r7(e,i7(t)),l7=(e,t)=>{var r={};for(var n in e)wd.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Vs)for(var n of Vs(e))t.indexOf(n)<0&&lg.call(e,n)&&(r[n]=e[n]);return r},ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var r in t)El(e,r,{get:t[r],enumerable:!0})},u7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of o7(t))!wd.call(e,a)&&a!==r&&El(e,a,{get:()=>t[a],enumerable:!(n=a7(t,a))||n.enumerable});return e},ug=(e,t,r)=>(r=e!=null?n7(s7(e)):{},u7(t||!e||!e.__esModule?El(r,"default",{value:e,enumerable:!0}):r,e)),wt=(e,t,r)=>new Promise((n,a)=>{var i=c=>{try{l(r.next(c))}catch(u){a(u)}},o=c=>{try{l(r.throw(c))}catch(u){a(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,o);l((r=r.apply(e,t)).next())}),c7=ae((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self,r.MessageFormat=n())})(e,function(){var r=function(){return r=Object.assign||function(p){for(var f,v=1,y=arguments.length;v<y;v++){f=arguments[v];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},r.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,v=f&&p[f],y=0;if(v)return v.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var v=typeof Symbol=="function"&&p[Symbol.iterator];if(!v)return p;var y=v.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){k={error:I}}finally{try{_&&!_.done&&(v=y.return)&&v.call(y)}finally{if(k)throw k.error}}return E}function i(p,f,v){if(arguments.length===2)for(var y=0,_=f.length,E;y<_;y++)(E||!(y in f))&&(E||(E=Array.prototype.slice.call(f,0,y)),E[y]=f[y]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,v,y){super(f),this.token=v,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",c=p=>p%2===0?"2-digit":"numeric";function u(p,f){switch(p.char){case"y":return{year:c(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 d(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:v,desc:y,width:_}=p;if(v==="d")return c(_);f(`${y} is not supported`)}function b(p,f){let{char:v,desc:y,width:_}=p;if((v==="c"||v==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=c(p.width),v;switch(p.char){case"h":v="h12";break;case"H":v="h23";break;case"k":v="h24";break;case"K":v="h11";break}return v?{hour:f,hourCycle:v}:{hour:f}}function w(p,f){let{char:v,desc:y,width:_}=p;switch(v){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${y} is not supported with width ${_}`);return;case"X":f(`${y} is not supported`);return}return"short"}function x(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return u(p,f);case"month":return{month:d(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:b(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:c(p.width)};case"sec":return{second:c(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:k,field:I,str:N}=E;if(k){let J=new o(k.message,E);J.stack=k.stack,v(J)}if(N){let J=`Ignoring string part: ${N}`;v(new o(J,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):v(new o(`Duplicate ${I} token`,E)));let F=x(E,(J,ue)=>v(new o(J,E,ue)));F&&Object.assign(y,F)}return y}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"}},R=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function O(p,f){let v=p[f],y=1;for(;p[++f]===v;)++y;let _=T[v];if(!_){let E=`The letter ${v} is not a valid field identifier`;return{char:v,error:new Error(E),width:y}}return{char:v,field:_.field,desc:_.desc,width:y}}function Y(p,f){let v=p[++f],y=2;if(v==="'")return{char:"'",str:v,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${v||p}`;return{char:"'",error:new Error(E),str:v,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:v,width:y};++y}v+=_}}function ie(p,f){let v=p[f];if(!v)return null;if(R(v))return O(p,f);if(v==="'")return Y(p,f);let y=v,_=1;for(;;){let E=p[++f];if(!E||R(E)||E==="'")return{char:v,str:y,width:_};y+=E,_+=1}}function me(p){let f=[],v=0;for(;;){let y=ie(p,v);if(!y)return f;f.push(y),v+=y.width}}function St(p,f,v,y){typeof f=="string"&&(f=me(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function ut(p,f,v,y){typeof f=="string"&&(f=me(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
|
|
2
2
|
`)+`
|
|
3
|
-
})()`}class We extends Error{constructor(f,v){super(v),this.code=f}}class vt extends We{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Z extends We{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class H extends We{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class ge extends We{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends We{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends We{constructor(f,v,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${v.length})`),this.stem=f,this.options=v}}function G(p,f){let{numberingSystem:v}=f;return Array.isArray(p)||(p=[p]),v?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${v}`}).concat(p):p}function Se(p,f){let v=+p+f/2;return v-v%+f}function qe(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Ft(p){let f=qe(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>Se(y,v.increment)*f:y=>y*f}function Te(p){let f=qe(p),{precision:v}=p;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,_=`x - (x % +${v.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Pe(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:I,sign:N,unit:F,unitPer:J,unitWidth:ue}=p,Ce=(Ye,ct)=>{},W={};if(F)switch(F.style){case"base-unit":W.style="decimal";break;case"currency":W.style="currency",W.currency=F.currency;break;case"measure-unit":W.style="unit",W.unit=F.unit.replace(/.*-/,""),J&&(W.unit+="-per-"+J.replace(/.*-/,""));break;case"percent":W.style="percent";break}switch(ue){case"unit-width-full-name":W.currencyDisplay="name",W.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":W.currencyDisplay="code";break;case"unit-width-narrow":W.currencyDisplay="narrowSymbol",W.unitDisplay="narrow";break;case"unit-width-short":W.currencyDisplay="symbol",W.unitDisplay="short";break}switch(y){case"group-off":W.useGrouping=!1;break;case"group-auto":W.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":W.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:Ye,maxFraction:ct,minSignificant:Ct,maxSignificant:Ut,source:kn}=k;typeof Ye=="number"&&(W.minimumFractionDigits=Ye,typeof Ct=="number"&&Ce()),typeof ct=="number"&&(W.maximumFractionDigits=ct),typeof Ct=="number"&&(W.minimumSignificantDigits=Ct),typeof Ut=="number"&&(W.maximumSignificantDigits=Ut);break}case"precision-integer":W.maximumFractionDigits=0;break;case"precision-unlimited":W.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":W.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":Ce(k.style);break}if(E)switch(E.style){case"compact-short":W.notation="compact",W.compactDisplay="short";break;case"compact-long":W.notation="compact",W.compactDisplay="long";break;case"notation-simple":W.notation="standard";break;case"scientific":case"engineering":{let{expDigits:Ye,expSign:ct,source:Ct,style:Ut}=E;W.notation=Ut;break}}if(_){let{min:Ye,max:ct,source:Ct}=_;if(Ye>0&&(W.minimumIntegerDigits=Ye),Number(ct)>0){let Ut=W.notation==="engineering"||W.notation==="scientific";ct===3&&Ut?W.notation="engineering":Ce()}}switch(N){case"sign-auto":W.signDisplay="auto";break;case"sign-always":W.signDisplay="always";break;case"sign-except-zero":W.signDisplay="exceptZero";break;case"sign-never":W.signDisplay="never";break;case"sign-accounting":W.currencySign="accounting";break;case"sign-accounting-always":W.currencySign="accounting",W.signDisplay="always";break;case"sign-accounting-except-zero":W.currencySign="accounting",W.signDisplay="exceptZero";break}return W}function et(p,f,v){let y=p[f];switch(y){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:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return v(new L("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return v(new L("'",I)),{char:y,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=k}}}return null}let Sn=p=>p>="0"&&p<="9";function Ze(p,f){let v=p[f];if(Sn(v)){let y=v;for(;;){let _=p[++f];if(Sn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:v,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:v,expDigits:_,plus:y,width:E};break}case".":case",":return{char:v,width:1}}return null}function jt(p,f,v){let y;(function(F){F[F.Prefix=0]="Prefix",F[F.Number=1]="Number",F[F.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],k=[],I=y.Prefix,N="";for(;f<p.length;){let F=p[f];if(F===";"){f+=1;break}switch(I){case y.Prefix:{let J=et(p,f,v);if(J)N&&(_.push({char:"'",str:N,width:N.length}),N=""),_.push(J),f+=J.width;else{let ue=Ze(p,f);ue?(N&&(_.push({char:"'",str:N,width:N.length}),N=""),I=y.Number,E.push(ue),f+=ue.width):(N+=F,f+=1)}break}case y.Number:{let J=Ze(p,f);J?(E.push(J),f+=J.width):I=y.Suffix;break}case y.Suffix:{let J=et(p,f,v);J?(N&&(k.push({char:"'",str:N,width:N.length}),N=""),k.push(J),f+=J.width):(N+=F,f+=1);break}}}return N&&k.push({char:"'",str:N,width:N.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function kt(p,f){let{pattern:v,pos:y}=jt(p,0,f);if(y<p.length){let{pattern:_}=jt(p,y,f);return{tokens:v,negative:_}}return{tokens:v}}function jn(p,f){let v={},y=!1,_=!1,E=0,k="",I=-1,N="",F=0;for(let ue=0;ue<p.length;++ue){let Ce=p[ue];switch(Ce.char){case"#":{if(I===-1){if(k){let W="Pattern has # after integer digits";f(new L("#",W))}E+=Ce.width}else F+=Ce.width;break}case"0":{if(I===-1)k+=Ce.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new L("0",W))}N+=Ce.digits}break}case"@":{v.precision&&f(new H("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:Ce.min,maxSignificant:Ce.width};break}case",":y=!0;break;case".":if(I===1){let W="Pattern has more than one decimal separator";f(new L(".",W))}I=ue;break;case"E":{if(_&&f(new H("exponent",v.notation)),y){let W="Exponential patterns may not contain grouping separators";f(new L("E",W))}v.notation={style:"scientific"},Ce.expDigits>1&&(v.notation.expDigits=Ce.expDigits),Ce.plus&&(v.notation.expSign="sign-always"),_=!0}}}y?v.group="group-auto":E+k.length>3&&(v.group="group-off");let J=+`${k||"0"}.${N}`;if(J&&(v.precision={style:"precision-increment",increment:J}),!_)k.length>1&&(v.integerWidth={min:k.length}),!v.precision&&(N.length||F)&&(v.precision={style:"precision-fraction",minFraction:N.length,maxFraction:N.length+F});else if((!v.precision||J)&&(v.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),v.precision)J||(v.integerWidth={min:1,max:1});else{let ue=k.length+N.length;I===-1?ue>0&&(v.precision={style:"precision-fraction",maxSignificant:ue}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,ue)+F},ue>1&&(v.precision.minSignificant=ue))}return v}function Cr(p,f,v,y,_){let E=!1,k="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:k="";break;case"¤":if(!v){let N="The ¤ pattern requires a currency";y(new L("¤",N));break}switch(f.unit={style:"currency",currency:v},I.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+=I.str);break}return k}function Uo(p,f){let v=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=_.str);break}return y}function Go(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N=>{throw N},{tokens:y,negative:_}=kt(p,v),E=jn(y.number,v),k=Cr(y.prefix,E,f,v,!0),I=Cr(y.suffix,E,f,v,!1);if(_){let N=Uo(_.prefix,!0),F=Uo(_.suffix,!1);E.affix={pos:[k,I],neg:[N,F]},E.sign="sign-never"}else(k||I)&&(E.affix={pos:[k,I]});return E}function h7(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 pp(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=p.split("-",1);return f.indexOf(v)!==-1}let mp={"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},fp={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function p7(p){return p in mp}function m7(p){return p in fp}function f7(p,f,v){if(p7(p)){let y=mp[p];if(f.length>y){if(y===0)for(let _ of f)v(new vt(p,_));else v(new j(p,f,y));return!1}else if(m7(p)&&f.length<fp[p])return v(new ge(p)),!1}return!0}function au(p,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(v);if(y){let _=y[1].length;switch(y[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+y[2].length}}}return null}function g7(p,f,v){let y=au(p,"fraction");if(y){f.length>1&&v(new j(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let k=f[0],I=au(k,"significant");return I?(E.source=`${p}/${k}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):k&&v(new vt(p,k)),E}let _=au(p,"significant");if(_){for(let k of f)v(new vt(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class v7{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new vt(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new H(f,v))}parseToken(f,v){if(!f7(f,v,this.onError))return;let y=v[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 v)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 I=v.join("/");_.notation=E&&k?{style:f,source:I,expDigits:E,expSign:k}:E?{style:f,source:I,expDigits:E}:k?{style:f,source:I,expSign:k}:{style:f,source:I};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{pp(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{pp(y)?(this.assertEmpty("unitPer"),_.unitPer=y):this.badOption(f,y);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),_.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"),y==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(y);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,y);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),_.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(y))this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:y.length-1};else{let E=y.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:E[1].length,max:E[0].length}):this.badOption(f,y)}break}case"scale":{let E=Number(y);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,y);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":{h7(y)?(this.assertEmpty("numberingSystem"),_.numberingSystem=y):this.badOption(f,y);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),_.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let E=g7(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Z(f))}}}}function gp(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},v=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";v.push({stem:k,options:E})}let y=new v7(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function b7(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?gp(f.slice(2),y):Go(f,v,y));let _=G(p,f),E=Pe(f),k=Ft(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[N,F]=f.affix.pos,[J,ue]=f.affix.neg||["",""];return Ce=>{let W=I.format(k(Ce));return Ce<0?`${J}${W}${ue}`:`${N}${W}${F}`}}return N=>I.format(k(N))}function y7(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?gp(f.slice(2),y):Go(f,v,y));let _=G(p,f),E=Pe(f),k=Te(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],N="nf.format(value)";if(k&&(I.push(`var mod = ${k};`),N="nf.format(mod(value))"),f.affix){let[F,J]=f.affix.pos.map(ue=>JSON.stringify(ue));if(f.affix.neg){let[ue,Ce]=f.affix.neg.map(W=>JSON.stringify(W));N=`value < 0 ? ${ue} + ${N} + ${Ce} : ${F} + ${N} + ${J}`}else N=`${F} + ${N} + ${J}`}return I.push(`return function(value) { return ${N}; }`),I.join(`
|
|
3
|
+
})()`}class We extends Error{constructor(f,v){super(v),this.code=f}}class vt extends We{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Z extends We{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class H extends We{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class ge extends We{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends We{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends We{constructor(f,v,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${v.length})`),this.stem=f,this.options=v}}function G(p,f){let{numberingSystem:v}=f;return Array.isArray(p)||(p=[p]),v?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${v}`}).concat(p):p}function Se(p,f){let v=+p+f/2;return v-v%+f}function qe(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Ft(p){let f=qe(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>Se(y,v.increment)*f:y=>y*f}function Te(p){let f=qe(p),{precision:v}=p;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,_=`x - (x % +${v.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Pe(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:I,sign:N,unit:F,unitPer:J,unitWidth:ue}=p,Ce=(Ye,ct)=>{},W={};if(F)switch(F.style){case"base-unit":W.style="decimal";break;case"currency":W.style="currency",W.currency=F.currency;break;case"measure-unit":W.style="unit",W.unit=F.unit.replace(/.*-/,""),J&&(W.unit+="-per-"+J.replace(/.*-/,""));break;case"percent":W.style="percent";break}switch(ue){case"unit-width-full-name":W.currencyDisplay="name",W.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":W.currencyDisplay="code";break;case"unit-width-narrow":W.currencyDisplay="narrowSymbol",W.unitDisplay="narrow";break;case"unit-width-short":W.currencyDisplay="symbol",W.unitDisplay="short";break}switch(y){case"group-off":W.useGrouping=!1;break;case"group-auto":W.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":W.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:Ye,maxFraction:ct,minSignificant:Ct,maxSignificant:Ut,source:kn}=k;typeof Ye=="number"&&(W.minimumFractionDigits=Ye,typeof Ct=="number"&&Ce()),typeof ct=="number"&&(W.maximumFractionDigits=ct),typeof Ct=="number"&&(W.minimumSignificantDigits=Ct),typeof Ut=="number"&&(W.maximumSignificantDigits=Ut);break}case"precision-integer":W.maximumFractionDigits=0;break;case"precision-unlimited":W.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":W.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":Ce(k.style);break}if(E)switch(E.style){case"compact-short":W.notation="compact",W.compactDisplay="short";break;case"compact-long":W.notation="compact",W.compactDisplay="long";break;case"notation-simple":W.notation="standard";break;case"scientific":case"engineering":{let{expDigits:Ye,expSign:ct,source:Ct,style:Ut}=E;W.notation=Ut;break}}if(_){let{min:Ye,max:ct,source:Ct}=_;if(Ye>0&&(W.minimumIntegerDigits=Ye),Number(ct)>0){let Ut=W.notation==="engineering"||W.notation==="scientific";ct===3&&Ut?W.notation="engineering":Ce()}}switch(N){case"sign-auto":W.signDisplay="auto";break;case"sign-always":W.signDisplay="always";break;case"sign-except-zero":W.signDisplay="exceptZero";break;case"sign-never":W.signDisplay="never";break;case"sign-accounting":W.currencySign="accounting";break;case"sign-accounting-always":W.currencySign="accounting",W.signDisplay="always";break;case"sign-accounting-except-zero":W.currencySign="accounting",W.signDisplay="exceptZero";break}return W}function et(p,f,v){let y=p[f];switch(y){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:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return v(new L("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return v(new L("'",I)),{char:y,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=k}}}return null}let Sn=p=>p>="0"&&p<="9";function Ze(p,f){let v=p[f];if(Sn(v)){let y=v;for(;;){let _=p[++f];if(Sn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:v,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:v,expDigits:_,plus:y,width:E};break}case".":case",":return{char:v,width:1}}return null}function jt(p,f,v){let y;(function(F){F[F.Prefix=0]="Prefix",F[F.Number=1]="Number",F[F.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],k=[],I=y.Prefix,N="";for(;f<p.length;){let F=p[f];if(F===";"){f+=1;break}switch(I){case y.Prefix:{let J=et(p,f,v);if(J)N&&(_.push({char:"'",str:N,width:N.length}),N=""),_.push(J),f+=J.width;else{let ue=Ze(p,f);ue?(N&&(_.push({char:"'",str:N,width:N.length}),N=""),I=y.Number,E.push(ue),f+=ue.width):(N+=F,f+=1)}break}case y.Number:{let J=Ze(p,f);J?(E.push(J),f+=J.width):I=y.Suffix;break}case y.Suffix:{let J=et(p,f,v);J?(N&&(k.push({char:"'",str:N,width:N.length}),N=""),k.push(J),f+=J.width):(N+=F,f+=1);break}}}return N&&k.push({char:"'",str:N,width:N.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function kt(p,f){let{pattern:v,pos:y}=jt(p,0,f);if(y<p.length){let{pattern:_}=jt(p,y,f);return{tokens:v,negative:_}}return{tokens:v}}function jn(p,f){let v={},y=!1,_=!1,E=0,k="",I=-1,N="",F=0;for(let ue=0;ue<p.length;++ue){let Ce=p[ue];switch(Ce.char){case"#":{if(I===-1){if(k){let W="Pattern has # after integer digits";f(new L("#",W))}E+=Ce.width}else F+=Ce.width;break}case"0":{if(I===-1)k+=Ce.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new L("0",W))}N+=Ce.digits}break}case"@":{v.precision&&f(new H("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:Ce.min,maxSignificant:Ce.width};break}case",":y=!0;break;case".":if(I===1){let W="Pattern has more than one decimal separator";f(new L(".",W))}I=ue;break;case"E":{if(_&&f(new H("exponent",v.notation)),y){let W="Exponential patterns may not contain grouping separators";f(new L("E",W))}v.notation={style:"scientific"},Ce.expDigits>1&&(v.notation.expDigits=Ce.expDigits),Ce.plus&&(v.notation.expSign="sign-always"),_=!0}}}y?v.group="group-auto":E+k.length>3&&(v.group="group-off");let J=+`${k||"0"}.${N}`;if(J&&(v.precision={style:"precision-increment",increment:J}),!_)k.length>1&&(v.integerWidth={min:k.length}),!v.precision&&(N.length||F)&&(v.precision={style:"precision-fraction",minFraction:N.length,maxFraction:N.length+F});else if((!v.precision||J)&&(v.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),v.precision)J||(v.integerWidth={min:1,max:1});else{let ue=k.length+N.length;I===-1?ue>0&&(v.precision={style:"precision-fraction",maxSignificant:ue}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,ue)+F},ue>1&&(v.precision.minSignificant=ue))}return v}function Cr(p,f,v,y,_){let E=!1,k="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:k="";break;case"¤":if(!v){let N="The ¤ pattern requires a currency";y(new L("¤",N));break}switch(f.unit={style:"currency",currency:v},I.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+=I.str);break}return k}function Uo(p,f){let v=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=_.str);break}return y}function Go(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N=>{throw N},{tokens:y,negative:_}=kt(p,v),E=jn(y.number,v),k=Cr(y.prefix,E,f,v,!0),I=Cr(y.suffix,E,f,v,!1);if(_){let N=Uo(_.prefix,!0),F=Uo(_.suffix,!1);E.affix={pos:[k,I],neg:[N,F]},E.sign="sign-never"}else(k||I)&&(E.affix={pos:[k,I]});return E}function hH(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 pp(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=p.split("-",1);return f.indexOf(v)!==-1}let mp={"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},fp={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function pH(p){return p in mp}function mH(p){return p in fp}function fH(p,f,v){if(pH(p)){let y=mp[p];if(f.length>y){if(y===0)for(let _ of f)v(new vt(p,_));else v(new j(p,f,y));return!1}else if(mH(p)&&f.length<fp[p])return v(new ge(p)),!1}return!0}function au(p,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(v);if(y){let _=y[1].length;switch(y[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+y[2].length}}}return null}function gH(p,f,v){let y=au(p,"fraction");if(y){f.length>1&&v(new j(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let k=f[0],I=au(k,"significant");return I?(E.source=`${p}/${k}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):k&&v(new vt(p,k)),E}let _=au(p,"significant");if(_){for(let k of f)v(new vt(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class vH{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new vt(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new H(f,v))}parseToken(f,v){if(!fH(f,v,this.onError))return;let y=v[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 v)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 I=v.join("/");_.notation=E&&k?{style:f,source:I,expDigits:E,expSign:k}:E?{style:f,source:I,expDigits:E}:k?{style:f,source:I,expSign:k}:{style:f,source:I};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{pp(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{pp(y)?(this.assertEmpty("unitPer"),_.unitPer=y):this.badOption(f,y);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),_.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"),y==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(y);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,y);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),_.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(y))this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:y.length-1};else{let E=y.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:E[1].length,max:E[0].length}):this.badOption(f,y)}break}case"scale":{let E=Number(y);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,y);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":{hH(y)?(this.assertEmpty("numberingSystem"),_.numberingSystem=y):this.badOption(f,y);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),_.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let E=gH(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Z(f))}}}}function gp(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},v=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";v.push({stem:k,options:E})}let y=new vH(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function bH(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?gp(f.slice(2),y):Go(f,v,y));let _=G(p,f),E=Pe(f),k=Ft(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[N,F]=f.affix.pos,[J,ue]=f.affix.neg||["",""];return Ce=>{let W=I.format(k(Ce));return Ce<0?`${J}${W}${ue}`:`${N}${W}${F}`}}return N=>I.format(k(N))}function yH(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?gp(f.slice(2),y):Go(f,v,y));let _=G(p,f),E=Pe(f),k=Te(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],N="nf.format(value)";if(k&&(I.push(`var mod = ${k};`),N="nf.format(mod(value))"),f.affix){let[F,J]=f.affix.pos.map(ue=>JSON.stringify(ue));if(f.affix.neg){let[ue,Ce]=f.affix.neg.map(W=>JSON.stringify(W));N=`value < 0 ? ${ue} + ${N} + ${Ce} : ${F} + ${N} + ${J}`}else N=`${F} + ${N} + ${J}`}return I.push(`return function(value) { return ${N}; }`),I.join(`
|
|
4
4
|
`)+`
|
|
5
|
-
})()`}var iu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function
|
|
5
|
+
})()`}var iu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _H(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var Di={},vp={},bp={exports:{}};(function(p){(function(f,v){p.exports?p.exports=v():f.moo=v()})(iu,function(){var f=Object.prototype.hasOwnProperty,v=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&v.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(M){var B=new RegExp("|"+M);return B.exec("").length-1}function N(M){return"("+M+")"}function F(M){if(!M.length)return"(?!)";var B=M.map(function(X){return"(?:"+X+")"}).join("|");return"(?:"+B+")"}function J(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 ue(M,B){return M.length>B?M:Array(B-M.length+1).join(" ")+M}function Ce(M,B){for(var X=M.length,ee=0;;){var fe=M.lastIndexOf(`
|
|
6
6
|
`,X-1);if(fe===-1||(ee++,X=fe,ee===B)||X===0)break}var le=ee<B?0:X+1;return M.substring(le).split(`
|
|
7
7
|
`)}function W(M){for(var B=Object.getOwnPropertyNames(M),X=[],ee=0;ee<B.length;ee++){var fe=B[ee],le=M[fe],Ne=[].concat(le);if(fe==="include"){for(var Je=0;Je<Ne.length;Je++)X.push({include:Ne[Je]});continue}var Ve=[];Ne.forEach(function(he){E(he)?(Ve.length&&X.push(ct(fe,Ve)),X.push(ct(fe,he)),Ve=[]):Ve.push(he)}),Ve.length&&X.push(ct(fe,Ve))}return X}function Ye(M){for(var B=[],X=0;X<M.length;X++){var ee=M[X];if(ee.include){for(var fe=[].concat(ee.include),le=0;le<fe.length;le++)B.push({include:fe[le]});continue}if(!ee.type)throw new Error("Rule has no type: "+JSON.stringify(ee));B.push(ct(ee.type,ee))}return B}function ct(M,B){if(E(B)||(B={match:B}),B.include)throw new Error("Matching rules cannot also include states");var X={defaultType:M,lineBreaks:!!B.error||!!B.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ee in B)f.call(B,ee)&&(X[ee]=B[ee]);if(typeof X.type=="string"&&M!==X.type)throw new Error("Type transform cannot be a string (type '"+X.type+"' for token '"+M+"')");var fe=X.match;return X.match=Array.isArray(fe)?fe:fe?[fe]:[],X.match.sort(function(le,Ne){return _(le)&&_(Ne)?0:_(Ne)?-1:_(le)?1:Ne.length-le.length}),X}function Ct(M){return Array.isArray(M)?Ye(M):W(M)}var Ut=ct("error",{lineBreaks:!0,shouldThrow:!0});function kn(M,B){for(var X=null,ee=Object.create(null),fe=!0,le=null,Ne=[],Je=[],Ve=0;Ve<M.length;Ve++)M[Ve].fallback&&(fe=!1);for(var Ve=0;Ve<M.length;Ve++){var he=M[Ve];if(he.include)throw new Error("Inheritance is not allowed in stateless lexers");if(he.error||he.fallback){if(X)throw!he.fallback==!X.fallback?new Error("Multiple "+(he.fallback?"fallback":"error")+" rules not allowed (for token '"+he.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+he.defaultType+"')");X=he}var bt=he.match.slice();if(fe)for(;bt.length&&typeof bt[0]=="string"&&bt[0].length===1;){var Ca=bt.shift();ee[Ca.charCodeAt(0)]=he}if(he.pop||he.push||he.next){if(!B)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+he.defaultType+"')");if(he.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+he.defaultType+"')")}if(bt.length!==0){fe=!1,Ne.push(he);for(var Bn=0;Bn<bt.length;Bn++){var Zr=bt[Bn];if(_(Zr)){if(le===null)le=Zr.unicode;else if(le!==Zr.unicode&&he.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Ia=F(bt.map(J)),Cn=new RegExp(Ia);if(Cn.test(""))throw new Error("RegExp matches empty string: "+Cn);var Ni=I(Ia);if(Ni>0)throw new Error("RegExp has capture groups: "+Cn+`
|
|
8
8
|
Use (?: … ) instead`);if(!he.lineBreaks&&Cn.test(`
|
|
9
|
-
`))throw new Error("Rule should declare lineBreaks: "+Cn);Je.push(N(Ia))}}var Da=X&&X.fallback,Oi=y&&!Da?"ym":"gm",Jo=y||Da?"":"|";le===!0&&(Oi+="u");var
|
|
9
|
+
`))throw new Error("Rule should declare lineBreaks: "+Cn);Je.push(N(Ia))}}var Da=X&&X.fallback,Oi=y&&!Da?"ym":"gm",Jo=y||Da?"":"|";le===!0&&(Oi+="u");var JH=new RegExp(F(Je)+Jo,Oi);return{regexp:JH,groups:Ne,fast:ee,error:X||Ut}}function Dr(M){var B=kn(Ct(M));return new at({start:B},"start")}function sr(M,B,X){var ee=M&&(M.push||M.next);if(ee&&!X[ee])throw new Error("Missing state '"+ee+"' (in token '"+M.defaultType+"' of state '"+B+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+B+"')")}function lr(M,B){var X=M.$all?Ct(M.$all):[];delete M.$all;var ee=Object.getOwnPropertyNames(M);B||(B=ee[0]);for(var fe=Object.create(null),le=0;le<ee.length;le++){var Ne=ee[le];fe[Ne]=Ct(M[Ne]).concat(X)}for(var le=0;le<ee.length;le++)for(var Ne=ee[le],Je=fe[Ne],Ve=Object.create(null),he=0;he<Je.length;he++){var bt=Je[he];if(bt.include){var Ca=[he,1];if(bt.include!==Ne&&!Ve[bt.include]){Ve[bt.include]=!0;var Bn=fe[bt.include];if(!Bn)throw new Error("Cannot include nonexistent state '"+bt.include+"' (in state '"+Ne+"')");for(var Zr=0;Zr<Bn.length;Zr++){var Ia=Bn[Zr];Je.indexOf(Ia)===-1&&Ca.push(Ia)}}Je.splice.apply(Je,Ca),he--}}for(var Cn=Object.create(null),le=0;le<ee.length;le++){var Ne=ee[le];Cn[Ne]=kn(fe[Ne],!0)}for(var le=0;le<ee.length;le++){for(var Ni=ee[le],Da=Cn[Ni],Oi=Da.groups,he=0;he<Oi.length;he++)sr(Oi[he],Ni,Cn);for(var Jo=Object.getOwnPropertyNames(Da.fast),he=0;he<Jo.length;he++)sr(Da.fast[Jo[he]],Ni,Cn)}return new at(Cn,B)}function ur(M){for(var B=typeof Map<"u",X=B?new Map:Object.create(null),ee=Object.getOwnPropertyNames(M),fe=0;fe<ee.length;fe++){var le=ee[fe],Ne=M[le],Je=Array.isArray(Ne)?Ne:[Ne];Je.forEach(function(Ve){if(typeof Ve!="string")throw new Error("keyword must be string (in keyword '"+le+"')");B?X.set(Ve,le):X[Ve]=le})}return function(Ve){return B?X.get(Ve):X[Ve]}}var at=function(M,B){this.startState=B,this.states=M,this.buffer="",this.stack=[],this.reset()};at.prototype.reset=function(M,B){return this.buffer=M||"",this.index=0,this.line=B?B.line:1,this.col=B?B.col:1,this.queuedToken=B?B.queuedToken:null,this.queuedText=B?B.queuedText:"",this.queuedThrow=B?B.queuedThrow:null,this.setState(B?B.state:this.startState),this.stack=B&&B.stack?B.stack.slice():[],this},at.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}},at.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var B=this.states[M];this.groups=B.groups,this.error=B.error,this.re=B.regexp,this.fast=B.fast}},at.prototype.popState=function(){this.setState(this.stack.pop())},at.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Qo=y?function(M,B){return M.exec(B)}:function(M,B){var X=M.exec(B);return X[0].length===0?null:X};at.prototype._getGroup=function(M){for(var B=this.groups.length,X=0;X<B;X++)if(M[X+1]!==void 0)return this.groups[X];throw new Error("Cannot find token type for matched text")};function Xo(){return this.value}if(at.prototype.next=function(){var M=this.index;if(this.queuedGroup){var B=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",B}var X=this.buffer;if(M!==X.length){var Ne=this.fast[X.charCodeAt(M)];if(Ne)return this._token(Ne,X.charAt(M),M);var ee=this.re;ee.lastIndex=M;var fe=Qo(ee,X),le=this.error;if(fe==null)return this._token(le,X.slice(M,X.length),M);var Ne=this._getGroup(fe),Je=fe[0];return le.fallback&&fe.index!==M?(this.queuedGroup=Ne,this.queuedText=Je,this._token(le,X.slice(M,fe.index),M)):this._token(Ne,Je,M)}},at.prototype._token=function(M,B,X){var ee=0;if(M.lineBreaks){var fe=/\n/g,le=1;if(B===`
|
|
10
10
|
`)ee=1;else for(;fe.exec(B);)ee++,le=fe.lastIndex}var Ne={type:typeof M.type=="function"&&M.type(B)||M.defaultType,value:typeof M.value=="function"?M.value(B):B,text:B,toString:Xo,offset:X,lineBreaks:ee,line:this.line,col:this.col},Je=B.length;if(this.index+=Je,this.line+=ee,ee!==0?this.col=Je-le+1:this.col+=Je,M.shouldThrow){var Ve=new Error(this.formatError(Ne,"invalid syntax"));throw Ve}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ne},typeof Symbol<"u"&&Symbol.iterator){var cr=function(M){this.lexer=M};cr.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},cr.prototype[Symbol.iterator]=function(){return this},at.prototype[Symbol.iterator]=function(){return new cr(this)}}return at.prototype.formatError=function(ee,B){if(ee==null)var X=this.buffer.slice(this.index),ee={text:X,offset:this.index,lineBreaks:X.indexOf(`
|
|
11
11
|
`)===-1?0:1,line:this.line,col:this.col};var fe=2,le=Math.max(ee.line-fe,1),Ne=ee.line+fe,Je=String(Ne).length,Ve=Ce(this.buffer,this.line-ee.line+fe+1).slice(0,5),he=[];he.push(B+" at line "+ee.line+" col "+ee.col+":"),he.push("");for(var bt=0;bt<Ve.length;bt++){var Ca=Ve[bt],Bn=le+bt;he.push(ue(String(Bn),Je)+" "+Ca),Bn===ee.line&&he.push(ue("",Je+ee.col+1)+"^")}return he.join(`
|
|
12
|
-
`)},at.prototype.clone=function(){return new at(this.states,this.state)},at.prototype.has=function(M){return!0},{compile:Dr,states:lr,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ur}})})(bp);var w7=bp.exports;(function(p){var f=iu&&iu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let v=f(w7);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=v.default.states(p.states)})(vp),Object.defineProperty(Di,"__esModule",{value:!0});var yp=Di.parse=Di.ParseError=void 0;let _p=vp,Wo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),ou=p=>p==="plural"||p==="select"||p==="selectordinal";function x7(p,f){let v="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":v+=_.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new Dt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let E7=["number","date","time","spellout","ordinal","duration"],wp=["zero","one","two","few","many","other"];class Dt extends Error{constructor(f,v){super(_p.lexer.formatError(f,v))}}Di.ParseError=Dt;class S7{constructor(f,v){var y,_,E,k;this.lexer=_p.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:wp,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:wp,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=v==null?void 0:v.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new Dt(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let _=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new Dt(f,E)}}}parseSelect(f,v,y,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?v=!0:this.strict&&(v=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Dt(I,"Unexpected plural offset for select");if(k.cases.length>0)throw new Dt(I,"Plural offset must be set before cases");k.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),k.cases.push({key:I.value,tokens:this.parseBody(v),ctx:Wo(I)});break}case"end":return k;default:throw new Dt(I,`Unexpected lexer token: ${I.type}`)}throw new Dt(null,"Unexpected message end")}parseArgToken(f,v){let y=Wo(f),_=this.lexer.next();if(!_)throw new Dt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!E7.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Dt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new Dt(null,"Unexpected message end");if(E.type!=="end")throw new Dt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,ou(_.value.toLowerCase()))throw new Dt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(ou(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Dt(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=x7(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(ou(_.value))return this.parseSelect(f,v,y,_.value);throw new Dt(_,`Unexpected select type ${_.value}`);default:throw new Dt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,v){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:Wo(E)});else{if(E.type==="end"&&!v)return y;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let I=`Unsupported escape pattern: ${k}`;throw new Dt(E,I)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Wo(E)},y.push(_))}}if(v)return y;throw new Dt(null,"Unexpected message end")}}function k7(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new S7(p,f).parse()}yp=Di.parse=k7;function Ti(p){return Ti[p]||(Ti[p]=new Intl.NumberFormat(p))}function C7(p,f,v){return Ti(p).format(f-v)}function I7(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Ti(p).format(_)}function D7(p,f,v,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=v(p,_);return E in y?y[E]:y.other}function T7(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function N7(p,f){for(var v=0;v<p.length;++v)if(!f||f[p[v]]===void 0)throw new Error("Message requires argument '".concat(p[v],"'"))}var O7=Object.freeze({__proto__:null,_nf:Ti,number:C7,plural:D7,reqArgs:N7,select:T7,strictNumber:I7});function M7(p,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function P7(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 v=p%60,y=[Math.round(v)===v?v:v.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var su={};function Zo(p,f){var v=String(p)+JSON.stringify(f);return su[v]||(su[v]=new Intl.NumberFormat(p,f)),su[v]}function R7(p,f,v,y){var _=v&&v.split(":")||[],E=_[0],k=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return Zo(f,I[E]||{}).format(p)}var A7=function(p,f,v){return Zo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},L7=function(p,f){return Zo(f,{maximumFractionDigits:0}).format(p)},F7=function(p,f){return Zo(f,{style:"percent"}).format(p)};function j7(p,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var lu=Object.freeze({__proto__:null,date:M7,duration:P7,numberCurrency:A7,numberFmt:R7,numberInteger:L7,numberPercent:F7,time:j7}),V7={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}},uu=_7(V7);function z7(p){let f=0;for(let v=0;v<p.length;++v){let y=p.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function Ir(p,f){f&&(p+=" "+z7(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return uu.ES3[v]||uu.ESnext[v]||/^\d/.test(v)?"_"+v:v}function cu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!uu.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var B7=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],H7=new RegExp("^"+B7.join("|^"));function q7(p,f){var v=H7.test(f),y=JSON.stringify(v?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var $7="@messageformat/runtime",U7="@messageformat/runtime/lib/cardinals",xp="@messageformat/runtime/lib/plurals",G7="@messageformat/runtime/lib/formatters",W7=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,v,y){var _,E,k=this,I=this.options,N=I.localeCodeFromKey,F=I.requireAllArguments,J=I.strict,ue=I.strictPluralKeys;if(typeof f=="object"){var Ce={};try{for(var W=n(Object.keys(f)),Ye=W.next();!Ye.done;Ye=W.next()){var ct=Ye.value,Ct=N?N(ct):ct,Ut=y&&Ct&&y[Ct]||v;Ce[ct]=this.compile(f[ct],Ut,y)}}catch(at){_={error:at}}finally{try{Ye&&!Ye.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return Ce}this.plural=v;var kn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ue};this.arguments=[];var Dr=yp(f,kn).map(function(at){return k.token(at,null)}),sr=this.arguments.length>0,lr=this.concatenate(Dr,!0);if(F&&sr){this.setRuntimeFn("reqArgs");var ur=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(ur,", d); return ").concat(lr,"; }")}return"(".concat(sr?"d":"",") => ").concat(lr)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ue=J.key,Ce=J.tokens;ue==="other"&&(_=!1);var W=Ce.map(function(Ye){return y.token(Ye,v)});return"".concat(cu(null,ue.replace(/^=/,"")),": ").concat(y.concatenate(W,!1))});if(_){var k=f.type,I=this.plural,N=I.cardinals,F=I.ordinals;if(k==="select"||k==="plural"&&N.includes("other")||k==="selectordinal"&&F.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,k,I;switch("arg"in f?(this.arguments.push(f.arg),k=[cu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?q7(String(k[0]),E):String(k[0]);case"select":I="select",v&&this.options.strict&&(v=null),k.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="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],F=N&&"module"in N&&typeof N.module=="function";if(!N){if(f.key==="date"){I=this.setDateFormatter(f,k,v);break}else if(f.key==="number"){I=this.setNumberFormatter(f,k,v);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var J=this.getFormatterArg(f,v);J&&k.push(J)}I=F?Ir("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!v)return'"#"';k=[JSON.stringify(this.plural.locale),cu("d",v.arg),v.pluralOffset||0],this.options.strict?(I="strictNumber",k.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,v){if(Ir(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},p.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,I=_.isDefault,N,F,J;if(!v&&I&&E){if(y)return;N=function(ue){return E(ue)},F=U7,J=function(){return String(E)}}else{if(y&&(!I||y.module===xp))return;N=function(ue,Ce){return k(ue,Ce)},F=I?xp:k.module||null,J=function(){return String(k)}}this.runtime[f]=Object.assign(N,{id:f,module:F,toString:J,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(O7[f],{id:f,module:$7,type:"runtime"}))},p.prototype.getFormatterArg=function(f,v){var y,_,E,k,I=this,N=f.key,F=f.param,J=this.options.customFormatters[N]||Ep(N)&&lu[N];if(!J||!F)return null;var ue="arg"in J&&J.arg||"string";if(ue==="options"){var Ce="";try{for(var W=n(F),Ye=W.next();!Ye.done;Ye=W.next()){var ct=Ye.value;if(ct.type==="content")Ce+=ct.value;else throw new SyntaxError("Expected literal options for ".concat(N," formatter"))}}catch(cr){y={error:cr}}finally{try{Ye&&!Ye.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var Ct={};try{for(var Ut=n(Ce.split(",")),kn=Ut.next();!kn.done;kn=Ut.next()){var Dr=kn.value,sr=Dr.indexOf(":");if(sr===-1)Ct[Dr.trim()]=null;else{var lr=Dr.substring(0,sr).trim(),ur=Dr.substring(sr+1).trim();if(ur==="true")Ct[lr]=!0;else if(ur==="false")Ct[lr]=!1;else if(ur==="null")Ct[lr]=null;else{var at=Number(ur);Ct[lr]=Number.isFinite(at)?at:ur}}}}catch(cr){E={error:cr}}finally{try{kn&&!kn.done&&(k=Ut.return)&&k.call(Ut)}finally{if(E)throw E.error}}return JSON.stringify(Ct)}else{var Qo=F.map(function(cr){return I.token(cr,v)});if(ue==="raw")return"[".concat(Qo.join(", "),"]");var Xo=Qo.join(" + ");return Xo?"(".concat(Xo,").trim()"):'""'}},p.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ir(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Ep(f))this.runtime[f]=Object.assign(lu[f],{type:"formatter"},{id:f,module:G7});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var N=I.value.trim().substr(2),F=Ir("date_".concat(k,"_").concat(N),!0);if(!this.runtimeIncludes(F,"formatter")){var J=St(k,N,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return ut(k,N,_.options.timeZone)},type:"formatter"})}return F}if(v.push(JSON.stringify(k)),E&&E.length>0){y&&this.options.strict&&(y=null);var ue=E.map(function(Ce){return _.token(Ce,y)});v.push("("+(ue.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(k)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var N=I.match(/^currency:([A-Z]+)$/);if(N)return v.push(JSON.stringify(N[1])),this.setFormatter("numberCurrency"),"numberCurrency";var F=Ir("number_".concat(k,"_").concat(I),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ue=b7(k,I,J);this.runtime[F]=Object.assign(ue,{id:null,module:null,toString:function(){return y7(k,I,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var Ce=E.map(function(W){return _.token(W,y)});return v.push("("+(Ce.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function Ep(p){return p in lu}let z=p=>p==1?"one":"other",nr=p=>p==0||p==1?"one":"other",Vn=p=>p>=0&&p<=1?"one":"other",Ot=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Oe=p=>"other",rr=p=>p==1?"one":p==2?"two":"other";var Z7=Object.freeze({__proto__:null,af:z,ak:nr,am:Vn,an:z,ar:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Vn,asa:z,ast:Ot,az:z,bal:z,be:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":v&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:z,bez:z,bg:z,bho:nr,bm:Oe,bn:Vn,bo:Oe,br:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&v&&E==0?"many":"other"},brx:z,bs:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},ca:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},ce:z,ceb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:z,chr:z,ckb:z,cs:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"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("."),v=f[0],y=Number(f[0])==p;return p==1||!y&&(v==0||v==1)?"one":"other"},de:Ot,doi:Vn,dsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:z,dz:Oe,ee:z,el:z,en:Ot,eo:z,es:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1?"one":v!=0&&_==0&&y?"many":"other"},et:Ot,eu:z,fa:Vn,ff:p=>p>=0&&p<2?"one":"other",fi:Ot,fil:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:z,fr:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p>=0&&p<2?"one":v!=0&&_==0&&y?"many":"other"},fur:z,fy:Ot,ga:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1?"one":p==2?"two":v&&p>=3&&p<=6?"few":v&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":v&&p>=3&&p<=10||v&&p>=13&&p<=19?"few":"other"},gl:Ot,gsw:z,gu:Vn,guw:nr,gv:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:z,haw:z,he:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Vn,hnj:Oe,hr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:z,hy:p=>p>=0&&p<2?"one":"other",ia:Ot,id:Oe,ig:Oe,ii:Oe,io:Ot,is:p=>{let f=String(p).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=v.slice(-1),k=v.slice(-2);return _&&E==1&&k!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},iu:rr,ja:Oe,jbo:Oe,jgo:z,jmc:z,jv:Oe,jw:Oe,ka:z,kab:p=>p>=0&&p<2?"one":"other",kaj:z,kcg:z,kde:Oe,kea:Oe,kk:z,kkj:z,kl:z,km:Oe,kn:Vn,ko:Oe,ks:z,ksb:z,ksh:p=>p==0?"zero":p==1?"one":"other",ku:z,kw:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2),_=v&&f[0].slice(-3),E=v&&f[0].slice(-5),k=v&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||v&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:z,lag:p=>{let f=String(p).split("."),v=f[0];return p==0?"zero":(v==0||v==1)&&p!=0?"one":"other"},lb:z,lg:z,lij:Ot,lkt:Oe,ln:nr,lo:Oe,lt:p=>{let f=String(p).split("."),v=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),I=v.slice(-2),N=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&I>=11&&I<=19?"zero":E==1&&k!=11||y==2&&N==1&&I!=11||y!=2&&N==1?"one":"other"},mas:z,mg:nr,mgo:z,mk:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":"other"},ml:z,mn:z,mo:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:z,ms:Oe,mt:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Oe,nah:z,naq:rr,nb:z,nd:z,ne:z,nl:Ot,nn:z,nnh:z,no:z,nqo:Oe,nr:z,nso:nr,ny:z,nyn:z,om:z,or:z,os:z,osa:Oe,pa:nr,pap:z,pcm:Vn,pl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&v!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),I=v.slice(-2),N=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&I>=11&&I<=19?"zero":E==1&&k!=11||y==2&&N==1&&I!=11||y!=2&&N==1?"one":"other"},ps:z,pt:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return v==0||v==1?"one":v!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},rm:z,ro:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:z,ru:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:z,sah:Oe,saq:z,sat:rr,sc:Ot,scn:Ot,sd:z,sdh:z,se:rr,seh:z,ses:Oe,sg:Oe,sh:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},shi:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p>=0&&p<=1?"one":v&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"";return p==0||p==1||v==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:rr,smi:rr,smj:rr,smn:rr,sms:rr,sn:z,so:z,sq:z,sr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},ss:z,ssy:z,st:z,su:Oe,sv:Ot,sw:Ot,syr:z,ta:z,te:z,teo:z,th:Oe,ti:nr,tig:z,tk:z,tl:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:z,to:Oe,tpi:Oe,tr:z,ts:z,tzm:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==0||p==1||v&&p>=11&&p<=99?"one":"other"},ug:z,uk:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Oe,ur:Ot,uz:z,ve:z,vec:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},vi:Oe,vo:z,vun:z,wa:nr,wae:z,wo:Oe,xh:z,xog:z,yi:Ot,yo:Oe,yue:Oe,zh:Oe,zu:Vn});let ar="zero",q="one",Xe="two",ve="few",_e="many",P="other",A={cardinal:[q,P],ordinal:[P]},Wr={cardinal:[q,P],ordinal:[q,P]},Re={cardinal:[P],ordinal:[P]},zn={cardinal:[q,Xe,P],ordinal:[P]};var Sp=Object.freeze({__proto__:null,af:A,ak:A,am:A,an:A,ar:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[P]},ars:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[P]},as:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},asa:A,ast:A,az:{cardinal:[q,P],ordinal:[q,ve,_e,P]},bal:Wr,be:{cardinal:[q,ve,_e,P],ordinal:[ve,P]},bem:A,bez:A,bg:A,bho:A,bm:Re,bn:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},bo:Re,br:{cardinal:[q,Xe,ve,_e,P],ordinal:[P]},brx:A,bs:{cardinal:[q,ve,P],ordinal:[P]},ca:{cardinal:[q,_e,P],ordinal:[q,Xe,ve,P]},ce:A,ceb:A,cgg:A,chr:A,ckb:A,cs:{cardinal:[q,ve,_e,P],ordinal:[P]},cy:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[ar,q,Xe,ve,_e,P]},da:A,de:A,doi:A,dsb:{cardinal:[q,Xe,ve,P],ordinal:[P]},dv:A,dz:Re,ee:A,el:A,en:{cardinal:[q,P],ordinal:[q,Xe,ve,P]},eo:A,es:{cardinal:[q,_e,P],ordinal:[P]},et:A,eu:A,fa:A,ff:A,fi:A,fil:Wr,fo:A,fr:{cardinal:[q,_e,P],ordinal:[q,P]},fur:A,fy:A,ga:{cardinal:[q,Xe,ve,_e,P],ordinal:[q,P]},gd:{cardinal:[q,Xe,ve,P],ordinal:[q,Xe,ve,P]},gl:A,gsw:A,gu:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},guw:A,gv:{cardinal:[q,Xe,ve,_e,P],ordinal:[P]},ha:A,haw:A,he:zn,hi:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},hnj:Re,hr:{cardinal:[q,ve,P],ordinal:[P]},hsb:{cardinal:[q,Xe,ve,P],ordinal:[P]},hu:Wr,hy:Wr,ia:A,id:Re,ig:Re,ii:Re,io:A,is:A,it:{cardinal:[q,_e,P],ordinal:[_e,P]},iu:zn,ja:Re,jbo:Re,jgo:A,jmc:A,jv:Re,jw:Re,ka:{cardinal:[q,P],ordinal:[q,_e,P]},kab:A,kaj:A,kcg:A,kde:Re,kea:Re,kk:{cardinal:[q,P],ordinal:[_e,P]},kkj:A,kl:A,km:Re,kn:A,ko:Re,ks:A,ksb:A,ksh:{cardinal:[ar,q,P],ordinal:[P]},ku:A,kw:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[q,_e,P]},ky:A,lag:{cardinal:[ar,q,P],ordinal:[P]},lb:A,lg:A,lij:{cardinal:[q,P],ordinal:[_e,P]},lkt:Re,ln:A,lo:{cardinal:[P],ordinal:[q,P]},lt:{cardinal:[q,ve,_e,P],ordinal:[P]},lv:{cardinal:[ar,q,P],ordinal:[P]},mas:A,mg:A,mgo:A,mk:{cardinal:[q,P],ordinal:[q,Xe,_e,P]},ml:A,mn:A,mo:{cardinal:[q,ve,P],ordinal:[q,P]},mr:{cardinal:[q,P],ordinal:[q,Xe,ve,P]},ms:{cardinal:[P],ordinal:[q,P]},mt:{cardinal:[q,Xe,ve,_e,P],ordinal:[P]},my:Re,nah:A,naq:zn,nb:A,nd:A,ne:Wr,nl:A,nn:A,nnh:A,no:A,nqo:Re,nr:A,nso:A,ny:A,nyn:A,om:A,or:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},os:A,osa:Re,pa:A,pap:A,pcm:A,pl:{cardinal:[q,ve,_e,P],ordinal:[P]},prg:{cardinal:[ar,q,P],ordinal:[P]},ps:A,pt:{cardinal:[q,_e,P],ordinal:[P]},pt_PT:{cardinal:[q,_e,P],ordinal:[P]},rm:A,ro:{cardinal:[q,ve,P],ordinal:[q,P]},rof:A,ru:{cardinal:[q,ve,_e,P],ordinal:[P]},rwk:A,sah:Re,saq:A,sat:zn,sc:{cardinal:[q,P],ordinal:[_e,P]},scn:{cardinal:[q,P],ordinal:[_e,P]},sd:A,sdh:A,se:zn,seh:A,ses:Re,sg:Re,sh:{cardinal:[q,ve,P],ordinal:[P]},shi:{cardinal:[q,ve,P],ordinal:[P]},si:A,sk:{cardinal:[q,ve,_e,P],ordinal:[P]},sl:{cardinal:[q,Xe,ve,P],ordinal:[P]},sma:zn,smi:zn,smj:zn,smn:zn,sms:zn,sn:A,so:A,sq:{cardinal:[q,P],ordinal:[q,_e,P]},sr:{cardinal:[q,ve,P],ordinal:[P]},ss:A,ssy:A,st:A,su:Re,sv:Wr,sw:A,syr:A,ta:A,te:A,teo:A,th:Re,ti:A,tig:A,tk:{cardinal:[q,P],ordinal:[ve,P]},tl:Wr,tn:A,to:Re,tpi:Re,tr:A,ts:A,tzm:A,ug:A,uk:{cardinal:[q,ve,_e,P],ordinal:[ve,P]},und:Re,ur:A,uz:A,ve:A,vec:{cardinal:[q,_e,P],ordinal:[_e,P]},vi:{cardinal:[P],ordinal:[q,P]},vo:A,vun:A,wa:A,wae:A,wo:Re,xh:A,xog:A,yi:A,yo:Re,yue:Re,zh:Re,zu:A});let $=(p,f)=>f?"other":p==1?"one":"other",ir=(p,f)=>f?"other":p==0||p==1?"one":"other",ka=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",mn=(p,f)=>{let v=String(p).split("."),y=!v[1];return f?"other":p==1&&y?"one":"other"},Ae=(p,f)=>"other",or=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Yo=Object.freeze({__proto__:null,af:$,ak:ir,am:ka,an:$,ar:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[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 v=String(p).split("."),y=Number(v[0])==p,_=y&&v[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:$,ast:mn,az:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-1),E=y.slice(-2),k=y.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":y==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 v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:$,bez:$,bg:$,bho:ir,bm:Ae,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:Ae,br:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2),k=y&&v[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&&y&&k==0?"many":"other"},brx:$,bs:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},ca:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:$,ceb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:$,chr:$,ckb:$,cs:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=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 v=String(p).split("."),y=v[0],_=Number(v[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:mn,doi:ka,dsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),I=_.slice(-2);return f?"other":E&&k==1||I==1?"one":E&&k==2||I==2?"two":E&&(k==3||k==4)||I==3||I==4?"few":"other"},dv:$,dz:Ae,ee:$,el:$,en:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&y?"one":"other"},eo:$,es:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:mn,eu:$,fa:ka,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:mn,fil:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:$,fr:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:$,fy:mn,ga:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let v=String(p).split("."),y=Number(v[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":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:mn,gsw:$,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:ir,gv:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.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:$,haw:$,he:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":y==1&&_||y==0&&!_?"one":y==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:Ae,hr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},hsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),I=_.slice(-2);return f?"other":E&&k==1||I==1?"one":E&&k==2||I==2?"two":E&&(k==3||k==4)||I==3||I==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:mn,id:Ae,ig:Ae,ii:Ae,io:mn,is:(p,f)=>{let v=String(p).split("."),y=v[0],_=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==p,k=y.slice(-1),I=y.slice(-2);return f?"other":E&&k==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:or,ja:Ae,jbo:Ae,jgo:$,jmc:$,jv:Ae,jw:Ae,ka:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:$,kcg:$,kde:Ae,kea:Ae,kk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:$,kl:$,km:Ae,kn:ka,ko:Ae,ks:$,ksb:$,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:$,kw:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2),E=y&&v[0].slice(-3),k=y&&v[0].slice(-5),I=y&&v[0].slice(-6);return f?y&&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||y&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:$,lag:(p,f)=>{let v=String(p).split("."),y=v[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:$,lg:$,lij:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:Ae,ln:ir,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||I>=11&&I<=19||_==2&&N>=11&&N<=19?"zero":k==1&&I!=11||_==2&&F==1&&N!=11||_!=2&&F==1?"one":"other"},mas:$,mg:ir,mgo:$,mk:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?k==1&&I!=11?"one":k==2&&I!=12?"two":(k==7||k==8)&&I!=17&&I!=18?"many":"other":E&&k==1&&I!=11||N==1&&F!=11?"one":"other"},ml:$,mn:$,mo:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||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 v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ae,nah:$,naq:or,nb:$,nd:$,ne:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:mn,nn:$,nnh:$,no:$,nqo:Ae,nr:$,nso:ir,ny:$,nyn:$,om:$,or:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:$,osa:Ae,pa:ir,pap:$,pcm:ka,pl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||I>=11&&I<=19||_==2&&N>=11&&N<=19?"zero":k==1&&I!=11||_==2&&F==1&&N!=11||_!=2&&F==1?"one":"other"},ps:$,pt:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:$,ro:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:$,ru:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.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:$,sah:Ae,saq:$,sat:or,sc:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:$,sdh:$,se:or,seh:$,ses:Ae,sg:Ae,sh:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},shi:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:or,smi:or,smj:or,smn:or,sms:or,sn:$,so:$,sq:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},ss:$,ssy:$,st:$,su:Ae,sv:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&y?"one":"other"},sw:mn,syr:$,ta:$,te:$,teo:$,th:Ae,ti:ir,tig:$,tk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:$,to:Ae,tpi:Ae,tr:$,ts:$,tzm:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:$,uk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-1),F=y.slice(-2);return f?k==3&&I!=13?"few":"other":_&&N==1&&F!=11?"one":_&&N>=2&&N<=4&&(F<12||F>14)?"few":_&&N==0||_&&N>=5&&N<=9||_&&F>=11&&F<=14?"many":"other"},und:Ae,ur:mn,uz:$,ve:$,vec:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:$,vun:$,wa:ir,wae:$,wo:Ae,xh:$,xog:$,yi:mn,yo:Ae,yue:Ae,zh:Ae,zu:ka});function du(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 Ko(p){if(typeof p=="function"){var f=du(p.name);return{isDefault:!1,id:Ir(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=du(p),y=Ir(v);return Q7(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:Z7[y],getPlural:Yo[y],cardinals:Sp[y].cardinal,ordinals:Sp[y].ordinal}:null}function Y7(p){var f=Object.keys(Yo).filter(function(v){return v!==p});return f.unshift(p),f.map(Ko)}function K7(p){var f=du(p);return Ir(f)in Yo}function Q7(p){return p in Yo}var X7=function(){function p(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=Y7(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Ko).filter(Boolean);else if(f){var y=Ko(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Ko(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(K7)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new W7(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],I=[];try{for(var N=n(Object.entries(_.runtime)),F=N.next();!F.done;F=N.next()){var J=a(F.value,2),ue=J[0],Ce=J[1];k.push(ue),I.push(Ce)}}catch(Ye){v={error:Ye}}finally{try{F&&!F.done&&(y=N.return)&&y.call(N)}finally{if(v)throw v.error}}var W=new(Function.bind.apply(Function,i(i([void 0],a(k),!1),[E],!1)));return W.apply(void 0,i([],a(I),!1))},p.defaultLocale="en",p}();return X7})}),dn=ae(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 r=function n(a,i){t(this,n),this.data=a,this.text=i.text||a,this.options=i};e.default=r}),dH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,R){for(var O=0;O<R.length;O++){var Y=R[O];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(T,Y.key,Y)}}return function(T,R,O){return R&&S(T.prototype,R),O&&S(T,O),T}}(),r=dn(),n=a(r);function a(S){return S&&S.__esModule?S:{default:S}}function i(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 c=function(S){l(T,S);function T(R,O){return i(this,T),R=R.toUpperCase(),O.mod43&&(R+=g(x(R))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,R,O))}return t(T,[{key:"encode",value:function(){for(var R=m("*"),O=0;O<this.data.length;O++)R+=m(this.data[O])+"0";return R+=m("*"),{data:R,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.default),u=["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","-","."," ","$","/","+","%","*"],d=[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 b(w(S))}function b(S){return d[S].toString(2)}function g(S){return u[S]}function w(S){return u.indexOf(S)}function x(S){for(var T=0,R=0;R<S.length;R++)T+=w(S[R]);return T=T%43,T}e.CODE39=c}),bo=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(u,d,m){return d in u?Object.defineProperty(u,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[d]=m,u}var n=e.SET_A=0,a=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,a),r(t,c,i),t),e.SWAP={101:n,100:a,99:i},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]}),Sl=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=dn(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=a.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(a.FNC1);var x=m.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return a.BARS[b]?a.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===a.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===a.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var x=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var T=a.SWAP[S];T!==void 0?x=m.next(b,g+1,T):((w===a.SET_A||w===a.SET_B)&&S===a.SHIFT&&(b[0]=w===a.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),x=m.next(b,g+1,w))}else S=m.correctIndex(b,w),x=m.next(b,g+1,w);var R=m.getBar(S),O=S*g;return{result:R+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=u}),hH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=bo(),r=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 i(l,c){var u=c?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+u+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+u+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(c?205:206)+i(l.substring(m.length),!c)}function o(l){var c=a(l),u=c.length;if(u===l.length)return l;l=l.substring(u);var d=r(l)>=n(l);return c+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var c=void 0,u=a(l).length;if(u>=2)c=t.C_START_CHAR+o(l);else{var d=r(l)>n(l);c=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,b){return"Ë"+b})}}),pH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Sl(),r=i(t),n=hH(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(r.default);e.default=u}),mH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=Sl(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),fH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=Sl(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),gH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=Sl(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),vH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=pH(),r=u(t),n=mH(),a=u(n),i=fH(),o=u(i),l=gH(),c=u(l);function u(d){return d&&d.__esModule?d:{default:d}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=c.default}),yo=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),_o=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=yo(),r=function(n,a,i){var o=n.split("").map(function(c,u){return t.BINARIES[a[u]]}).map(function(c,u){return c?c[n[u]]:""});if(i){var l=n.length-1;o=o.map(function(c,u){return u<l?c+i:c})}return o.join("")};e.default=r}),cg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=yo(),n=_o(),a=l(n),i=dn(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){d(g,b);function g(w,x){c(this,g);var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),bH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=function b(g,w,x){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:b(T,w,x)}else{if("value"in S)return S.value;var R=S.get;return R===void 0?void 0:R.call(x)}},n=yo(),a=cg(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var d=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,S){return S%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.lastChar=x.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),yH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(b,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,g,w){return g&&m(b.prototype,g),w&&m(b,w),b}}(),r=function m(b,g,w){b===null&&(b=Function.prototype);var x=Object.getOwnPropertyDescriptor(b,g);if(x===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:m(S,g,w)}else{if("value"in x)return x.value;var T=x.get;return T===void 0?void 0:T.call(w)}},n=cg(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function l(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:m}function c(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(m,b):m.__proto__=b)}var u=function(m){var b=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-b%10)%10},d=function(m){c(b,m);function b(g,w){return o(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=u(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(a.default);e.default=d}),_H=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var S=0;S<x.length;S++){var T=x[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(w,T.key,T)}}return function(w,x,S){return x&&g(w.prototype,x),S&&g(w,S),w}}(),r=yo(),n=_o(),a=l(n),i=dn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function u(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function d(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,S,T){return T%2?x+S*9:x+S*3},0);return w%10},b=function(g){d(w,g);function w(x,S){return c(this,w),u(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),wH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=yo(),n=_o(),a=l(n),i=dn(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){d(g,b);function g(w,x){return c(this,g),u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),dg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}();e.checksum=m;var r=_o(),n=o(r),a=dn(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var d=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.displayValue=x.displayValue,x.fontSize>x.width*10?S.fontSize=x.width*10:S.fontSize=x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.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 w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=d}),xH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,T){for(var R=0;R<T.length;R++){var O=T[R];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,T,R){return T&&x(S.prototype,T),R&&x(S,R),S}}(),r=_o(),n=l(r),a=dn(),i=l(a),o=dg();function l(x){return x&&x.__esModule?x:{default:x}}function c(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function u(x,S){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:x}function d(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(x,S):x.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(S,x);function S(T,R){c(this,S);var O=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,R));if(O.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)O.middleDigits=T,O.upcA=w(T,"0"),O.text=R.text||""+O.upcA[0]+T+O.upcA[O.upcA.length-1],O.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(O.middleDigits=T.substring(1,T.length-1),O.upcA=w(O.middleDigits,T[0]),O.upcA[O.upcA.length-1]===T[T.length-1])O.isValid=!0;else return u(O);else return u(O);return O.displayValue=R.displayValue,R.fontSize>R.width*10?O.fontSize=R.width*10:O.fontSize=R.fontSize,O.guardHeight=R.height+O.fontSize/2+R.textMargin,O}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],R=this.upcA[this.upcA.length-1],O=b[parseInt(R)][parseInt(T)];return(0,n.default)(this.middleDigits,O)}}]),S}(i.default);function w(x,S){for(var T=parseInt(x[x.length-1]),R=m[T],O="",Y=0,ie=0;ie<R.length;ie++){var me=R[ie];me==="X"?O+=x[Y++]:O+=me}return O=""+S+O,""+O+(0,o.checksum)(O)}e.default=g}),EH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=bH(),r=g(t),n=yH(),a=g(n),i=_H(),o=g(i),l=wH(),c=g(l),u=dg(),d=g(u),m=xH(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=c.default,e.UPC=d.default,e.UPCE=b.default}),SH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),hg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=SH(),n=dn(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);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 b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=r.BINARIES[b[1]];return r.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=u}),kH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=hg(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){var m=d.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},u=function(d){l(m,d);function m(b,g){return i(this,m),b.search(/^[0-9]{13}$/)!==-1&&(b+=c(b)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),m}(n.default);e.default=u}),CH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=hg(),r=i(t),n=kH(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),wo=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=dn(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){l(m,d);function m(b,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=u(x,4-x.length);for(var S=0;S<x.length;S++)b+=x[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function u(d,m){for(var b=0;b<m;b++)d="0"+d;return d}e.default=c}),kl=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var a=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function r(n){for(var a=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=i[o%i.length]*l}return(11-a%11)%11}}),IH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),b))}return d}(r.default);e.default=c}),DH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),b))}return d}(r.default);e.default=c}),TH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return d}(r.default);e.default=c}),NH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return d}(r.default);e.default=c}),OH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=wo(),r=m(t),n=IH(),a=m(n),i=DH(),o=m(i),l=TH(),c=m(l),u=NH(),d=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=c.default,e.MSI1110=d.default}),MH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=dn(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,b="";!isNaN(m)&&m!=0;)m%2===0?(b="11100"+b,m=(m-2)/2):(b="100"+b,m=(m-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=c}),PH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=dn(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){i(this,d),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m.toUpperCase(),b));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],b=this.getEncodings(),g=0;g<this.data.length;g++)m.push(b[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"}}}]),d}(n.default);e.codabar=c}),RH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),pg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=RH(),n=dn(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return r.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return m.getEncoding(S)}).join(""),w=m.checksum(b,20),x=m.checksum(b.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return r.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return r.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return r.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,T){var R=T%g+1;return x+m.symbolValue(S)*R},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=u}),AH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=pg(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=c}),LH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=pg(),r=i(t),n=AH(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),FH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=dn(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=c}),jH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=dH(),r=vH(),n=EH(),a=CH(),i=OH(),o=MH(),l=PH(),c=LH(),u=FH();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.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:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:u.GenericBarcode}}),Cl=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r};e.default=function(r,n){return t({},r,n)}}),VH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function a(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)a(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return a(r),n}}),zH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),mg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof r[a]=="string"&&(r[a]=parseInt(r[a],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),fg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),BH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=mg(),r=i(t),n=fg(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var c={};for(var u in a.default)a.default.hasOwnProperty(u)&&(l.hasAttribute("jsbarcode-"+u.toLowerCase())&&(c[u]=l.getAttribute("jsbarcode-"+u.toLowerCase())),l.hasAttribute("data-"+u.toLowerCase())&&(c[u]=l.getAttribute("data-"+u.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,r.default)(c),c}e.default=o}),gg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Cl(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function a(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(d,m,b){if(b.displayValue&&m<d){if(b.textAlign=="center")return Math.floor((d-m)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,b){for(var g=0;g<d.length;g++){var w=d[g],x=(0,r.default)(m,w.options),S;x.displayValue?S=u(w.text,x,b):S=0;var T=w.data.length*x.width;w.width=Math.ceil(Math.max(S,T)),w.height=a(w,x),w.barcodePadding=i(S,T,x)}}function l(d){for(var m=0,b=0;b<d.length;b++)m+=d[b].width;return m}function c(d){for(var m=0,b=0;b<d.length;b++)d[b].height>m&&(m=d[b].height);return m}function u(d,m,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),HH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(u,d){for(var m=0;m<d.length;m++){var b=d[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,d,m){return d&&c(u.prototype,d),m&&c(u,m),u}}(),r=Cl(),n=i(r),a=gg();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(u,d,m){o(this,c),this.canvas=u,this.encodings=d,this.options=m}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var d=(0,n.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(d,this.encodings[u]),this.drawCanvasText(d,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,u);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,d){var m=this.canvas.getContext("2d"),b=d.data,g;u.textPosition=="top"?g=u.marginTop+u.fontSize+u.textMargin:g=u.marginTop,m.fillStyle=u.lineColor;for(var w=0;w<b.length;w++){var x=w*u.width+d.barcodePadding;b[w]==="1"?m.fillRect(x,g,u.width,u.height):b[w]&&m.fillRect(x,g,u.width,u.height*b[w])}}},{key:"drawCanvasText",value:function(u,d){var m=this.canvas.getContext("2d"),b=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var g,w;u.textPosition=="top"?w=u.marginTop+u.fontSize-u.textMargin:w=u.height+u.textMargin+u.marginTop+u.fontSize,m.font=b,u.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):u.textAlign=="right"?(g=d.width-1,m.textAlign="right"):(g=d.width/2,m.textAlign="center"),m.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(u){var d=this.canvas.getContext("2d");d.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");u.restore()}}]),c}();e.default=l}),qH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=Cl(),n=i(r),a=gg();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function u(d,m,b){o(this,u),this.svg=d,this.encodings=m,this.options=b,this.document=b.xmlDocument||document}return t(u,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var b=this.encodings[m],g=(0,n.default)(this.options,b.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),d+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),b=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,m),this.options.background&&this.drawRect(0,0,b,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(d,m,b){var g=b.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,S=0,T=0;T<g.length;T++)S=T*m.width+b.barcodePadding,g[T]==="1"?x++:x>0&&(this.drawRect(S-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(S-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,b){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(b.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var b=this.svg;b.setAttribute("width",d+"px"),b.setAttribute("height",m+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+d+" "+m),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(d,m,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(d,m,b,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",b),x.setAttribute("height",g),w.appendChild(x),x}}]),u}();e.default=c}),$H=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i,o,l){r(this,a),this.object=i,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),UH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=HH(),r=l(t),n=qH(),a=l(n),i=$H(),o=l(i);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),vg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function r(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function n(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var a=function(l){n(c,l);function c(u,d){t(this,c);var m=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return m.name="InvalidInputException",m.symbology=u,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return c}(Error),i=function(l){n(c,l);function c(){t(this,c);var u=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return u.name="InvalidElementException",u.message="Not supported type to render on",u}return c}(Error),o=function(l){n(c,l);function c(){t(this,c);var u=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return u.name="NoElementException",u.message="No element to render on.",u}return c}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),GH=ae(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},r=BH(),n=l(r),a=UH(),i=l(a),o=vg();function l(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof m=="string")return u(m);if(Array.isArray(m)){for(var b=[],g=0;g<m.length;g++)b.push(c(m[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function u(m){var b=document.querySelectorAll(m);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(c(b[w]));return g}}function d(m){var b=document.createElement("canvas");return{element:b,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",b.toDataURL())}}}e.default=c}),WH=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i){r(this,a),this.api=i}return t(a,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),ZH=ae((e,t)=>{var r=jH(),n=O(r),a=Cl(),i=O(a),o=VH(),l=O(o),c=zH(),u=O(c),d=GH(),m=O(d),b=mg(),g=O(b),w=WH(),x=O(w),S=vg(),T=fg(),R=O(T);function O(Z){return Z&&Z.__esModule?Z:{default:Z}}var Y=function(){},ie=function(Z,H,ge){var L=new Y;if(typeof Z>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,m.default)(Z),L._encodings=[],L._options=R.default,L._errorHandler=new x.default(L),typeof H<"u"&&(ge=ge||{},ge.format||(ge.format=We()),L.options(ge)[ge.format](H,ge).render()),L};ie.getModule=function(Z){return n.default[Z]};for(me in n.default)n.default.hasOwnProperty(me)&&St(n.default,me);var me;function St(Z,H){Y.prototype[H]=Y.prototype[H.toUpperCase()]=Y.prototype[H.toLowerCase()]=function(ge,L){var j=this;return j._errorHandler.wrapBarcodeCall(function(){L.text=typeof L.text>"u"?void 0:""+L.text;var G=(0,i.default)(j._options,L);G=(0,g.default)(G);var Se=Z[H],qe=ut(ge,Se,G);return j._encodings.push(qe),j})}}function ut(Z,H,ge){Z=""+Z;var L=new H(Z,ge);if(!L.valid())throw new S.InvalidInputException(L.constructor.name,Z);var j=L.encode();j=(0,l.default)(j);for(var G=0;G<j.length;G++)j[G].options=(0,i.default)(ge,j[G].options);return j}function We(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Y.prototype.options=function(Z){return this._options=(0,i.default)(this._options,Z),this},Y.prototype.blank=function(Z){var H=new Array(Z+1).join("0");return this._encodings.push({data:H}),this},Y.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Z;for(var H in this._renderProperties){Z=this._renderProperties[H];var ge=(0,i.default)(this._options,Z.options);ge.format=="auto"&&(ge.format=We()),this._errorHandler.wrapBarcodeCall(function(){var L=ge.value,j=n.default[ge.format.toUpperCase()],G=ut(L,j,ge);vt(Z,G,ge)})}}},Y.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Z=0;Z<this._renderProperties.length;Z++)vt(this._renderProperties[Z],this._encodings,this._options);else vt(this._renderProperties,this._encodings,this._options);return this},Y.prototype._defaults=R.default;function vt(Z,H,ge){H=(0,l.default)(H);for(var L=0;L<H.length;L++)H[L].options=(0,i.default)(ge,H[L].options),(0,u.default)(H[L].options);(0,u.default)(ge);var j=Z.renderer,G=new j(Z.element,H,ge);G.render(),Z.afterRender&&Z.afterRender()}typeof window<"u"&&(window.JsBarcode=ie),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Z,H){var ge=[];return jQuery(this).each(function(){ge.push(this)}),ie(ge,Z,H)}),t.exports=ie});function xd(e,t){return Object.is(e,t)}var dt=null,Es=!1,Ed=1,_r=Symbol("SIGNAL");function we(e){let t=dt;return dt=e,t}function YH(){return dt}var xo={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 Il(e){if(Es)throw new Error("");if(dt===null)return;dt.consumerOnSignalRead(e);let t=dt.nextProducerIndex++;if(Tl(dt),t<dt.producerNode.length&&dt.producerNode[t]!==e&&eo(dt)){let r=dt.producerNode[t];Dl(r,dt.producerIndexOfThis[t])}dt.producerNode[t]!==e&&(dt.producerNode[t]=e,dt.producerIndexOfThis[t]=eo(dt)?xg(e,dt,t):0),dt.producerLastReadVersion[t]=e.version}function KH(){Ed++}function Eo(e){if(!(eo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ed)){if(!e.producerMustRecompute(e)&&!_g(e)){zs(e);return}e.producerRecomputeValue(e),zs(e)}}function bg(e){if(e.liveConsumerNode===void 0)return;let t=Es;Es=!0;try{for(let r of e.liveConsumerNode)r.dirty||QH(r)}finally{Es=t}}function yg(){return(dt==null?void 0:dt.consumerAllowSignalWrites)!==!1}function QH(e){var t;e.dirty=!0,bg(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function zs(e){e.dirty=!1,e.lastCleanEpoch=Ed}function Bs(e){return e&&(e.nextProducerIndex=0),we(e)}function Sd(e,t){if(we(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(eo(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Dl(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _g(e){Tl(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Eo(r),n!==r.version))return!0}return!1}function wg(e){if(Tl(e),eo(e))for(let t=0;t<e.producerNode.length;t++)Dl(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 xg(e,t,r){if(Eg(e),e.liveConsumerNode.length===0&&Sg(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=xg(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function Dl(e,t){if(Eg(e),e.liveConsumerNode.length===1&&Sg(e))for(let n=0;n<e.producerNode.length;n++)Dl(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];Tl(a),a.producerIndexOfThis[n]=t}}function eo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Tl(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Eg(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Sg(e){return e.producerNode!==void 0}function XH(e,t){let r=Object.create(JH);r.computation=e;let n=()=>{if(Eo(r),Il(r),r.value===Fr)throw r.error;return r.value};return n[_r]=r,n}var ia=Symbol("UNSET"),qa=Symbol("COMPUTING"),Fr=Symbol("ERRORED"),JH=Yt(se({},xo),{value:ia,dirty:!0,error:null,equal:xd,kind:"computed",producerMustRecompute(e){return e.value===ia||e.value===qa},producerRecomputeValue(e){if(e.value===qa)throw new Error("Detected cycle in computations.");let t=e.value;e.value=qa;let r=Bs(e),n,a=!1;try{n=e.computation(),we(null),a=t!==ia&&t!==Fr&&n!==Fr&&e.equal(t,n)}catch(i){n=Fr,e.error=i}finally{Sd(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function eq(){throw new Error}var kg=eq;function Cg(e){kg(e)}function tq(e){kg=e}function nq(e,t){let r=Object.create(Dg);r.value=e;let n=()=>(Il(r),r.value);return n[_r]=r,n}function Nl(e,t){yg()||Cg(e),e.equal(e.value,t)||(e.value=t,rq(e))}function Ig(e,t){yg()||Cg(e),Nl(e,t(e.value))}var Dg=Yt(se({},xo),{equal:xd,value:void 0,kind:"signal"});function rq(e){e.version++,KH(),bg(e)}function Np(e,t,r){let n=Object.create(oq);n.source=e,n.computation=t,r!=null&&(n.equal=r);let a=()=>{if(Eo(n),Il(n),n.value===Fr)throw n.error;return n.value};return a[_r]=n,a}function aq(e,t){Eo(e),Nl(e,t),zs(e)}function iq(e,t){Eo(e),Ig(e,t),zs(e)}var oq=Yt(se({},xo),{value:ia,dirty:!0,error:null,equal:xd,kind:"linkedSignal",producerMustRecompute(e){return e.value===ia||e.value===qa},producerRecomputeValue(e){if(e.value===qa)throw new Error("Detected cycle in computations.");let t=e.value;e.value=qa;let r=Bs(e),n;try{let a=e.source(),i=t===ia||t===Fr?void 0:{source:e.sourceValue,value:t};n=e.computation(a,i),e.sourceValue=a}catch(a){n=Fr,e.error=a}finally{Sd(e,r)}if(t!==ia&&n!==Fr&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function sq(e){let t=we(null);try{return e()}finally{we(t)}}var dc;function Ss(){return dc}function Nr(e){let t=dc;return dc=e,t}var Tg=Symbol("NotFound");function Ke(e){return typeof e=="function"}function kd(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var hu=kd(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
12
|
+
`)},at.prototype.clone=function(){return new at(this.states,this.state)},at.prototype.has=function(M){return!0},{compile:Dr,states:lr,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ur}})})(bp);var wH=bp.exports;(function(p){var f=iu&&iu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let v=f(wH);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=v.default.states(p.states)})(vp),Object.defineProperty(Di,"__esModule",{value:!0});var yp=Di.parse=Di.ParseError=void 0;let _p=vp,Wo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),ou=p=>p==="plural"||p==="select"||p==="selectordinal";function xH(p,f){let v="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":v+=_.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new Dt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let EH=["number","date","time","spellout","ordinal","duration"],wp=["zero","one","two","few","many","other"];class Dt extends Error{constructor(f,v){super(_p.lexer.formatError(f,v))}}Di.ParseError=Dt;class SH{constructor(f,v){var y,_,E,k;this.lexer=_p.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:wp,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:wp,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=v==null?void 0:v.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new Dt(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let _=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new Dt(f,E)}}}parseSelect(f,v,y,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?v=!0:this.strict&&(v=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Dt(I,"Unexpected plural offset for select");if(k.cases.length>0)throw new Dt(I,"Plural offset must be set before cases");k.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),k.cases.push({key:I.value,tokens:this.parseBody(v),ctx:Wo(I)});break}case"end":return k;default:throw new Dt(I,`Unexpected lexer token: ${I.type}`)}throw new Dt(null,"Unexpected message end")}parseArgToken(f,v){let y=Wo(f),_=this.lexer.next();if(!_)throw new Dt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!EH.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Dt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new Dt(null,"Unexpected message end");if(E.type!=="end")throw new Dt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,ou(_.value.toLowerCase()))throw new Dt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(ou(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Dt(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=xH(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(ou(_.value))return this.parseSelect(f,v,y,_.value);throw new Dt(_,`Unexpected select type ${_.value}`);default:throw new Dt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,v){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:Wo(E)});else{if(E.type==="end"&&!v)return y;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let I=`Unsupported escape pattern: ${k}`;throw new Dt(E,I)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Wo(E)},y.push(_))}}if(v)return y;throw new Dt(null,"Unexpected message end")}}function kH(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new SH(p,f).parse()}yp=Di.parse=kH;function Ti(p){return Ti[p]||(Ti[p]=new Intl.NumberFormat(p))}function CH(p,f,v){return Ti(p).format(f-v)}function IH(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Ti(p).format(_)}function DH(p,f,v,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=v(p,_);return E in y?y[E]:y.other}function TH(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function NH(p,f){for(var v=0;v<p.length;++v)if(!f||f[p[v]]===void 0)throw new Error("Message requires argument '".concat(p[v],"'"))}var OH=Object.freeze({__proto__:null,_nf:Ti,number:CH,plural:DH,reqArgs:NH,select:TH,strictNumber:IH});function MH(p,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function PH(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 v=p%60,y=[Math.round(v)===v?v:v.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var su={};function Zo(p,f){var v=String(p)+JSON.stringify(f);return su[v]||(su[v]=new Intl.NumberFormat(p,f)),su[v]}function RH(p,f,v,y){var _=v&&v.split(":")||[],E=_[0],k=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return Zo(f,I[E]||{}).format(p)}var AH=function(p,f,v){return Zo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},LH=function(p,f){return Zo(f,{maximumFractionDigits:0}).format(p)},FH=function(p,f){return Zo(f,{style:"percent"}).format(p)};function jH(p,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var lu=Object.freeze({__proto__:null,date:MH,duration:PH,numberCurrency:AH,numberFmt:RH,numberInteger:LH,numberPercent:FH,time:jH}),VH={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}},uu=_H(VH);function zH(p){let f=0;for(let v=0;v<p.length;++v){let y=p.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function Ir(p,f){f&&(p+=" "+zH(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return uu.ES3[v]||uu.ESnext[v]||/^\d/.test(v)?"_"+v:v}function cu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!uu.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var BH=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],HH=new RegExp("^"+BH.join("|^"));function qH(p,f){var v=HH.test(f),y=JSON.stringify(v?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var $H="@messageformat/runtime",UH="@messageformat/runtime/lib/cardinals",xp="@messageformat/runtime/lib/plurals",GH="@messageformat/runtime/lib/formatters",WH=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,v,y){var _,E,k=this,I=this.options,N=I.localeCodeFromKey,F=I.requireAllArguments,J=I.strict,ue=I.strictPluralKeys;if(typeof f=="object"){var Ce={};try{for(var W=n(Object.keys(f)),Ye=W.next();!Ye.done;Ye=W.next()){var ct=Ye.value,Ct=N?N(ct):ct,Ut=y&&Ct&&y[Ct]||v;Ce[ct]=this.compile(f[ct],Ut,y)}}catch(at){_={error:at}}finally{try{Ye&&!Ye.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return Ce}this.plural=v;var kn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ue};this.arguments=[];var Dr=yp(f,kn).map(function(at){return k.token(at,null)}),sr=this.arguments.length>0,lr=this.concatenate(Dr,!0);if(F&&sr){this.setRuntimeFn("reqArgs");var ur=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(ur,", d); return ").concat(lr,"; }")}return"(".concat(sr?"d":"",") => ").concat(lr)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ue=J.key,Ce=J.tokens;ue==="other"&&(_=!1);var W=Ce.map(function(Ye){return y.token(Ye,v)});return"".concat(cu(null,ue.replace(/^=/,"")),": ").concat(y.concatenate(W,!1))});if(_){var k=f.type,I=this.plural,N=I.cardinals,F=I.ordinals;if(k==="select"||k==="plural"&&N.includes("other")||k==="selectordinal"&&F.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,k,I;switch("arg"in f?(this.arguments.push(f.arg),k=[cu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?qH(String(k[0]),E):String(k[0]);case"select":I="select",v&&this.options.strict&&(v=null),k.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="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],F=N&&"module"in N&&typeof N.module=="function";if(!N){if(f.key==="date"){I=this.setDateFormatter(f,k,v);break}else if(f.key==="number"){I=this.setNumberFormatter(f,k,v);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var J=this.getFormatterArg(f,v);J&&k.push(J)}I=F?Ir("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!v)return'"#"';k=[JSON.stringify(this.plural.locale),cu("d",v.arg),v.pluralOffset||0],this.options.strict?(I="strictNumber",k.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,v){if(Ir(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},p.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,I=_.isDefault,N,F,J;if(!v&&I&&E){if(y)return;N=function(ue){return E(ue)},F=UH,J=function(){return String(E)}}else{if(y&&(!I||y.module===xp))return;N=function(ue,Ce){return k(ue,Ce)},F=I?xp:k.module||null,J=function(){return String(k)}}this.runtime[f]=Object.assign(N,{id:f,module:F,toString:J,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(OH[f],{id:f,module:$H,type:"runtime"}))},p.prototype.getFormatterArg=function(f,v){var y,_,E,k,I=this,N=f.key,F=f.param,J=this.options.customFormatters[N]||Ep(N)&&lu[N];if(!J||!F)return null;var ue="arg"in J&&J.arg||"string";if(ue==="options"){var Ce="";try{for(var W=n(F),Ye=W.next();!Ye.done;Ye=W.next()){var ct=Ye.value;if(ct.type==="content")Ce+=ct.value;else throw new SyntaxError("Expected literal options for ".concat(N," formatter"))}}catch(cr){y={error:cr}}finally{try{Ye&&!Ye.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var Ct={};try{for(var Ut=n(Ce.split(",")),kn=Ut.next();!kn.done;kn=Ut.next()){var Dr=kn.value,sr=Dr.indexOf(":");if(sr===-1)Ct[Dr.trim()]=null;else{var lr=Dr.substring(0,sr).trim(),ur=Dr.substring(sr+1).trim();if(ur==="true")Ct[lr]=!0;else if(ur==="false")Ct[lr]=!1;else if(ur==="null")Ct[lr]=null;else{var at=Number(ur);Ct[lr]=Number.isFinite(at)?at:ur}}}}catch(cr){E={error:cr}}finally{try{kn&&!kn.done&&(k=Ut.return)&&k.call(Ut)}finally{if(E)throw E.error}}return JSON.stringify(Ct)}else{var Qo=F.map(function(cr){return I.token(cr,v)});if(ue==="raw")return"[".concat(Qo.join(", "),"]");var Xo=Qo.join(" + ");return Xo?"(".concat(Xo,").trim()"):'""'}},p.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ir(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Ep(f))this.runtime[f]=Object.assign(lu[f],{type:"formatter"},{id:f,module:GH});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var N=I.value.trim().substr(2),F=Ir("date_".concat(k,"_").concat(N),!0);if(!this.runtimeIncludes(F,"formatter")){var J=St(k,N,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return ut(k,N,_.options.timeZone)},type:"formatter"})}return F}if(v.push(JSON.stringify(k)),E&&E.length>0){y&&this.options.strict&&(y=null);var ue=E.map(function(Ce){return _.token(Ce,y)});v.push("("+(ue.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(k)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var N=I.match(/^currency:([A-Z]+)$/);if(N)return v.push(JSON.stringify(N[1])),this.setFormatter("numberCurrency"),"numberCurrency";var F=Ir("number_".concat(k,"_").concat(I),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ue=bH(k,I,J);this.runtime[F]=Object.assign(ue,{id:null,module:null,toString:function(){return yH(k,I,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var Ce=E.map(function(W){return _.token(W,y)});return v.push("("+(Ce.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function Ep(p){return p in lu}let z=p=>p==1?"one":"other",nr=p=>p==0||p==1?"one":"other",Vn=p=>p>=0&&p<=1?"one":"other",Ot=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Oe=p=>"other",rr=p=>p==1?"one":p==2?"two":"other";var ZH=Object.freeze({__proto__:null,af:z,ak:nr,am:Vn,an:z,ar:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Vn,asa:z,ast:Ot,az:z,bal:z,be:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":v&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:z,bez:z,bg:z,bho:nr,bm:Oe,bn:Vn,bo:Oe,br:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&v&&E==0?"many":"other"},brx:z,bs:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},ca:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},ce:z,ceb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:z,chr:z,ckb:z,cs:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"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("."),v=f[0],y=Number(f[0])==p;return p==1||!y&&(v==0||v==1)?"one":"other"},de:Ot,doi:Vn,dsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:z,dz:Oe,ee:z,el:z,en:Ot,eo:z,es:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1?"one":v!=0&&_==0&&y?"many":"other"},et:Ot,eu:z,fa:Vn,ff:p=>p>=0&&p<2?"one":"other",fi:Ot,fil:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:z,fr:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p>=0&&p<2?"one":v!=0&&_==0&&y?"many":"other"},fur:z,fy:Ot,ga:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1?"one":p==2?"two":v&&p>=3&&p<=6?"few":v&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":v&&p>=3&&p<=10||v&&p>=13&&p<=19?"few":"other"},gl:Ot,gsw:z,gu:Vn,guw:nr,gv:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:z,haw:z,he:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Vn,hnj:Oe,hr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:z,hy:p=>p>=0&&p<2?"one":"other",ia:Ot,id:Oe,ig:Oe,ii:Oe,io:Ot,is:p=>{let f=String(p).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=v.slice(-1),k=v.slice(-2);return _&&E==1&&k!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},iu:rr,ja:Oe,jbo:Oe,jgo:z,jmc:z,jv:Oe,jw:Oe,ka:z,kab:p=>p>=0&&p<2?"one":"other",kaj:z,kcg:z,kde:Oe,kea:Oe,kk:z,kkj:z,kl:z,km:Oe,kn:Vn,ko:Oe,ks:z,ksb:z,ksh:p=>p==0?"zero":p==1?"one":"other",ku:z,kw:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2),_=v&&f[0].slice(-3),E=v&&f[0].slice(-5),k=v&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||v&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:z,lag:p=>{let f=String(p).split("."),v=f[0];return p==0?"zero":(v==0||v==1)&&p!=0?"one":"other"},lb:z,lg:z,lij:Ot,lkt:Oe,ln:nr,lo:Oe,lt:p=>{let f=String(p).split("."),v=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),I=v.slice(-2),N=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&I>=11&&I<=19?"zero":E==1&&k!=11||y==2&&N==1&&I!=11||y!=2&&N==1?"one":"other"},mas:z,mg:nr,mgo:z,mk:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":"other"},ml:z,mn:z,mo:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:z,ms:Oe,mt:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Oe,nah:z,naq:rr,nb:z,nd:z,ne:z,nl:Ot,nn:z,nnh:z,no:z,nqo:Oe,nr:z,nso:nr,ny:z,nyn:z,om:z,or:z,os:z,osa:Oe,pa:nr,pap:z,pcm:Vn,pl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&v!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),I=v.slice(-2),N=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&I>=11&&I<=19?"zero":E==1&&k!=11||y==2&&N==1&&I!=11||y!=2&&N==1?"one":"other"},ps:z,pt:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return v==0||v==1?"one":v!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},rm:z,ro:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:z,ru:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:z,sah:Oe,saq:z,sat:rr,sc:Ot,scn:Ot,sd:z,sdh:z,se:rr,seh:z,ses:Oe,sg:Oe,sh:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},shi:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p>=0&&p<=1?"one":v&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"";return p==0||p==1||v==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:rr,smi:rr,smj:rr,smn:rr,sms:rr,sn:z,so:z,sq:z,sr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},ss:z,ssy:z,st:z,su:Oe,sv:Ot,sw:Ot,syr:z,ta:z,te:z,teo:z,th:Oe,ti:nr,tig:z,tk:z,tl:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:z,to:Oe,tpi:Oe,tr:z,ts:z,tzm:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==0||p==1||v&&p>=11&&p<=99?"one":"other"},ug:z,uk:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Oe,ur:Ot,uz:z,ve:z,vec:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},vi:Oe,vo:z,vun:z,wa:nr,wae:z,wo:Oe,xh:z,xog:z,yi:Ot,yo:Oe,yue:Oe,zh:Oe,zu:Vn});let ar="zero",q="one",Xe="two",ve="few",_e="many",P="other",A={cardinal:[q,P],ordinal:[P]},Wr={cardinal:[q,P],ordinal:[q,P]},Re={cardinal:[P],ordinal:[P]},zn={cardinal:[q,Xe,P],ordinal:[P]};var Sp=Object.freeze({__proto__:null,af:A,ak:A,am:A,an:A,ar:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[P]},ars:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[P]},as:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},asa:A,ast:A,az:{cardinal:[q,P],ordinal:[q,ve,_e,P]},bal:Wr,be:{cardinal:[q,ve,_e,P],ordinal:[ve,P]},bem:A,bez:A,bg:A,bho:A,bm:Re,bn:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},bo:Re,br:{cardinal:[q,Xe,ve,_e,P],ordinal:[P]},brx:A,bs:{cardinal:[q,ve,P],ordinal:[P]},ca:{cardinal:[q,_e,P],ordinal:[q,Xe,ve,P]},ce:A,ceb:A,cgg:A,chr:A,ckb:A,cs:{cardinal:[q,ve,_e,P],ordinal:[P]},cy:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[ar,q,Xe,ve,_e,P]},da:A,de:A,doi:A,dsb:{cardinal:[q,Xe,ve,P],ordinal:[P]},dv:A,dz:Re,ee:A,el:A,en:{cardinal:[q,P],ordinal:[q,Xe,ve,P]},eo:A,es:{cardinal:[q,_e,P],ordinal:[P]},et:A,eu:A,fa:A,ff:A,fi:A,fil:Wr,fo:A,fr:{cardinal:[q,_e,P],ordinal:[q,P]},fur:A,fy:A,ga:{cardinal:[q,Xe,ve,_e,P],ordinal:[q,P]},gd:{cardinal:[q,Xe,ve,P],ordinal:[q,Xe,ve,P]},gl:A,gsw:A,gu:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},guw:A,gv:{cardinal:[q,Xe,ve,_e,P],ordinal:[P]},ha:A,haw:A,he:zn,hi:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},hnj:Re,hr:{cardinal:[q,ve,P],ordinal:[P]},hsb:{cardinal:[q,Xe,ve,P],ordinal:[P]},hu:Wr,hy:Wr,ia:A,id:Re,ig:Re,ii:Re,io:A,is:A,it:{cardinal:[q,_e,P],ordinal:[_e,P]},iu:zn,ja:Re,jbo:Re,jgo:A,jmc:A,jv:Re,jw:Re,ka:{cardinal:[q,P],ordinal:[q,_e,P]},kab:A,kaj:A,kcg:A,kde:Re,kea:Re,kk:{cardinal:[q,P],ordinal:[_e,P]},kkj:A,kl:A,km:Re,kn:A,ko:Re,ks:A,ksb:A,ksh:{cardinal:[ar,q,P],ordinal:[P]},ku:A,kw:{cardinal:[ar,q,Xe,ve,_e,P],ordinal:[q,_e,P]},ky:A,lag:{cardinal:[ar,q,P],ordinal:[P]},lb:A,lg:A,lij:{cardinal:[q,P],ordinal:[_e,P]},lkt:Re,ln:A,lo:{cardinal:[P],ordinal:[q,P]},lt:{cardinal:[q,ve,_e,P],ordinal:[P]},lv:{cardinal:[ar,q,P],ordinal:[P]},mas:A,mg:A,mgo:A,mk:{cardinal:[q,P],ordinal:[q,Xe,_e,P]},ml:A,mn:A,mo:{cardinal:[q,ve,P],ordinal:[q,P]},mr:{cardinal:[q,P],ordinal:[q,Xe,ve,P]},ms:{cardinal:[P],ordinal:[q,P]},mt:{cardinal:[q,Xe,ve,_e,P],ordinal:[P]},my:Re,nah:A,naq:zn,nb:A,nd:A,ne:Wr,nl:A,nn:A,nnh:A,no:A,nqo:Re,nr:A,nso:A,ny:A,nyn:A,om:A,or:{cardinal:[q,P],ordinal:[q,Xe,ve,_e,P]},os:A,osa:Re,pa:A,pap:A,pcm:A,pl:{cardinal:[q,ve,_e,P],ordinal:[P]},prg:{cardinal:[ar,q,P],ordinal:[P]},ps:A,pt:{cardinal:[q,_e,P],ordinal:[P]},pt_PT:{cardinal:[q,_e,P],ordinal:[P]},rm:A,ro:{cardinal:[q,ve,P],ordinal:[q,P]},rof:A,ru:{cardinal:[q,ve,_e,P],ordinal:[P]},rwk:A,sah:Re,saq:A,sat:zn,sc:{cardinal:[q,P],ordinal:[_e,P]},scn:{cardinal:[q,P],ordinal:[_e,P]},sd:A,sdh:A,se:zn,seh:A,ses:Re,sg:Re,sh:{cardinal:[q,ve,P],ordinal:[P]},shi:{cardinal:[q,ve,P],ordinal:[P]},si:A,sk:{cardinal:[q,ve,_e,P],ordinal:[P]},sl:{cardinal:[q,Xe,ve,P],ordinal:[P]},sma:zn,smi:zn,smj:zn,smn:zn,sms:zn,sn:A,so:A,sq:{cardinal:[q,P],ordinal:[q,_e,P]},sr:{cardinal:[q,ve,P],ordinal:[P]},ss:A,ssy:A,st:A,su:Re,sv:Wr,sw:A,syr:A,ta:A,te:A,teo:A,th:Re,ti:A,tig:A,tk:{cardinal:[q,P],ordinal:[ve,P]},tl:Wr,tn:A,to:Re,tpi:Re,tr:A,ts:A,tzm:A,ug:A,uk:{cardinal:[q,ve,_e,P],ordinal:[ve,P]},und:Re,ur:A,uz:A,ve:A,vec:{cardinal:[q,_e,P],ordinal:[_e,P]},vi:{cardinal:[P],ordinal:[q,P]},vo:A,vun:A,wa:A,wae:A,wo:Re,xh:A,xog:A,yi:A,yo:Re,yue:Re,zh:Re,zu:A});let $=(p,f)=>f?"other":p==1?"one":"other",ir=(p,f)=>f?"other":p==0||p==1?"one":"other",ka=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",mn=(p,f)=>{let v=String(p).split("."),y=!v[1];return f?"other":p==1&&y?"one":"other"},Ae=(p,f)=>"other",or=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Yo=Object.freeze({__proto__:null,af:$,ak:ir,am:ka,an:$,ar:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[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 v=String(p).split("."),y=Number(v[0])==p,_=y&&v[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:$,ast:mn,az:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-1),E=y.slice(-2),k=y.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":y==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 v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:$,bez:$,bg:$,bho:ir,bm:Ae,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:Ae,br:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2),k=y&&v[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&&y&&k==0?"many":"other"},brx:$,bs:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},ca:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:$,ceb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:$,chr:$,ckb:$,cs:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=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 v=String(p).split("."),y=v[0],_=Number(v[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:mn,doi:ka,dsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),I=_.slice(-2);return f?"other":E&&k==1||I==1?"one":E&&k==2||I==2?"two":E&&(k==3||k==4)||I==3||I==4?"few":"other"},dv:$,dz:Ae,ee:$,el:$,en:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&y?"one":"other"},eo:$,es:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:mn,eu:$,fa:ka,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:mn,fil:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:$,fr:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:$,fy:mn,ga:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let v=String(p).split("."),y=Number(v[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":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:mn,gsw:$,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:ir,gv:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.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:$,haw:$,he:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":y==1&&_||y==0&&!_?"one":y==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:Ae,hr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},hsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),I=_.slice(-2);return f?"other":E&&k==1||I==1?"one":E&&k==2||I==2?"two":E&&(k==3||k==4)||I==3||I==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:mn,id:Ae,ig:Ae,ii:Ae,io:mn,is:(p,f)=>{let v=String(p).split("."),y=v[0],_=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==p,k=y.slice(-1),I=y.slice(-2);return f?"other":E&&k==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:or,ja:Ae,jbo:Ae,jgo:$,jmc:$,jv:Ae,jw:Ae,ka:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:$,kcg:$,kde:Ae,kea:Ae,kk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:$,kl:$,km:Ae,kn:ka,ko:Ae,ks:$,ksb:$,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:$,kw:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2),E=y&&v[0].slice(-3),k=y&&v[0].slice(-5),I=y&&v[0].slice(-6);return f?y&&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||y&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:$,lag:(p,f)=>{let v=String(p).split("."),y=v[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:$,lg:$,lij:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:Ae,ln:ir,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||I>=11&&I<=19||_==2&&N>=11&&N<=19?"zero":k==1&&I!=11||_==2&&F==1&&N!=11||_!=2&&F==1?"one":"other"},mas:$,mg:ir,mgo:$,mk:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?k==1&&I!=11?"one":k==2&&I!=12?"two":(k==7||k==8)&&I!=17&&I!=18?"many":"other":E&&k==1&&I!=11||N==1&&F!=11?"one":"other"},ml:$,mn:$,mo:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||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 v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ae,nah:$,naq:or,nb:$,nd:$,ne:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:mn,nn:$,nnh:$,no:$,nqo:Ae,nr:$,nso:ir,ny:$,nyn:$,om:$,or:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:$,osa:Ae,pa:ir,pap:$,pcm:ka,pl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||I>=11&&I<=19||_==2&&N>=11&&N<=19?"zero":k==1&&I!=11||_==2&&F==1&&N!=11||_!=2&&F==1?"one":"other"},ps:$,pt:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:$,ro:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:$,ru:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.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:$,sah:Ae,saq:$,sat:or,sc:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:$,sdh:$,se:or,seh:$,ses:Ae,sg:Ae,sh:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},shi:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:or,smi:or,smj:or,smn:or,sms:or,sn:$,so:$,sq:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},ss:$,ssy:$,st:$,su:Ae,sv:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&y?"one":"other"},sw:mn,syr:$,ta:$,te:$,teo:$,th:Ae,ti:ir,tig:$,tk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:$,to:Ae,tpi:Ae,tr:$,ts:$,tzm:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:$,uk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-1),F=y.slice(-2);return f?k==3&&I!=13?"few":"other":_&&N==1&&F!=11?"one":_&&N>=2&&N<=4&&(F<12||F>14)?"few":_&&N==0||_&&N>=5&&N<=9||_&&F>=11&&F<=14?"many":"other"},und:Ae,ur:mn,uz:$,ve:$,vec:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:$,vun:$,wa:ir,wae:$,wo:Ae,xh:$,xog:$,yi:mn,yo:Ae,yue:Ae,zh:Ae,zu:ka});function du(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 Ko(p){if(typeof p=="function"){var f=du(p.name);return{isDefault:!1,id:Ir(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=du(p),y=Ir(v);return QH(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:ZH[y],getPlural:Yo[y],cardinals:Sp[y].cardinal,ordinals:Sp[y].ordinal}:null}function YH(p){var f=Object.keys(Yo).filter(function(v){return v!==p});return f.unshift(p),f.map(Ko)}function KH(p){var f=du(p);return Ir(f)in Yo}function QH(p){return p in Yo}var XH=function(){function p(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=YH(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Ko).filter(Boolean);else if(f){var y=Ko(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Ko(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(KH)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new WH(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],I=[];try{for(var N=n(Object.entries(_.runtime)),F=N.next();!F.done;F=N.next()){var J=a(F.value,2),ue=J[0],Ce=J[1];k.push(ue),I.push(Ce)}}catch(Ye){v={error:Ye}}finally{try{F&&!F.done&&(y=N.return)&&y.call(N)}finally{if(v)throw v.error}}var W=new(Function.bind.apply(Function,i(i([void 0],a(k),!1),[E],!1)));return W.apply(void 0,i([],a(I),!1))},p.defaultLocale="en",p}();return XH})}),dn=ae(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 r=function n(a,i){t(this,n),this.data=a,this.text=i.text||a,this.options=i};e.default=r}),d7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,R){for(var O=0;O<R.length;O++){var Y=R[O];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(T,Y.key,Y)}}return function(T,R,O){return R&&S(T.prototype,R),O&&S(T,O),T}}(),r=dn(),n=a(r);function a(S){return S&&S.__esModule?S:{default:S}}function i(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 c=function(S){l(T,S);function T(R,O){return i(this,T),R=R.toUpperCase(),O.mod43&&(R+=g(x(R))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,R,O))}return t(T,[{key:"encode",value:function(){for(var R=m("*"),O=0;O<this.data.length;O++)R+=m(this.data[O])+"0";return R+=m("*"),{data:R,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.default),u=["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","-","."," ","$","/","+","%","*"],d=[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 b(w(S))}function b(S){return d[S].toString(2)}function g(S){return u[S]}function w(S){return u.indexOf(S)}function x(S){for(var T=0,R=0;R<S.length;R++)T+=w(S[R]);return T=T%43,T}e.CODE39=c}),bo=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(u,d,m){return d in u?Object.defineProperty(u,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[d]=m,u}var n=e.SET_A=0,a=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,a),r(t,c,i),t),e.SWAP={101:n,100:a,99:i},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]}),Sl=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=dn(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=a.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(a.FNC1);var x=m.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return a.BARS[b]?a.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===a.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===a.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var x=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var T=a.SWAP[S];T!==void 0?x=m.next(b,g+1,T):((w===a.SET_A||w===a.SET_B)&&S===a.SHIFT&&(b[0]=w===a.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),x=m.next(b,g+1,w))}else S=m.correctIndex(b,w),x=m.next(b,g+1,w);var R=m.getBar(S),O=S*g;return{result:R+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=u}),h7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=bo(),r=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 i(l,c){var u=c?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+u+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+u+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(c?205:206)+i(l.substring(m.length),!c)}function o(l){var c=a(l),u=c.length;if(u===l.length)return l;l=l.substring(u);var d=r(l)>=n(l);return c+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var c=void 0,u=a(l).length;if(u>=2)c=t.C_START_CHAR+o(l);else{var d=r(l)>n(l);c=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,b){return"Ë"+b})}}),p7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Sl(),r=i(t),n=h7(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(r.default);e.default=u}),m7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=Sl(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),f7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=Sl(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),g7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=Sl(),n=i(r),a=bo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),v7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=p7(),r=u(t),n=m7(),a=u(n),i=f7(),o=u(i),l=g7(),c=u(l);function u(d){return d&&d.__esModule?d:{default:d}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=c.default}),yo=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),_o=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=yo(),r=function(n,a,i){var o=n.split("").map(function(c,u){return t.BINARIES[a[u]]}).map(function(c,u){return c?c[n[u]]:""});if(i){var l=n.length-1;o=o.map(function(c,u){return u<l?c+i:c})}return o.join("")};e.default=r}),cg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=yo(),n=_o(),a=l(n),i=dn(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){d(g,b);function g(w,x){c(this,g);var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),b7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=function b(g,w,x){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:b(T,w,x)}else{if("value"in S)return S.value;var R=S.get;return R===void 0?void 0:R.call(x)}},n=yo(),a=cg(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var d=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,S){return S%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.lastChar=x.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),y7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(b,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,g,w){return g&&m(b.prototype,g),w&&m(b,w),b}}(),r=function m(b,g,w){b===null&&(b=Function.prototype);var x=Object.getOwnPropertyDescriptor(b,g);if(x===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:m(S,g,w)}else{if("value"in x)return x.value;var T=x.get;return T===void 0?void 0:T.call(w)}},n=cg(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function l(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:m}function c(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(m,b):m.__proto__=b)}var u=function(m){var b=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-b%10)%10},d=function(m){c(b,m);function b(g,w){return o(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=u(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(a.default);e.default=d}),_7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var S=0;S<x.length;S++){var T=x[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(w,T.key,T)}}return function(w,x,S){return x&&g(w.prototype,x),S&&g(w,S),w}}(),r=yo(),n=_o(),a=l(n),i=dn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function u(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function d(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,S,T){return T%2?x+S*9:x+S*3},0);return w%10},b=function(g){d(w,g);function w(x,S){return c(this,w),u(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),w7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=yo(),n=_o(),a=l(n),i=dn(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){d(g,b);function g(w,x){return c(this,g),u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),dg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}();e.checksum=m;var r=_o(),n=o(r),a=dn(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var d=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.displayValue=x.displayValue,x.fontSize>x.width*10?S.fontSize=x.width*10:S.fontSize=x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.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 w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=d}),x7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,T){for(var R=0;R<T.length;R++){var O=T[R];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,T,R){return T&&x(S.prototype,T),R&&x(S,R),S}}(),r=_o(),n=l(r),a=dn(),i=l(a),o=dg();function l(x){return x&&x.__esModule?x:{default:x}}function c(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function u(x,S){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:x}function d(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(x,S):x.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(S,x);function S(T,R){c(this,S);var O=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,R));if(O.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)O.middleDigits=T,O.upcA=w(T,"0"),O.text=R.text||""+O.upcA[0]+T+O.upcA[O.upcA.length-1],O.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(O.middleDigits=T.substring(1,T.length-1),O.upcA=w(O.middleDigits,T[0]),O.upcA[O.upcA.length-1]===T[T.length-1])O.isValid=!0;else return u(O);else return u(O);return O.displayValue=R.displayValue,R.fontSize>R.width*10?O.fontSize=R.width*10:O.fontSize=R.fontSize,O.guardHeight=R.height+O.fontSize/2+R.textMargin,O}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],R=this.upcA[this.upcA.length-1],O=b[parseInt(R)][parseInt(T)];return(0,n.default)(this.middleDigits,O)}}]),S}(i.default);function w(x,S){for(var T=parseInt(x[x.length-1]),R=m[T],O="",Y=0,ie=0;ie<R.length;ie++){var me=R[ie];me==="X"?O+=x[Y++]:O+=me}return O=""+S+O,""+O+(0,o.checksum)(O)}e.default=g}),E7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=b7(),r=g(t),n=y7(),a=g(n),i=_7(),o=g(i),l=w7(),c=g(l),u=dg(),d=g(u),m=x7(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=c.default,e.UPC=d.default,e.UPCE=b.default}),S7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),hg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=S7(),n=dn(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);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 b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=r.BINARIES[b[1]];return r.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=u}),k7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=hg(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){var m=d.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},u=function(d){l(m,d);function m(b,g){return i(this,m),b.search(/^[0-9]{13}$/)!==-1&&(b+=c(b)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),m}(n.default);e.default=u}),C7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=hg(),r=i(t),n=k7(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),wo=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=dn(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){l(m,d);function m(b,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=u(x,4-x.length);for(var S=0;S<x.length;S++)b+=x[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function u(d,m){for(var b=0;b<m;b++)d="0"+d;return d}e.default=c}),kl=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var a=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function r(n){for(var a=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=i[o%i.length]*l}return(11-a%11)%11}}),I7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),b))}return d}(r.default);e.default=c}),D7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),b))}return d}(r.default);e.default=c}),T7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return d}(r.default);e.default=c}),N7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wo(),r=a(t),n=kl();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return d}(r.default);e.default=c}),O7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=wo(),r=m(t),n=I7(),a=m(n),i=D7(),o=m(i),l=T7(),c=m(l),u=N7(),d=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=c.default,e.MSI1110=d.default}),M7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=dn(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,b="";!isNaN(m)&&m!=0;)m%2===0?(b="11100"+b,m=(m-2)/2):(b="100"+b,m=(m-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=c}),P7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=dn(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){i(this,d),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m.toUpperCase(),b));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],b=this.getEncodings(),g=0;g<this.data.length;g++)m.push(b[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"}}}]),d}(n.default);e.codabar=c}),R7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),pg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),r=R7(),n=dn(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function c(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return r.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return m.getEncoding(S)}).join(""),w=m.checksum(b,20),x=m.checksum(b.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return r.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return r.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return r.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,T){var R=T%g+1;return x+m.symbolValue(S)*R},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=u}),A7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=pg(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=c}),L7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=pg(),r=i(t),n=A7(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),F7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=dn(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=c}),j7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=d7(),r=v7(),n=E7(),a=C7(),i=O7(),o=M7(),l=P7(),c=L7(),u=F7();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.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:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:u.GenericBarcode}}),Cl=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r};e.default=function(r,n){return t({},r,n)}}),V7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function a(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)a(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return a(r),n}}),z7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),mg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof r[a]=="string"&&(r[a]=parseInt(r[a],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),fg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),B7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=mg(),r=i(t),n=fg(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var c={};for(var u in a.default)a.default.hasOwnProperty(u)&&(l.hasAttribute("jsbarcode-"+u.toLowerCase())&&(c[u]=l.getAttribute("jsbarcode-"+u.toLowerCase())),l.hasAttribute("data-"+u.toLowerCase())&&(c[u]=l.getAttribute("data-"+u.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,r.default)(c),c}e.default=o}),gg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Cl(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function a(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(d,m,b){if(b.displayValue&&m<d){if(b.textAlign=="center")return Math.floor((d-m)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,b){for(var g=0;g<d.length;g++){var w=d[g],x=(0,r.default)(m,w.options),S;x.displayValue?S=u(w.text,x,b):S=0;var T=w.data.length*x.width;w.width=Math.ceil(Math.max(S,T)),w.height=a(w,x),w.barcodePadding=i(S,T,x)}}function l(d){for(var m=0,b=0;b<d.length;b++)m+=d[b].width;return m}function c(d){for(var m=0,b=0;b<d.length;b++)d[b].height>m&&(m=d[b].height);return m}function u(d,m,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),H7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(u,d){for(var m=0;m<d.length;m++){var b=d[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,d,m){return d&&c(u.prototype,d),m&&c(u,m),u}}(),r=Cl(),n=i(r),a=gg();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(u,d,m){o(this,c),this.canvas=u,this.encodings=d,this.options=m}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var d=(0,n.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(d,this.encodings[u]),this.drawCanvasText(d,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,u);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,d){var m=this.canvas.getContext("2d"),b=d.data,g;u.textPosition=="top"?g=u.marginTop+u.fontSize+u.textMargin:g=u.marginTop,m.fillStyle=u.lineColor;for(var w=0;w<b.length;w++){var x=w*u.width+d.barcodePadding;b[w]==="1"?m.fillRect(x,g,u.width,u.height):b[w]&&m.fillRect(x,g,u.width,u.height*b[w])}}},{key:"drawCanvasText",value:function(u,d){var m=this.canvas.getContext("2d"),b=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var g,w;u.textPosition=="top"?w=u.marginTop+u.fontSize-u.textMargin:w=u.height+u.textMargin+u.marginTop+u.fontSize,m.font=b,u.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):u.textAlign=="right"?(g=d.width-1,m.textAlign="right"):(g=d.width/2,m.textAlign="center"),m.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(u){var d=this.canvas.getContext("2d");d.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");u.restore()}}]),c}();e.default=l}),q7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),r=Cl(),n=i(r),a=gg();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function u(d,m,b){o(this,u),this.svg=d,this.encodings=m,this.options=b,this.document=b.xmlDocument||document}return t(u,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var b=this.encodings[m],g=(0,n.default)(this.options,b.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),d+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),b=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,m),this.options.background&&this.drawRect(0,0,b,m,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(d,m,b){var g=b.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,S=0,T=0;T<g.length;T++)S=T*m.width+b.barcodePadding,g[T]==="1"?x++:x>0&&(this.drawRect(S-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(S-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,b){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;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"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(b.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var b=this.svg;b.setAttribute("width",d+"px"),b.setAttribute("height",m+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+d+" "+m),b.setAttribute("xmlns",l),b.setAttribute("version","1.1")}},{key:"createGroup",value:function(d,m,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("fill",m.lineColor)}},{key:"drawRect",value:function(d,m,b,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",b),x.setAttribute("height",g),w.appendChild(x),x}}]),u}();e.default=c}),$7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i,o,l){r(this,a),this.object=i,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),U7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=H7(),r=l(t),n=q7(),a=l(n),i=$7(),o=l(i);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),vg=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function r(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function n(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var a=function(l){n(c,l);function c(u,d){t(this,c);var m=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return m.name="InvalidInputException",m.symbology=u,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return c}(Error),i=function(l){n(c,l);function c(){t(this,c);var u=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return u.name="InvalidElementException",u.message="Not supported type to render on",u}return c}(Error),o=function(l){n(c,l);function c(){t(this,c);var u=r(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return u.name="NoElementException",u.message="No element to render on.",u}return c}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),G7=ae(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},r=B7(),n=l(r),a=U7(),i=l(a),o=vg();function l(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof m=="string")return u(m);if(Array.isArray(m)){for(var b=[],g=0;g<m.length;g++)b.push(c(m[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function u(m){var b=document.querySelectorAll(m);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(c(b[w]));return g}}function d(m){var b=document.createElement("canvas");return{element:b,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",b.toDataURL())}}}e.default=c}),W7=ae(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i){r(this,a),this.api=i}return t(a,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),Z7=ae((e,t)=>{var r=j7(),n=O(r),a=Cl(),i=O(a),o=V7(),l=O(o),c=z7(),u=O(c),d=G7(),m=O(d),b=mg(),g=O(b),w=W7(),x=O(w),S=vg(),T=fg(),R=O(T);function O(Z){return Z&&Z.__esModule?Z:{default:Z}}var Y=function(){},ie=function(Z,H,ge){var L=new Y;if(typeof Z>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,m.default)(Z),L._encodings=[],L._options=R.default,L._errorHandler=new x.default(L),typeof H<"u"&&(ge=ge||{},ge.format||(ge.format=We()),L.options(ge)[ge.format](H,ge).render()),L};ie.getModule=function(Z){return n.default[Z]};for(me in n.default)n.default.hasOwnProperty(me)&&St(n.default,me);var me;function St(Z,H){Y.prototype[H]=Y.prototype[H.toUpperCase()]=Y.prototype[H.toLowerCase()]=function(ge,L){var j=this;return j._errorHandler.wrapBarcodeCall(function(){L.text=typeof L.text>"u"?void 0:""+L.text;var G=(0,i.default)(j._options,L);G=(0,g.default)(G);var Se=Z[H],qe=ut(ge,Se,G);return j._encodings.push(qe),j})}}function ut(Z,H,ge){Z=""+Z;var L=new H(Z,ge);if(!L.valid())throw new S.InvalidInputException(L.constructor.name,Z);var j=L.encode();j=(0,l.default)(j);for(var G=0;G<j.length;G++)j[G].options=(0,i.default)(ge,j[G].options);return j}function We(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Y.prototype.options=function(Z){return this._options=(0,i.default)(this._options,Z),this},Y.prototype.blank=function(Z){var H=new Array(Z+1).join("0");return this._encodings.push({data:H}),this},Y.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Z;for(var H in this._renderProperties){Z=this._renderProperties[H];var ge=(0,i.default)(this._options,Z.options);ge.format=="auto"&&(ge.format=We()),this._errorHandler.wrapBarcodeCall(function(){var L=ge.value,j=n.default[ge.format.toUpperCase()],G=ut(L,j,ge);vt(Z,G,ge)})}}},Y.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Z=0;Z<this._renderProperties.length;Z++)vt(this._renderProperties[Z],this._encodings,this._options);else vt(this._renderProperties,this._encodings,this._options);return this},Y.prototype._defaults=R.default;function vt(Z,H,ge){H=(0,l.default)(H);for(var L=0;L<H.length;L++)H[L].options=(0,i.default)(ge,H[L].options),(0,u.default)(H[L].options);(0,u.default)(ge);var j=Z.renderer,G=new j(Z.element,H,ge);G.render(),Z.afterRender&&Z.afterRender()}typeof window<"u"&&(window.JsBarcode=ie),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Z,H){var ge=[];return jQuery(this).each(function(){ge.push(this)}),ie(ge,Z,H)}),t.exports=ie});function xd(e,t){return Object.is(e,t)}var dt=null,Es=!1,Ed=1,_r=Symbol("SIGNAL");function we(e){let t=dt;return dt=e,t}function Y7(){return dt}var xo={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 Il(e){if(Es)throw new Error("");if(dt===null)return;dt.consumerOnSignalRead(e);let t=dt.nextProducerIndex++;if(Tl(dt),t<dt.producerNode.length&&dt.producerNode[t]!==e&&eo(dt)){let r=dt.producerNode[t];Dl(r,dt.producerIndexOfThis[t])}dt.producerNode[t]!==e&&(dt.producerNode[t]=e,dt.producerIndexOfThis[t]=eo(dt)?xg(e,dt,t):0),dt.producerLastReadVersion[t]=e.version}function K7(){Ed++}function Eo(e){if(!(eo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ed)){if(!e.producerMustRecompute(e)&&!_g(e)){zs(e);return}e.producerRecomputeValue(e),zs(e)}}function bg(e){if(e.liveConsumerNode===void 0)return;let t=Es;Es=!0;try{for(let r of e.liveConsumerNode)r.dirty||Q7(r)}finally{Es=t}}function yg(){return(dt==null?void 0:dt.consumerAllowSignalWrites)!==!1}function Q7(e){var t;e.dirty=!0,bg(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function zs(e){e.dirty=!1,e.lastCleanEpoch=Ed}function Bs(e){return e&&(e.nextProducerIndex=0),we(e)}function Sd(e,t){if(we(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(eo(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Dl(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _g(e){Tl(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Eo(r),n!==r.version))return!0}return!1}function wg(e){if(Tl(e),eo(e))for(let t=0;t<e.producerNode.length;t++)Dl(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 xg(e,t,r){if(Eg(e),e.liveConsumerNode.length===0&&Sg(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=xg(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function Dl(e,t){if(Eg(e),e.liveConsumerNode.length===1&&Sg(e))for(let n=0;n<e.producerNode.length;n++)Dl(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];Tl(a),a.producerIndexOfThis[n]=t}}function eo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Tl(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Eg(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Sg(e){return e.producerNode!==void 0}function X7(e,t){let r=Object.create(J7);r.computation=e;let n=()=>{if(Eo(r),Il(r),r.value===Fr)throw r.error;return r.value};return n[_r]=r,n}var ia=Symbol("UNSET"),qa=Symbol("COMPUTING"),Fr=Symbol("ERRORED"),J7=Yt(se({},xo),{value:ia,dirty:!0,error:null,equal:xd,kind:"computed",producerMustRecompute(e){return e.value===ia||e.value===qa},producerRecomputeValue(e){if(e.value===qa)throw new Error("Detected cycle in computations.");let t=e.value;e.value=qa;let r=Bs(e),n,a=!1;try{n=e.computation(),we(null),a=t!==ia&&t!==Fr&&n!==Fr&&e.equal(t,n)}catch(i){n=Fr,e.error=i}finally{Sd(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function eq(){throw new Error}var kg=eq;function Cg(e){kg(e)}function tq(e){kg=e}function nq(e,t){let r=Object.create(Dg);r.value=e;let n=()=>(Il(r),r.value);return n[_r]=r,n}function Nl(e,t){yg()||Cg(e),e.equal(e.value,t)||(e.value=t,rq(e))}function Ig(e,t){yg()||Cg(e),Nl(e,t(e.value))}var Dg=Yt(se({},xo),{equal:xd,value:void 0,kind:"signal"});function rq(e){e.version++,K7(),bg(e)}function Np(e,t,r){let n=Object.create(oq);n.source=e,n.computation=t,r!=null&&(n.equal=r);let a=()=>{if(Eo(n),Il(n),n.value===Fr)throw n.error;return n.value};return a[_r]=n,a}function aq(e,t){Eo(e),Nl(e,t),zs(e)}function iq(e,t){Eo(e),Ig(e,t),zs(e)}var oq=Yt(se({},xo),{value:ia,dirty:!0,error:null,equal:xd,kind:"linkedSignal",producerMustRecompute(e){return e.value===ia||e.value===qa},producerRecomputeValue(e){if(e.value===qa)throw new Error("Detected cycle in computations.");let t=e.value;e.value=qa;let r=Bs(e),n;try{let a=e.source(),i=t===ia||t===Fr?void 0:{source:e.sourceValue,value:t};n=e.computation(a,i),e.sourceValue=a}catch(a){n=Fr,e.error=a}finally{Sd(e,r)}if(t!==ia&&n!==Fr&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function sq(e){let t=we(null);try{return e()}finally{we(t)}}var dc;function Ss(){return dc}function Nr(e){let t=dc;return dc=e,t}var Tg=Symbol("NotFound");function Ke(e){return typeof e=="function"}function kd(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var hu=kd(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
13
13
|
${t.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
|
|
14
14
|
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Hs(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var un=class hc{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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(Ke(n))try{n()}catch(i){t=i instanceof hu?i.errors:[i]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let i of a)try{Op(i)}catch(o){t=t??[],o instanceof hu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new hu(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Op(t);else{if(t instanceof hc){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Hs(r,t)}remove(t){let{_finalizers:r}=this;r&&Hs(r,t),t instanceof hc&&t._removeParent(this)}};un.EMPTY=(()=>{let e=new un;return e.closed=!0,e})();var Ng=un.EMPTY;function Og(e){return e instanceof un||e&&"closed"in e&&Ke(e.remove)&&Ke(e.add)&&Ke(e.unsubscribe)}function Op(e){Ke(e)?e():e.unsubscribe()}var lq={Promise:void 0},uq={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Mg(e){uq.setTimeout(()=>{throw e})}function pc(){}function ks(e){e()}var Cd=class extends un{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Og(e)&&e.add(this)):this.destination=hq}static create(e,t,r){return new to(e,t,r)}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()}}},cq=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){es(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){es(r)}else es(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){es(t)}}},to=class extends Cd{constructor(e,t,r){super();let n;Ke(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new cq(n)}};function es(e){Mg(e)}function dq(e){throw e}var hq={closed:!0,next:pc,error:dq,complete:pc},Id=typeof Symbol=="function"&&Symbol.observable||"@@observable";function di(e){return e}function pq(e){return e.length===0?di:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var nt=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,a){let i=fq(r)?r:new to(r,n,a);return ks(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Mp(n),new n((a,i)=>{let o=new to({next:l=>{try{r(l)}catch(c){i(c),o.unsubscribe()}},error:i,complete:a});this.subscribe(o)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Id](){return this}pipe(...r){return pq(r)(this)}toPromise(r){return r=Mp(r),new r((n,a)=>{let i;this.subscribe(o=>i=o,o=>a(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function Mp(e){var t;return(t=e??lq.Promise)!==null&&t!==void 0?t:Promise}function mq(e){return e&&Ke(e.next)&&Ke(e.error)&&Ke(e.complete)}function fq(e){return e&&e instanceof Cd||mq(e)&&Og(e)}function gq(e){return Ke(e==null?void 0:e.lift)}function qt(e){return t=>{if(gq(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,r,n,a){return new vq(e,t,r,n,a)}var vq=class extends Cd{constructor(e,t,r,n,a,i){super(e),this.onFinalize=a,this.shouldUnsubscribe=i,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=r?function(){try{r()}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))}}},bq=kd(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),xe=(()=>{class e extends nt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Pp(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new bq}next(r){ks(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){ks(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){ks(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:a,observers:i}=this;return n||a?Ng:(this.currentObservers=null,i.push(r),new un(()=>{this.currentObservers=null,Hs(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:a,isStopped:i}=this;n?r.error(a):i&&r.complete()}asObservable(){let r=new nt;return r.source=this,r}}return e.create=(t,r)=>new Pp(t,r),e})(),Pp=class extends xe{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.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,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Ng}},Dd=class extends xe{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},Td={now(){return(Td.delegate||Date).now()},delegate:void 0},Pg=class extends xe{constructor(e=1/0,t=1/0,r=Td){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,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:r,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:i}=this;t||(r.push(e),!n&&r.push(a.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}=this,a=n.slice();for(let i=0;i<a.length&&!e.closed;i+=r?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<r.length&&r.splice(0,r.length-a),!n){let i=t.now(),o=0;for(let l=1;l<r.length&&r[l]<=i;l+=2)o=l;o&&r.splice(0,o+1)}}},yq=class extends un{constructor(e,t){super()}schedule(e,t=0){return this}},mc={setInterval(e,t,...r){let{delegate:n}=mc;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},_q=class extends yq{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;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=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return mc.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&mc.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n;try{this.work(e)}catch(a){r=!0,n=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hs(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},fc=class Rg{constructor(t,r=Rg.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};fc.now=Td.now;var wq=class extends fc{constructor(e,t=fc.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},Nd=new wq(_q),xq=Nd,Ag=new nt(e=>e.complete());function Lg(e){return e&&Ke(e.schedule)}function Od(e){return e[e.length-1]}function Fg(e){return Ke(Od(e))?e.pop():void 0}function So(e){return Lg(Od(e))?e.pop():void 0}function Eq(e,t){return typeof Od(e)=="number"?e.pop():t}function Sq(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function l(d){try{u(n.next(d))}catch(m){o(m)}}function c(d){try{u(n.throw(d))}catch(m){o(m)}}function u(d){d.done?i(d.value):a(d.value).then(l,c)}u((n=n.apply(e,[])).next())})}function Rp(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.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 $a(e){return this instanceof $a?(this.v=e,this):new $a(e)}function kq(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),a,i=[];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(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(a[g]=function(x){return new Promise(function(S,T){i.push([g,x,S,T])>1||c(g,x)})},w&&(a[g]=w(a[g])))}function c(g,w){try{u(n[g](w))}catch(x){b(i[0][3],x)}}function u(g){g.value instanceof $a?Promise.resolve(g.value.v).then(d,m):b(i[0][2],g)}function d(g){c("next",g)}function m(g){c("throw",g)}function b(g,w){g(w),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Cq(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Rp=="function"?Rp(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(o){return new Promise(function(l,c){o=e[i](o),a(l,c,o.done,o.value)})}}function a(i,o,l,c){Promise.resolve(c).then(function(u){i({value:u,done:l})},o)}}var jg=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vg(e){return Ke(e==null?void 0:e.then)}function zg(e){return Ke(e[Id])}function Bg(e){return Symbol.asyncIterator&&Ke(e==null?void 0:e[Symbol.asyncIterator])}function Hg(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 Iq(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qg=Iq();function $g(e){return Ke(e==null?void 0:e[qg])}function Ug(e){return kq(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield $a(t.read());if(n)return yield $a(void 0);yield yield $a(r)}}finally{t.releaseLock()}})}function Gg(e){return Ke(e==null?void 0:e.getReader)}function Jt(e){if(e instanceof nt)return e;if(e!=null){if(zg(e))return Dq(e);if(jg(e))return Tq(e);if(Vg(e))return Nq(e);if(Bg(e))return Wg(e);if($g(e))return Oq(e);if(Gg(e))return Mq(e)}throw Hg(e)}function Dq(e){return new nt(t=>{let r=e[Id]();if(Ke(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tq(e){return new nt(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Nq(e){return new nt(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Mg)})}function Oq(e){return new nt(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function Wg(e){return new nt(t=>{Pq(e,t).catch(r=>t.error(r))})}function Mq(e){return Wg(Ug(e))}function Pq(e,t){var r,n,a,i;return Sq(this,void 0,void 0,function*(){try{for(r=Cq(e);n=yield r.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(a)throw a.error}}t.complete()})}function br(e,t,r,n=0,a=!1){let i=t.schedule(function(){r(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!a)return i}function Zg(e,t=0){return qt((r,n)=>{r.subscribe(Rt(n,a=>br(n,e,()=>n.next(a),t),()=>br(n,e,()=>n.complete(),t),a=>br(n,e,()=>n.error(a),t)))})}function Yg(e,t=0){return qt((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function Rq(e,t){return Jt(e).pipe(Yg(t),Zg(t))}function Aq(e,t){return Jt(e).pipe(Yg(t),Zg(t))}function Lq(e,t){return new nt(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Fq(e,t){return new nt(r=>{let n;return br(r,t,()=>{n=e[qg](),br(r,t,()=>{let a,i;try{({value:a,done:i}=n.next())}catch(o){r.error(o);return}i?r.complete():r.next(a)},0,!0)}),()=>Ke(n==null?void 0:n.return)&&n.return()})}function Kg(e,t){if(!e)throw new Error("Iterable cannot be null");return new nt(r=>{br(r,t,()=>{let n=e[Symbol.asyncIterator]();br(r,t,()=>{n.next().then(a=>{a.done?r.complete():r.next(a.value)})},0,!0)})})}function jq(e,t){return Kg(Ug(e),t)}function Vq(e,t){if(e!=null){if(zg(e))return Rq(e,t);if(jg(e))return Lq(e,t);if(Vg(e))return Aq(e,t);if(Bg(e))return Kg(e,t);if($g(e))return Fq(e,t);if(Gg(e))return jq(e,t)}throw Hg(e)}function ya(e,t){return t?Vq(e,t):Jt(e)}function it(...e){let t=So(e);return ya(e,t)}function Qg(e,t){let r=Ke(e)?e:()=>e,n=a=>a.error(r());return new nt(n)}function Gi(e){return!!e&&(e instanceof nt||Ke(e.lift)&&Ke(e.subscribe))}var zq=kd(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Bq(e,t){return new Promise((r,n)=>{let a=!1,i;e.subscribe({next:o=>{i=o,a=!0},error:n,complete:()=>{a?r(i):n(new zq)}})})}function Hq(e){return e instanceof Date&&!isNaN(e)}function Mt(e,t){return qt((r,n)=>{let a=0;r.subscribe(Rt(n,i=>{n.next(e.call(t,i,a++))}))})}var{isArray:qq}=Array;function $q(e,t){return qq(t)?e(...t):e(t)}function Xg(e){return Mt(t=>$q(e,t))}var{isArray:Uq}=Array,{getPrototypeOf:Gq,prototype:Wq,keys:Zq}=Object;function Jg(e){if(e.length===1){let t=e[0];if(Uq(t))return{args:t,keys:null};if(Yq(t)){let r=Zq(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function Yq(e){return e&&typeof e=="object"&&Gq(e)===Wq}function ev(e,t){return e.reduce((r,n,a)=>(r[n]=t[a],r),{})}function Kq(...e){let t=So(e),r=Fg(e),{args:n,keys:a}=Jg(e);if(n.length===0)return ya([],t);let i=new nt(Qq(n,t,a?o=>ev(a,o):di));return r?i.pipe(Xg(r)):i}function Qq(e,t,r=di){return n=>{Ap(t,()=>{let{length:a}=e,i=new Array(a),o=a,l=a;for(let c=0;c<a;c++)Ap(t,()=>{let u=ya(e[c],t),d=!1;u.subscribe(Rt(n,m=>{i[c]=m,d||(d=!0,l--),l||n.next(r(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Ap(e,t,r){e?br(r,e,t):t()}function Xq(e,t,r,n,a,i,o,l){let c=[],u=0,d=0,m=!1,b=()=>{m&&!c.length&&!u&&t.complete()},g=x=>u<n?w(x):c.push(x),w=x=>{u++;let S=!1;Jt(r(x,d++)).subscribe(Rt(t,T=>{t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;c.length&&u<n;){let T=c.shift();o?br(t,o,()=>w(T)):w(T)}b()}catch(T){t.error(T)}}))};return e.subscribe(Rt(t,g,()=>{m=!0,b()})),()=>{}}function no(e,t,r=1/0){return Ke(t)?no((n,a)=>Mt((i,o)=>t(n,i,a,o))(Jt(e(n,a))),r):(typeof t=="number"&&(r=t),qt((n,a)=>Xq(n,a,e,r)))}function tv(e=1/0){return no(di,e)}function Jq(){return tv(1)}function ro(...e){return Jq()(ya(e,So(e)))}function qs(e){return new nt(t=>{Jt(e()).subscribe(t)})}function nv(...e){let t=Fg(e),{args:r,keys:n}=Jg(e),a=new nt(i=>{let{length:o}=r;if(!o){i.complete();return}let l=new Array(o),c=o,u=o;for(let d=0;d<o;d++){let m=!1;Jt(r[d]).subscribe(Rt(i,b=>{m||(m=!0,u--),l[d]=b},()=>c--,void 0,()=>{(!c||!m)&&(u||i.next(n?ev(n,l):l),i.complete())}))}});return t?a.pipe(Xg(t)):a}function e$(e=0,t,r=xq){let n=-1;return t!=null&&(Lg(t)?r=t:n=t),new nt(a=>{let i=Hq(e)?+e-r.now():e;i<0&&(i=0);let o=0;return r.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},i)})}function Md(...e){let t=So(e),r=Eq(e,1/0),n=e;return n.length?n.length===1?Jt(n[0]):tv(r)(ya(n,t)):Ag}function mr(e,t){return qt((r,n)=>{let a=0;r.subscribe(Rt(n,i=>e.call(t,i,a++)&&n.next(i)))})}function t$(e){return qt((t,r)=>{let n=!1,a=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let u=a;a=null,r.next(u)}o&&r.complete()},c=()=>{i=null,o&&r.complete()};t.subscribe(Rt(r,u=>{n=!0,a=u,i||Jt(e(u)).subscribe(i=Rt(r,l,c))},()=>{o=!0,(!n||!i||i.closed)&&r.complete()}))})}function rv(e,t=Nd){return t$(()=>e$(e,t))}function Pd(e){return qt((t,r)=>{let n=null,a=!1,i;n=t.subscribe(Rt(r,void 0,void 0,o=>{i=Jt(e(o,Pd(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function av(e,t){return Ke(t)?no(e,t,1):no(e,1)}function n$(e,t=Nd){return qt((r,n)=>{let a=null,i=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let u=i;i=null,n.next(u)}};function c(){let u=o+e,d=t.now();if(d<u){a=this.schedule(void 0,u-d),n.add(a);return}l()}r.subscribe(Rt(n,u=>{i=u,o=t.now(),a||(a=t.schedule(c,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{i=a=null}))})}function Qt(e){return e<=0?()=>Ag:qt((t,r)=>{let n=0;t.subscribe(Rt(r,a=>{++n<=e&&(r.next(a),e<=n&&r.complete())}))})}function r$(e,t=di){return e=e??a$,qt((r,n)=>{let a,i=!0;r.subscribe(Rt(n,o=>{let l=t(o);(i||!e(a,l))&&(i=!1,a=l,n.next(o))}))})}function a$(e,t){return e===t}function iv(e){return qt((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function ov(e={}){let{connector:t=()=>new xe,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return i=>{let o,l,c,u=0,d=!1,m=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),o=c=void 0,d=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return qt((x,S)=>{u++,!m&&!d&&b();let T=c=c??t();S.add(()=>{u--,u===0&&!m&&!d&&(l=pu(w,a))}),T.subscribe(S),!o&&u>0&&(o=new to({next:R=>T.next(R),error:R=>{m=!0,b(),l=pu(g,r,R),T.error(R)},complete:()=>{d=!0,b(),l=pu(g,n),T.complete()}}),Jt(x).subscribe(o))})(i)}}function pu(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new to({next:()=>{n.unsubscribe(),e()}});return Jt(t(...r)).subscribe(n)}function Lp(e,t,r){let n;return n=e,ov({connector:()=>new Pg(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function sv(e){return mr((t,r)=>e<=r)}function Rd(...e){let t=So(e);return qt((r,n)=>{(t?ro(e,r,t):ro(e,r)).subscribe(n)})}function $s(e,t){return qt((r,n)=>{let a=null,i=0,o=!1,l=()=>o&&!a&&n.complete();r.subscribe(Rt(n,c=>{a==null||a.unsubscribe();let u=0,d=i++;Jt(e(c,d)).subscribe(a=Rt(n,m=>n.next(t?t(c,m,d,u++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function ko(e){return qt((t,r)=>{Jt(e).subscribe(Rt(r,()=>r.complete(),pc)),!r.closed&&t.subscribe(r)})}function mu(e,t,r){let n=Ke(e)||t||r?{next:e,error:t,complete:r}:e;return n?qt((a,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe(Rt(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;l=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;l=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;l&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):di}var lv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",U=class extends Error{constructor(t,r){super(uv(t,r));s(this,"code");this.code=t}};function i$(e){return`NG0${Math.abs(e)}`}function uv(e,t){return`${i$(e)}${t?": "+t:""}`}var cv=Symbol("InputSignalNode#UNSET"),o$=Yt(se({},Dg),{transformFn:void 0,applyValueToInputSignal(e,t){Nl(e,t)}});function dv(e,t){let r=Object.create(o$);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(Il(r),r.value===cv){let a=null;throw new U(-950,a)}return r.value}return n[_r]=r,n}function Co(e){return{toString:e}.toString()}var ts="__parameters__";function s$(e){return function(...t){}}function hv(e,t,r){return Co(()=>{let n=s$();function a(...i){if(this instanceof a)return n.apply(this,i),this;let o=new a(...i);return l.annotation=o,l;function l(c,u,d){let m=c.hasOwnProperty(ts)?c[ts]:Object.defineProperty(c,ts,{value:[]})[ts];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),c}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var La=globalThis;function Qe(e){for(let t in e)if(e[t]===Qe)return t;throw Error("Could not find renamed property on target object.")}function l$(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function bn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(bn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let n=r.indexOf(`
|
|
15
15
|
`);return n>=0?r.slice(0,n):r}function gc(e,t){return e?t?`${e} ${t}`:e:t||""}var u$=Qe({__forward_ref__:Qe});function pv(e){return e.__forward_ref__=pv,e.toString=function(){return bn(this())},e}function Pt(e){return mv(e)?e():e}function mv(e){return typeof e=="function"&&e.hasOwnProperty(u$)&&e.__forward_ref__===pv}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ad(e){return Fp(e,fv)||Fp(e,gv)}function Fp(e,t){return e.hasOwnProperty(t)?e[t]:null}function c$(e){return e&&(e[fv]||e[gv])||null}function jp(e){return e&&(e.hasOwnProperty(Vp)||e.hasOwnProperty(d$))?e[Vp]:null}var fv=Qe({ɵprov:Qe}),Vp=Qe({ɵinj:Qe}),gv=Qe({ngInjectableDef:Qe}),d$=Qe({ngInjectorDef:Qe}),K=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=V({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vv(e){return e&&!!e.ɵproviders}var h$=Qe({ɵcmp:Qe}),p$=Qe({ɵdir:Qe}),m$=Qe({ɵpipe:Qe}),Us=Qe({ɵfac:Qe}),Wi=Qe({__NG_ELEMENT_ID__:Qe}),zp=Qe({__NG_ENV_ID__:Qe});function Qa(e){return typeof e=="string"?e:e==null?"":String(e)}function f$(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Qa(e)}function bv(e,t){throw new U(-200,e)}function Ld(e,t){throw new U(-201,!1)}var ke=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}(ke||{}),vc;function yv(){return vc}function Kt(e){let t=vc;return vc=e,t}function _v(e,t,r){let n=Ad(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&ke.Optional)return null;if(t!==void 0)return t;Ld()}var g$={},ua=g$,bc="__NG_DI_FLAG__",wv=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?Tg:ua,r)}},Gs="ngTempTokenPath",v$="ngTokenPath",b$=/\n/gm,y$="ɵ",Bp="__source";function _$(e,t=ke.Default){if(Ss()===void 0)throw new U(-203,!1);if(Ss()===null)return _v(e,void 0,t);{let r=Ss(),n;return r instanceof wv?n=r.injector:n=r,n.get(e,t&ke.Optional?null:void 0,t)}}function te(e,t=ke.Default){return(yv()||_$)(Pt(e),t)}function C(e,t=ke.Default){return te(e,Ol(t))}function Ol(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function yc(e){let t=[];for(let r=0;r<e.length;r++){let n=Pt(e[r]);if(Array.isArray(n)){if(n.length===0)throw new U(900,!1);let a,i=ke.Default;for(let o=0;o<n.length;o++){let l=n[o],c=w$(l);typeof c=="number"?c===-1?a=l.token:i|=c:a=l}t.push(te(a,i))}else t.push(te(n))}return t}function xv(e,t){return e[bc]=t,e.prototype[bc]=t,e}function w$(e){return e[bc]}function x$(e,t,r,n){let a=e[Gs];throw t[Bp]&&a.unshift(t[Bp]),e.message=E$(`
|
|
16
16
|
`+e.message,a,r,n),e[v$]=a,e[Gs]=null,e}function E$(e,t,r,n=null){e=e&&e.charAt(0)===`
|
|
17
17
|
`&&e.charAt(1)==y$?e.slice(2):e;let a=bn(t);if(Array.isArray(t))a=t.map(bn).join(" -> ");else if(typeof t=="object"){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];i.push(o+":"+(typeof l=="string"?JSON.stringify(l):bn(l)))}a=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${a}]: ${e.replace(b$,`
|
|
18
|
-
`)}`}var S$=xv(hv("Optional"),8),k$=xv(hv("SkipSelf"),4);function ca(e,t){return e.hasOwnProperty(Us)?e[Us]:null}function C$(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=t[n];if(r&&(a=r(a),i=r(i)),i!==a)return!1}return!0}function I$(e){return e.flat(Number.POSITIVE_INFINITY)}function Fd(e,t){e.forEach(r=>Array.isArray(r)?Fd(r,t):t(r))}function Ev(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Ws(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function D$(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function T$(e,t,r,n){let a=e.length;if(a==t)e.push(r,n);else if(a===1)e.push(n,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;){let i=a-2;e[a]=e[i],a--}e[t]=r,e[t+1]=n}}function jd(e,t,r){let n=Io(e,t);return n>=0?e[n|1]=r:(n=~n,T$(e,n,t,r)),n}function fu(e,t){let r=Io(e,t);if(r>=0)return e[r|1]}function Io(e,t){return N$(e,t,1)}function N$(e,t,r){let n=0,a=e.length>>r;for(;a!==n;){let i=n+(a-n>>1),o=e[i<<r];if(t===o)return i<<r;o>t?a=i:n=i+1}return~(a<<r)}var Yn={},Xt=[],Zs=new K(""),Sv=new K("",-1),kv=new K(""),Cv=class{get(e,t=ua){if(t===ua){let r=new Error(`NullInjectorError: No provider for ${bn(e)}!`);throw r.name="NullInjectorError",r}return t}};function Xa(e){return e[h$]||null}function Iv(e){return e[p$]||null}function O$(e){return e[m$]||null}function Vd(e){return{ɵproviders:e}}function M$(...e){return{ɵproviders:Dv(!0,e),ɵfromNgModule:!0}}function Dv(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return Fd(t,o=>{let l=o;_c(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Tv(a,i),r}function Tv(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];zd(a,i=>{t(i,n)})}}function _c(e,t,r,n){if(e=Pt(e),!e)return!1;let a=null,i=jp(e),o=!i&&Xa(e);if(!i&&!o){let c=e.ngModule;if(i=jp(c),i)a=c;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 c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of c)_c(u,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let u;try{Fd(i.imports,d=>{_c(d,t,r,n)&&(u||(u=[]),u.push(d))})}finally{}u!==void 0&&Tv(u,t)}if(!l){let u=ca(a)||(()=>new a);t({provide:a,useFactory:u,deps:Xt},a),t({provide:kv,useValue:a,multi:!0},a),t({provide:Zs,useValue:()=>te(a),multi:!0},a)}let c=i.providers;if(c!=null&&!l){let u=e;zd(c,d=>{t(d,u)})}}else return!1;return a!==e&&e.providers!==void 0}function zd(e,t){for(let r of e)vv(r)&&(r=r.ɵproviders),Array.isArray(r)?zd(r,t):t(r)}var P$=Qe({provide:String,useValue:Qe});function Nv(e){return e!==null&&typeof e=="object"&&P$ in e}function R$(e){return!!(e&&e.useExisting)}function A$(e){return!!(e&&e.useFactory)}function Ja(e){return typeof e=="function"}function L$(e){return!!e.useClass}var Bd=new K(""),Cs={},Hp={},gu;function Ml(){return gu===void 0&&(gu=new Cv),gu}var Kn=class{},Hd=class extends Kn{constructor(t,r,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=r,this.source=n,this.scopes=a,xc(t,o=>this.processProvider(o)),this.records.set(Sv,Fa(void 0,this)),a.has("environment")&&this.records.set(Kn,Fa(void 0,this));let i=this.records.get(Bd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(kv,Xt,ke.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?Tg:ua,n)}destroy(){zi(this),this._destroyed=!0;let t=we(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),we(t)}}onDestroy(t){return zi(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){zi(this);let r=Nr(this),n=Kt(void 0);try{return t()}finally{Nr(r),Kt(n)}}get(t,r=ua,n=ke.Default){if(zi(this),t.hasOwnProperty(zp))return t[zp](this);n=Ol(n);let a=Nr(this),i=Kt(void 0);try{if(!(n&ke.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=B$(t)&&Ad(t);c&&this.injectableDefInScope(c)?l=Fa(wc(t),Cs):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&ke.Self?Ml():this.parent;return r=n&ke.Optional&&r===ua?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[Gs]=o[Gs]||[]).unshift(bn(t)),a)throw o;return x$(o,t,"R3InjectorError",this.source)}else throw o}finally{Kt(i),Nr(a)}}resolveInjectorInitializers(){let t=we(null),r=Nr(this),n=Kt(void 0);try{let a=this.get(Zs,Xt,ke.Self);for(let i of a)i()}finally{Nr(r),Kt(n),we(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Pt(t);let r=Ja(t)?t:Pt(t&&t.provide),n=j$(t);if(!Ja(t)&&t.multi===!0){let a=this.records.get(r);a||(a=Fa(void 0,Cs,!0),a.factory=()=>yc(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=we(null);try{return r.value===Hp?bv(bn(t)):r.value===Cs&&(r.value=Hp,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&z$(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{we(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=Pt(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function wc(e){let t=Ad(e),r=t!==null?t.factory:ca(e);if(r!==null)return r;if(e instanceof K)throw new U(204,!1);if(e instanceof Function)return F$(e);throw new U(204,!1)}function F$(e){if(e.length>0)throw new U(204,!1);let t=c$(e);return t!==null?()=>t.factory(e):()=>new e}function j$(e){if(Nv(e))return Fa(void 0,e.useValue);{let t=Ov(e);return Fa(t,Cs)}}function Ov(e,t,r){let n;if(Ja(e)){let a=Pt(e);return ca(a)||wc(a)}else if(Nv(e))n=()=>Pt(e.useValue);else if(A$(e))n=()=>e.useFactory(...yc(e.deps||[]));else if(R$(e))n=(a,i)=>te(Pt(e.useExisting),i!==void 0&&i&ke.Optional?ke.Optional:void 0);else{let a=Pt(e&&(e.useClass||e.provide));if(V$(e))n=()=>new a(...yc(e.deps));else return ca(a)||wc(a)}return n}function zi(e){if(e.destroyed)throw new U(205,!1)}function Fa(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function V$(e){return!!e.deps}function z$(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function B$(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function xc(e,t){for(let r of e)Array.isArray(r)?xc(r,t):r&&vv(r)?xc(r.ɵproviders,t):t(r)}function qd(e,t){let r;e instanceof Hd?(zi(e),r=e):r=new wv(e);let n=Nr(r),a=Kt(void 0);try{return t()}finally{Nr(n),Kt(a)}}function Mv(){return yv()!==void 0||Ss()!=null}function $d(e){if(!Mv())throw new U(-203,!1)}function H$(e){return typeof e=="function"}var xr=0,pe=1,ce=2,Ht=3,On=4,tn=5,ei=6,Ua=7,Tt=8,ti=9,wr=10,ft=11,ao=12,qp=13,hi=14,_n=15,da=16,ja=17,Mn=18,Pl=19,Pv=20,jr=21,vu=22,Ys=23,yn=24,Vr=25,gt=26,Rv=1,ha=7,Ks=8,ni=9,zt=10;function zr(e){return Array.isArray(e)&&typeof e[Rv]=="object"}function Er(e){return Array.isArray(e)&&e[Rv]===!0}function Ud(e){return(e.flags&4)!==0}function pi(e){return e.componentOffset>-1}function Rl(e){return(e.flags&1)===1}function Qn(e){return!!e.template}function Qs(e){return(e[ce]&512)!==0}function mi(e){return(e[ce]&256)===256}var q$=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Av(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var Gd=(()=>{let e=()=>Lv;return e.ngInherit=!0,e})();function Lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=U$),$$}function $$(){let e=jv(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===Yn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function U$(e,t,r,n,a){let i=this.declaredInputs[n],o=jv(e)||G$(e,{previous:Yn,current:null}),l=o.current||(o.current={}),c=o.previous,u=c[i];l[i]=new q$(u&&u.currentValue,r,c===Yn),Av(e,t,a,r)}var Fv="__ngSimpleChanges__";function jv(e){return e[Fv]||null}function G$(e,t){return e[Fv]=t}var pa=function(e,t=null,r){},W$="svg",Z$="math";function Xn(e){for(;Array.isArray(e);)e=e[xr];return e}function Vv(e,t){return Xn(t[e])}function er(e,t){return Xn(t[e.index])}function Wd(e,t){return e.data[t]}function Al(e,t){return e[t]}function Zd(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function Jn(e,t){let r=t[e];return zr(r)?r:r[xr]}function Y$(e){return(e[ce]&4)===4}function Yd(e){return(e[ce]&128)===128}function K$(e){return Er(e[Ht])}function ma(e,t){return t==null?null:e[t]}function zv(e){e[ja]=0}function Kd(e){e[ce]&1024||(e[ce]|=1024,Yd(e)&&To(e))}function Q$(e,t){for(;e>0;)t=t[hi],e--;return t}function Do(e){var t;return!!(e[ce]&9216||(t=e[yn])!=null&&t.dirty)}function Ec(e){var t;(t=e[wr].changeDetectionScheduler)==null||t.notify(8),e[ce]&64&&(e[ce]|=1024),Do(e)&&To(e)}function To(e){var r;(r=e[wr].changeDetectionScheduler)==null||r.notify(0);let t=fa(e);for(;t!==null&&!(t[ce]&8192||(t[ce]|=8192,!Yd(t)));)t=fa(t)}function Bv(e,t){if(mi(e))throw new U(911,!1);e[jr]===null&&(e[jr]=[]),e[jr].push(t)}function X$(e,t){if(e[jr]===null)return;let r=e[jr].indexOf(t);r!==-1&&e[jr].splice(r,1)}function fa(e){let t=e[Ht];return Er(t)?t[Ht]:t}function Qd(e){return e[Ua]??(e[Ua]=[])}function Xd(e){return e.cleanup??(e.cleanup=[])}function J$(e,t,r,n){let a=Qd(t);a.push(r),e.firstCreatePass&&Xd(e).push(n,a.length-1)}var ye={lFrame:Yv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Sc=!1;function eU(){return ye.lFrame.elementDepthCount}function tU(){ye.lFrame.elementDepthCount++}function nU(){ye.lFrame.elementDepthCount--}function rU(){return ye.bindingsEnabled}function Hv(){return ye.skipHydrationRootTNode!==null}function aU(e){return ye.skipHydrationRootTNode===e}function iU(){ye.skipHydrationRootTNode=null}function de(){return ye.lFrame.lView}function lt(){return ye.lFrame.tView}function Br(e){return ye.lFrame.contextLView=e,e[Tt]}function Hr(e){return ye.lFrame.contextLView=null,e}function nn(){let e=qv();for(;e!==null&&e.type===64;)e=e.parent;return e}function qv(){return ye.lFrame.currentTNode}function oU(){let e=ye.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ur(e,t){let r=ye.lFrame;r.currentTNode=e,r.isParent=t}function Jd(){return ye.lFrame.isParent}function eh(){ye.lFrame.isParent=!1}function $v(){return ye.lFrame.contextLView}function Uv(){return Sc}function $p(e){let t=Sc;return Sc=e,t}function No(){let e=ye.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sU(){return ye.lFrame.bindingIndex}function lU(e){return ye.lFrame.bindingIndex=e}function fi(){return ye.lFrame.bindingIndex++}function th(e){let t=ye.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function uU(){return ye.lFrame.inI18n}function cU(e,t){let r=ye.lFrame;r.bindingIndex=r.bindingRootIndex=e,kc(t)}function dU(){return ye.lFrame.currentDirectiveIndex}function kc(e){ye.lFrame.currentDirectiveIndex=e}function hU(e){let t=ye.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Gv(){return ye.lFrame.currentQueryIndex}function nh(e){ye.lFrame.currentQueryIndex=e}function pU(e){let t=e[pe];return t.type===2?t.declTNode:t.type===1?e[tn]:null}function Wv(e,t,r){if(r&ke.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&ke.Host))&&(a=pU(i),!(a===null||(i=i[hi],a.type&10))););if(a===null)return!1;t=a,e=i}let n=ye.lFrame=Zv();return n.currentTNode=t,n.lView=e,!0}function rh(e){let t=Zv(),r=e[pe];ye.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Zv(){let e=ye.lFrame,t=e===null?null:e.child;return t===null?Yv(e):t}function Yv(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 Kv(){let e=ye.lFrame;return ye.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qv=Kv;function ah(){let e=Kv();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 mU(e){return(ye.lFrame.contextLView=Q$(e,ye.lFrame.contextLView))[Tt]}function tr(){return ye.lFrame.selectedIndex}function ga(e){ye.lFrame.selectedIndex=e}function ih(){let e=ye.lFrame;return Wd(e.tView,e.selectedIndex)}function fU(){return ye.lFrame.currentNamespace}var Xv=!0;function Ll(){return Xv}function Fl(e){Xv=e}function gU(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=Lv(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}a&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,a),i&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,i),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,i))}function oh(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let a=e.data[r].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=a;i&&(e.contentHooks??(e.contentHooks=[])).push(-r,i),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),c&&((e.viewHooks??(e.viewHooks=[])).push(r,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,c)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,u)}}function Is(e,t,r){Jv(e,t,3,r)}function Ds(e,t,r,n){(e[ce]&3)===r&&Jv(e,t,r,n)}function bu(e,t){let r=e[ce];(r&3)===t&&(r&=16383,r+=1,e[ce]=r)}function Jv(e,t,r,n){let a=n!==void 0?e[ja]&65535:0,i=n??-1,o=t.length-1,l=0;for(let c=a;c<o;c++)if(typeof t[c+1]=="number"){if(l=t[c],n!=null&&l>=n)break}else t[c]<0&&(e[ja]+=65536),(l<i||i==-1)&&(vU(e,r,t,c),e[ja]=(e[ja]&4294901760)+c+2),c++}function Up(e,t){let r=we(null);try{t.call(e)}finally{we(r)}}function vU(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[ce]>>14<e[ja]>>16&&(e[ce]&3)===t&&(e[ce]+=16384,Up(l,i)):Up(l,i)}var Ga=-1,Oo=class{constructor(e,t,r){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=r}};function bU(e){return(e.flags&8)!==0}function yU(e){return(e.flags&16)!==0}function _U(e,t,r){let n=0;for(;n<r.length;){let a=r[n];if(typeof a=="number"){if(a!==0)break;n++;let i=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,i)}else{let i=a,o=r[++n];wU(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function e0(e){return e===3||e===4||e===6}function wU(e){return e.charCodeAt(0)===64}function ri(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?r=a:r===0||(r===-1||r===2?Gp(e,r,a,null,t[++n]):Gp(e,r,a,null,null))}}return e}function Gp(e,t,r,n,a){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===r){a!==null&&(e[i+1]=a);return}i++,a!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,r),a!==null&&e.splice(i++,0,a)}function t0(e){return e!==Ga}function Xs(e){return e&32767}function xU(e){return e>>16}function Js(e,t){let r=xU(e),n=t;for(;r>0;)n=n[hi],r--;return n}var Cc=!0;function el(e){let t=Cc;return Cc=e,t}var EU=256,n0=EU-1,r0=5,SU=0,Wn={};function kU(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Wi)&&(n=r[Wi]),n==null&&(n=r[Wi]=SU++);let a=n&n0,i=1<<a;t.data[e+(a>>r0)]|=i}function tl(e,t){let r=a0(e,t);if(r!==-1)return r;let n=t[pe];n.firstCreatePass&&(e.injectorIndex=t.length,yu(n.data,e),yu(t,null),yu(n.blueprint,null));let a=sh(e,t),i=e.injectorIndex;if(t0(a)){let o=Xs(a),l=Js(a,t),c=l[pe].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|c[o+u]}return t[i+8]=a,i}function yu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function a0(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,a=t;for(;a!==null;){if(n=u0(a),n===null)return Ga;if(r++,a=a[hi],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Ga}function Ic(e,t,r){kU(e,t,r)}function CU(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,a=0;for(;a<n;){let i=r[a];if(e0(i))break;if(i===0)a=a+2;else if(typeof i=="number")for(a++;a<n&&typeof r[a]=="string";)a++;else{if(i===t)return r[a+1];a=a+2}}}return null}function i0(e,t,r){if(r&ke.Optional||e!==void 0)return e;Ld()}function o0(e,t,r,n){if(r&ke.Optional&&n===void 0&&(n=null),(r&(ke.Self|ke.Host))===0){let a=e[ti],i=Kt(void 0);try{return a?a.get(t,n,r&ke.Optional):_v(t,n,r&ke.Optional)}finally{Kt(i)}}return i0(n,t,r)}function s0(e,t,r,n=ke.Default,a){if(e!==null){if(t[ce]&2048&&!(n&ke.Self)){let o=NU(e,t,r,n,Wn);if(o!==Wn)return o}let i=l0(e,t,r,n,Wn);if(i!==Wn)return i}return o0(t,r,n,a)}function l0(e,t,r,n,a){let i=DU(r);if(typeof i=="function"){if(!Wv(t,e,n))return n&ke.Host?i0(a,r,n):o0(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&ke.Optional))Ld(r);else return o}finally{Qv()}}else if(typeof i=="number"){let o=null,l=a0(e,t),c=Ga,u=n&ke.Host?t[_n][tn]:null;for((l===-1||n&ke.SkipSelf)&&(c=l===-1?sh(e,t):t[l+8],c===Ga||!Zp(n,!1)?l=-1:(o=t[pe],l=Xs(c),t=Js(c,t)));l!==-1;){let d=t[pe];if(Wp(i,l,d.data)){let m=IU(l,t,r,o,n,u);if(m!==Wn)return m}c=t[l+8],c!==Ga&&Zp(n,t[pe].data[l+8]===u)&&Wp(i,l,t)?(o=d,l=Xs(c),t=Js(c,t)):l=-1}}return a}function IU(e,t,r,n,a,i){let o=t[pe],l=o.data[e+8],c=n==null?pi(l)&&Cc:n!=o&&(l.type&3)!==0,u=a&ke.Host&&i===l,d=Ts(l,o,r,c,u);return d!==null?io(t,o,d,l,a):Wn}function Ts(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,c=e.directiveStart,u=e.directiveEnd,d=i>>20,m=n?l:l+d,b=a?l+d:u;for(let g=m;g<b;g++){let w=o[g];if(g<c&&r===w||g>=c&&w.type===r)return g}if(a){let g=o[c];if(g&&Qn(g)&&g.type===r)return c}return null}function io(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof Oo){let l=i;l.resolving&&bv(f$(o[r]));let c=el(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Kt(l.injectImpl):null;Wv(e,n,ke.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&gU(r,o[r],t)}finally{u!==null&&Kt(u),el(c),l.resolving=!1,Qv()}}return i}function DU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Wi)?e[Wi]:void 0;return typeof t=="number"?t>=0?t&n0:TU:t}function Wp(e,t,r){let n=1<<e;return!!(r[t+(e>>r0)]&n)}function Zp(e,t){return!(e&ke.Self)&&!(e&ke.Host&&t)}var Zi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return s0(this._tNode,this._lView,e,Ol(r),t)}};function TU(){return new Zi(nn(),de())}function $t(e){return Co(()=>{let t=e.prototype.constructor,r=t[Us]||Dc(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[Us]||Dc(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function Dc(e){return mv(e)?()=>{let t=Dc(Pt(e));return t&&t()}:ca(e)}function NU(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[ce]&2048&&!Qs(o);){let l=l0(i,o,r,n|ke.Self,Wn);if(l!==Wn)return l;let c=i.parent;if(!c){let u=o[Pv];if(u){let d=u.get(r,Wn,n);if(d!==Wn)return d}c=u0(o),o=o[hi]}i=c}return a}function u0(e){let t=e[pe],r=t.type;return r===2?t.declTNode:r===1?e[tn]:null}function OU(e){return CU(nn(),e)}function Yp(e,t=null,r=null,n){let a=MU(e,t,r,n);return a.resolveInjectorInitializers(),a}function MU(e,t=null,r=null,n,a=new Set){let i=[r||Xt,M$(e)];return n=n||(typeof e=="object"?void 0:bn(e)),new Hd(i,t||Ml(),n||null,a)}var Hn,ot=(Hn=class{static create(t,r){if(Array.isArray(t))return Yp({name:""},r,t,"");{let n=t.name??"";return Yp({name:n},t.parent,t.providers,n)}}},s(Hn,"THROW_IF_NOT_FOUND",ua),s(Hn,"NULL",new Cv),s(Hn,"ɵprov",V({token:Hn,providedIn:"any",factory:()=>te(Sv)})),s(Hn,"__NG_ELEMENT_ID__",-1),Hn),PU=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>OU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},RU=new K("");RU.__NG_ELEMENT_ID__=e=>{let t=nn();if(t===null)throw new U(204,!1);if(t.type&2)return t.value;if(e&ke.Optional)return null;throw new U(204,!1)};var c0=!1,_a=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",LU),s(e,"__NG_ENV_ID__",r=>r),e})(),AU=class extends _a{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return mi(r)?(t(),()=>{}):(Bv(r,t),()=>X$(r,t))}};function LU(){return new AU(de())}var Mo=class{},d0=new K("",{providedIn:"root",factory:()=>!1}),h0=new K(""),p0=new K(""),Po=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Dd(!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",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),FU=class extends xe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Mv()&&(this.destroyRef=C(_a,{optional:!0})??void 0,this.pendingTasks=C(Po,{optional:!0})??void 0)}emit(t){let r=we(null);try{super.next(t)}finally{we(r)}}subscribe(t,r,n){var c,u,d;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),i=(u=m.error)==null?void 0:u.bind(m),o=(d=m.complete)==null?void 0:d.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:i,complete:o});return t instanceof un&&t.add(l),l}wrapInTimeout(t){return r=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var i;try{t(r)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Vt=FU;function nl(...e){}function m0(e){let t,r;function n(){e=nl;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Kp(e){return queueMicrotask(()=>e()),()=>{e=nl}}var lh="isAngularZone",rl=lh+"_ID",jU=0,je=class Tc{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Vt(!1));s(this,"onMicrotaskEmpty",new Vt(!1));s(this,"onStable",new Vt(!1));s(this,"onError",new Vt(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=c0}=t;if(typeof Zone>"u")throw new U(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)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=i,BU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(lh)===!0}static assertInAngularZone(){if(!Tc.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(Tc.isInAngularZone())throw new U(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,a){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+a,t,VU,nl,nl);try{return i.runTask(o,r,n)}finally{i.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},VU={};function uh(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 zU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){m0(()=>{e.callbackScheduled=!1,Nc(e),e.isCheckStableRunning=!0,uh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Nc(e)}function BU(e){let t=()=>{zU(e)},r=jU++;e._inner=e._inner.fork({name:"angular",properties:{[lh]:!0,[rl]:r,[rl+r]:!0},onInvokeTask:(n,a,i,o,l,c)=>{if(qU(c))return n.invokeTask(i,o,l,c);try{return Qp(e),n.invokeTask(i,o,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xp(e)}},onInvoke:(n,a,i,o,l,c,u)=>{try{return Qp(e),n.invoke(i,o,l,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!$U(c)&&t(),Xp(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Nc(e),uh(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function Nc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Qp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xp(e){e._nesting--,uh(e)}var HU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Vt);s(this,"onMicrotaskEmpty",new Vt);s(this,"onStable",new Vt);s(this,"onError",new Vt)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function qU(e){return f0(e,"__ignore_ng_zone__")}function $U(e){return f0(e,"__scheduler_tick__")}function f0(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var Rn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},UU=new K("",{providedIn:"root",factory:()=>{let e=C(je),t=C(Rn);return r=>e.runOutsideAngular(()=>t.handleError(r))}}),GU=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(Rn,{optional:!0}));s(this,"destroyRef",C(_a));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new U(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var r,n;let t=(r=this.listeners)==null?void 0:r.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var r;if(this.destroyed){console.warn(uv(953,!1));return}if(this.listeners===null)return;let t=we(null);try{for(let n of this.listeners)try{n(e)}catch(a){(r=this.errorHandler)==null||r.handleError(a)}}finally{we(t)}}};function Jp(e){return new GU}function em(e,t){return dv(e,t)}function WU(e){return dv(cv,e)}var Ue=(em.required=WU,em);function ZU(){return gi(nn(),de())}function gi(e,t){return new At(er(e,t))}var At=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",ZU),e})();function YU(e){return e instanceof At?e.nativeElement:e}function KU(e,t){let r=nq(e),n=r[_r];return r.set=a=>Nl(n,a),r.update=a=>Ig(n,a),r.asReadonly=g0.bind(r),r}function g0(){let e=this[_r];if(e.readonlyFn===void 0){let t=()=>this();t[_r]=e,e.readonlyFn=t}return e.readonlyFn}function QU(){return this._results[Symbol.iterator]()}var sg,XU=(sg=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,sg,QU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new xe)}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 r=I$(e);(this._changesDetected=!C$(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[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 v0(e){return(e.flags&128)===128}var b0=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(b0||{}),y0=new Map,JU=0;function eG(){return JU++}function tG(e){y0.set(e[Pl],e)}function Oc(e){y0.delete(e[Pl])}var tm="__ngContext__";function vi(e,t){zr(t)?(e[tm]=t[Pl],tG(t)):e[tm]=t}function _0(e){return x0(e[ao])}function w0(e){return x0(e[On])}function x0(e){for(;e!==null&&!Er(e);)e=e[On];return e}var Mc;function nG(e){Mc=e}function rG(){if(Mc!==void 0)return Mc;if(typeof document<"u")return document;throw new U(210,!1)}var ch=new K("",{providedIn:"root",factory:()=>aG}),aG="ng",E0=new K(""),jl=new K("",{providedIn:"platform",factory:()=>"unknown"}),bi=new K(""),dh=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=rG().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),S0=!1,iG=new K("",{providedIn:"root",factory:()=>S0}),hh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(hh||{}),Ro=new K(""),nm=new Set;function wa(e){var t;nm.has(e)||(nm.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var k0=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",oG),e})();function oG(){return new k0(de(),nn())}var Va=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Va||{}),C0=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),sG=[Va.EarlyRead,Va.Write,Va.MixedReadWrite,Va.Read],lG=(()=>{const t=class t{constructor(){s(this,"ngZone",C(je));s(this,"scheduler",C(Mo));s(this,"errorHandler",C(Rn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(Ro,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of sG)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[a]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[a];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.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[Vr]??(a[Vr]=[])).push(n),To(a),a[ce]|=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(hh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),uG=class{constructor(e,t,r,n,a,i=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=r,this.once=n,this.snapshot=i,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,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[Vr];e&&(this.view[Vr]=e.filter(n=>n!==this))}};function I0(e,t){!(t!=null&&t.injector)&&$d();let r=(t==null?void 0:t.injector)??C(ot);return wa("NgAfterRender"),D0(e,r,t,!1)}function ph(e,t){!(t!=null&&t.injector)&&$d();let r=(t==null?void 0:t.injector)??C(ot);return wa("NgAfterNextRender"),D0(e,r,t,!0)}function cG(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function D0(e,t,r,n){let a=t.get(C0);a.impl??(a.impl=t.get(lG));let i=t.get(Ro,null,{optional:!0}),o=(r==null?void 0:r.phase)??Va.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(_a):null,c=t.get(k0,null,{optional:!0}),u=new uG(a.impl,cG(e,o),c==null?void 0:c.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(u),u}var dG=()=>null;function T0(e,t,r=!1){return dG()}function N0(e,t){let r=e.contentQueries;if(r!==null){let n=we(null);try{for(let a=0;a<r.length;a+=2){let i=r[a],o=r[a+1];if(o!==-1){let l=e.data[o];nh(i),l.contentQueries(2,t[o],o)}}}finally{we(n)}}}function Pc(e,t,r){nh(0);let n=we(null);try{t(e,r)}finally{we(n)}}function mh(e,t,r){if(Ud(t)){let n=we(null);try{let a=t.directiveStart,i=t.directiveEnd;for(let o=a;o<i;o++){let l=e.data[o];if(l.contentQueries){let c=r[o];l.contentQueries(1,c,o)}}}finally{we(n)}}}var fr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(fr||{}),ns;function hG(){if(ns===void 0&&(ns=null,La.trustedTypes))try{ns=La.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ns}function Vl(e){var t;return((t=hG())==null?void 0:t.createHTML(e))||e}var xa=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},pG=class extends xa{getTypeName(){return"HTML"}},mG=class extends xa{getTypeName(){return"Style"}},fG=class extends xa{getTypeName(){return"Script"}},gG=class extends xa{getTypeName(){return"URL"}},vG=class extends xa{getTypeName(){return"ResourceURL"}};function Or(e){return e instanceof xa?e.changingThisBreaksApplicationSecurity:e}function Ma(e,t){let r=bG(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${lv})`)}return r===t}function bG(e){return e instanceof xa&&e.getTypeName()||null}function yG(e){return new pG(e)}function _G(e){return new mG(e)}function wG(e){return new fG(e)}function xG(e){return new gG(e)}function EG(e){return new vG(e)}function SG(e){let t=new CG(e);return IG()?new kG(t):t}var kG=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Vl(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},CG=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=Vl(e),t}};function IG(){try{return!!new window.DOMParser().parseFromString(Vl(""),"text/html")}catch{return!1}}var DG=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fh(e){return e=String(e),e.match(DG)?e:"unsafe:"+e}function Sr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function Ao(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var O0=Sr("area,br,col,hr,img,wbr"),M0=Sr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),P0=Sr("rp,rt"),TG=Ao(P0,M0),NG=Ao(M0,Sr("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")),OG=Ao(P0,Sr("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")),rm=Ao(O0,NG,OG,TG),R0=Sr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),MG=Sr("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"),PG=Sr("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"),RG=Ao(R0,MG,PG),AG=Sr("script,style,template"),LG=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=VG(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=jG(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=am(e).toLowerCase();if(!rm.hasOwnProperty(t))return this.sanitizedSomething=!0,!AG.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let a=r.item(n),i=a.name,o=i.toLowerCase();if(!RG.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;R0[o]&&(l=fh(l)),this.buf.push(" ",i,'="',im(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=am(e).toLowerCase();rm.hasOwnProperty(t)&&!O0.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(im(e))}};function FG(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function jG(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw A0(t);return t}function VG(e){let t=e.firstChild;if(t&&FG(e,t))throw A0(t);return t}function am(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function A0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zG=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,BG=/([^\#-~ |!])/g;function im(e){return e.replace(/&/g,"&").replace(zG,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(BG,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var rs;function HG(e,t){let r=null;try{rs=rs||SG(e);let n=t?String(t):"";r=rs.getInertBodyElement(n);let a=5,i=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=i,i=r.innerHTML,r=rs.getInertBodyElement(n)}while(n!==i);let o=new LG().sanitizeChildren(om(r)||r);return Vl(o)}finally{if(r){let n=om(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function om(e){return"content"in e&&qG(e)?e.content:null}function qG(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var $G=/^>|^->|<!--|-->|--!>|<!-$/g,UG=/(<|>)/g,GG="$1";function WG(e){return e.replace($G,t=>t.replace(UG,GG))}function ZG(e,t){return e.createText(t)}function YG(e,t,r){e.setValue(t,r)}function KG(e,t){return e.createComment(WG(t))}function L0(e,t,r){return e.createElement(t,r)}function al(e,t,r,n,a){e.insertBefore(t,r,n,a)}function F0(e,t,r){e.appendChild(t,r)}function sm(e,t,r,n,a){n!==null?al(e,t,r,n,a):F0(e,t,r)}function QG(e,t,r){e.removeChild(null,t,r)}function XG(e,t,r){e.setAttribute(t,"style",r)}function JG(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function j0(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&_U(e,t,n),a!==null&&JG(e,t,a),i!==null&&XG(e,t,i)}var sn=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}(sn||{});function V0(e){let t=e6();return t?t.sanitize(sn.URL,e)||"":Ma(e,"URL")?Or(e):fh(Qa(e))}function e6(){let e=de();return e&&e[wr].sanitizer}function t6(e,t,r){let n=e.length;for(;;){let a=e.indexOf(t,r);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let i=t.length;if(a+i===n||e.charCodeAt(a+i)<=32)return a}r=a+1}}var z0="ng-template";function n6(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&t6(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(gh(e))return!1;if(a=t.indexOf(1,a),a>-1){let i;for(;++a<t.length&&typeof(i=t[a])=="string";)if(i.toLowerCase()===r)return!0}return!1}function gh(e){return e.type===4&&e.value!==z0}function r6(e,t,r){let n=e.type===4&&!r?z0:e.value;return t===n}function a6(e,t,r){let n=4,a=e.attrs,i=a!==null?s6(a):0,o=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!o&&!In(n)&&!In(c))return!1;if(o&&In(c))continue;o=!1,n=c|n&1;continue}if(!o)if(n&4){if(n=2|n&1,c!==""&&!r6(e,c,r)||c===""&&t.length===1){if(In(n))return!1;o=!0}}else if(n&8){if(a===null||!n6(e,a,c,r)){if(In(n))return!1;o=!0}}else{let u=t[++l],d=i6(c,a,gh(e),r);if(d===-1){if(In(n))return!1;o=!0;continue}if(u!==""){let m;if(d>i?m="":m=a[d+1].toLowerCase(),n&2&&u!==m){if(In(n))return!1;o=!0}}}}return In(n)||o}function In(e){return(e&1)===0}function i6(e,t,r,n){if(t===null)return-1;let a=0;if(n||!r){let i=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)i=!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+=i?1:2}return-1}else return l6(t,e)}function B0(e,t,r=!1){for(let n=0;n<t.length;n++)if(a6(e,t[n],r))return!0;return!1}function o6(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function s6(e){for(let t=0;t<e.length;t++){let r=e[t];if(e0(r))return t}return e.length}function l6(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function u6(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];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 lm(e,t){return e?":not("+t.trim()+")":t}function c6(e){let t=e[0],r=1,n=2,a="",i=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!In(o)&&(t+=lm(i,a),a=""),n=o,i=i||!In(n);r++}return a!==""&&(t+=lm(i,a)),t}function d6(e){return e.map(c6).join(",")}function h6(e){let t=[],r=[],n=1,a=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")a===2?i!==""&&t.push(i,e[++n]):a===8&&r.push(i);else{if(!In(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var hn={};function vh(e,t,r,n,a,i,o,l,c,u,d){let m=gt+n,b=m+a,g=p6(m,b),w=typeof u=="function"?u():u;return g[pe]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:c,consts:w,incompleteFirstPass:!1,ssrId:d}}function p6(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:hn);return r}function m6(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=vh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bh(e,t,r,n,a,i,o,l,c,u,d){let m=t.blueprint.slice();return m[xr]=a,m[ce]=n|4|128|8|64|1024,(u!==null||e&&e[ce]&2048)&&(m[ce]|=2048),zv(m),m[Ht]=m[hi]=e,m[Tt]=r,m[wr]=o||e&&e[wr],m[ft]=l||e&&e[ft],m[ti]=c||e&&e[ti]||null,m[tn]=i,m[Pl]=eG(),m[ei]=d,m[Pv]=u,m[_n]=t.type==2?e[_n]:m,m}function f6(e,t,r){let n=er(t,e),a=m6(r),i=e[wr].rendererFactory,o=yh(e,bh(e,a,null,H0(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function H0(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function q0(e,t,r,n){if(r===0)return-1;let a=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function yh(e,t){return e[ao]?e[qp][On]=t:e[ao]=t,e[qp]=t,t}function Q(e=1){$0(lt(),de(),tr()+e)}function $0(e,t,r,n){if((t[ce]&3)===3){let a=e.preOrderCheckHooks;a!==null&&Is(t,a,r)}else{let a=e.preOrderHooks;a!==null&&Ds(t,a,0,r)}ga(r)}var zl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(zl||{});function Rc(e,t,r,n){let a=we(null);try{let[i,o,l]=e.inputs[r],c=null;o&zl.SignalBased&&(c=t[i][_r]),c!==null&&c.transformFn!==void 0?n=c.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,c,n,r,i):Av(t,c,i,n)}finally{we(a)}}function U0(e,t,r,n,a){let i=tr(),o=n&2;try{ga(-1),o&&t.length>gt&&$0(e,t,gt,!1),pa(o?2:0,a),r(n,a)}finally{ga(i)}}function Bl(e,t,r){y6(e,t,r),(r.flags&64)===64&&_6(e,t,r)}function _h(e,t,r=er){let n=t.localNames;if(n!==null){let a=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?r(t,e):e[o];e[a++]=l}}}function g6(e,t,r,n){let a=n.get(iG,S0)||r===fr.ShadowDom;return e.selectRootElement(t,a)}function v6(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function G0(e,t,r,n,a,i,o,l){if(!l&&xh(t,e,r,n,a)){pi(t)&&b6(r,t.index);return}if(t.type&3){let c=er(t,r);n=v6(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(c,n,a)}else t.type&12}function b6(e,t){let r=Jn(t,e);r[ce]&16||(r[ce]|=64)}function y6(e,t,r){let n=r.directiveStart,a=r.directiveEnd;pi(r)&&f6(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||tl(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],c=io(t,e,o,r);if(vi(c,t),i!==null&&S6(t,o-n,c,l,r,i),Qn(l)){let u=Jn(r.index,t);u[Tt]=io(t,e,o,r)}}}function _6(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=dU();try{ga(i);for(let l=n;l<a;l++){let c=e.data[l],u=t[l];kc(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&w6(c,u)}}finally{ga(-1),kc(o)}}function w6(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wh(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];B0(t,i.selectors,!1)&&(n??(n=[]),Qn(i)?n.unshift(i):n.push(i))}return n}function x6(e,t,r,n,a,i){let o=er(e,t);E6(t[ft],o,i,e.value,r,n,a)}function E6(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?Qa(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function S6(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let c=o[l],u=o[l+1];Rc(n,r,c,u)}}function k6(e,t){let r=e[ti],n=r?r.get(Rn,null):null;n&&n.handleError(t)}function xh(e,t,r,n,a){var c,u;let i=(c=e.inputs)==null?void 0:c[n],o=(u=e.hostDirectiveInputs)==null?void 0:u[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],b=o[d+1],g=t.data[m];Rc(g,r[m],b,a),l=!0}if(i)for(let d of i){let m=r[d],b=t.data[d];Rc(b,m,n,a),l=!0}return l}function C6(e,t){let r=Jn(t,e),n=r[pe];I6(n,r);let a=r[xr];a!==null&&r[ei]===null&&(r[ei]=T0(a,r[ti])),Eh(n,r,r[Tt]),pa(19,r[Tt])}function I6(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function Eh(e,t,r){var n;rh(t);try{let a=e.viewQuery;a!==null&&Pc(1,a,r);let i=e.template;i!==null&&U0(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Mn])==null||n.finishViewCreation(e),e.staticContentQueries&&N0(e,t),e.staticViewQueries&&Pc(2,e.viewQuery,r);let o=e.components;o!==null&&D6(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[ce]&=-5,ah()}}function D6(e,t){for(let r=0;r<t.length;r++)C6(e,t[r])}function Lo(e,t,r,n){let a=we(null);try{let i=t.tView,o=e[ce]&4096?4096:16,l=bh(e,i,r,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),c=e[t.index];l[da]=c;let u=e[Mn];return u!==null&&(l[Mn]=u.createEmbeddedView(i)),Eh(i,l,r),l}finally{we(a)}}function ai(e,t){return!t||t.firstChild===null||v0(e)}var T6;function Sh(e,t){return T6(e,t)}var za=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(za||{});function kh(e){return(e.flags&32)===32}function Ba(e,t,r,n,a){if(n!=null){let i,o=!1;Er(n)?i=n:zr(n)&&(o=!0,n=n[xr]);let l=Xn(n);e===0&&r!==null?a==null?F0(t,r,l):al(t,r,l,a||null,!0):e===1&&r!==null?al(t,r,l,a||null,!0):e===2?QG(t,l,o):e===3&&t.destroyNode(l),i!=null&&V6(t,e,i,r,a)}}function N6(e,t){W0(e,t),t[xr]=null,t[tn]=null}function O6(e,t,r,n,a,i){n[xr]=a,n[tn]=t,$l(e,n,r,1,a,i)}function W0(e,t){var r;(r=t[wr].changeDetectionScheduler)==null||r.notify(9),$l(e,t,t[ft],2,null,null)}function M6(e){let t=e[ao];if(!t)return _u(e[pe],e);for(;t;){let r=null;if(zr(t))r=t[ao];else{let n=t[zt];n&&(r=n)}if(!r){for(;t&&!t[On]&&t!==e;)zr(t)&&_u(t[pe],t),t=t[Ht];t===null&&(t=e),zr(t)&&_u(t[pe],t),r=t&&t[On]}t=r}}function Ch(e,t){let r=e[ni],n=r.indexOf(t);r.splice(n,1)}function Hl(e,t){if(mi(t))return;let r=t[ft];r.destroyNode&&$l(e,t,r,3,null,null),M6(t)}function _u(e,t){if(mi(t))return;let r=we(null);try{t[ce]&=-129,t[ce]|=256,t[yn]&&wg(t[yn]),R6(e,t),P6(e,t),t[pe].type===1&&t[ft].destroy();let n=t[da];if(n!==null&&Er(t[Ht])){n!==t[Ht]&&Ch(n,t);let a=t[Mn];a!==null&&a.detachView(e)}Oc(t)}finally{we(r)}}function P6(e,t){let r=e.cleanup,n=t[Ua];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[Ua]=null);let a=t[jr];if(a!==null){t[jr]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[Ys];if(i!==null){t[Ys]=null;for(let o of i)o.destroy()}}function R6(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let a=t[r[n]];if(!(a instanceof Oo)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],c=i[o+1];try{c.call(l)}finally{}}else try{i.call(a)}finally{}}}}function Z0(e,t,r){return A6(e,t.parent,r)}function A6(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[xr];if(pi(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===fr.None||a===fr.Emulated)return null}return er(n,r)}function Y0(e,t,r){return F6(e,t,r)}function L6(e,t,r){return e.type&40?er(e,r):null}var F6=L6;function ql(e,t,r,n){let a=Z0(e,n,t),i=t[ft],o=n.parent||t[tn],l=Y0(o,n,t);if(a!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)sm(i,a,r[c],l,!1);else sm(i,a,r,l,!1)}function Bi(e,t){if(t!==null){let r=t.type;if(r&3)return er(t,e);if(r&4)return Ac(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return Bi(e,n);{let a=e[t.index];return Er(a)?Ac(-1,a):Xn(a)}}else{if(r&128)return Bi(e,t.next);if(r&32)return Sh(t,e)()||Xn(e[t.index]);{let n=K0(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=fa(e[_n]);return Bi(a,n)}else return Bi(e,t.next)}}}return null}function K0(e,t){if(t!==null){let r=e[_n][tn],n=t.projection;return r.projection[n]}return null}function Ac(e,t){let r=zt+e+1;if(r<t.length){let n=t[r],a=n[pe].firstChild;if(a!==null)return Bi(n,a)}return t[ha]}function Ih(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],c=r.type;if(o&&t===0&&(l&&vi(Xn(l),n),r.flags|=2),!kh(r))if(c&8)Ih(e,t,r.child,n,a,i,!1),Ba(t,e,a,l,i);else if(c&32){let u=Sh(r,n),d;for(;d=u();)Ba(t,e,a,d,i);Ba(t,e,a,l,i)}else c&16?Q0(e,t,n,r,a,i):Ba(t,e,a,l,i);r=o?r.projectionNext:r.next}}function $l(e,t,r,n,a,i){Ih(r,n,e.firstChild,t,a,i,!1)}function j6(e,t,r){let n=t[ft],a=Z0(e,r,t),i=r.parent||t[tn],o=Y0(i,r,t);Q0(n,0,t,r,a,o)}function Q0(e,t,r,n,a,i){let o=r[_n],l=o[tn].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];Ba(t,e,a,u,i)}else{let c=l,u=o[Ht];v0(n)&&(c.flags|=128),Ih(e,t,c,u,a,i,!0)}}function V6(e,t,r,n,a){let i=r[ha],o=Xn(r);i!==o&&Ba(t,e,n,i,a);for(let l=zt;l<r.length;l++){let c=r[l];$l(c[pe],c,e,t,n,i)}}function z6(e,t,r,n,a){a?e.addClass(r,n):e.removeClass(r,n)}function il(e,t,r,n,a=!1){for(;r!==null;){if(r.type===128){r=a?r.projectionNext:r.next;continue}let i=t[r.index];i!==null&&n.push(Xn(i)),Er(i)&&B6(i,n);let o=r.type;if(o&8)il(e,t,r.child,n);else if(o&32){let l=Sh(r,t),c;for(;c=l();)n.push(c)}else if(o&16){let l=K0(t,r);if(Array.isArray(l))n.push(...l);else{let c=fa(t[_n]);il(c[pe],c,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function B6(e,t){for(let r=zt;r<e.length;r++){let n=e[r],a=n[pe].firstChild;a!==null&&il(n[pe],n,a,t)}e[ha]!==e[xr]&&t.push(e[ha])}function X0(e){if(e[Vr]!==null){for(let t of e[Vr])t.impl.addSequence(t);e[Vr].length=0}}var J0=[];function H6(e){return e[yn]??q6(e)}function q6(e){let t=J0.pop()??Object.create(U6);return t.lView=e,t}function $6(e){e.lView[yn]!==e&&(e.lView=null,J0.push(e))}var U6=Yt(se({},xo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{To(e.lView)},consumerOnSignalRead(){this.lView[yn]=this}});function G6(e){let t=e[yn]??Object.create(W6);return t.lView=e,t}var W6=Yt(se({},xo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=fa(e.lView);for(;t&&!eb(t[pe]);)t=fa(t);t&&Kd(t)},consumerOnSignalRead(){this.lView[yn]=this}});function eb(e){return e.type!==2}function tb(e){if(e[Ys]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[Ys])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[ce]&8192)}}var Z6=100;function nb(e,t=!0,r=0){var a,i;let n=e[wr].rendererFactory;(a=n.begin)==null||a.call(n);try{Y6(e,r)}catch(o){throw t&&k6(e,o),o}finally{(i=n.end)==null||i.call(n)}}function Y6(e,t){let r=Uv();try{$p(!0),Lc(e,t);let n=0;for(;Do(e);){if(n===Z6)throw new U(103,!1);n++,Lc(e,1)}}finally{$p(r)}}function K6(e,t,r,n){if(mi(t))return;let a=t[ce],i=!1,o=!1;rh(t);let l=!0,c=null,u=null;eb(e)?(u=H6(t),c=Bs(u)):YH()===null?(l=!1,u=G6(t),c=Bs(u)):t[yn]&&(wg(t[yn]),t[yn]=null);try{zv(t),lU(e.bindingStartIndex),r!==null&&U0(e,t,r,2,n);let d=(a&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&Is(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Ds(t,g,0,null),bu(t,0)}if(o||Q6(t),tb(t),rb(t,0),e.contentQueries!==null&&N0(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&Is(t,g)}else{let g=e.contentHooks;g!==null&&Ds(t,g,1),bu(t,1)}J6(e,t);let m=e.components;m!==null&&ib(t,m,0);let b=e.viewQuery;if(b!==null&&Pc(2,b,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&Is(t,g)}else{let g=e.viewHooks;g!==null&&Ds(t,g,2),bu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[vu]){for(let g of t[vu])g();t[vu]=null}i||(X0(t),t[ce]&=-73)}catch(d){throw To(t),d}finally{u!==null&&(Sd(u,c),l&&$6(u)),ah()}}function rb(e,t){for(let r=_0(e);r!==null;r=w0(r))for(let n=zt;n<r.length;n++){let a=r[n];ab(a,t)}}function Q6(e){for(let t=_0(e);t!==null;t=w0(t)){if(!(t[ce]&2))continue;let r=t[ni];for(let n=0;n<r.length;n++){let a=r[n];Kd(a)}}}function X6(e,t,r){let n=Jn(t,e);ab(n,r),pa(19,n[Tt])}function ab(e,t){Yd(e)&&Lc(e,t)}function Lc(e,t){let r=e[pe],n=e[ce],a=e[yn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&_g(a))),i||(i=!1),a&&(a.dirty=!1),e[ce]&=-9217,i)K6(r,e,r.template,e[Tt]);else if(n&8192){tb(e),rb(e,1);let o=r.components;o!==null&&ib(e,o,1),X0(e)}}function ib(e,t,r){for(let n=0;n<t.length;n++)X6(e,t[n],r)}function J6(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let a=r[n];if(a<0)ga(~a);else{let i=a,o=r[++n],l=r[++n];cU(o,i);let c=t[i];pa(24,c),l(2,c),pa(25,c)}}}finally{ga(-1)}}function Dh(e,t){var n;let r=Uv()?64:1088;for((n=e[wr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[ce]|=r;let a=fa(e);if(Qs(e)&&!a)return e;e=a}return null}function ob(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function sb(e,t){let r=zt+t;if(r<e.length)return e[r]}function Fo(e,t,r,n=!0){let a=t[pe];if(e8(a,t,e,r),n){let o=Ac(r,e),l=t[ft],c=l.parentNode(e[ha]);c!==null&&O6(a,e[tn],l,t,c,o)}let i=t[ei];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function lb(e,t){let r=oo(e,t);return r!==void 0&&Hl(r[pe],r),r}function oo(e,t){if(e.length<=zt)return;let r=zt+t,n=e[r];if(n){let a=n[da];a!==null&&a!==e&&Ch(a,n),t>0&&(e[r-1][On]=n[On]);let i=Ws(e,zt+t);N6(n[pe],n);let o=i[Mn];o!==null&&o.detachView(i[pe]),n[Ht]=null,n[On]=null,n[ce]&=-129}return n}function e8(e,t,r,n){let a=zt+n,i=r.length;n>0&&(r[a-1][On]=t),n<i-zt?(t[On]=r[a],Ev(r,zt+n,t)):(r.push(t),t[On]=null),t[Ht]=r;let o=t[da];o!==null&&r!==o&&ub(o,t);let l=t[Mn];l!==null&&l.insertView(e),Ec(t),t[ce]|=128}function ub(e,t){let r=e[ni],n=t[Ht];if(zr(n))e[ce]|=2;else{let a=n[Ht][_n];t[_n]!==a&&(e[ce]|=2)}r===null?e[ni]=[t]:r.push(t)}var so=class{constructor(e,t,r=!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=r}get rootNodes(){let e=this._lView,t=e[pe];return il(t,e,t.firstChild,[])}get context(){return this._lView[Tt]}set context(e){this._lView[Tt]=e}get destroyed(){return mi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ht];if(Er(e)){let t=e[Ks],r=t?t.indexOf(this):-1;r>-1&&(oo(e,r),Ws(t,r))}this._attachedToViewContainer=!1}Hl(this._lView[pe],this._lView)}onDestroy(e){Bv(this._lView,e)}markForCheck(){Dh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){Ec(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,nb(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Qs(this._lView),t=this._lView[da];t!==null&&!e&&Ch(t,this._lView),W0(this._lView[pe],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let t=Qs(this._lView),r=this._lView[da];r!==null&&!t&&ub(r,this._lView),Ec(this._lView)}};function t8(e){return Do(e._lView)||!!(e._lView[ce]&64)}function n8(e){Kd(e._cdRefInjectingView||e._lView)}var va=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",i8),e})(),r8=va,a8=class extends r8{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let a=Lo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new so(a)}};function i8(){return Ul(nn(),de())}function Ul(e,t){return e.type&4?new a8(t,e,gi(e,t)):null}function yi(e,t,r,n,a){let i=e.data[t];if(i===null)i=o8(e,t,r,n,a),uU()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=oU();i.injectorIndex=o===null?-1:o.injectorIndex}return Ur(i,!0),i}function o8(e,t,r,n,a){let i=qv(),o=Jd(),l=o?i:i&&i.parent,c=e.data[t]=l8(e,l,r,t,n,a);return s8(e,c,i,o),c}function s8(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function l8(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return Hv()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:i,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 u8=()=>null;function ii(e,t){return u8()}var c8=class{},cb=class{},d8=class{resolveComponentFactory(e){throw Error(`No component factory found for ${bn(e)}.`)}},uc,jo=(uc=class{},s(uc,"NULL",new d8),uc),An=class{},_i=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>h8()),e})();function h8(){let e=de(),t=nn(),r=Jn(t.index,e);return(zr(r)?r:e)[ft]}var p8=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wu={},m8=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=Ol(r);let n=this.injector.get(e,wu,r);return n!==wu||t===wu?n:this.parentInjector.get(e,t,r)}};function Fc(e,t,r){let n=r?e.styles:null,a=r?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)a=gc(a,l);else if(i==2){let c=l,u=t[++o];n=gc(n,c+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function Bt(e,t=ke.Default){let r=de();if(r===null)return te(e,t);let n=nn();return s0(n,r,Pt(e),t)}function Th(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,c=null,u=null,d=g8(o);d===null?l=o:[l,c,u]=d,y8(e,t,r,l,i,c,u)}i!==null&&n!==null&&f8(r,n,i)}function f8(e,t,r){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let i=r[t[a+1]];if(i==null)throw new U(-301,!1);n.push(t[a],i)}}function g8(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Qn(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,a=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),i??(i=new Map),v8(o,n,i,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,i]):null}function v8(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function b8(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function y8(e,t,r,n,a,i,o){let l=n.length,c=!1;for(let b=0;b<l;b++){let g=n[b];!c&&Qn(g)&&(c=!0,b8(e,r,b)),Ic(tl(r,t),e,g.type)}k8(r,e.data.length,l);for(let b=0;b<l;b++){let g=n[b];g.providersResolver&&g.providersResolver(g)}let u=!1,d=!1,m=q0(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(r.mergedAttrs=ri(r.mergedAttrs,g.hostAttrs),w8(e,r,t,m,g),S8(m,g,a),o!==null&&o.has(g)){let[x,S]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,S+r.directiveStart])}else(i===null||!i.has(g))&&r.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),d=!0),m++}_8(e,r,i)}function _8(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))um(0,t,a,n),um(1,t,a,n),dm(t,n,!1);else{let i=r.get(a);cm(0,t,i,n),cm(1,t,i,n),dm(t,n,!0)}}}function um(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),db(t,i)}}function cm(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o=a[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),db(t,o)}}function db(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function dm(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||gh(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let c=n[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!r&&a.hasOwnProperty(c)){let u=a[c];for(let d of u)if(d===t){o??(o=[]),o.push(c,n[l+1]);break}}else if(r&&i.hasOwnProperty(c)){let u=i[c];for(let d=0;d<u.length;d+=2)if(u[d]===t){o??(o=[]),o.push(u[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function w8(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=ca(a.type)),o=new Oo(i,Qn(a),Bt);e.blueprint[n]=o,r[n]=o,x8(e,t,n,q0(e,r,a.hostVars,hn),a)}function x8(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;E8(o)!=l&&o.push(l),o.push(r,n,i)}}function E8(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function S8(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;Qn(t)&&(r[""]=e)}}function k8(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function hb(e,t,r,n,a,i,o,l){let c=t.consts,u=ma(c,o),d=yi(t,e,2,n,u);return Th(t,r,d,ma(c,l),a),d.mergedAttrs=ri(d.mergedAttrs,d.attrs),d.attrs!==null&&Fc(d,d.attrs,!1),d.mergedAttrs!==null&&Fc(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function pb(e,t){oh(e,t),Ud(t)&&e.queries.elementEnd(t)}var C8=class extends jo{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Xa(t);return new Nh(r,this.ngModule)}};function I8(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&zl.SignalBased)!==0};return a&&(i.transform=a),i})}function D8(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function T8(e,t,r){let n=t instanceof Kn?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new m8(r,n):r}function N8(e){let t=e.get(An,null);if(t===null)throw new U(407,!1);let r=e.get(p8,null),n=e.get(Mo,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function O8(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return L0(t,r,r==="svg"?W$:r==="math"?Z$:null)}var Nh=class extends cb{constructor(t,r){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=r,this.componentType=t.type,this.selector=d6(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=I8(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=D8(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=we(null);try{let o=this.componentDef,l=n?["ng-version","19.2.17"]:h6(this.componentDef.selectors[0]),c=vh(0,null,null,1,0,null,null,null,null,[l],null),u=T8(o,a||this.ngModule,t),d=N8(u),m=d.rendererFactory.createRenderer(null,o),b=n?g6(m,n,o.encapsulation,u):O8(o,m),g=bh(null,c,null,512|H0(o),null,null,d,m,u,null,T0(b,u,!0));g[gt]=b,rh(g);let w=null;try{let x=hb(gt,c,g,"#host",()=>[this.componentDef],!0,0);b&&(j0(m,b,x),vi(b,g)),Bl(c,g,x),mh(c,x,g),pb(c,x),r!==void 0&&P8(x,this.ngContentSelectors,r),w=Jn(x.index,g),g[Tt]=w[Tt],Eh(c,g,null)}catch(x){throw w!==null&&Oc(w),Oc(g),x}finally{pa(23),ah()}return new M8(this.componentType,g)}finally{we(i)}}},M8=class extends c8{constructor(t,r){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=r,this._tNode=Wd(r[pe],gt),this.location=gi(this._tNode,r),this.instance=Jn(this._tNode.index,r)[Tt],this.hostView=this.changeDetectorRef=new so(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let a=this._rootLView;xh(n,a[pe],a,t,r),this.previousInputValues.set(t,r);let i=Jn(n.index,a);Dh(i,1)}get injector(){return new Zi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function P8(e,t,r){let n=e.projection=[];for(let a=0;a<t.length;a++){let i=r[a];n.push(i!=null&&i.length?Array.from(i):null)}}var wi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",R8),e})();function R8(){let e=nn();return fb(e,de())}var A8=wi,mb=class extends A8{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return gi(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){let t=sh(this._hostTNode,this._hostLView);if(t0(t)){let r=Js(t,this._hostLView),n=Xs(t),a=r[pe].data[n+8];return new Zi(a,r)}else return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=hm(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-zt}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=ii(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,ai(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!H$(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,a=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let c=o?t:new Nh(Xa(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let w=(o?u:this.parentInjector).get(Kn,null);w&&(i=w)}let d=Xa(c.componentType??{}),m=ii(this._lContainer,(d==null?void 0:d.id)??null),b=null,g=c.create(u,a,b,i);return this.insertImpl(g.hostView,l,ai(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(K$(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[Ht],u=new mb(c,c[tn],c[Ht]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return Fo(o,a,i,n),t.attachToViewContainerRef(),Ev(xu(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=hm(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=oo(this._lContainer,r);n&&(Ws(xu(this._lContainer),r),Hl(n[pe],n))}detach(t){let r=this._adjustIndex(t,-1),n=oo(this._lContainer,r);return n&&Ws(xu(this._lContainer),r)!=null?new so(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function hm(e){return e[Ks]}function xu(e){return e[Ks]||(e[Ks]=[])}function fb(e,t){let r,n=t[e.index];return Er(n)?r=n:(r=ob(n,t,null,e),t[e.index]=r,yh(t,r)),F8(r,t,e,n),new mb(r,e,t)}function L8(e,t){let r=e[ft],n=r.createComment(""),a=er(t,e),i=r.parentNode(a);return al(r,i,n,r.nextSibling(a),!1),n}var F8=j8;function j8(e,t,r,n){if(e[ha])return;let a;r.type&8?a=Xn(n):a=L8(t,r),e[ha]=a}var V8=class gb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new gb(this.queryList)}setDirty(){this.queryList.setDirty()}},z8=class vb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,a=[];for(let i=0;i<n;i++){let o=r.getByIndex(i),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new vb(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)Oh(t,r).matches!==null&&this.queries[r].setDirty()}},B8=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=Q8(e):this.predicate=e}},H8=class bb{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let a=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,a);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new bb(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},q8=class yb{constructor(t,r=-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=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new yb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let i=n[a];this.matchTNodeWithReadOption(t,r,$8(r,i)),this.matchTNodeWithReadOption(t,r,Ts(r,t,i,!1,!1))}else n===va?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Ts(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===At||a===wi||a===va&&r.type&4)this.addMatch(r.index,-2);else{let i=Ts(r,t,a,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function $8(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function U8(e,t){return e.type&11?gi(e,t):e.type&4?Ul(e,t):null}function G8(e,t,r,n){return r===-1?U8(t,e):r===-2?W8(e,t,n):io(e,e[pe],r,t)}function W8(e,t,r){if(r===At)return gi(t,e);if(r===va)return Ul(t,e);if(r===wi)return fb(t,e)}function _b(e,t,r,n){let a=t[Mn].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let c=0;o!==null&&c<o.length;c+=2){let u=o[c];if(u<0)l.push(null);else{let d=i[u];l.push(G8(t,d,o[c+1],r.metadata.read))}}a.matches=l}return a.matches}function jc(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=_b(e,t,a,r);for(let l=0;l<i.length;l+=2){let c=i[l];if(c>0)n.push(o[l/2]);else{let u=i[l+1],d=t[-c];for(let m=zt;m<d.length;m++){let b=d[m];b[da]===b[Ht]&&jc(b[pe],b,u,n)}if(d[ni]!==null){let m=d[ni];for(let b=0;b<m.length;b++){let g=m[b];jc(g[pe],g,u,n)}}}}}return n}function Z8(e,t){return e[Mn].queries[t].queryList}function Y8(e,t,r){let n=new XU((r&4)===4);return J$(e,t,n,n.destroy),(t[Mn]??(t[Mn]=new z8)).queries.push(new V8(n))-1}function K8(e,t,r){let n=lt();return n.firstCreatePass&&(X8(n,new B8(e,t,r),-1),n.staticViewQueries=!0),Y8(n,de(),t)}function Q8(e){return e.split(",").map(t=>t.trim())}function X8(e,t,r){e.queries===null&&(e.queries=new H8),e.queries.track(new q8(t,r))}function Oh(e,t){return e.queries.getByIndex(t)}function J8(e,t){let r=e[pe],n=Oh(r,t);return n.crossesNgTemplate?jc(r,e,t,[]):_b(r,e,n,t)}var lo=class{},wb=class extends lo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new C8(this));s(this,"instance",null);let r=new Hd([...t.providers,{provide:lo,useValue:this},{provide:jo,useValue:this.componentFactoryResolver}],t.parent||Ml(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function eW(e,t,r=null){return new wb({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var tW=(()=>{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=Dv(!1,n.type),i=a.length>0?eW([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}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",V({token:t,providedIn:"environment",factory:()=>new t(te(Kn))}));let e=t;return e})();function rt(e){return Co(()=>{let t=xb(e),r=Yt(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===b0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(tW).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fr.Emulated,styles:e.styles||Xt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wa("NgStandalone"),Eb(r);let n=e.dependencies;return r.directiveDefs=pm(n,!1),r.pipeDefs=pm(n,!0),r.id=oW(r),r})}function nW(e){return Xa(e)||Iv(e)}function rW(e){return e!==null}function rn(e){return Co(()=>({type:e.type,bootstrap:e.bootstrap||Xt,declarations:e.declarations||Xt,imports:e.imports||Xt,exports:e.exports||Xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function aW(e,t){if(e==null)return Yn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,c;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,c=a[3]||null):(i=a,o=a,l=zl.None,c=null),r[i]=[n,l,c],t[i]=o}return r}function iW(e){if(e==null)return Yn;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Lt(e){return Co(()=>{let t=xb(e);return Eb(t),t})}function Ea(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 xb(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||Yn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Xt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:aW(e.inputs,t),outputs:iW(e.outputs),debugInfo:null}}function Eb(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function pm(e,t){if(!e)return null;let r=t?O$:nW;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(rW)}function oW(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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 sW(e){return Object.getPrototypeOf(e.prototype).constructor}function En(e){let t=sW(e.type),r=!0,n=[e];for(;t;){let a;if(Qn(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new U(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=Eu(e.inputs),o.declaredInputs=Eu(e.declaredInputs),o.outputs=Eu(e.outputs);let l=a.hostBindings;l&&hW(e,l);let c=a.viewQuery,u=a.contentQueries;if(c&&cW(e,c),u&&dW(e,u),lW(e,a),l$(e.outputs,a.outputs),Qn(a)&&a.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(a.data.animation)}}let i=a.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===En&&(r=!1)}}t=Object.getPrototypeOf(t)}uW(n)}function lW(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function uW(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=ri(a.hostAttrs,r=ri(r,a.hostAttrs))}}function Eu(e){return e===Yn?{}:e===Xt?[]:e}function cW(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function dW(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function hW(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function pW(e){let t=r=>{let n=Array.isArray(e);r.hostDirectives===null?(r.findHostDirectiveDefs=Sb,r.hostDirectives=n?e.map(Vc):[e]):n?r.hostDirectives.unshift(...e.map(Vc)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Sb(e,t,r){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let i of a)mm(Vc(i),t,r)}else mm(n,t,r)}function mm(e,t,r){let n=Iv(e.directive);mW(n.declaredInputs,e.inputs),Sb(n,t,r),r.set(n,e),t.push(n)}function Vc(e){return typeof e=="function"?{directive:Pt(e),inputs:Yn,outputs:Yn}:{directive:Pt(e.directive),inputs:fm(e.inputs),outputs:fm(e.outputs)}}function fm(e){if(e===void 0||e.length===0)return Yn;let t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function mW(e,t){for(let r in t)if(t.hasOwnProperty(r)){let n=t[r],a=e[r];e[n]=a}}function kb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Gl(e,t,r){return e[t]=r}function Cb(e,t){return e[t]}function wn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function ol(e,t,r,n){let a=wn(e,t,r);return wn(e,t+1,n)||a}function fW(e,t,r,n,a,i){let o=ol(e,t,r,n);return ol(e,t+2,a,i)||o}function gW(e,t,r,n,a,i,o,l,c){let u=t.consts,d=yi(t,e,4,o||null,l||null);Th(t,r,d,ma(u,c),wh),d.mergedAttrs=ri(d.mergedAttrs,d.attrs),oh(t,d);let m=d.tView=vh(2,d,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function Ib(e,t,r,n,a,i,o,l,c,u){let d=r+gt,m=t.firstCreatePass?gW(d,t,e,n,a,i,o,l,c):t.data[d];Ur(m,!1);let b=vW(t,e);Ll()&&ql(t,e,b,m),vi(b,e);let g=ob(b,e,b,m);return e[d]=g,yh(e,g),Rl(m)&&Bl(t,e,m),c!=null&&_h(e,m,u),m}function Be(e,t,r,n,a,i,o,l){let c=de(),u=lt(),d=ma(u.consts,i);return Ib(c,u,e,t,r,n,a,d,o,l),Be}var vW=bW;function bW(e,t,r,n){return Fl(!0),t[ft].createComment("")}var yW=new K(""),_W=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new wW}));let e=t;return e})(),wW=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.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 Mh(e){return!!e&&typeof e.then=="function"}function Db(e){return!!e&&typeof e.subscribe=="function"}var xW=new K(""),Tb=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",C(xW,{optional:!0})??[]);s(this,"injector",C(ot))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=qd(this.injector,i);if(Mh(o))n.push(o);else if(Db(o)){let l=new Promise((c,u)=>{o.subscribe({complete:c,error:u})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(i=>{this.reject(i)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),EW=new K("");function SW(){tq(()=>{throw new U(600,!1)})}function kW(e){return e.isBoundToModule}var CW=10,qr=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(UU));s(this,"afterRenderManager",C(C0));s(this,"zonelessEnabled",C(d0));s(this,"rootEffectScheduler",C(_W));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new xe);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(Po).hasPendingTasks.pipe(Mt(n=>!n)));s(this,"_injector",C(Kn));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new U(101,!1);let n=we(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,we(n),this.afterTick.next()}});C(Ro,{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:i=>{i&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,i=ot.NULL){let o=n instanceof cb;if(!this._injector.get(Tb).done){let g="";throw new U(405,g)}let l;o?l=n:l=this._injector.get(jo).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let c=kW(l)?void 0:this._injector.get(lo),u=a||l.selector,d=l.create(i,[],u,c),m=d.location.nativeElement,b=d.injector.get(yW,null);return b==null||b.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),Ns(this.components,d),b==null||b.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(hh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(An,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<CW;)this.synchronizeOnce()}synchronizeOnce(){var n,a,i,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:c,notifyErrorHandler:u}of this.allViews)IW(c,u,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=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Do(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;Ns(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(EW,[]).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),()=>Ns(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ns(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function IW(e,t,r,n){!r&&!Do(e)||nb(e,t,r&&!n?0:1)}function Ln(e,t,r,n){let a=de(),i=fi();if(wn(a,i,t)){lt();let o=ih();x6(o,a,e,t,r,n)}return Ln}function DW(e,t,r,n){return wn(e,fi(),r)?t+Qa(r)+n:hn}function TW(e,t,r,n,a,i){let o=sU(),l=ol(e,o,r,a);return th(2),l?t+Qa(r)+n+Qa(a)+i:hn}function as(e,t){return e<<17|t<<2}function ba(e){return e>>17&32767}function NW(e){return(e&2)==2}function OW(e,t){return e&131071|t<<17}function zc(e){return e|2}function oi(e){return(e&131068)>>2}function Su(e,t){return e&-131069|t<<2}function MW(e){return(e&1)===1}function Bc(e){return e|1}function PW(e,t,r,n,a,i){let o=t.classBindings,l=ba(o),c=oi(o);e[n]=r;let u=!1,d;if(Array.isArray(r)){let m=r;d=m[1],(d===null||Io(m,d)>0)&&(u=!0)}else d=r;if(a)if(c!==0){let m=ba(e[l+1]);e[n+1]=as(m,l),m!==0&&(e[m+1]=Su(e[m+1],n)),e[l+1]=OW(e[l+1],n)}else e[n+1]=as(l,0),l!==0&&(e[l+1]=Su(e[l+1],n)),l=n;else e[n+1]=as(c,0),l===0?l=n:e[c+1]=Su(e[c+1],n),c=n;u&&(e[n+1]=zc(e[n+1])),gm(e,d,n,!0),gm(e,d,n,!1),RW(t,d,e,n),o=as(l,c),t.classBindings=o}function RW(e,t,r,n,a){let i=e.residualClasses;i!=null&&typeof t=="string"&&Io(i,t)>=0&&(r[n+1]=Bc(r[n+1]))}function gm(e,t,r,n){let a=e[r+1],i=t===null,o=n?ba(a):oi(a),l=!1;for(;o!==0&&(l===!1||i);){let c=e[o],u=e[o+1];AW(c,t)&&(l=!0,e[o+1]=n?Bc(u):zc(u)),o=n?ba(u):oi(u)}l&&(e[r+1]=n?zc(a):Bc(a))}function AW(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Io(e,t)>=0:!1}var Nn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LW(e){return e.substring(Nn.key,Nn.keyEnd)}function FW(e){return jW(e),Nb(e,Ob(e,0,Nn.textEnd))}function Nb(e,t){let r=Nn.textEnd;return r===t?-1:(t=Nn.keyEnd=VW(e,Nn.key=t,r),Ob(e,t,r))}function jW(e){Nn.key=0,Nn.keyEnd=0,Nn.value=0,Nn.valueEnd=0,Nn.textEnd=e.length}function Ob(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function VW(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function xt(e,t,r){let n=de(),a=fi();if(wn(n,a,t)){let i=lt(),o=ih();G0(i,o,n,e,t,n[ft],r,!1)}return xt}function Hc(e,t,r,n,a){xh(t,e,r,a?"class":"style",n)}function Pn(e,t){return BW(e,t,null,!0),Pn}function Wl(e){HW(ZW,zW,e,!0)}function zW(e,t){for(let r=FW(t);r>=0;r=Nb(t,r))jd(e,LW(t),!0)}function BW(e,t,r,n){let a=de(),i=lt(),o=th(2);if(i.firstUpdatePass&&Pb(i,e,o,n),t!==hn&&wn(a,o,t)){let l=i.data[tr()];Rb(i,l,a,a[ft],e,a[o+1]=KW(t),n,o)}}function HW(e,t,r,n){let a=lt(),i=th(2);a.firstUpdatePass&&Pb(a,null,i,n);let o=de();if(r!==hn&&wn(o,i,r)){let l=a.data[tr()];if(Ab(l)&&!Mb(a,i)){let c=l.classesWithoutHost;c!==null&&(r=gc(c,r||"")),Hc(a,l,o,r,n)}else YW(a,l,o,o[ft],o[i+1],o[i+1]=WW(e,t,r),n,i)}}function Mb(e,t){return t>=e.expandoStartIndex}function Pb(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[tr()],o=Mb(e,r);Ab(i)&&t===null&&!o&&(t=!1),t=qW(a,i,t,n),PW(a,i,t,r,o)}}function qW(e,t,r,n){let a=hU(e),i=t.residualClasses;if(a===null)t.classBindings===0&&(r=ku(null,e,t,r),r=uo(r,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=ku(a,e,t,r),i===null){let l=$W(e,t);l!==void 0&&Array.isArray(l)&&(l=ku(null,e,t,l[1]),l=uo(l,t.attrs),UW(e,t,n,l))}else i=GW(e,t)}return i!==void 0&&(t.residualClasses=i),r}function $W(e,t,r){let n=t.classBindings;if(oi(n)!==0)return e[ba(n)]}function UW(e,t,r,n){let a=t.classBindings;e[ba(a)]=n}function GW(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=uo(n,o)}return uo(n,t.attrs)}function ku(e,t,r,n,a){let i=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(i=t[l],n=uo(n,i.hostAttrs),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function uo(e,t,r){let n=1,a=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),jd(e,o,!0))}return e===void 0?null:e}function WW(e,t,r){if(r==null||r==="")return Xt;let n=[],a=Or(r);if(Array.isArray(a))for(let i=0;i<a.length;i++)e(n,a[i],!0);else if(typeof a=="object")for(let i in a)a.hasOwnProperty(i)&&e(n,i,a[i]);else typeof a=="string"&&t(n,a);return n}function ZW(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&jd(e,n,r)}function YW(e,t,r,n,a,i,o,l){a===hn&&(a=Xt);let c=0,u=0,d=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let b=c<a.length?a[c+1]:void 0,g=u<i.length?i[u+1]:void 0,w=null,x;d===m?(c+=2,u+=2,b!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(c+=2,w=d):(u+=2,w=m,x=g),w!==null&&Rb(e,t,r,n,w,x,o,l),d=c<a.length?a[c]:null,m=u<i.length?i[u]:null}}function Rb(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let c=e.data,u=c[l+1],d=MW(u)?vm(c,t,r,a,oi(u)):void 0;if(!sl(d)){sl(i)||NW(u)&&(i=vm(c,null,r,a,l));let m=Vv(tr(),r);z6(n,o,m,a,i)}}function vm(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let c=e[a],u=Array.isArray(c),d=u?c[1]:c,m=d===null,b=r[a+1];b===hn&&(b=m?Xt:void 0);let g=m?fu(b,n):d===n?b:void 0;if(u&&!sl(g)&&(g=fu(c,n)),sl(g)&&(l=g,o))return l;let w=e[a+1];a=o?ba(w):oi(w)}if(t!==null){let c=t.residualClasses;c!=null&&(l=fu(c,n))}return l}function sl(e){return e!==void 0}function KW(e,t){return e==null||e===""||typeof e=="object"&&(e=bn(Or(e))),e}function Ab(e,t){return(e.flags&8)!==0}var QW=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-r>1){let i=this.detach(r);this.attach(r,a),this.attach(n,i)}else this.attach(r,a)}move(e,t){this.attach(t,this.detach(e))}};function Cu(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function XW(e,t,r){let n,a,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let c=e.at(i),u=t[i],d=Cu(i,c,i,u,r);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=Cu(o,m,l,b,r);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=r(i,c),x=r(o,m),S=r(i,u);if(Object.is(S,x)){let T=r(l,b);Object.is(T,w)?(e.swap(i,o),e.updateValue(o,b),l--,o--):e.move(o,i),e.updateValue(i,u),i++;continue}if(n??(n=new _m),a??(a=ym(e,i,o,r)),qc(e,n,i,S))e.updateValue(i,u),i++,o++;else if(a.has(S))n.set(w,e.detach(i)),o--;else{let T=e.create(i,t[i]);e.attach(i,T),i++,o++}}for(;i<=l;)bm(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&i<=o;){let u=e.at(i),d=c.value,m=Cu(i,u,i,d,r);if(m!==0)m<0&&e.updateValue(i,d),i++,c=l.next();else{n??(n=new _m),a??(a=ym(e,i,o,r));let b=r(i,d);if(qc(e,n,i,b))e.updateValue(i,d),i++,o++,c=l.next();else if(!a.has(b))e.attach(i,e.create(i,d)),i++,o++,c=l.next();else{let g=r(i,u);n.set(g,e.detach(i)),o--}}}for(;!c.done;)bm(e,n,r,e.length,c.value),c=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function qc(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function bm(e,t,r,n,a){if(qc(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function ym(e,t,r,n){let a=new Set;for(let i=t;i<=r;i++)a.add(n(i,e.at(i)));return a}var _m=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 r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function ht(e,t){wa("NgControlFlow");let r=de(),n=fi(),a=r[n]!==hn?r[n]:-1,i=a!==-1?ll(r,gt+a):void 0,o=0;if(wn(r,n,e)){let l=we(null);try{if(i!==void 0&&lb(i,o),e!==-1){let c=gt+e,u=ll(r,c),d=$c(r[pe],c),m=ii(u,d.tView.ssrId),b=Lo(r,d,t,{dehydratedView:m});Fo(u,b,o,ai(d,m))}}finally{we(l)}}else if(i!==void 0){let l=sb(i,o);l!==void 0&&(l[Tt]=t)}}var JW=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-zt}};function Lb(e){return e}function eZ(e,t){return t}var tZ=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function Ph(e,t,r,n,a,i,o,l,c,u,d,m,b){wa("NgControlFlow");let g=de(),w=lt(),x=c!==void 0,S=de(),T=o,R=new tZ(x,T);S[gt+e]=R,Ib(g,w,e+1,t,r,n,a,ma(w.consts,i))}var nZ=class extends QW{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-zt}at(t){return this.getLView(t)[Tt].$implicit}attach(t,r){let n=r[ei];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Fo(this.lContainer,r,t,ai(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),rZ(this.lContainer,t)}create(t,r){var i;let n=ii(this.lContainer,this.templateTNode.tView.ssrId),a=Lo(this.hostLView,this.templateTNode,new JW(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Hl(t[pe],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[Tt].$implicit=r}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)[Tt].$index=t}getLView(t){return aZ(this.lContainer,t)}};function Rh(e){let t=we(null),r=tr();try{let n=de(),a=n[pe],i=n[r],o=r+1,l=ll(n,o);if(i.liveCollection===void 0){let u=$c(a,o);i.liveCollection=new nZ(l,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(XW(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=fi(),d=c.length===0;if(wn(n,u,d)){let m=r+2,b=ll(n,m);if(d){let g=$c(a,m),w=ii(b,g.tView.ssrId),x=Lo(n,g,void 0,{dehydratedView:w});Fo(b,x,0,ai(g,w))}else lb(b,0)}}}finally{we(t)}}function ll(e,t){return e[t]}function rZ(e,t){return oo(e,t)}function aZ(e,t){return sb(e,t)}function $c(e,t){return Wd(e,t)}function re(e,t,r,n){let a=de(),i=lt(),o=gt+e,l=a[ft],c=i.firstCreatePass?hb(o,i,a,t,wh,rU(),r,n):i.data[o],u=iZ(i,a,c,l,t);a[o]=u;let d=Rl(c);return Ur(c,!0),j0(l,u,c),!kh(c)&&Ll()&&ql(i,a,u,c),(eU()===0||d)&&vi(u,a),tU(),d&&(Bl(i,a,c),mh(i,c,a)),n!==null&&_h(a,c),re}function ne(){let e=nn();Jd()?eh():(e=e.parent,Ur(e,!1));let t=e;aU(t)&&iU(),nU();let r=lt();return r.firstCreatePass&&pb(r,t),t.classesWithoutHost!=null&&bU(t)&&Hc(r,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yU(t)&&Hc(r,t,de(),t.stylesWithoutHost,!1),ne}function Zt(e,t,r,n){return re(e,t,r,n),ne(),Zt}var iZ=(e,t,r,n,a,i)=>(Fl(!0),L0(n,a,fU()));function oZ(e,t,r,n,a){let i=t.consts,o=ma(i,n),l=yi(t,e,8,"ng-container",o);o!==null&&Fc(l,o,!0);let c=ma(i,a);return Th(t,r,l,c,wh),l.mergedAttrs=ri(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Fb(e,t,r){let n=de(),a=lt(),i=e+gt,o=a.firstCreatePass?oZ(i,a,n,t,r):a.data[i];Ur(o,!0);let l=sZ(a,n);return n[i]=l,Ll()&&ql(a,n,l,o),vi(l,n),Rl(o)&&(Bl(a,n,o),mh(a,o,n)),r!=null&&_h(n,o),Fb}function jb(){let e=nn(),t=lt();return Jd()?eh():(e=e.parent,Ur(e,!1)),t.firstCreatePass&&(oh(t,e),Ud(e)&&t.queries.elementEnd(e)),jb}function Vo(e,t,r){return Fb(e,t,r),jb(),Vo}var sZ=(e,t,r,n)=>(Fl(!0),KG(t[ft],""));function Zl(){return de()}function Ah(e,t,r){let n=de(),a=fi();if(wn(n,a,t)){let i=lt(),o=ih();G0(i,o,n,e,t,n[ft],r,!0)}return Ah}var Yr=void 0;function lZ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var uZ=["en",[["a","p"],["AM","PM"],Yr],[["AM","PM"],Yr,Yr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Yr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Yr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Yr,"{1} 'at' {0}",Yr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",lZ],Yi={};function cZ(e,t,r){typeof t!="string"&&(r=t,t=e[Et.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yi[t]=e,r&&(Yi[t][Et.ExtraData]=r)}function Fn(e){let t=dZ(e),r=wm(t);if(r)return r;let n=t.split("-")[0];if(r=wm(n),r)return r;if(n==="en")return uZ;throw new U(701,!1)}function wm(e){return e in Yi||(Yi[e]=La.ng&&La.ng.common&&La.ng.common.locales&&La.ng.common.locales[e]),Yi[e]}var Et=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}(Et||{});function dZ(e){return e.toLowerCase().replace(/_/g,"-")}var Uc="en-US";function hZ(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function xm(e,t,r){return function n(a){if(a===Function)return r;let i=pi(e)?Jn(e.index,t):t;Dh(i,5);let o=t[Tt],l=Em(t,o,r,a),c=n.__ngNextListenerFn__;for(;c;)l=Em(t,o,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function Em(e,t,r,n){let a=we(null);try{return pa(6,t,r),r(n)!==!1}catch(i){return pZ(e,i),!1}finally{we(a)}}function pZ(e,t){let r=e[ti],n=r?r.get(Rn,null):null;n&&n.handleError(t)}function Sm(e,t,r,n,a,i){let o=t[r],l=t[pe],c=l.data[r].outputs[n],u=o[c],d=l.firstCreatePass?Xd(l):null,m=Qd(t),b=u.subscribe(i),g=m.length;m.push(i,b),d&&d.push(a,e.index,g,-(g+1))}function Sa(e,t,r,n){let a=de(),i=lt(),o=nn();return fZ(i,a,a[ft],o,e,t,n),Sa}function mZ(e,t,r,n){let a=e.cleanup;if(a!=null)for(let i=0;i<a.length-1;i+=2){let o=a[i];if(o===r&&a[i+1]===n){let l=t[Ua],c=a[i+2];return l.length>c?l[c]:null}typeof o=="string"&&(i+=2)}return null}function fZ(e,t,r,n,a,i,o){var m,b;let l=Rl(n),c=e.firstCreatePass?Xd(e):null,u=Qd(t),d=!0;if(n.type&3||o){let g=er(n,t),w=o?o(g):g,x=u.length,S=o?R=>o(Xn(R[n.index])):n.index,T=null;if(!o&&l&&(T=mZ(e,t,a,n.index)),T!==null){let R=T.__ngLastListenerFn__||T;R.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,d=!1}else{i=xm(n,t,i);let R=r.listen(w,a,i);u.push(i,R),c&&c.push(a,S,x,x+1)}}else i=xm(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[a],w=(b=n.hostDirectiveOutputs)==null?void 0:b[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],T=w[x+1];Sm(n,t,S,T,a,i)}if(g&&g.length)for(let x of g)Sm(n,t,x,a,a,i)}}function Ee(e=1){return mU(e)}function gZ(e,t){let r=null,n=o6(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?B0(e,i,!0):u6(n,i))return a}return r}function xi(e){let t=de()[_n][tn];if(!t.projection){let r=e?e.length:1,n=t.projection=D$(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?gZ(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function Zn(e,t=0,r,n,a,i){let o=de(),l=lt(),c=null,u=yi(l,gt+e,16,null,null);u.projection===null&&(u.projection=t),eh();let d=!o[ei]||Hv();o[_n][tn].projection[u.projection]===null&&c!==null?vZ(o,l,c):d&&!kh(u)&&j6(l,o,u)}function vZ(e,t,r){let n=gt+r,a=t.data[n],i=e[n],o=ii(i,a.tView.ssrId),l=Lo(e,a,void 0,{dehydratedView:o});Fo(i,l,0,ai(a,o))}function Gc(e,t,r){K8(e,t,r)}function Wc(e){let t=de(),r=lt(),n=Gv();nh(n+1);let a=Oh(r,n);if(e.dirty&&Y$(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=J8(t,n);e.reset(i,YU),e.notifyOnChanges()}return!0}return!1}function Zc(){return Z8(de(),Gv())}function Yl(e){let t=$v();return Al(t,gt+e)}function be(e,t=""){let r=de(),n=lt(),a=e+gt,i=n.firstCreatePass?yi(n,a,1,t,null):n.data[a],o=bZ(n,r,i,t);r[a]=o,Ll()&&ql(n,r,o,i),Ur(i,!1)}var bZ=(e,t,r,n,a)=>(Fl(!0),ZG(t[ft],n));function Ge(e){return cn("",e,""),Ge}function cn(e,t,r){let n=de(),a=DW(n,e,t,r);return a!==hn&&Vb(n,tr(),a),cn}function Lh(e,t,r,n,a){let i=de(),o=TW(i,e,t,r,n,a);return o!==hn&&Vb(i,tr(),o),Lh}function Vb(e,t,r){let n=Vv(t,e);YG(e[ft],n,r)}var zb={};function Bb(e){let t=lt(),r=de(),n=e+gt,a=yi(t,n,128,null,null);return Ur(a,!1),Zd(t,r,n,zb),Bb}function km(e){wa("NgLet");let t=lt(),r=de(),n=tr();return Zd(t,r,n,e),e}function Cm(e){let t=$v(),r=Al(t,gt+e);if(r===zb)throw new U(314,!1);return r}function yZ(e,t,r){let n=lt();if(n.firstCreatePass){let a=Qn(e);Yc(r,n.data,n.blueprint,a,!0),Yc(t,n.data,n.blueprint,a,!1)}}function Yc(e,t,r,n,a){if(e=Pt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Yc(e[i],t,r,n,a);else{let i=lt(),o=de(),l=nn(),c=Ja(e)?e:Pt(e.provide),u=Ov(e),d=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Ja(e)||!e.multi){let g=new Oo(u,a,Bt),w=Du(c,t,a?d:d+b,m);w===-1?(Ic(tl(l,o),i,c),Iu(i,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=Du(c,t,d+b,m),w=Du(c,t,d,d+b),x=g>=0&&r[g],S=w>=0&&r[w];if(a&&!S||!a&&!x){Ic(tl(l,o),i,c);let T=xZ(a?wZ:_Z,r.length,a,n,u);!a&&S&&(r[w].providerFactory=T),Iu(i,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(T),o.push(T)}else{let T=Hb(r[a?w:g],u,!a&&n);Iu(i,e,g>-1?g:w,T)}!a&&n&&S&&r[w].componentProviders++}}}function Iu(e,t,r,n){let a=Ja(t),i=L$(t);if(a||i){let o=(i?Pt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(r);c===-1?l.push(r,[n,o]):l[c+1].push(n,o)}else l.push(r,o)}}}function Hb(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Du(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function _Z(e,t,r,n,a){return Kc(this.multi,[])}function wZ(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=io(n,n[pe],this.providerFactory.index,a);o=c.slice(0,l),Kc(i,o);for(let u=l;u<c.length;u++)o.push(c[u])}else o=[],Kc(i,o);return o}function Kc(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function xZ(e,t,r,n,a){let i=new Oo(e,r,Bt);return i.multi=[],i.index=t,i.componentProviders=0,Hb(i,a,n&&!r),i}function EZ(e,t=[]){return r=>{r.providersResolver=(n,a)=>yZ(n,a?a(e):e,t)}}function SZ(e,t,r){let n=No()+e,a=de();return a[n]===hn?Gl(a,n,t()):Cb(a,n)}function kZ(e,t,r,n){return $b(de(),No(),e,t,r,n)}function CZ(e,t,r,n,a,i,o,l){let c=No()+e,u=de(),d=fW(u,c,r,n,a,i);return wn(u,c+4,o)||d?Gl(u,c+5,t(r,n,a,i,o)):Cb(u,c+5)}function qb(e,t){let r=e[t];return r===hn?void 0:r}function $b(e,t,r,n,a,i){let o=t+r;return wn(e,o,a)?Gl(e,o+1,i?n.call(i,a):n(a)):qb(e,o+1)}function IZ(e,t,r,n,a,i,o){let l=t+r;return ol(e,l,a,i)?Gl(e,l+2,o?n.call(o,a,i):n(a,i)):qb(e,l+2)}function De(e,t){let r=lt(),n,a=e+gt;r.firstCreatePass?(n=DZ(t,r.pipeRegistry),r.data[a]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(a,n.onDestroy)):n=r.data[a];let i=n.factory||(n.factory=ca(n.type)),o=Kt(Bt);try{let l=el(!1),c=i();return el(l),Zd(r,de(),a,c),c}finally{Kt(o)}}function DZ(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function Me(e,t,r){let n=e+gt,a=de(),i=Al(a,n);return Gb(a,n)?$b(a,No(),t,i.transform,r,i):i.transform(r)}function Ub(e,t,r,n){let a=e+gt,i=de(),o=Al(i,a);return Gb(i,a)?IZ(i,No(),t,o.transform,r,n,o):o.transform(r,n)}function Gb(e,t){return e[pe].data[t].pure}function Im(e,t){return Ul(e,t)}var TZ=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(".")}},Dm=new TZ("19.2.17"),NZ=(()=>{const t=class t{constructor(){s(this,"zone",C(je));s(this,"changeDetectionScheduler",C(Mo));s(this,"applicationRef",C(qr));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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function OZ({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new je(Yt(se({},MZ()),{scheduleInRootZone:r}))),[{provide:je,useFactory:e},{provide:Zs,multi:!0,useFactory:()=>{let n=C(NZ,{optional:!0});return()=>n.initialize()}},{provide:Zs,multi:!0,useFactory:()=>{let n=C(PZ);return()=>{n.initialize()}}},t===!0?{provide:h0,useValue:!0}:[],{provide:p0,useValue:r??c0}]}function MZ(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var PZ=(()=>{const t=class t{constructor(){s(this,"subscription",new un);s(this,"initialized",!1);s(this,"zone",C(je));s(this,"pendingTasks",C(Po))}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(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),RZ=(()=>{var t;const r=class r{constructor(){s(this,"appRef",C(qr));s(this,"taskService",C(Po));s(this,"ngZone",C(je));s(this,"zonelessEnabled",C(d0));s(this,"tracing",C(Ro,{optional:!0}));s(this,"disableScheduling",C(h0,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new un);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(rl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(p0,{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 HU||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let i=!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,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!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(i))return;let o=this.useMicrotaskScheduler?Kp:m0;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(rl+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(i){throw this.taskService.remove(a),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Kp(()=>{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 i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(r,"ɵfac",function(a){return new(a||r)}),s(r,"ɵprov",V({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function AZ(){return typeof $localize<"u"&&$localize.locale||Uc}var Kl=new K("",{providedIn:"root",factory:()=>C(Kl,ke.Optional|ke.SkipSelf)||AZ()}),Qc=new K(""),LZ=new K("");function Mi(e){return!e.moduleRef}function FZ(e){let t=Mi(e)?e.r3Injector:e.moduleRef.injector,r=t.get(je);return r.run(()=>{Mi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Rn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),Mi(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Qc);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Qc);o.add(i),e.moduleRef.onDestroy(()=>{Ns(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return VZ(n,r,()=>{let i=t.get(Tb);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Kl,Uc);if(hZ(o||Uc),!t.get(LZ,!0))return Mi(e)?t.get(qr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mi(e)){let l=t.get(qr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return jZ(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function jZ(e,t){let r=e.injector.get(qr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new U(-403,!1);t.push(e)}function VZ(e,t,r){try{let n=r();return Mh(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Os=null;function zZ(e=[],t){return ot.create({name:t,providers:[{provide:Bd,useValue:"platform"},{provide:Qc,useValue:new Set([()=>Os=null])},...e]})}function BZ(e=[]){if(Os)return Os;let t=zZ(e);return Os=t,SW(),HZ(t),t}function HZ(e){let t=e.get(E0,null);qd(e,()=>{t==null||t.forEach(r=>r())})}function qZ(){return!1}var Ei=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",$Z),e})();function $Z(e){return UZ(nn(),de(),(e&16)===16)}function UZ(e,t,r){if(pi(e)&&!r){let n=Jn(e.index,t);return new so(n,n)}else if(e.type&175){let n=t[_n];return new so(n,t)}return null}var GZ=class{constructor(){}supports(e){return e instanceof Map||kb(e)}create(){return new WZ}},WZ=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||kb(e)))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._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,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}let r=new ZZ(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_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(r=>t(e[r],r))}},ZZ=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 Tm(){return new Wb([new GZ])}var Wb=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||Tm()),deps:[[t,new k$,new S$]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new U(901,!1)}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:Tm}));let e=t;return e})();function YZ(e){let{rootComponent:t,appProviders:r,platformProviders:n,platformRef:a}=e;try{let i=(a==null?void 0:a.injector)??BZ(n),o=[OZ({}),{provide:Mo,useExisting:RZ},...r||[]],l=new wb({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return FZ({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Hi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Zb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Xc(e){return sq(e)}function Ha(e,t){return XH(e)}var KZ=e=>e;function QZ(e,t){if(typeof e=="function"){let r=Np(e,KZ,t==null?void 0:t.equal);return Nm(r)}else{let r=Np(e.source,e.computation,e.equal);return Nm(r)}}function Nm(e){let t=e[_r],r=e;return r.set=n=>aq(t,n),r.update=n=>iq(t,n),r.asReadonly=g0.bind(e),r}function Yb(e,t){let r=Xa(e),n=t.elementInjector||Ml();return new Nh(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var XZ={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function JZ(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function eY(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Tu;function tY(e,t){if(!Tu){let r=Element.prototype;Tu=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Tu.call(e,t):!1}function nY(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[JZ(n)]=[r,a]}),t}function rY(e,t){return t.get(jo).resolveComponentFactory(e).inputs}function aY(e,t){let r=e.childNodes,n=t.map(()=>[]),a=-1;t.some((i,o)=>i==="*"?(a=o,!0):!1);for(let i=0,o=r.length;i<o;++i){let l=r[i],c=iY(l,t,a);c!==-1&&n[c].push(l)}return n}function iY(e,t,r){let n=r;return eY(e)&&t.some((a,i)=>a!=="*"&&tY(e,a)?(n=i,!0):!1),n}var oY=10,sY=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(jo).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new lY(this.componentFactory,e,this.inputMap)}},lY=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new Pg(1));s(this,"events",this.eventEmitters.pipe($s(e=>Md(...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=r,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(qr),this.cdScheduler=t.get(Mo),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=XZ.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},oY))})}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),t8(this.componentRef.hostView)&&(n8(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ot.create({providers:[],parent:this.injector}),r=aY(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,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:r,templateName:n})=>{let a=e.instance[r];return new nt(i=>{let o=a.subscribe(l=>i.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()}},uY=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function cY(e,t){let r=rY(e,t.injector),n=t.strategyFactory||new sY(e,t.injector),a=nY(r);class i extends uY{constructor(c){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:u,transform:d})=>{if(!this.hasOwnProperty(u))return;let m=this[u];delete this[u],c.setInputValue(u,m,d)})}return this._ngElementStrategy}attributeChangedCallback(c,u,d,m){let[b,g]=a[c];this.ngElementStrategy.setInputValue(b,d,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let u=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(u)})}}return s(i,"observedAttributes",Object.keys(a)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(c){this.ngElementStrategy.setInputValue(o,c,l)},configurable:!0,enumerable:!0})}),i}var Le=new K(""),Kb=null;function Ki(){return Kb}function dY(e){Kb??(Kb=e)}var hY=class{},Qb=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:()=>C(pY),providedIn:"platform"}));let e=t;return e})(),pY=(()=>{const t=class t extends Qb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ki().getBaseHref(this._doc)}onPopState(a){let i=Ki().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=Ki().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",a,!1),()=>i.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,i,o){this._history.pushState(a,i,o)}replaceState(a,i,o){this._history.replaceState(a,i,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",V({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Xb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Om(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function oa(e){return e&&e[0]!=="?"?`?${e}`:e}var Fh=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:()=>C(fY),providedIn:"root"}));let e=t;return e})(),mY=new K(""),fY=(()=>{const t=class t extends Fh{constructor(a,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=C(Le).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 Xb(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+oa(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let c=this.prepareExternalUrl(o+oa(l));this._platformLocation.pushState(a,i,c)}replaceState(a,i,o,l){let c=this.prepareExternalUrl(o+oa(l));this._platformLocation.replaceState(a,i,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,a)}};s(t,"ɵfac",function(a){return new(a||t)(te(Qb),te(mY,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Jb=(()=>{const t=class t{constructor(n){s(this,"_subject",new xe);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=bY(Om(Mm(a))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.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+oa(a))}normalize(n){return t.stripTrailingSlash(vY(this._basePath,Mm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",i=null){this._locationStrategy.pushState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+oa(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+oa(a)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,i;(i=(a=this._locationStrategy).historyGo)==null||i.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var i;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(i=>i(n,a))}subscribe(n,a,i){return this._subject.subscribe({next:n,error:a??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",oa),s(t,"joinWithSlash",Xb),s(t,"stripTrailingSlash",Om),s(t,"ɵfac",function(n){return new(n||t)(te(Fh))}),s(t,"ɵprov",V({token:t,factory:()=>gY(),providedIn:"root"}));let e=t;return e})();function gY(){return new Jb(te(Fh))}function vY(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Mm(e){return e.replace(/\/index.html$/,"")}function bY(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Gt=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Gt||{}),He=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(He||{}),an=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(an||{}),Ql={MinusSign:5};function yY(e){return Fn(e)[Et.LocaleId]}function _Y(e,t,r){let n=Fn(e),a=[n[Et.DayPeriodsFormat],n[Et.DayPeriodsStandalone]],i=xn(a,t);return xn(i,r)}function wY(e,t,r){let n=Fn(e),a=[n[Et.DaysFormat],n[Et.DaysStandalone]],i=xn(a,t);return xn(i,r)}function xY(e,t,r){let n=Fn(e),a=[n[Et.MonthsFormat],n[Et.MonthsStandalone]],i=xn(a,t);return xn(i,r)}function EY(e,t){let r=Fn(e)[Et.Eras];return xn(r,t)}function is(e,t){let r=Fn(e);return xn(r[Et.DateFormat],t)}function os(e,t){let r=Fn(e);return xn(r[Et.TimeFormat],t)}function ss(e,t){let r=Fn(e)[Et.DateTimeFormat];return xn(r,t)}function Xl(e,t){return Fn(e)[Et.NumberSymbols][t]}function ey(e){if(!e[Et.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Et.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function SY(e){let t=Fn(e);return ey(t),(t[Et.ExtraData][2]||[]).map(r=>typeof r=="string"?Nu(r):[Nu(r[0]),Nu(r[1])])}function kY(e,t,r){let n=Fn(e);ey(n);let a=[n[Et.ExtraData][0],n[Et.ExtraData][1]],i=xn(a,t)||[];return xn(i,r)||[]}function xn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function Nu(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var CY=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ta={},IY=/((?:[^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 DY(e,t,r,n){let a=FY(e);t=hr(r,t)||t;let i=[],o;for(;t;)if(o=IY.exec(t),o){i=i.concat(o.slice(1));let u=i.pop();if(!u)break;t=u}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=ny(n,l),a=LY(a,n));let c="";return i.forEach(u=>{let d=RY(u);c+=d?d(a,r,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ul(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function hr(e,t){let r=yY(e);if(Ta[r]??(Ta[r]={}),Ta[r][t])return Ta[r][t];let n="";switch(t){case"shortDate":n=is(e,an.Short);break;case"mediumDate":n=is(e,an.Medium);break;case"longDate":n=is(e,an.Long);break;case"fullDate":n=is(e,an.Full);break;case"shortTime":n=os(e,an.Short);break;case"mediumTime":n=os(e,an.Medium);break;case"longTime":n=os(e,an.Long);break;case"fullTime":n=os(e,an.Full);break;case"short":let a=hr(e,"shortTime"),i=hr(e,"shortDate");n=ls(ss(e,an.Short),[a,i]);break;case"medium":let o=hr(e,"mediumTime"),l=hr(e,"mediumDate");n=ls(ss(e,an.Medium),[o,l]);break;case"long":let c=hr(e,"longTime"),u=hr(e,"longDate");n=ls(ss(e,an.Long),[c,u]);break;case"full":let d=hr(e,"fullTime"),m=hr(e,"fullDate");n=ls(ss(e,an.Full),[d,m]);break}return n&&(Ta[r][t]=n),n}function ls(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Tn(e,t,r="-",n,a){let i="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,i=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function TY(e,t){return Tn(e,3).substring(0,t)}function yt(e,t,r=0,n=!1,a=!1){return function(i,o){let l=NY(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return TY(l,t);let c=Xl(o,Ql.MinusSign);return Tn(l,t,c,n,a)}}function NY(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 $e(e,t,r=Gt.Format,n=!1){return function(a,i){return OY(a,i,e,t,r,n)}}function OY(e,t,r,n,a,i){switch(r){case 2:return xY(t,a,n)[e.getMonth()];case 1:return wY(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=SY(t),d=kY(t,a,n),m=u.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,x=o>=g.hours&&l>=g.minutes,S=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&S)return!0}else if(x||S)return!0}else if(b.hours===o&&b.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return _Y(t,a,n)[o<12?0:1];case 3:return EY(t,n)[e.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function us(e){return function(t,r,n){let a=-1*n,i=Xl(r,Ql.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Tn(o,2,i)+Tn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+Tn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var MY=0,Ms=4;function PY(e){let t=ul(e,MY,1).getDay();return ul(e,0,1+(t<=Ms?Ms:Ms+7)-t)}function ty(e){let t=e.getDay(),r=t===0?-3:Ms-t;return ul(e.getFullYear(),e.getMonth(),e.getDate()+r)}function Ou(e,t=!1){return function(r,n){let a;if(t){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();a=1+Math.floor((o+i)/7)}else{let i=ty(r),o=PY(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Tn(a,e,Xl(n,Ql.MinusSign))}}function cs(e,t=!1){return function(r,n){let a=ty(r).getFullYear();return Tn(a,e,Xl(n,Ql.MinusSign),t)}}var Mu={};function RY(e){if(Mu[e])return Mu[e];let t;switch(e){case"G":case"GG":case"GGG":t=$e(3,He.Abbreviated);break;case"GGGG":t=$e(3,He.Wide);break;case"GGGGG":t=$e(3,He.Narrow);break;case"y":t=yt(0,1,0,!1,!0);break;case"yy":t=yt(0,2,0,!0,!0);break;case"yyy":t=yt(0,3,0,!1,!0);break;case"yyyy":t=yt(0,4,0,!1,!0);break;case"Y":t=cs(1);break;case"YY":t=cs(2,!0);break;case"YYY":t=cs(3);break;case"YYYY":t=cs(4);break;case"M":case"L":t=yt(1,1,1);break;case"MM":case"LL":t=yt(1,2,1);break;case"MMM":t=$e(2,He.Abbreviated);break;case"MMMM":t=$e(2,He.Wide);break;case"MMMMM":t=$e(2,He.Narrow);break;case"LLL":t=$e(2,He.Abbreviated,Gt.Standalone);break;case"LLLL":t=$e(2,He.Wide,Gt.Standalone);break;case"LLLLL":t=$e(2,He.Narrow,Gt.Standalone);break;case"w":t=Ou(1);break;case"ww":t=Ou(2);break;case"W":t=Ou(1,!0);break;case"d":t=yt(2,1);break;case"dd":t=yt(2,2);break;case"c":case"cc":t=yt(7,1);break;case"ccc":t=$e(1,He.Abbreviated,Gt.Standalone);break;case"cccc":t=$e(1,He.Wide,Gt.Standalone);break;case"ccccc":t=$e(1,He.Narrow,Gt.Standalone);break;case"cccccc":t=$e(1,He.Short,Gt.Standalone);break;case"E":case"EE":case"EEE":t=$e(1,He.Abbreviated);break;case"EEEE":t=$e(1,He.Wide);break;case"EEEEE":t=$e(1,He.Narrow);break;case"EEEEEE":t=$e(1,He.Short);break;case"a":case"aa":case"aaa":t=$e(0,He.Abbreviated);break;case"aaaa":t=$e(0,He.Wide);break;case"aaaaa":t=$e(0,He.Narrow);break;case"b":case"bb":case"bbb":t=$e(0,He.Abbreviated,Gt.Standalone,!0);break;case"bbbb":t=$e(0,He.Wide,Gt.Standalone,!0);break;case"bbbbb":t=$e(0,He.Narrow,Gt.Standalone,!0);break;case"B":case"BB":case"BBB":t=$e(0,He.Abbreviated,Gt.Format,!0);break;case"BBBB":t=$e(0,He.Wide,Gt.Format,!0);break;case"BBBBB":t=$e(0,He.Narrow,Gt.Format,!0);break;case"h":t=yt(3,1,-12);break;case"hh":t=yt(3,2,-12);break;case"H":t=yt(3,1);break;case"HH":t=yt(3,2);break;case"m":t=yt(4,1);break;case"mm":t=yt(4,2);break;case"s":t=yt(5,1);break;case"ss":t=yt(5,2);break;case"S":t=yt(6,1);break;case"SS":t=yt(6,2);break;case"SSS":t=yt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=us(0);break;case"ZZZZZ":t=us(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=us(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=us(2);break;default:return null}return Mu[e]=t,t}function ny(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function AY(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function LY(e,t,r){let n=e.getTimezoneOffset(),a=ny(t,n);return AY(e,-1*(a-n))}function FY(e){if(Pm(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,i=1,o=1]=e.split("-").map(l=>+l);return ul(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(CY))return jY(n)}let t=new Date(e);if(!Pm(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function jY(e){let t=new Date(0),r=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=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)-r,l=Number(e[5]||0)-n,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,c,u),t}function Pm(e){return e instanceof Date&&!isNaN(e.valueOf())}var Pu=/\s+/,Rm=[],VY=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Rm);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(Pu):Rm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Pu):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 i=this.stateMap.get(n);i!==void 0?(i.enabled!==a&&(i.changed=!0,i.enabled=a),i.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],i=n[1];i.changed?(this._toggleClass(a,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),i.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(Pu).forEach(i=>{a?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(Bt(At),Bt(_i))}),s(t,"ɵdir",Lt({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),zY=(()=>{const t=class t{constructor(n,a,i){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=i}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[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:za.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,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)(Bt(At),Bt(Wb),Bt(_i))}),s(t,"ɵdir",Lt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),BY=(()=>{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 i=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,i):!1,get:(n,a,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,i)}})}};s(t,"ɵfac",function(n){return new(n||t)(Bt(wi))}),s(t,"ɵdir",Lt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gd]}));let e=t;return e})();function ry(e,t){return new U(2100,!1)}var HY=class{createSubscription(e,t){return Xc(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){Xc(()=>e.unsubscribe())}},qY=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},$Y=new qY,UY=new HY,GY=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,a=>this._updateLatestValue(n,a))}_selectStrategy(n){if(Mh(n))return $Y;if(Db(n))return UY;throw ry()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,a){var i;n===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Bt(Ei,16))}),s(t,"ɵpipe",Ea({name:"async",type:t,pure:!1}));let e=t;return e})(),WY="mediumDate",ZY=new K(""),YY=new K(""),KY=(()=>{const t=class t{constructor(n,a,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=i}transform(n,a,i,o){var l,c;if(n==null||n===""||n!==n)return null;try{let u=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??WY,d=i??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return DY(n,u,o||this.locale,d)}catch(u){throw ry(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Bt(Kl,16),Bt(ZY,24),Bt(YY,24))}),s(t,"ɵpipe",Ea({name:"date",type:t,pure:!0}));let e=t;return e})(),ay=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({}));let e=t;return e})();function iy(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[a,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}var oy="browser",QY="server";function XY(e){return e===oy}function sy(e){return e===QY}var ly=class{};function Jl(e,t,r){return cZ(e,t,r)}var Jc=new K(""),uy=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,i,o){return this._findPluginFor(a).addEventListener(n,a,i,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(i=>i.supports(n)),!a)throw new U(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(te(Jc),te(je))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),cy=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ps="ng-app-id";function Am(e){for(let t of e)t.remove()}function Lm(e,t){let r=t.createElement("style");return r.textContent=e,r}function JY(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ps}="${t}"],link[${Ps}="${t}"]`);if(a)for(let o of a)o.removeAttribute(Ps),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function ed(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var dy=(()=>{const t=class t{constructor(n,a,i,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=i,this.isServer=sy(o),JY(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,Lm);a==null||a.forEach(i=>this.addUsage(i,this.external,ed))}removeStyles(n,a){for(let i of n)this.removeUsage(i,this.inline);a==null||a.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,a,i){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,a){let i=a.get(n);i&&(i.usage--,i.usage<=0&&(Am(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Am(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,Lm(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,ed(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(Ps,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(ch),te(dh,8),te(jl))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Ru={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"},jh=/%COMP%/g,hy="%COMP%",eK=`_nghost-${hy}`,tK=`_ngcontent-${hy}`,nK=!0,rK=new K("",{providedIn:"root",factory:()=>nK});function aK(e){return tK.replace(jh,e)}function iK(e){return eK.replace(jh,e)}function py(e,t){return t.map(r=>r.replace(jh,e))}var td=(()=>{const t=class t{constructor(n,a,i,o,l,c,u,d=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=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=c,this.ngZone=u,this.nonce=d,this.tracingService=m,this.platformIsServer=sy(c),this.defaultRenderer=new Vh(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===fr.ShadowDom&&(a=Yt(se({},a),{encapsulation:fr.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof jm?i.applyToHost(n):i instanceof nd&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,c=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case fr.Emulated:o=new jm(u,d,a,this.appId,m,l,c,b,g);break;case fr.ShadowDom:return new oK(u,d,n,a,l,c,this.nonce,b,g);default:o=new nd(u,d,a,m,l,c,b,g);break}i.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)(te(uy),te(dy),te(ch),te(rK),te(Le),te(jl),te(je),te(dh),te(Ro,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Vh=class{constructor(e,t,r,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=r,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Ru[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Fm(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(Fm(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new U(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let a=Ru[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=Ru[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(za.DashCase|za.Important)?e.style.setProperty(t,r,n&za.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&za.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var i;if(typeof e=="string"&&(e=Ki().getGlobalEventTarget(this.doc,e),!e))throw new U(5102,!1);let a=this.decoratePreventDefault(r);return(i=this.tracingService)!=null&&i.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 Fm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var oK=class extends Vh{constructor(t,r,n,a,i,o,l,c,u){var b;super(t,i,o,c,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=a.styles;d=py(a.id,d);for(let g of d){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(b=a.getExternalStyles)==null?void 0:b.call(a);if(m)for(let g of m){let w=ed(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},nd=class extends Vh{constructor(t,r,n,a,i,o,l,c,u){var m;super(t,i,o,l,c);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let d=n.styles;this.styles=u?py(u,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},jm=class extends nd{constructor(t,r,n,a,i,o,l,c,u){let d=a+"-"+n.id;super(t,r,n,i,o,l,c,u,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=aK(d),this.hostAttr=iK(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},sK=class my extends hY{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){dY(new my)}onAndCancel(r,n,a,i){return r.addEventListener(n,a,i),()=>{r.removeEventListener(n,a,i)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=lK();return n==null?null:uK(n)}resetBaseElement(){qi=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return iy(document.cookie,r)}},qi=null;function lK(){return qi=qi||document.head.querySelector("base"),qi?qi.getAttribute("href"):null}function uK(e){return new URL(e,document.baseURI).pathname}var cK=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),dK=(()=>{const t=class t extends cy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,i,o){return n.addEventListener(a,i,o),()=>this.removeEventListener(n,a,i,o)}removeEventListener(n,a,i,o){return n.removeEventListener(a,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(te(Le))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Vm=["alt","control","meta","shift"],hK={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},pK={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},mK=(()=>{const t=class t extends cy{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ki().onAndCancel(n,l.domEventName,c,o))}static parseEventName(n){let a=n.toLowerCase().split("."),i=a.shift();if(a.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),Vm.forEach(d=>{let m=a.indexOf(d);m>-1&&(a.splice(m,1),l+=d+".")}),l+=o,a.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,a){let i=hK[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Vm.forEach(l=>{if(l!==i){let c=pK[l];c(n)&&(o+=l+".")}}),o+=i,o===a)}static eventCallback(n,a,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(te(Le))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function fK(e){return YZ(gK(e))}function gK(e){return{appProviders:[...wK,...(e==null?void 0:e.providers)??[]],platformProviders:_K}}function vK(){sK.makeCurrent()}function bK(){return new Rn}function yK(){return nG(document),document}var _K=[{provide:jl,useValue:oy},{provide:E0,useValue:vK,multi:!0},{provide:Le,useFactory:yK}],wK=[{provide:Bd,useValue:"root"},{provide:Rn,useFactory:bK},{provide:Jc,useClass:dK,multi:!0,deps:[Le]},{provide:Jc,useClass:mK,multi:!0,deps:[Le]},td,dy,uy,{provide:An,useExisting:td},{provide:ly,useClass:cK},[]],zh=class{},fy=class{},si=class Rs{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(`
|
|
18
|
+
`)}`}var S$=xv(hv("Optional"),8),k$=xv(hv("SkipSelf"),4);function ca(e,t){return e.hasOwnProperty(Us)?e[Us]:null}function C$(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=t[n];if(r&&(a=r(a),i=r(i)),i!==a)return!1}return!0}function I$(e){return e.flat(Number.POSITIVE_INFINITY)}function Fd(e,t){e.forEach(r=>Array.isArray(r)?Fd(r,t):t(r))}function Ev(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Ws(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function D$(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function T$(e,t,r,n){let a=e.length;if(a==t)e.push(r,n);else if(a===1)e.push(n,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;){let i=a-2;e[a]=e[i],a--}e[t]=r,e[t+1]=n}}function jd(e,t,r){let n=Io(e,t);return n>=0?e[n|1]=r:(n=~n,T$(e,n,t,r)),n}function fu(e,t){let r=Io(e,t);if(r>=0)return e[r|1]}function Io(e,t){return N$(e,t,1)}function N$(e,t,r){let n=0,a=e.length>>r;for(;a!==n;){let i=n+(a-n>>1),o=e[i<<r];if(t===o)return i<<r;o>t?a=i:n=i+1}return~(a<<r)}var Yn={},Xt=[],Zs=new K(""),Sv=new K("",-1),kv=new K(""),Cv=class{get(e,t=ua){if(t===ua){let r=new Error(`NullInjectorError: No provider for ${bn(e)}!`);throw r.name="NullInjectorError",r}return t}};function Xa(e){return e[h$]||null}function Iv(e){return e[p$]||null}function O$(e){return e[m$]||null}function Vd(e){return{ɵproviders:e}}function M$(...e){return{ɵproviders:Dv(!0,e),ɵfromNgModule:!0}}function Dv(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return Fd(t,o=>{let l=o;_c(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Tv(a,i),r}function Tv(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];zd(a,i=>{t(i,n)})}}function _c(e,t,r,n){if(e=Pt(e),!e)return!1;let a=null,i=jp(e),o=!i&&Xa(e);if(!i&&!o){let c=e.ngModule;if(i=jp(c),i)a=c;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 c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of c)_c(u,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let u;try{Fd(i.imports,d=>{_c(d,t,r,n)&&(u||(u=[]),u.push(d))})}finally{}u!==void 0&&Tv(u,t)}if(!l){let u=ca(a)||(()=>new a);t({provide:a,useFactory:u,deps:Xt},a),t({provide:kv,useValue:a,multi:!0},a),t({provide:Zs,useValue:()=>te(a),multi:!0},a)}let c=i.providers;if(c!=null&&!l){let u=e;zd(c,d=>{t(d,u)})}}else return!1;return a!==e&&e.providers!==void 0}function zd(e,t){for(let r of e)vv(r)&&(r=r.ɵproviders),Array.isArray(r)?zd(r,t):t(r)}var P$=Qe({provide:String,useValue:Qe});function Nv(e){return e!==null&&typeof e=="object"&&P$ in e}function R$(e){return!!(e&&e.useExisting)}function A$(e){return!!(e&&e.useFactory)}function Ja(e){return typeof e=="function"}function L$(e){return!!e.useClass}var Bd=new K(""),Cs={},Hp={},gu;function Ml(){return gu===void 0&&(gu=new Cv),gu}var Kn=class{},Hd=class extends Kn{constructor(t,r,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=r,this.source=n,this.scopes=a,xc(t,o=>this.processProvider(o)),this.records.set(Sv,Fa(void 0,this)),a.has("environment")&&this.records.set(Kn,Fa(void 0,this));let i=this.records.get(Bd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(kv,Xt,ke.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?Tg:ua,n)}destroy(){zi(this),this._destroyed=!0;let t=we(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),we(t)}}onDestroy(t){return zi(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){zi(this);let r=Nr(this),n=Kt(void 0);try{return t()}finally{Nr(r),Kt(n)}}get(t,r=ua,n=ke.Default){if(zi(this),t.hasOwnProperty(zp))return t[zp](this);n=Ol(n);let a=Nr(this),i=Kt(void 0);try{if(!(n&ke.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=B$(t)&&Ad(t);c&&this.injectableDefInScope(c)?l=Fa(wc(t),Cs):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&ke.Self?Ml():this.parent;return r=n&ke.Optional&&r===ua?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[Gs]=o[Gs]||[]).unshift(bn(t)),a)throw o;return x$(o,t,"R3InjectorError",this.source)}else throw o}finally{Kt(i),Nr(a)}}resolveInjectorInitializers(){let t=we(null),r=Nr(this),n=Kt(void 0);try{let a=this.get(Zs,Xt,ke.Self);for(let i of a)i()}finally{Nr(r),Kt(n),we(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Pt(t);let r=Ja(t)?t:Pt(t&&t.provide),n=j$(t);if(!Ja(t)&&t.multi===!0){let a=this.records.get(r);a||(a=Fa(void 0,Cs,!0),a.factory=()=>yc(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=we(null);try{return r.value===Hp?bv(bn(t)):r.value===Cs&&(r.value=Hp,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&z$(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{we(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=Pt(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function wc(e){let t=Ad(e),r=t!==null?t.factory:ca(e);if(r!==null)return r;if(e instanceof K)throw new U(204,!1);if(e instanceof Function)return F$(e);throw new U(204,!1)}function F$(e){if(e.length>0)throw new U(204,!1);let t=c$(e);return t!==null?()=>t.factory(e):()=>new e}function j$(e){if(Nv(e))return Fa(void 0,e.useValue);{let t=Ov(e);return Fa(t,Cs)}}function Ov(e,t,r){let n;if(Ja(e)){let a=Pt(e);return ca(a)||wc(a)}else if(Nv(e))n=()=>Pt(e.useValue);else if(A$(e))n=()=>e.useFactory(...yc(e.deps||[]));else if(R$(e))n=(a,i)=>te(Pt(e.useExisting),i!==void 0&&i&ke.Optional?ke.Optional:void 0);else{let a=Pt(e&&(e.useClass||e.provide));if(V$(e))n=()=>new a(...yc(e.deps));else return ca(a)||wc(a)}return n}function zi(e){if(e.destroyed)throw new U(205,!1)}function Fa(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function V$(e){return!!e.deps}function z$(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function B$(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function xc(e,t){for(let r of e)Array.isArray(r)?xc(r,t):r&&vv(r)?xc(r.ɵproviders,t):t(r)}function qd(e,t){let r;e instanceof Hd?(zi(e),r=e):r=new wv(e);let n=Nr(r),a=Kt(void 0);try{return t()}finally{Nr(n),Kt(a)}}function Mv(){return yv()!==void 0||Ss()!=null}function $d(e){if(!Mv())throw new U(-203,!1)}function H$(e){return typeof e=="function"}var xr=0,pe=1,ce=2,Ht=3,On=4,tn=5,ei=6,Ua=7,Tt=8,ti=9,wr=10,ft=11,ao=12,qp=13,hi=14,_n=15,da=16,ja=17,Mn=18,Pl=19,Pv=20,jr=21,vu=22,Ys=23,yn=24,Vr=25,gt=26,Rv=1,ha=7,Ks=8,ni=9,zt=10;function zr(e){return Array.isArray(e)&&typeof e[Rv]=="object"}function Er(e){return Array.isArray(e)&&e[Rv]===!0}function Ud(e){return(e.flags&4)!==0}function pi(e){return e.componentOffset>-1}function Rl(e){return(e.flags&1)===1}function Qn(e){return!!e.template}function Qs(e){return(e[ce]&512)!==0}function mi(e){return(e[ce]&256)===256}var q$=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Av(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var Gd=(()=>{let e=()=>Lv;return e.ngInherit=!0,e})();function Lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=U$),$$}function $$(){let e=jv(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===Yn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function U$(e,t,r,n,a){let i=this.declaredInputs[n],o=jv(e)||G$(e,{previous:Yn,current:null}),l=o.current||(o.current={}),c=o.previous,u=c[i];l[i]=new q$(u&&u.currentValue,r,c===Yn),Av(e,t,a,r)}var Fv="__ngSimpleChanges__";function jv(e){return e[Fv]||null}function G$(e,t){return e[Fv]=t}var pa=function(e,t=null,r){},W$="svg",Z$="math";function Xn(e){for(;Array.isArray(e);)e=e[xr];return e}function Vv(e,t){return Xn(t[e])}function er(e,t){return Xn(t[e.index])}function Wd(e,t){return e.data[t]}function Al(e,t){return e[t]}function Zd(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function Jn(e,t){let r=t[e];return zr(r)?r:r[xr]}function Y$(e){return(e[ce]&4)===4}function Yd(e){return(e[ce]&128)===128}function K$(e){return Er(e[Ht])}function ma(e,t){return t==null?null:e[t]}function zv(e){e[ja]=0}function Kd(e){e[ce]&1024||(e[ce]|=1024,Yd(e)&&To(e))}function Q$(e,t){for(;e>0;)t=t[hi],e--;return t}function Do(e){var t;return!!(e[ce]&9216||(t=e[yn])!=null&&t.dirty)}function Ec(e){var t;(t=e[wr].changeDetectionScheduler)==null||t.notify(8),e[ce]&64&&(e[ce]|=1024),Do(e)&&To(e)}function To(e){var r;(r=e[wr].changeDetectionScheduler)==null||r.notify(0);let t=fa(e);for(;t!==null&&!(t[ce]&8192||(t[ce]|=8192,!Yd(t)));)t=fa(t)}function Bv(e,t){if(mi(e))throw new U(911,!1);e[jr]===null&&(e[jr]=[]),e[jr].push(t)}function X$(e,t){if(e[jr]===null)return;let r=e[jr].indexOf(t);r!==-1&&e[jr].splice(r,1)}function fa(e){let t=e[Ht];return Er(t)?t[Ht]:t}function Qd(e){return e[Ua]??(e[Ua]=[])}function Xd(e){return e.cleanup??(e.cleanup=[])}function J$(e,t,r,n){let a=Qd(t);a.push(r),e.firstCreatePass&&Xd(e).push(n,a.length-1)}var ye={lFrame:Yv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Sc=!1;function eU(){return ye.lFrame.elementDepthCount}function tU(){ye.lFrame.elementDepthCount++}function nU(){ye.lFrame.elementDepthCount--}function rU(){return ye.bindingsEnabled}function Hv(){return ye.skipHydrationRootTNode!==null}function aU(e){return ye.skipHydrationRootTNode===e}function iU(){ye.skipHydrationRootTNode=null}function de(){return ye.lFrame.lView}function lt(){return ye.lFrame.tView}function Br(e){return ye.lFrame.contextLView=e,e[Tt]}function Hr(e){return ye.lFrame.contextLView=null,e}function nn(){let e=qv();for(;e!==null&&e.type===64;)e=e.parent;return e}function qv(){return ye.lFrame.currentTNode}function oU(){let e=ye.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ur(e,t){let r=ye.lFrame;r.currentTNode=e,r.isParent=t}function Jd(){return ye.lFrame.isParent}function eh(){ye.lFrame.isParent=!1}function $v(){return ye.lFrame.contextLView}function Uv(){return Sc}function $p(e){let t=Sc;return Sc=e,t}function No(){let e=ye.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sU(){return ye.lFrame.bindingIndex}function lU(e){return ye.lFrame.bindingIndex=e}function fi(){return ye.lFrame.bindingIndex++}function th(e){let t=ye.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function uU(){return ye.lFrame.inI18n}function cU(e,t){let r=ye.lFrame;r.bindingIndex=r.bindingRootIndex=e,kc(t)}function dU(){return ye.lFrame.currentDirectiveIndex}function kc(e){ye.lFrame.currentDirectiveIndex=e}function hU(e){let t=ye.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Gv(){return ye.lFrame.currentQueryIndex}function nh(e){ye.lFrame.currentQueryIndex=e}function pU(e){let t=e[pe];return t.type===2?t.declTNode:t.type===1?e[tn]:null}function Wv(e,t,r){if(r&ke.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&ke.Host))&&(a=pU(i),!(a===null||(i=i[hi],a.type&10))););if(a===null)return!1;t=a,e=i}let n=ye.lFrame=Zv();return n.currentTNode=t,n.lView=e,!0}function rh(e){let t=Zv(),r=e[pe];ye.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Zv(){let e=ye.lFrame,t=e===null?null:e.child;return t===null?Yv(e):t}function Yv(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 Kv(){let e=ye.lFrame;return ye.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qv=Kv;function ah(){let e=Kv();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 mU(e){return(ye.lFrame.contextLView=Q$(e,ye.lFrame.contextLView))[Tt]}function tr(){return ye.lFrame.selectedIndex}function ga(e){ye.lFrame.selectedIndex=e}function ih(){let e=ye.lFrame;return Wd(e.tView,e.selectedIndex)}function fU(){return ye.lFrame.currentNamespace}var Xv=!0;function Ll(){return Xv}function Fl(e){Xv=e}function gU(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=Lv(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}a&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,a),i&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,i),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,i))}function oh(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let a=e.data[r].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=a;i&&(e.contentHooks??(e.contentHooks=[])).push(-r,i),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),c&&((e.viewHooks??(e.viewHooks=[])).push(r,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,c)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,u)}}function Is(e,t,r){Jv(e,t,3,r)}function Ds(e,t,r,n){(e[ce]&3)===r&&Jv(e,t,r,n)}function bu(e,t){let r=e[ce];(r&3)===t&&(r&=16383,r+=1,e[ce]=r)}function Jv(e,t,r,n){let a=n!==void 0?e[ja]&65535:0,i=n??-1,o=t.length-1,l=0;for(let c=a;c<o;c++)if(typeof t[c+1]=="number"){if(l=t[c],n!=null&&l>=n)break}else t[c]<0&&(e[ja]+=65536),(l<i||i==-1)&&(vU(e,r,t,c),e[ja]=(e[ja]&4294901760)+c+2),c++}function Up(e,t){let r=we(null);try{t.call(e)}finally{we(r)}}function vU(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[ce]>>14<e[ja]>>16&&(e[ce]&3)===t&&(e[ce]+=16384,Up(l,i)):Up(l,i)}var Ga=-1,Oo=class{constructor(e,t,r){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=r}};function bU(e){return(e.flags&8)!==0}function yU(e){return(e.flags&16)!==0}function _U(e,t,r){let n=0;for(;n<r.length;){let a=r[n];if(typeof a=="number"){if(a!==0)break;n++;let i=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,i)}else{let i=a,o=r[++n];wU(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function e0(e){return e===3||e===4||e===6}function wU(e){return e.charCodeAt(0)===64}function ri(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?r=a:r===0||(r===-1||r===2?Gp(e,r,a,null,t[++n]):Gp(e,r,a,null,null))}}return e}function Gp(e,t,r,n,a){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===r){a!==null&&(e[i+1]=a);return}i++,a!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,r),a!==null&&e.splice(i++,0,a)}function t0(e){return e!==Ga}function Xs(e){return e&32767}function xU(e){return e>>16}function Js(e,t){let r=xU(e),n=t;for(;r>0;)n=n[hi],r--;return n}var Cc=!0;function el(e){let t=Cc;return Cc=e,t}var EU=256,n0=EU-1,r0=5,SU=0,Wn={};function kU(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Wi)&&(n=r[Wi]),n==null&&(n=r[Wi]=SU++);let a=n&n0,i=1<<a;t.data[e+(a>>r0)]|=i}function tl(e,t){let r=a0(e,t);if(r!==-1)return r;let n=t[pe];n.firstCreatePass&&(e.injectorIndex=t.length,yu(n.data,e),yu(t,null),yu(n.blueprint,null));let a=sh(e,t),i=e.injectorIndex;if(t0(a)){let o=Xs(a),l=Js(a,t),c=l[pe].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|c[o+u]}return t[i+8]=a,i}function yu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function a0(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,a=t;for(;a!==null;){if(n=u0(a),n===null)return Ga;if(r++,a=a[hi],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Ga}function Ic(e,t,r){kU(e,t,r)}function CU(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,a=0;for(;a<n;){let i=r[a];if(e0(i))break;if(i===0)a=a+2;else if(typeof i=="number")for(a++;a<n&&typeof r[a]=="string";)a++;else{if(i===t)return r[a+1];a=a+2}}}return null}function i0(e,t,r){if(r&ke.Optional||e!==void 0)return e;Ld()}function o0(e,t,r,n){if(r&ke.Optional&&n===void 0&&(n=null),(r&(ke.Self|ke.Host))===0){let a=e[ti],i=Kt(void 0);try{return a?a.get(t,n,r&ke.Optional):_v(t,n,r&ke.Optional)}finally{Kt(i)}}return i0(n,t,r)}function s0(e,t,r,n=ke.Default,a){if(e!==null){if(t[ce]&2048&&!(n&ke.Self)){let o=NU(e,t,r,n,Wn);if(o!==Wn)return o}let i=l0(e,t,r,n,Wn);if(i!==Wn)return i}return o0(t,r,n,a)}function l0(e,t,r,n,a){let i=DU(r);if(typeof i=="function"){if(!Wv(t,e,n))return n&ke.Host?i0(a,r,n):o0(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&ke.Optional))Ld(r);else return o}finally{Qv()}}else if(typeof i=="number"){let o=null,l=a0(e,t),c=Ga,u=n&ke.Host?t[_n][tn]:null;for((l===-1||n&ke.SkipSelf)&&(c=l===-1?sh(e,t):t[l+8],c===Ga||!Zp(n,!1)?l=-1:(o=t[pe],l=Xs(c),t=Js(c,t)));l!==-1;){let d=t[pe];if(Wp(i,l,d.data)){let m=IU(l,t,r,o,n,u);if(m!==Wn)return m}c=t[l+8],c!==Ga&&Zp(n,t[pe].data[l+8]===u)&&Wp(i,l,t)?(o=d,l=Xs(c),t=Js(c,t)):l=-1}}return a}function IU(e,t,r,n,a,i){let o=t[pe],l=o.data[e+8],c=n==null?pi(l)&&Cc:n!=o&&(l.type&3)!==0,u=a&ke.Host&&i===l,d=Ts(l,o,r,c,u);return d!==null?io(t,o,d,l,a):Wn}function Ts(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,c=e.directiveStart,u=e.directiveEnd,d=i>>20,m=n?l:l+d,b=a?l+d:u;for(let g=m;g<b;g++){let w=o[g];if(g<c&&r===w||g>=c&&w.type===r)return g}if(a){let g=o[c];if(g&&Qn(g)&&g.type===r)return c}return null}function io(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof Oo){let l=i;l.resolving&&bv(f$(o[r]));let c=el(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Kt(l.injectImpl):null;Wv(e,n,ke.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&gU(r,o[r],t)}finally{u!==null&&Kt(u),el(c),l.resolving=!1,Qv()}}return i}function DU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Wi)?e[Wi]:void 0;return typeof t=="number"?t>=0?t&n0:TU:t}function Wp(e,t,r){let n=1<<e;return!!(r[t+(e>>r0)]&n)}function Zp(e,t){return!(e&ke.Self)&&!(e&ke.Host&&t)}var Zi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return s0(this._tNode,this._lView,e,Ol(r),t)}};function TU(){return new Zi(nn(),de())}function $t(e){return Co(()=>{let t=e.prototype.constructor,r=t[Us]||Dc(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[Us]||Dc(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function Dc(e){return mv(e)?()=>{let t=Dc(Pt(e));return t&&t()}:ca(e)}function NU(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[ce]&2048&&!Qs(o);){let l=l0(i,o,r,n|ke.Self,Wn);if(l!==Wn)return l;let c=i.parent;if(!c){let u=o[Pv];if(u){let d=u.get(r,Wn,n);if(d!==Wn)return d}c=u0(o),o=o[hi]}i=c}return a}function u0(e){let t=e[pe],r=t.type;return r===2?t.declTNode:r===1?e[tn]:null}function OU(e){return CU(nn(),e)}function Yp(e,t=null,r=null,n){let a=MU(e,t,r,n);return a.resolveInjectorInitializers(),a}function MU(e,t=null,r=null,n,a=new Set){let i=[r||Xt,M$(e)];return n=n||(typeof e=="object"?void 0:bn(e)),new Hd(i,t||Ml(),n||null,a)}var Hn,ot=(Hn=class{static create(t,r){if(Array.isArray(t))return Yp({name:""},r,t,"");{let n=t.name??"";return Yp({name:n},t.parent,t.providers,n)}}},s(Hn,"THROW_IF_NOT_FOUND",ua),s(Hn,"NULL",new Cv),s(Hn,"ɵprov",V({token:Hn,providedIn:"any",factory:()=>te(Sv)})),s(Hn,"__NG_ELEMENT_ID__",-1),Hn),PU=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>OU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},RU=new K("");RU.__NG_ELEMENT_ID__=e=>{let t=nn();if(t===null)throw new U(204,!1);if(t.type&2)return t.value;if(e&ke.Optional)return null;throw new U(204,!1)};var c0=!1,_a=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",LU),s(e,"__NG_ENV_ID__",r=>r),e})(),AU=class extends _a{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return mi(r)?(t(),()=>{}):(Bv(r,t),()=>X$(r,t))}};function LU(){return new AU(de())}var Mo=class{},d0=new K("",{providedIn:"root",factory:()=>!1}),h0=new K(""),p0=new K(""),Po=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Dd(!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",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),FU=class extends xe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Mv()&&(this.destroyRef=C(_a,{optional:!0})??void 0,this.pendingTasks=C(Po,{optional:!0})??void 0)}emit(t){let r=we(null);try{super.next(t)}finally{we(r)}}subscribe(t,r,n){var c,u,d;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),i=(u=m.error)==null?void 0:u.bind(m),o=(d=m.complete)==null?void 0:d.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:i,complete:o});return t instanceof un&&t.add(l),l}wrapInTimeout(t){return r=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var i;try{t(r)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Vt=FU;function nl(...e){}function m0(e){let t,r;function n(){e=nl;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Kp(e){return queueMicrotask(()=>e()),()=>{e=nl}}var lh="isAngularZone",rl=lh+"_ID",jU=0,je=class Tc{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Vt(!1));s(this,"onMicrotaskEmpty",new Vt(!1));s(this,"onStable",new Vt(!1));s(this,"onError",new Vt(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=c0}=t;if(typeof Zone>"u")throw new U(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)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=i,BU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(lh)===!0}static assertInAngularZone(){if(!Tc.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(Tc.isInAngularZone())throw new U(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,a){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+a,t,VU,nl,nl);try{return i.runTask(o,r,n)}finally{i.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},VU={};function uh(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 zU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){m0(()=>{e.callbackScheduled=!1,Nc(e),e.isCheckStableRunning=!0,uh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Nc(e)}function BU(e){let t=()=>{zU(e)},r=jU++;e._inner=e._inner.fork({name:"angular",properties:{[lh]:!0,[rl]:r,[rl+r]:!0},onInvokeTask:(n,a,i,o,l,c)=>{if(qU(c))return n.invokeTask(i,o,l,c);try{return Qp(e),n.invokeTask(i,o,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xp(e)}},onInvoke:(n,a,i,o,l,c,u)=>{try{return Qp(e),n.invoke(i,o,l,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!$U(c)&&t(),Xp(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Nc(e),uh(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function Nc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Qp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xp(e){e._nesting--,uh(e)}var HU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Vt);s(this,"onMicrotaskEmpty",new Vt);s(this,"onStable",new Vt);s(this,"onError",new Vt)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function qU(e){return f0(e,"__ignore_ng_zone__")}function $U(e){return f0(e,"__scheduler_tick__")}function f0(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var Rn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},UU=new K("",{providedIn:"root",factory:()=>{let e=C(je),t=C(Rn);return r=>e.runOutsideAngular(()=>t.handleError(r))}}),GU=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(Rn,{optional:!0}));s(this,"destroyRef",C(_a));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new U(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var r,n;let t=(r=this.listeners)==null?void 0:r.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var r;if(this.destroyed){console.warn(uv(953,!1));return}if(this.listeners===null)return;let t=we(null);try{for(let n of this.listeners)try{n(e)}catch(a){(r=this.errorHandler)==null||r.handleError(a)}}finally{we(t)}}};function Jp(e){return new GU}function em(e,t){return dv(e,t)}function WU(e){return dv(cv,e)}var Ue=(em.required=WU,em);function ZU(){return gi(nn(),de())}function gi(e,t){return new At(er(e,t))}var At=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",ZU),e})();function YU(e){return e instanceof At?e.nativeElement:e}function KU(e,t){let r=nq(e),n=r[_r];return r.set=a=>Nl(n,a),r.update=a=>Ig(n,a),r.asReadonly=g0.bind(r),r}function g0(){let e=this[_r];if(e.readonlyFn===void 0){let t=()=>this();t[_r]=e,e.readonlyFn=t}return e.readonlyFn}function QU(){return this._results[Symbol.iterator]()}var sg,XU=(sg=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,sg,QU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new xe)}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 r=I$(e);(this._changesDetected=!C$(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[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 v0(e){return(e.flags&128)===128}var b0=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(b0||{}),y0=new Map,JU=0;function eG(){return JU++}function tG(e){y0.set(e[Pl],e)}function Oc(e){y0.delete(e[Pl])}var tm="__ngContext__";function vi(e,t){zr(t)?(e[tm]=t[Pl],tG(t)):e[tm]=t}function _0(e){return x0(e[ao])}function w0(e){return x0(e[On])}function x0(e){for(;e!==null&&!Er(e);)e=e[On];return e}var Mc;function nG(e){Mc=e}function rG(){if(Mc!==void 0)return Mc;if(typeof document<"u")return document;throw new U(210,!1)}var ch=new K("",{providedIn:"root",factory:()=>aG}),aG="ng",E0=new K(""),jl=new K("",{providedIn:"platform",factory:()=>"unknown"}),bi=new K(""),dh=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=rG().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),S0=!1,iG=new K("",{providedIn:"root",factory:()=>S0}),hh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(hh||{}),Ro=new K(""),nm=new Set;function wa(e){var t;nm.has(e)||(nm.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var k0=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",oG),e})();function oG(){return new k0(de(),nn())}var Va=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Va||{}),C0=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),sG=[Va.EarlyRead,Va.Write,Va.MixedReadWrite,Va.Read],lG=(()=>{const t=class t{constructor(){s(this,"ngZone",C(je));s(this,"scheduler",C(Mo));s(this,"errorHandler",C(Rn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(Ro,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of sG)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[a]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[a];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.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[Vr]??(a[Vr]=[])).push(n),To(a),a[ce]|=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(hh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),uG=class{constructor(e,t,r,n,a,i=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=r,this.once=n,this.snapshot=i,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,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[Vr];e&&(this.view[Vr]=e.filter(n=>n!==this))}};function I0(e,t){!(t!=null&&t.injector)&&$d();let r=(t==null?void 0:t.injector)??C(ot);return wa("NgAfterRender"),D0(e,r,t,!1)}function ph(e,t){!(t!=null&&t.injector)&&$d();let r=(t==null?void 0:t.injector)??C(ot);return wa("NgAfterNextRender"),D0(e,r,t,!0)}function cG(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function D0(e,t,r,n){let a=t.get(C0);a.impl??(a.impl=t.get(lG));let i=t.get(Ro,null,{optional:!0}),o=(r==null?void 0:r.phase)??Va.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(_a):null,c=t.get(k0,null,{optional:!0}),u=new uG(a.impl,cG(e,o),c==null?void 0:c.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(u),u}var dG=()=>null;function T0(e,t,r=!1){return dG()}function N0(e,t){let r=e.contentQueries;if(r!==null){let n=we(null);try{for(let a=0;a<r.length;a+=2){let i=r[a],o=r[a+1];if(o!==-1){let l=e.data[o];nh(i),l.contentQueries(2,t[o],o)}}}finally{we(n)}}}function Pc(e,t,r){nh(0);let n=we(null);try{t(e,r)}finally{we(n)}}function mh(e,t,r){if(Ud(t)){let n=we(null);try{let a=t.directiveStart,i=t.directiveEnd;for(let o=a;o<i;o++){let l=e.data[o];if(l.contentQueries){let c=r[o];l.contentQueries(1,c,o)}}}finally{we(n)}}}var fr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(fr||{}),ns;function hG(){if(ns===void 0&&(ns=null,La.trustedTypes))try{ns=La.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ns}function Vl(e){var t;return((t=hG())==null?void 0:t.createHTML(e))||e}var xa=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},pG=class extends xa{getTypeName(){return"HTML"}},mG=class extends xa{getTypeName(){return"Style"}},fG=class extends xa{getTypeName(){return"Script"}},gG=class extends xa{getTypeName(){return"URL"}},vG=class extends xa{getTypeName(){return"ResourceURL"}};function Or(e){return e instanceof xa?e.changingThisBreaksApplicationSecurity:e}function Ma(e,t){let r=bG(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${lv})`)}return r===t}function bG(e){return e instanceof xa&&e.getTypeName()||null}function yG(e){return new pG(e)}function _G(e){return new mG(e)}function wG(e){return new fG(e)}function xG(e){return new gG(e)}function EG(e){return new vG(e)}function SG(e){let t=new CG(e);return IG()?new kG(t):t}var kG=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Vl(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},CG=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=Vl(e),t}};function IG(){try{return!!new window.DOMParser().parseFromString(Vl(""),"text/html")}catch{return!1}}var DG=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fh(e){return e=String(e),e.match(DG)?e:"unsafe:"+e}function Sr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function Ao(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var O0=Sr("area,br,col,hr,img,wbr"),M0=Sr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),P0=Sr("rp,rt"),TG=Ao(P0,M0),NG=Ao(M0,Sr("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")),OG=Ao(P0,Sr("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")),rm=Ao(O0,NG,OG,TG),R0=Sr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),MG=Sr("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"),PG=Sr("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"),RG=Ao(R0,MG,PG),AG=Sr("script,style,template"),LG=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=VG(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=jG(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=am(e).toLowerCase();if(!rm.hasOwnProperty(t))return this.sanitizedSomething=!0,!AG.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let a=r.item(n),i=a.name,o=i.toLowerCase();if(!RG.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;R0[o]&&(l=fh(l)),this.buf.push(" ",i,'="',im(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=am(e).toLowerCase();rm.hasOwnProperty(t)&&!O0.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(im(e))}};function FG(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function jG(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw A0(t);return t}function VG(e){let t=e.firstChild;if(t&&FG(e,t))throw A0(t);return t}function am(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function A0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zG=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,BG=/([^\#-~ |!])/g;function im(e){return e.replace(/&/g,"&").replace(zG,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(BG,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var rs;function HG(e,t){let r=null;try{rs=rs||SG(e);let n=t?String(t):"";r=rs.getInertBodyElement(n);let a=5,i=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=i,i=r.innerHTML,r=rs.getInertBodyElement(n)}while(n!==i);let o=new LG().sanitizeChildren(om(r)||r);return Vl(o)}finally{if(r){let n=om(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function om(e){return"content"in e&&qG(e)?e.content:null}function qG(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var $G=/^>|^->|<!--|-->|--!>|<!-$/g,UG=/(<|>)/g,GG="$1";function WG(e){return e.replace($G,t=>t.replace(UG,GG))}function ZG(e,t){return e.createText(t)}function YG(e,t,r){e.setValue(t,r)}function KG(e,t){return e.createComment(WG(t))}function L0(e,t,r){return e.createElement(t,r)}function al(e,t,r,n,a){e.insertBefore(t,r,n,a)}function F0(e,t,r){e.appendChild(t,r)}function sm(e,t,r,n,a){n!==null?al(e,t,r,n,a):F0(e,t,r)}function QG(e,t,r){e.removeChild(null,t,r)}function XG(e,t,r){e.setAttribute(t,"style",r)}function JG(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function j0(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&_U(e,t,n),a!==null&&JG(e,t,a),i!==null&&XG(e,t,i)}var sn=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}(sn||{});function V0(e){let t=e6();return t?t.sanitize(sn.URL,e)||"":Ma(e,"URL")?Or(e):fh(Qa(e))}function e6(){let e=de();return e&&e[wr].sanitizer}function t6(e,t,r){let n=e.length;for(;;){let a=e.indexOf(t,r);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let i=t.length;if(a+i===n||e.charCodeAt(a+i)<=32)return a}r=a+1}}var z0="ng-template";function n6(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&t6(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(gh(e))return!1;if(a=t.indexOf(1,a),a>-1){let i;for(;++a<t.length&&typeof(i=t[a])=="string";)if(i.toLowerCase()===r)return!0}return!1}function gh(e){return e.type===4&&e.value!==z0}function r6(e,t,r){let n=e.type===4&&!r?z0:e.value;return t===n}function a6(e,t,r){let n=4,a=e.attrs,i=a!==null?s6(a):0,o=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!o&&!In(n)&&!In(c))return!1;if(o&&In(c))continue;o=!1,n=c|n&1;continue}if(!o)if(n&4){if(n=2|n&1,c!==""&&!r6(e,c,r)||c===""&&t.length===1){if(In(n))return!1;o=!0}}else if(n&8){if(a===null||!n6(e,a,c,r)){if(In(n))return!1;o=!0}}else{let u=t[++l],d=i6(c,a,gh(e),r);if(d===-1){if(In(n))return!1;o=!0;continue}if(u!==""){let m;if(d>i?m="":m=a[d+1].toLowerCase(),n&2&&u!==m){if(In(n))return!1;o=!0}}}}return In(n)||o}function In(e){return(e&1)===0}function i6(e,t,r,n){if(t===null)return-1;let a=0;if(n||!r){let i=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)i=!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+=i?1:2}return-1}else return l6(t,e)}function B0(e,t,r=!1){for(let n=0;n<t.length;n++)if(a6(e,t[n],r))return!0;return!1}function o6(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function s6(e){for(let t=0;t<e.length;t++){let r=e[t];if(e0(r))return t}return e.length}function l6(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function u6(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];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 lm(e,t){return e?":not("+t.trim()+")":t}function c6(e){let t=e[0],r=1,n=2,a="",i=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!In(o)&&(t+=lm(i,a),a=""),n=o,i=i||!In(n);r++}return a!==""&&(t+=lm(i,a)),t}function d6(e){return e.map(c6).join(",")}function h6(e){let t=[],r=[],n=1,a=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")a===2?i!==""&&t.push(i,e[++n]):a===8&&r.push(i);else{if(!In(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var hn={};function vh(e,t,r,n,a,i,o,l,c,u,d){let m=gt+n,b=m+a,g=p6(m,b),w=typeof u=="function"?u():u;return g[pe]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:c,consts:w,incompleteFirstPass:!1,ssrId:d}}function p6(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:hn);return r}function m6(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=vh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bh(e,t,r,n,a,i,o,l,c,u,d){let m=t.blueprint.slice();return m[xr]=a,m[ce]=n|4|128|8|64|1024,(u!==null||e&&e[ce]&2048)&&(m[ce]|=2048),zv(m),m[Ht]=m[hi]=e,m[Tt]=r,m[wr]=o||e&&e[wr],m[ft]=l||e&&e[ft],m[ti]=c||e&&e[ti]||null,m[tn]=i,m[Pl]=eG(),m[ei]=d,m[Pv]=u,m[_n]=t.type==2?e[_n]:m,m}function f6(e,t,r){let n=er(t,e),a=m6(r),i=e[wr].rendererFactory,o=yh(e,bh(e,a,null,H0(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function H0(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function q0(e,t,r,n){if(r===0)return-1;let a=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function yh(e,t){return e[ao]?e[qp][On]=t:e[ao]=t,e[qp]=t,t}function Q(e=1){$0(lt(),de(),tr()+e)}function $0(e,t,r,n){if((t[ce]&3)===3){let a=e.preOrderCheckHooks;a!==null&&Is(t,a,r)}else{let a=e.preOrderHooks;a!==null&&Ds(t,a,0,r)}ga(r)}var zl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(zl||{});function Rc(e,t,r,n){let a=we(null);try{let[i,o,l]=e.inputs[r],c=null;o&zl.SignalBased&&(c=t[i][_r]),c!==null&&c.transformFn!==void 0?n=c.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,c,n,r,i):Av(t,c,i,n)}finally{we(a)}}function U0(e,t,r,n,a){let i=tr(),o=n&2;try{ga(-1),o&&t.length>gt&&$0(e,t,gt,!1),pa(o?2:0,a),r(n,a)}finally{ga(i)}}function Bl(e,t,r){y6(e,t,r),(r.flags&64)===64&&_6(e,t,r)}function _h(e,t,r=er){let n=t.localNames;if(n!==null){let a=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?r(t,e):e[o];e[a++]=l}}}function g6(e,t,r,n){let a=n.get(iG,S0)||r===fr.ShadowDom;return e.selectRootElement(t,a)}function v6(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function G0(e,t,r,n,a,i,o,l){if(!l&&xh(t,e,r,n,a)){pi(t)&&b6(r,t.index);return}if(t.type&3){let c=er(t,r);n=v6(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(c,n,a)}else t.type&12}function b6(e,t){let r=Jn(t,e);r[ce]&16||(r[ce]|=64)}function y6(e,t,r){let n=r.directiveStart,a=r.directiveEnd;pi(r)&&f6(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||tl(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],c=io(t,e,o,r);if(vi(c,t),i!==null&&S6(t,o-n,c,l,r,i),Qn(l)){let u=Jn(r.index,t);u[Tt]=io(t,e,o,r)}}}function _6(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=dU();try{ga(i);for(let l=n;l<a;l++){let c=e.data[l],u=t[l];kc(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&w6(c,u)}}finally{ga(-1),kc(o)}}function w6(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wh(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];B0(t,i.selectors,!1)&&(n??(n=[]),Qn(i)?n.unshift(i):n.push(i))}return n}function x6(e,t,r,n,a,i){let o=er(e,t);E6(t[ft],o,i,e.value,r,n,a)}function E6(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?Qa(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function S6(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let c=o[l],u=o[l+1];Rc(n,r,c,u)}}function k6(e,t){let r=e[ti],n=r?r.get(Rn,null):null;n&&n.handleError(t)}function xh(e,t,r,n,a){var c,u;let i=(c=e.inputs)==null?void 0:c[n],o=(u=e.hostDirectiveInputs)==null?void 0:u[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],b=o[d+1],g=t.data[m];Rc(g,r[m],b,a),l=!0}if(i)for(let d of i){let m=r[d],b=t.data[d];Rc(b,m,n,a),l=!0}return l}function C6(e,t){let r=Jn(t,e),n=r[pe];I6(n,r);let a=r[xr];a!==null&&r[ei]===null&&(r[ei]=T0(a,r[ti])),Eh(n,r,r[Tt]),pa(19,r[Tt])}function I6(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function Eh(e,t,r){var n;rh(t);try{let a=e.viewQuery;a!==null&&Pc(1,a,r);let i=e.template;i!==null&&U0(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Mn])==null||n.finishViewCreation(e),e.staticContentQueries&&N0(e,t),e.staticViewQueries&&Pc(2,e.viewQuery,r);let o=e.components;o!==null&&D6(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[ce]&=-5,ah()}}function D6(e,t){for(let r=0;r<t.length;r++)C6(e,t[r])}function Lo(e,t,r,n){let a=we(null);try{let i=t.tView,o=e[ce]&4096?4096:16,l=bh(e,i,r,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),c=e[t.index];l[da]=c;let u=e[Mn];return u!==null&&(l[Mn]=u.createEmbeddedView(i)),Eh(i,l,r),l}finally{we(a)}}function ai(e,t){return!t||t.firstChild===null||v0(e)}var T6;function Sh(e,t){return T6(e,t)}var za=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(za||{});function kh(e){return(e.flags&32)===32}function Ba(e,t,r,n,a){if(n!=null){let i,o=!1;Er(n)?i=n:zr(n)&&(o=!0,n=n[xr]);let l=Xn(n);e===0&&r!==null?a==null?F0(t,r,l):al(t,r,l,a||null,!0):e===1&&r!==null?al(t,r,l,a||null,!0):e===2?QG(t,l,o):e===3&&t.destroyNode(l),i!=null&&V6(t,e,i,r,a)}}function N6(e,t){W0(e,t),t[xr]=null,t[tn]=null}function O6(e,t,r,n,a,i){n[xr]=a,n[tn]=t,$l(e,n,r,1,a,i)}function W0(e,t){var r;(r=t[wr].changeDetectionScheduler)==null||r.notify(9),$l(e,t,t[ft],2,null,null)}function M6(e){let t=e[ao];if(!t)return _u(e[pe],e);for(;t;){let r=null;if(zr(t))r=t[ao];else{let n=t[zt];n&&(r=n)}if(!r){for(;t&&!t[On]&&t!==e;)zr(t)&&_u(t[pe],t),t=t[Ht];t===null&&(t=e),zr(t)&&_u(t[pe],t),r=t&&t[On]}t=r}}function Ch(e,t){let r=e[ni],n=r.indexOf(t);r.splice(n,1)}function Hl(e,t){if(mi(t))return;let r=t[ft];r.destroyNode&&$l(e,t,r,3,null,null),M6(t)}function _u(e,t){if(mi(t))return;let r=we(null);try{t[ce]&=-129,t[ce]|=256,t[yn]&&wg(t[yn]),R6(e,t),P6(e,t),t[pe].type===1&&t[ft].destroy();let n=t[da];if(n!==null&&Er(t[Ht])){n!==t[Ht]&&Ch(n,t);let a=t[Mn];a!==null&&a.detachView(e)}Oc(t)}finally{we(r)}}function P6(e,t){let r=e.cleanup,n=t[Ua];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[Ua]=null);let a=t[jr];if(a!==null){t[jr]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[Ys];if(i!==null){t[Ys]=null;for(let o of i)o.destroy()}}function R6(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let a=t[r[n]];if(!(a instanceof Oo)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],c=i[o+1];try{c.call(l)}finally{}}else try{i.call(a)}finally{}}}}function Z0(e,t,r){return A6(e,t.parent,r)}function A6(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[xr];if(pi(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===fr.None||a===fr.Emulated)return null}return er(n,r)}function Y0(e,t,r){return F6(e,t,r)}function L6(e,t,r){return e.type&40?er(e,r):null}var F6=L6;function ql(e,t,r,n){let a=Z0(e,n,t),i=t[ft],o=n.parent||t[tn],l=Y0(o,n,t);if(a!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)sm(i,a,r[c],l,!1);else sm(i,a,r,l,!1)}function Bi(e,t){if(t!==null){let r=t.type;if(r&3)return er(t,e);if(r&4)return Ac(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return Bi(e,n);{let a=e[t.index];return Er(a)?Ac(-1,a):Xn(a)}}else{if(r&128)return Bi(e,t.next);if(r&32)return Sh(t,e)()||Xn(e[t.index]);{let n=K0(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=fa(e[_n]);return Bi(a,n)}else return Bi(e,t.next)}}}return null}function K0(e,t){if(t!==null){let r=e[_n][tn],n=t.projection;return r.projection[n]}return null}function Ac(e,t){let r=zt+e+1;if(r<t.length){let n=t[r],a=n[pe].firstChild;if(a!==null)return Bi(n,a)}return t[ha]}function Ih(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],c=r.type;if(o&&t===0&&(l&&vi(Xn(l),n),r.flags|=2),!kh(r))if(c&8)Ih(e,t,r.child,n,a,i,!1),Ba(t,e,a,l,i);else if(c&32){let u=Sh(r,n),d;for(;d=u();)Ba(t,e,a,d,i);Ba(t,e,a,l,i)}else c&16?Q0(e,t,n,r,a,i):Ba(t,e,a,l,i);r=o?r.projectionNext:r.next}}function $l(e,t,r,n,a,i){Ih(r,n,e.firstChild,t,a,i,!1)}function j6(e,t,r){let n=t[ft],a=Z0(e,r,t),i=r.parent||t[tn],o=Y0(i,r,t);Q0(n,0,t,r,a,o)}function Q0(e,t,r,n,a,i){let o=r[_n],l=o[tn].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];Ba(t,e,a,u,i)}else{let c=l,u=o[Ht];v0(n)&&(c.flags|=128),Ih(e,t,c,u,a,i,!0)}}function V6(e,t,r,n,a){let i=r[ha],o=Xn(r);i!==o&&Ba(t,e,n,i,a);for(let l=zt;l<r.length;l++){let c=r[l];$l(c[pe],c,e,t,n,i)}}function z6(e,t,r,n,a){a?e.addClass(r,n):e.removeClass(r,n)}function il(e,t,r,n,a=!1){for(;r!==null;){if(r.type===128){r=a?r.projectionNext:r.next;continue}let i=t[r.index];i!==null&&n.push(Xn(i)),Er(i)&&B6(i,n);let o=r.type;if(o&8)il(e,t,r.child,n);else if(o&32){let l=Sh(r,t),c;for(;c=l();)n.push(c)}else if(o&16){let l=K0(t,r);if(Array.isArray(l))n.push(...l);else{let c=fa(t[_n]);il(c[pe],c,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function B6(e,t){for(let r=zt;r<e.length;r++){let n=e[r],a=n[pe].firstChild;a!==null&&il(n[pe],n,a,t)}e[ha]!==e[xr]&&t.push(e[ha])}function X0(e){if(e[Vr]!==null){for(let t of e[Vr])t.impl.addSequence(t);e[Vr].length=0}}var J0=[];function H6(e){return e[yn]??q6(e)}function q6(e){let t=J0.pop()??Object.create(U6);return t.lView=e,t}function $6(e){e.lView[yn]!==e&&(e.lView=null,J0.push(e))}var U6=Yt(se({},xo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{To(e.lView)},consumerOnSignalRead(){this.lView[yn]=this}});function G6(e){let t=e[yn]??Object.create(W6);return t.lView=e,t}var W6=Yt(se({},xo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=fa(e.lView);for(;t&&!eb(t[pe]);)t=fa(t);t&&Kd(t)},consumerOnSignalRead(){this.lView[yn]=this}});function eb(e){return e.type!==2}function tb(e){if(e[Ys]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[Ys])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[ce]&8192)}}var Z6=100;function nb(e,t=!0,r=0){var a,i;let n=e[wr].rendererFactory;(a=n.begin)==null||a.call(n);try{Y6(e,r)}catch(o){throw t&&k6(e,o),o}finally{(i=n.end)==null||i.call(n)}}function Y6(e,t){let r=Uv();try{$p(!0),Lc(e,t);let n=0;for(;Do(e);){if(n===Z6)throw new U(103,!1);n++,Lc(e,1)}}finally{$p(r)}}function K6(e,t,r,n){if(mi(t))return;let a=t[ce],i=!1,o=!1;rh(t);let l=!0,c=null,u=null;eb(e)?(u=H6(t),c=Bs(u)):Y7()===null?(l=!1,u=G6(t),c=Bs(u)):t[yn]&&(wg(t[yn]),t[yn]=null);try{zv(t),lU(e.bindingStartIndex),r!==null&&U0(e,t,r,2,n);let d=(a&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&Is(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Ds(t,g,0,null),bu(t,0)}if(o||Q6(t),tb(t),rb(t,0),e.contentQueries!==null&&N0(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&Is(t,g)}else{let g=e.contentHooks;g!==null&&Ds(t,g,1),bu(t,1)}J6(e,t);let m=e.components;m!==null&&ib(t,m,0);let b=e.viewQuery;if(b!==null&&Pc(2,b,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&Is(t,g)}else{let g=e.viewHooks;g!==null&&Ds(t,g,2),bu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[vu]){for(let g of t[vu])g();t[vu]=null}i||(X0(t),t[ce]&=-73)}catch(d){throw To(t),d}finally{u!==null&&(Sd(u,c),l&&$6(u)),ah()}}function rb(e,t){for(let r=_0(e);r!==null;r=w0(r))for(let n=zt;n<r.length;n++){let a=r[n];ab(a,t)}}function Q6(e){for(let t=_0(e);t!==null;t=w0(t)){if(!(t[ce]&2))continue;let r=t[ni];for(let n=0;n<r.length;n++){let a=r[n];Kd(a)}}}function X6(e,t,r){let n=Jn(t,e);ab(n,r),pa(19,n[Tt])}function ab(e,t){Yd(e)&&Lc(e,t)}function Lc(e,t){let r=e[pe],n=e[ce],a=e[yn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&_g(a))),i||(i=!1),a&&(a.dirty=!1),e[ce]&=-9217,i)K6(r,e,r.template,e[Tt]);else if(n&8192){tb(e),rb(e,1);let o=r.components;o!==null&&ib(e,o,1),X0(e)}}function ib(e,t,r){for(let n=0;n<t.length;n++)X6(e,t[n],r)}function J6(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let a=r[n];if(a<0)ga(~a);else{let i=a,o=r[++n],l=r[++n];cU(o,i);let c=t[i];pa(24,c),l(2,c),pa(25,c)}}}finally{ga(-1)}}function Dh(e,t){var n;let r=Uv()?64:1088;for((n=e[wr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[ce]|=r;let a=fa(e);if(Qs(e)&&!a)return e;e=a}return null}function ob(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function sb(e,t){let r=zt+t;if(r<e.length)return e[r]}function Fo(e,t,r,n=!0){let a=t[pe];if(e8(a,t,e,r),n){let o=Ac(r,e),l=t[ft],c=l.parentNode(e[ha]);c!==null&&O6(a,e[tn],l,t,c,o)}let i=t[ei];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function lb(e,t){let r=oo(e,t);return r!==void 0&&Hl(r[pe],r),r}function oo(e,t){if(e.length<=zt)return;let r=zt+t,n=e[r];if(n){let a=n[da];a!==null&&a!==e&&Ch(a,n),t>0&&(e[r-1][On]=n[On]);let i=Ws(e,zt+t);N6(n[pe],n);let o=i[Mn];o!==null&&o.detachView(i[pe]),n[Ht]=null,n[On]=null,n[ce]&=-129}return n}function e8(e,t,r,n){let a=zt+n,i=r.length;n>0&&(r[a-1][On]=t),n<i-zt?(t[On]=r[a],Ev(r,zt+n,t)):(r.push(t),t[On]=null),t[Ht]=r;let o=t[da];o!==null&&r!==o&&ub(o,t);let l=t[Mn];l!==null&&l.insertView(e),Ec(t),t[ce]|=128}function ub(e,t){let r=e[ni],n=t[Ht];if(zr(n))e[ce]|=2;else{let a=n[Ht][_n];t[_n]!==a&&(e[ce]|=2)}r===null?e[ni]=[t]:r.push(t)}var so=class{constructor(e,t,r=!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=r}get rootNodes(){let e=this._lView,t=e[pe];return il(t,e,t.firstChild,[])}get context(){return this._lView[Tt]}set context(e){this._lView[Tt]=e}get destroyed(){return mi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ht];if(Er(e)){let t=e[Ks],r=t?t.indexOf(this):-1;r>-1&&(oo(e,r),Ws(t,r))}this._attachedToViewContainer=!1}Hl(this._lView[pe],this._lView)}onDestroy(e){Bv(this._lView,e)}markForCheck(){Dh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){Ec(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,nb(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Qs(this._lView),t=this._lView[da];t!==null&&!e&&Ch(t,this._lView),W0(this._lView[pe],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let t=Qs(this._lView),r=this._lView[da];r!==null&&!t&&ub(r,this._lView),Ec(this._lView)}};function t8(e){return Do(e._lView)||!!(e._lView[ce]&64)}function n8(e){Kd(e._cdRefInjectingView||e._lView)}var va=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",i8),e})(),r8=va,a8=class extends r8{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let a=Lo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new so(a)}};function i8(){return Ul(nn(),de())}function Ul(e,t){return e.type&4?new a8(t,e,gi(e,t)):null}function yi(e,t,r,n,a){let i=e.data[t];if(i===null)i=o8(e,t,r,n,a),uU()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=oU();i.injectorIndex=o===null?-1:o.injectorIndex}return Ur(i,!0),i}function o8(e,t,r,n,a){let i=qv(),o=Jd(),l=o?i:i&&i.parent,c=e.data[t]=l8(e,l,r,t,n,a);return s8(e,c,i,o),c}function s8(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function l8(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return Hv()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:i,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 u8=()=>null;function ii(e,t){return u8()}var c8=class{},cb=class{},d8=class{resolveComponentFactory(e){throw Error(`No component factory found for ${bn(e)}.`)}},uc,jo=(uc=class{},s(uc,"NULL",new d8),uc),An=class{},_i=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>h8()),e})();function h8(){let e=de(),t=nn(),r=Jn(t.index,e);return(zr(r)?r:e)[ft]}var p8=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wu={},m8=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=Ol(r);let n=this.injector.get(e,wu,r);return n!==wu||t===wu?n:this.parentInjector.get(e,t,r)}};function Fc(e,t,r){let n=r?e.styles:null,a=r?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)a=gc(a,l);else if(i==2){let c=l,u=t[++o];n=gc(n,c+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function Bt(e,t=ke.Default){let r=de();if(r===null)return te(e,t);let n=nn();return s0(n,r,Pt(e),t)}function Th(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,c=null,u=null,d=g8(o);d===null?l=o:[l,c,u]=d,y8(e,t,r,l,i,c,u)}i!==null&&n!==null&&f8(r,n,i)}function f8(e,t,r){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let i=r[t[a+1]];if(i==null)throw new U(-301,!1);n.push(t[a],i)}}function g8(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Qn(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,a=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),i??(i=new Map),v8(o,n,i,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,i]):null}function v8(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function b8(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function y8(e,t,r,n,a,i,o){let l=n.length,c=!1;for(let b=0;b<l;b++){let g=n[b];!c&&Qn(g)&&(c=!0,b8(e,r,b)),Ic(tl(r,t),e,g.type)}k8(r,e.data.length,l);for(let b=0;b<l;b++){let g=n[b];g.providersResolver&&g.providersResolver(g)}let u=!1,d=!1,m=q0(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(r.mergedAttrs=ri(r.mergedAttrs,g.hostAttrs),w8(e,r,t,m,g),S8(m,g,a),o!==null&&o.has(g)){let[x,S]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,S+r.directiveStart])}else(i===null||!i.has(g))&&r.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),d=!0),m++}_8(e,r,i)}function _8(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))um(0,t,a,n),um(1,t,a,n),dm(t,n,!1);else{let i=r.get(a);cm(0,t,i,n),cm(1,t,i,n),dm(t,n,!0)}}}function um(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),db(t,i)}}function cm(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o=a[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),db(t,o)}}function db(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function dm(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||gh(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let c=n[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!r&&a.hasOwnProperty(c)){let u=a[c];for(let d of u)if(d===t){o??(o=[]),o.push(c,n[l+1]);break}}else if(r&&i.hasOwnProperty(c)){let u=i[c];for(let d=0;d<u.length;d+=2)if(u[d]===t){o??(o=[]),o.push(u[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function w8(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=ca(a.type)),o=new Oo(i,Qn(a),Bt);e.blueprint[n]=o,r[n]=o,x8(e,t,n,q0(e,r,a.hostVars,hn),a)}function x8(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;E8(o)!=l&&o.push(l),o.push(r,n,i)}}function E8(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function S8(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;Qn(t)&&(r[""]=e)}}function k8(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function hb(e,t,r,n,a,i,o,l){let c=t.consts,u=ma(c,o),d=yi(t,e,2,n,u);return Th(t,r,d,ma(c,l),a),d.mergedAttrs=ri(d.mergedAttrs,d.attrs),d.attrs!==null&&Fc(d,d.attrs,!1),d.mergedAttrs!==null&&Fc(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function pb(e,t){oh(e,t),Ud(t)&&e.queries.elementEnd(t)}var C8=class extends jo{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Xa(t);return new Nh(r,this.ngModule)}};function I8(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&zl.SignalBased)!==0};return a&&(i.transform=a),i})}function D8(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function T8(e,t,r){let n=t instanceof Kn?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new m8(r,n):r}function N8(e){let t=e.get(An,null);if(t===null)throw new U(407,!1);let r=e.get(p8,null),n=e.get(Mo,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function O8(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return L0(t,r,r==="svg"?W$:r==="math"?Z$:null)}var Nh=class extends cb{constructor(t,r){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=r,this.componentType=t.type,this.selector=d6(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=I8(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=D8(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=we(null);try{let o=this.componentDef,l=n?["ng-version","19.2.18"]:h6(this.componentDef.selectors[0]),c=vh(0,null,null,1,0,null,null,null,null,[l],null),u=T8(o,a||this.ngModule,t),d=N8(u),m=d.rendererFactory.createRenderer(null,o),b=n?g6(m,n,o.encapsulation,u):O8(o,m),g=bh(null,c,null,512|H0(o),null,null,d,m,u,null,T0(b,u,!0));g[gt]=b,rh(g);let w=null;try{let x=hb(gt,c,g,"#host",()=>[this.componentDef],!0,0);b&&(j0(m,b,x),vi(b,g)),Bl(c,g,x),mh(c,x,g),pb(c,x),r!==void 0&&P8(x,this.ngContentSelectors,r),w=Jn(x.index,g),g[Tt]=w[Tt],Eh(c,g,null)}catch(x){throw w!==null&&Oc(w),Oc(g),x}finally{pa(23),ah()}return new M8(this.componentType,g)}finally{we(i)}}},M8=class extends c8{constructor(t,r){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=r,this._tNode=Wd(r[pe],gt),this.location=gi(this._tNode,r),this.instance=Jn(this._tNode.index,r)[Tt],this.hostView=this.changeDetectorRef=new so(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let a=this._rootLView;xh(n,a[pe],a,t,r),this.previousInputValues.set(t,r);let i=Jn(n.index,a);Dh(i,1)}get injector(){return new Zi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function P8(e,t,r){let n=e.projection=[];for(let a=0;a<t.length;a++){let i=r[a];n.push(i!=null&&i.length?Array.from(i):null)}}var wi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",R8),e})();function R8(){let e=nn();return fb(e,de())}var A8=wi,mb=class extends A8{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return gi(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){let t=sh(this._hostTNode,this._hostLView);if(t0(t)){let r=Js(t,this._hostLView),n=Xs(t),a=r[pe].data[n+8];return new Zi(a,r)}else return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=hm(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-zt}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=ii(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,ai(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!H$(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,a=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let c=o?t:new Nh(Xa(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let w=(o?u:this.parentInjector).get(Kn,null);w&&(i=w)}let d=Xa(c.componentType??{}),m=ii(this._lContainer,(d==null?void 0:d.id)??null),b=null,g=c.create(u,a,b,i);return this.insertImpl(g.hostView,l,ai(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(K$(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[Ht],u=new mb(c,c[tn],c[Ht]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return Fo(o,a,i,n),t.attachToViewContainerRef(),Ev(xu(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=hm(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=oo(this._lContainer,r);n&&(Ws(xu(this._lContainer),r),Hl(n[pe],n))}detach(t){let r=this._adjustIndex(t,-1),n=oo(this._lContainer,r);return n&&Ws(xu(this._lContainer),r)!=null?new so(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function hm(e){return e[Ks]}function xu(e){return e[Ks]||(e[Ks]=[])}function fb(e,t){let r,n=t[e.index];return Er(n)?r=n:(r=ob(n,t,null,e),t[e.index]=r,yh(t,r)),F8(r,t,e,n),new mb(r,e,t)}function L8(e,t){let r=e[ft],n=r.createComment(""),a=er(t,e),i=r.parentNode(a);return al(r,i,n,r.nextSibling(a),!1),n}var F8=j8;function j8(e,t,r,n){if(e[ha])return;let a;r.type&8?a=Xn(n):a=L8(t,r),e[ha]=a}var V8=class gb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new gb(this.queryList)}setDirty(){this.queryList.setDirty()}},z8=class vb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,a=[];for(let i=0;i<n;i++){let o=r.getByIndex(i),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new vb(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)Oh(t,r).matches!==null&&this.queries[r].setDirty()}},B8=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=Q8(e):this.predicate=e}},H8=class bb{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let a=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,a);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new bb(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},q8=class yb{constructor(t,r=-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=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new yb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let i=n[a];this.matchTNodeWithReadOption(t,r,$8(r,i)),this.matchTNodeWithReadOption(t,r,Ts(r,t,i,!1,!1))}else n===va?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Ts(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===At||a===wi||a===va&&r.type&4)this.addMatch(r.index,-2);else{let i=Ts(r,t,a,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function $8(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function U8(e,t){return e.type&11?gi(e,t):e.type&4?Ul(e,t):null}function G8(e,t,r,n){return r===-1?U8(t,e):r===-2?W8(e,t,n):io(e,e[pe],r,t)}function W8(e,t,r){if(r===At)return gi(t,e);if(r===va)return Ul(t,e);if(r===wi)return fb(t,e)}function _b(e,t,r,n){let a=t[Mn].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let c=0;o!==null&&c<o.length;c+=2){let u=o[c];if(u<0)l.push(null);else{let d=i[u];l.push(G8(t,d,o[c+1],r.metadata.read))}}a.matches=l}return a.matches}function jc(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=_b(e,t,a,r);for(let l=0;l<i.length;l+=2){let c=i[l];if(c>0)n.push(o[l/2]);else{let u=i[l+1],d=t[-c];for(let m=zt;m<d.length;m++){let b=d[m];b[da]===b[Ht]&&jc(b[pe],b,u,n)}if(d[ni]!==null){let m=d[ni];for(let b=0;b<m.length;b++){let g=m[b];jc(g[pe],g,u,n)}}}}}return n}function Z8(e,t){return e[Mn].queries[t].queryList}function Y8(e,t,r){let n=new XU((r&4)===4);return J$(e,t,n,n.destroy),(t[Mn]??(t[Mn]=new z8)).queries.push(new V8(n))-1}function K8(e,t,r){let n=lt();return n.firstCreatePass&&(X8(n,new B8(e,t,r),-1),n.staticViewQueries=!0),Y8(n,de(),t)}function Q8(e){return e.split(",").map(t=>t.trim())}function X8(e,t,r){e.queries===null&&(e.queries=new H8),e.queries.track(new q8(t,r))}function Oh(e,t){return e.queries.getByIndex(t)}function J8(e,t){let r=e[pe],n=Oh(r,t);return n.crossesNgTemplate?jc(r,e,t,[]):_b(r,e,n,t)}var lo=class{},wb=class extends lo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new C8(this));s(this,"instance",null);let r=new Hd([...t.providers,{provide:lo,useValue:this},{provide:jo,useValue:this.componentFactoryResolver}],t.parent||Ml(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function eW(e,t,r=null){return new wb({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var tW=(()=>{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=Dv(!1,n.type),i=a.length>0?eW([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}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",V({token:t,providedIn:"environment",factory:()=>new t(te(Kn))}));let e=t;return e})();function rt(e){return Co(()=>{let t=xb(e),r=Yt(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===b0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(tW).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fr.Emulated,styles:e.styles||Xt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wa("NgStandalone"),Eb(r);let n=e.dependencies;return r.directiveDefs=pm(n,!1),r.pipeDefs=pm(n,!0),r.id=oW(r),r})}function nW(e){return Xa(e)||Iv(e)}function rW(e){return e!==null}function rn(e){return Co(()=>({type:e.type,bootstrap:e.bootstrap||Xt,declarations:e.declarations||Xt,imports:e.imports||Xt,exports:e.exports||Xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function aW(e,t){if(e==null)return Yn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,c;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,c=a[3]||null):(i=a,o=a,l=zl.None,c=null),r[i]=[n,l,c],t[i]=o}return r}function iW(e){if(e==null)return Yn;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Lt(e){return Co(()=>{let t=xb(e);return Eb(t),t})}function Ea(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 xb(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||Yn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Xt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:aW(e.inputs,t),outputs:iW(e.outputs),debugInfo:null}}function Eb(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function pm(e,t){if(!e)return null;let r=t?O$:nW;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(rW)}function oW(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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 sW(e){return Object.getPrototypeOf(e.prototype).constructor}function En(e){let t=sW(e.type),r=!0,n=[e];for(;t;){let a;if(Qn(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new U(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=Eu(e.inputs),o.declaredInputs=Eu(e.declaredInputs),o.outputs=Eu(e.outputs);let l=a.hostBindings;l&&hW(e,l);let c=a.viewQuery,u=a.contentQueries;if(c&&cW(e,c),u&&dW(e,u),lW(e,a),l$(e.outputs,a.outputs),Qn(a)&&a.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(a.data.animation)}}let i=a.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===En&&(r=!1)}}t=Object.getPrototypeOf(t)}uW(n)}function lW(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function uW(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=ri(a.hostAttrs,r=ri(r,a.hostAttrs))}}function Eu(e){return e===Yn?{}:e===Xt?[]:e}function cW(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function dW(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function hW(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function pW(e){let t=r=>{let n=Array.isArray(e);r.hostDirectives===null?(r.findHostDirectiveDefs=Sb,r.hostDirectives=n?e.map(Vc):[e]):n?r.hostDirectives.unshift(...e.map(Vc)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Sb(e,t,r){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let i of a)mm(Vc(i),t,r)}else mm(n,t,r)}function mm(e,t,r){let n=Iv(e.directive);mW(n.declaredInputs,e.inputs),Sb(n,t,r),r.set(n,e),t.push(n)}function Vc(e){return typeof e=="function"?{directive:Pt(e),inputs:Yn,outputs:Yn}:{directive:Pt(e.directive),inputs:fm(e.inputs),outputs:fm(e.outputs)}}function fm(e){if(e===void 0||e.length===0)return Yn;let t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function mW(e,t){for(let r in t)if(t.hasOwnProperty(r)){let n=t[r],a=e[r];e[n]=a}}function kb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Gl(e,t,r){return e[t]=r}function Cb(e,t){return e[t]}function wn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function ol(e,t,r,n){let a=wn(e,t,r);return wn(e,t+1,n)||a}function fW(e,t,r,n,a,i){let o=ol(e,t,r,n);return ol(e,t+2,a,i)||o}function gW(e,t,r,n,a,i,o,l,c){let u=t.consts,d=yi(t,e,4,o||null,l||null);Th(t,r,d,ma(u,c),wh),d.mergedAttrs=ri(d.mergedAttrs,d.attrs),oh(t,d);let m=d.tView=vh(2,d,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function Ib(e,t,r,n,a,i,o,l,c,u){let d=r+gt,m=t.firstCreatePass?gW(d,t,e,n,a,i,o,l,c):t.data[d];Ur(m,!1);let b=vW(t,e);Ll()&&ql(t,e,b,m),vi(b,e);let g=ob(b,e,b,m);return e[d]=g,yh(e,g),Rl(m)&&Bl(t,e,m),c!=null&&_h(e,m,u),m}function Be(e,t,r,n,a,i,o,l){let c=de(),u=lt(),d=ma(u.consts,i);return Ib(c,u,e,t,r,n,a,d,o,l),Be}var vW=bW;function bW(e,t,r,n){return Fl(!0),t[ft].createComment("")}var yW=new K(""),_W=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new wW}));let e=t;return e})(),wW=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.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 Mh(e){return!!e&&typeof e.then=="function"}function Db(e){return!!e&&typeof e.subscribe=="function"}var xW=new K(""),Tb=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",C(xW,{optional:!0})??[]);s(this,"injector",C(ot))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=qd(this.injector,i);if(Mh(o))n.push(o);else if(Db(o)){let l=new Promise((c,u)=>{o.subscribe({complete:c,error:u})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(i=>{this.reject(i)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),EW=new K("");function SW(){tq(()=>{throw new U(600,!1)})}function kW(e){return e.isBoundToModule}var CW=10,qr=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(UU));s(this,"afterRenderManager",C(C0));s(this,"zonelessEnabled",C(d0));s(this,"rootEffectScheduler",C(_W));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new xe);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(Po).hasPendingTasks.pipe(Mt(n=>!n)));s(this,"_injector",C(Kn));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new U(101,!1);let n=we(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,we(n),this.afterTick.next()}});C(Ro,{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:i=>{i&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,i=ot.NULL){let o=n instanceof cb;if(!this._injector.get(Tb).done){let g="";throw new U(405,g)}let l;o?l=n:l=this._injector.get(jo).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let c=kW(l)?void 0:this._injector.get(lo),u=a||l.selector,d=l.create(i,[],u,c),m=d.location.nativeElement,b=d.injector.get(yW,null);return b==null||b.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),Ns(this.components,d),b==null||b.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(hh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(An,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<CW;)this.synchronizeOnce()}synchronizeOnce(){var n,a,i,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:c,notifyErrorHandler:u}of this.allViews)IW(c,u,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=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Do(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;Ns(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(EW,[]).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),()=>Ns(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ns(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function IW(e,t,r,n){!r&&!Do(e)||nb(e,t,r&&!n?0:1)}function Ln(e,t,r,n){let a=de(),i=fi();if(wn(a,i,t)){lt();let o=ih();x6(o,a,e,t,r,n)}return Ln}function DW(e,t,r,n){return wn(e,fi(),r)?t+Qa(r)+n:hn}function TW(e,t,r,n,a,i){let o=sU(),l=ol(e,o,r,a);return th(2),l?t+Qa(r)+n+Qa(a)+i:hn}function as(e,t){return e<<17|t<<2}function ba(e){return e>>17&32767}function NW(e){return(e&2)==2}function OW(e,t){return e&131071|t<<17}function zc(e){return e|2}function oi(e){return(e&131068)>>2}function Su(e,t){return e&-131069|t<<2}function MW(e){return(e&1)===1}function Bc(e){return e|1}function PW(e,t,r,n,a,i){let o=t.classBindings,l=ba(o),c=oi(o);e[n]=r;let u=!1,d;if(Array.isArray(r)){let m=r;d=m[1],(d===null||Io(m,d)>0)&&(u=!0)}else d=r;if(a)if(c!==0){let m=ba(e[l+1]);e[n+1]=as(m,l),m!==0&&(e[m+1]=Su(e[m+1],n)),e[l+1]=OW(e[l+1],n)}else e[n+1]=as(l,0),l!==0&&(e[l+1]=Su(e[l+1],n)),l=n;else e[n+1]=as(c,0),l===0?l=n:e[c+1]=Su(e[c+1],n),c=n;u&&(e[n+1]=zc(e[n+1])),gm(e,d,n,!0),gm(e,d,n,!1),RW(t,d,e,n),o=as(l,c),t.classBindings=o}function RW(e,t,r,n,a){let i=e.residualClasses;i!=null&&typeof t=="string"&&Io(i,t)>=0&&(r[n+1]=Bc(r[n+1]))}function gm(e,t,r,n){let a=e[r+1],i=t===null,o=n?ba(a):oi(a),l=!1;for(;o!==0&&(l===!1||i);){let c=e[o],u=e[o+1];AW(c,t)&&(l=!0,e[o+1]=n?Bc(u):zc(u)),o=n?ba(u):oi(u)}l&&(e[r+1]=n?zc(a):Bc(a))}function AW(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Io(e,t)>=0:!1}var Nn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LW(e){return e.substring(Nn.key,Nn.keyEnd)}function FW(e){return jW(e),Nb(e,Ob(e,0,Nn.textEnd))}function Nb(e,t){let r=Nn.textEnd;return r===t?-1:(t=Nn.keyEnd=VW(e,Nn.key=t,r),Ob(e,t,r))}function jW(e){Nn.key=0,Nn.keyEnd=0,Nn.value=0,Nn.valueEnd=0,Nn.textEnd=e.length}function Ob(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function VW(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function xt(e,t,r){let n=de(),a=fi();if(wn(n,a,t)){let i=lt(),o=ih();G0(i,o,n,e,t,n[ft],r,!1)}return xt}function Hc(e,t,r,n,a){xh(t,e,r,a?"class":"style",n)}function Pn(e,t){return BW(e,t,null,!0),Pn}function Wl(e){HW(ZW,zW,e,!0)}function zW(e,t){for(let r=FW(t);r>=0;r=Nb(t,r))jd(e,LW(t),!0)}function BW(e,t,r,n){let a=de(),i=lt(),o=th(2);if(i.firstUpdatePass&&Pb(i,e,o,n),t!==hn&&wn(a,o,t)){let l=i.data[tr()];Rb(i,l,a,a[ft],e,a[o+1]=KW(t),n,o)}}function HW(e,t,r,n){let a=lt(),i=th(2);a.firstUpdatePass&&Pb(a,null,i,n);let o=de();if(r!==hn&&wn(o,i,r)){let l=a.data[tr()];if(Ab(l)&&!Mb(a,i)){let c=l.classesWithoutHost;c!==null&&(r=gc(c,r||"")),Hc(a,l,o,r,n)}else YW(a,l,o,o[ft],o[i+1],o[i+1]=WW(e,t,r),n,i)}}function Mb(e,t){return t>=e.expandoStartIndex}function Pb(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[tr()],o=Mb(e,r);Ab(i)&&t===null&&!o&&(t=!1),t=qW(a,i,t,n),PW(a,i,t,r,o)}}function qW(e,t,r,n){let a=hU(e),i=t.residualClasses;if(a===null)t.classBindings===0&&(r=ku(null,e,t,r),r=uo(r,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=ku(a,e,t,r),i===null){let l=$W(e,t);l!==void 0&&Array.isArray(l)&&(l=ku(null,e,t,l[1]),l=uo(l,t.attrs),UW(e,t,n,l))}else i=GW(e,t)}return i!==void 0&&(t.residualClasses=i),r}function $W(e,t,r){let n=t.classBindings;if(oi(n)!==0)return e[ba(n)]}function UW(e,t,r,n){let a=t.classBindings;e[ba(a)]=n}function GW(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=uo(n,o)}return uo(n,t.attrs)}function ku(e,t,r,n,a){let i=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(i=t[l],n=uo(n,i.hostAttrs),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function uo(e,t,r){let n=1,a=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),jd(e,o,!0))}return e===void 0?null:e}function WW(e,t,r){if(r==null||r==="")return Xt;let n=[],a=Or(r);if(Array.isArray(a))for(let i=0;i<a.length;i++)e(n,a[i],!0);else if(typeof a=="object")for(let i in a)a.hasOwnProperty(i)&&e(n,i,a[i]);else typeof a=="string"&&t(n,a);return n}function ZW(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&jd(e,n,r)}function YW(e,t,r,n,a,i,o,l){a===hn&&(a=Xt);let c=0,u=0,d=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let b=c<a.length?a[c+1]:void 0,g=u<i.length?i[u+1]:void 0,w=null,x;d===m?(c+=2,u+=2,b!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(c+=2,w=d):(u+=2,w=m,x=g),w!==null&&Rb(e,t,r,n,w,x,o,l),d=c<a.length?a[c]:null,m=u<i.length?i[u]:null}}function Rb(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let c=e.data,u=c[l+1],d=MW(u)?vm(c,t,r,a,oi(u)):void 0;if(!sl(d)){sl(i)||NW(u)&&(i=vm(c,null,r,a,l));let m=Vv(tr(),r);z6(n,o,m,a,i)}}function vm(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let c=e[a],u=Array.isArray(c),d=u?c[1]:c,m=d===null,b=r[a+1];b===hn&&(b=m?Xt:void 0);let g=m?fu(b,n):d===n?b:void 0;if(u&&!sl(g)&&(g=fu(c,n)),sl(g)&&(l=g,o))return l;let w=e[a+1];a=o?ba(w):oi(w)}if(t!==null){let c=t.residualClasses;c!=null&&(l=fu(c,n))}return l}function sl(e){return e!==void 0}function KW(e,t){return e==null||e===""||typeof e=="object"&&(e=bn(Or(e))),e}function Ab(e,t){return(e.flags&8)!==0}var QW=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-r>1){let i=this.detach(r);this.attach(r,a),this.attach(n,i)}else this.attach(r,a)}move(e,t){this.attach(t,this.detach(e))}};function Cu(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function XW(e,t,r){let n,a,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let c=e.at(i),u=t[i],d=Cu(i,c,i,u,r);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=Cu(o,m,l,b,r);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=r(i,c),x=r(o,m),S=r(i,u);if(Object.is(S,x)){let T=r(l,b);Object.is(T,w)?(e.swap(i,o),e.updateValue(o,b),l--,o--):e.move(o,i),e.updateValue(i,u),i++;continue}if(n??(n=new _m),a??(a=ym(e,i,o,r)),qc(e,n,i,S))e.updateValue(i,u),i++,o++;else if(a.has(S))n.set(w,e.detach(i)),o--;else{let T=e.create(i,t[i]);e.attach(i,T),i++,o++}}for(;i<=l;)bm(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&i<=o;){let u=e.at(i),d=c.value,m=Cu(i,u,i,d,r);if(m!==0)m<0&&e.updateValue(i,d),i++,c=l.next();else{n??(n=new _m),a??(a=ym(e,i,o,r));let b=r(i,d);if(qc(e,n,i,b))e.updateValue(i,d),i++,o++,c=l.next();else if(!a.has(b))e.attach(i,e.create(i,d)),i++,o++,c=l.next();else{let g=r(i,u);n.set(g,e.detach(i)),o--}}}for(;!c.done;)bm(e,n,r,e.length,c.value),c=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function qc(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function bm(e,t,r,n,a){if(qc(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function ym(e,t,r,n){let a=new Set;for(let i=t;i<=r;i++)a.add(n(i,e.at(i)));return a}var _m=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 r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function ht(e,t){wa("NgControlFlow");let r=de(),n=fi(),a=r[n]!==hn?r[n]:-1,i=a!==-1?ll(r,gt+a):void 0,o=0;if(wn(r,n,e)){let l=we(null);try{if(i!==void 0&&lb(i,o),e!==-1){let c=gt+e,u=ll(r,c),d=$c(r[pe],c),m=ii(u,d.tView.ssrId),b=Lo(r,d,t,{dehydratedView:m});Fo(u,b,o,ai(d,m))}}finally{we(l)}}else if(i!==void 0){let l=sb(i,o);l!==void 0&&(l[Tt]=t)}}var JW=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-zt}};function Lb(e){return e}function eZ(e,t){return t}var tZ=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function Ph(e,t,r,n,a,i,o,l,c,u,d,m,b){wa("NgControlFlow");let g=de(),w=lt(),x=c!==void 0,S=de(),T=o,R=new tZ(x,T);S[gt+e]=R,Ib(g,w,e+1,t,r,n,a,ma(w.consts,i))}var nZ=class extends QW{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-zt}at(t){return this.getLView(t)[Tt].$implicit}attach(t,r){let n=r[ei];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Fo(this.lContainer,r,t,ai(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),rZ(this.lContainer,t)}create(t,r){var i;let n=ii(this.lContainer,this.templateTNode.tView.ssrId),a=Lo(this.hostLView,this.templateTNode,new JW(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Hl(t[pe],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[Tt].$implicit=r}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)[Tt].$index=t}getLView(t){return aZ(this.lContainer,t)}};function Rh(e){let t=we(null),r=tr();try{let n=de(),a=n[pe],i=n[r],o=r+1,l=ll(n,o);if(i.liveCollection===void 0){let u=$c(a,o);i.liveCollection=new nZ(l,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(XW(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=fi(),d=c.length===0;if(wn(n,u,d)){let m=r+2,b=ll(n,m);if(d){let g=$c(a,m),w=ii(b,g.tView.ssrId),x=Lo(n,g,void 0,{dehydratedView:w});Fo(b,x,0,ai(g,w))}else lb(b,0)}}}finally{we(t)}}function ll(e,t){return e[t]}function rZ(e,t){return oo(e,t)}function aZ(e,t){return sb(e,t)}function $c(e,t){return Wd(e,t)}function re(e,t,r,n){let a=de(),i=lt(),o=gt+e,l=a[ft],c=i.firstCreatePass?hb(o,i,a,t,wh,rU(),r,n):i.data[o],u=iZ(i,a,c,l,t);a[o]=u;let d=Rl(c);return Ur(c,!0),j0(l,u,c),!kh(c)&&Ll()&&ql(i,a,u,c),(eU()===0||d)&&vi(u,a),tU(),d&&(Bl(i,a,c),mh(i,c,a)),n!==null&&_h(a,c),re}function ne(){let e=nn();Jd()?eh():(e=e.parent,Ur(e,!1));let t=e;aU(t)&&iU(),nU();let r=lt();return r.firstCreatePass&&pb(r,t),t.classesWithoutHost!=null&&bU(t)&&Hc(r,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yU(t)&&Hc(r,t,de(),t.stylesWithoutHost,!1),ne}function Zt(e,t,r,n){return re(e,t,r,n),ne(),Zt}var iZ=(e,t,r,n,a,i)=>(Fl(!0),L0(n,a,fU()));function oZ(e,t,r,n,a){let i=t.consts,o=ma(i,n),l=yi(t,e,8,"ng-container",o);o!==null&&Fc(l,o,!0);let c=ma(i,a);return Th(t,r,l,c,wh),l.mergedAttrs=ri(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Fb(e,t,r){let n=de(),a=lt(),i=e+gt,o=a.firstCreatePass?oZ(i,a,n,t,r):a.data[i];Ur(o,!0);let l=sZ(a,n);return n[i]=l,Ll()&&ql(a,n,l,o),vi(l,n),Rl(o)&&(Bl(a,n,o),mh(a,o,n)),r!=null&&_h(n,o),Fb}function jb(){let e=nn(),t=lt();return Jd()?eh():(e=e.parent,Ur(e,!1)),t.firstCreatePass&&(oh(t,e),Ud(e)&&t.queries.elementEnd(e)),jb}function Vo(e,t,r){return Fb(e,t,r),jb(),Vo}var sZ=(e,t,r,n)=>(Fl(!0),KG(t[ft],""));function Zl(){return de()}function Ah(e,t,r){let n=de(),a=fi();if(wn(n,a,t)){let i=lt(),o=ih();G0(i,o,n,e,t,n[ft],r,!0)}return Ah}var Yr=void 0;function lZ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var uZ=["en",[["a","p"],["AM","PM"],Yr],[["AM","PM"],Yr,Yr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Yr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Yr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Yr,"{1} 'at' {0}",Yr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",lZ],Yi={};function cZ(e,t,r){typeof t!="string"&&(r=t,t=e[Et.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yi[t]=e,r&&(Yi[t][Et.ExtraData]=r)}function Fn(e){let t=dZ(e),r=wm(t);if(r)return r;let n=t.split("-")[0];if(r=wm(n),r)return r;if(n==="en")return uZ;throw new U(701,!1)}function wm(e){return e in Yi||(Yi[e]=La.ng&&La.ng.common&&La.ng.common.locales&&La.ng.common.locales[e]),Yi[e]}var Et=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}(Et||{});function dZ(e){return e.toLowerCase().replace(/_/g,"-")}var Uc="en-US";function hZ(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function xm(e,t,r){return function n(a){if(a===Function)return r;let i=pi(e)?Jn(e.index,t):t;Dh(i,5);let o=t[Tt],l=Em(t,o,r,a),c=n.__ngNextListenerFn__;for(;c;)l=Em(t,o,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function Em(e,t,r,n){let a=we(null);try{return pa(6,t,r),r(n)!==!1}catch(i){return pZ(e,i),!1}finally{we(a)}}function pZ(e,t){let r=e[ti],n=r?r.get(Rn,null):null;n&&n.handleError(t)}function Sm(e,t,r,n,a,i){let o=t[r],l=t[pe],c=l.data[r].outputs[n],u=o[c],d=l.firstCreatePass?Xd(l):null,m=Qd(t),b=u.subscribe(i),g=m.length;m.push(i,b),d&&d.push(a,e.index,g,-(g+1))}function Sa(e,t,r,n){let a=de(),i=lt(),o=nn();return fZ(i,a,a[ft],o,e,t,n),Sa}function mZ(e,t,r,n){let a=e.cleanup;if(a!=null)for(let i=0;i<a.length-1;i+=2){let o=a[i];if(o===r&&a[i+1]===n){let l=t[Ua],c=a[i+2];return l.length>c?l[c]:null}typeof o=="string"&&(i+=2)}return null}function fZ(e,t,r,n,a,i,o){var m,b;let l=Rl(n),c=e.firstCreatePass?Xd(e):null,u=Qd(t),d=!0;if(n.type&3||o){let g=er(n,t),w=o?o(g):g,x=u.length,S=o?R=>o(Xn(R[n.index])):n.index,T=null;if(!o&&l&&(T=mZ(e,t,a,n.index)),T!==null){let R=T.__ngLastListenerFn__||T;R.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,d=!1}else{i=xm(n,t,i);let R=r.listen(w,a,i);u.push(i,R),c&&c.push(a,S,x,x+1)}}else i=xm(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[a],w=(b=n.hostDirectiveOutputs)==null?void 0:b[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],T=w[x+1];Sm(n,t,S,T,a,i)}if(g&&g.length)for(let x of g)Sm(n,t,x,a,a,i)}}function Ee(e=1){return mU(e)}function gZ(e,t){let r=null,n=o6(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?B0(e,i,!0):u6(n,i))return a}return r}function xi(e){let t=de()[_n][tn];if(!t.projection){let r=e?e.length:1,n=t.projection=D$(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?gZ(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function Zn(e,t=0,r,n,a,i){let o=de(),l=lt(),c=null,u=yi(l,gt+e,16,null,null);u.projection===null&&(u.projection=t),eh();let d=!o[ei]||Hv();o[_n][tn].projection[u.projection]===null&&c!==null?vZ(o,l,c):d&&!kh(u)&&j6(l,o,u)}function vZ(e,t,r){let n=gt+r,a=t.data[n],i=e[n],o=ii(i,a.tView.ssrId),l=Lo(e,a,void 0,{dehydratedView:o});Fo(i,l,0,ai(a,o))}function Gc(e,t,r){K8(e,t,r)}function Wc(e){let t=de(),r=lt(),n=Gv();nh(n+1);let a=Oh(r,n);if(e.dirty&&Y$(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=J8(t,n);e.reset(i,YU),e.notifyOnChanges()}return!0}return!1}function Zc(){return Z8(de(),Gv())}function Yl(e){let t=$v();return Al(t,gt+e)}function be(e,t=""){let r=de(),n=lt(),a=e+gt,i=n.firstCreatePass?yi(n,a,1,t,null):n.data[a],o=bZ(n,r,i,t);r[a]=o,Ll()&&ql(n,r,o,i),Ur(i,!1)}var bZ=(e,t,r,n,a)=>(Fl(!0),ZG(t[ft],n));function Ge(e){return cn("",e,""),Ge}function cn(e,t,r){let n=de(),a=DW(n,e,t,r);return a!==hn&&Vb(n,tr(),a),cn}function Lh(e,t,r,n,a){let i=de(),o=TW(i,e,t,r,n,a);return o!==hn&&Vb(i,tr(),o),Lh}function Vb(e,t,r){let n=Vv(t,e);YG(e[ft],n,r)}var zb={};function Bb(e){let t=lt(),r=de(),n=e+gt,a=yi(t,n,128,null,null);return Ur(a,!1),Zd(t,r,n,zb),Bb}function km(e){wa("NgLet");let t=lt(),r=de(),n=tr();return Zd(t,r,n,e),e}function Cm(e){let t=$v(),r=Al(t,gt+e);if(r===zb)throw new U(314,!1);return r}function yZ(e,t,r){let n=lt();if(n.firstCreatePass){let a=Qn(e);Yc(r,n.data,n.blueprint,a,!0),Yc(t,n.data,n.blueprint,a,!1)}}function Yc(e,t,r,n,a){if(e=Pt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Yc(e[i],t,r,n,a);else{let i=lt(),o=de(),l=nn(),c=Ja(e)?e:Pt(e.provide),u=Ov(e),d=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Ja(e)||!e.multi){let g=new Oo(u,a,Bt),w=Du(c,t,a?d:d+b,m);w===-1?(Ic(tl(l,o),i,c),Iu(i,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=Du(c,t,d+b,m),w=Du(c,t,d,d+b),x=g>=0&&r[g],S=w>=0&&r[w];if(a&&!S||!a&&!x){Ic(tl(l,o),i,c);let T=xZ(a?wZ:_Z,r.length,a,n,u);!a&&S&&(r[w].providerFactory=T),Iu(i,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(T),o.push(T)}else{let T=Hb(r[a?w:g],u,!a&&n);Iu(i,e,g>-1?g:w,T)}!a&&n&&S&&r[w].componentProviders++}}}function Iu(e,t,r,n){let a=Ja(t),i=L$(t);if(a||i){let o=(i?Pt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(r);c===-1?l.push(r,[n,o]):l[c+1].push(n,o)}else l.push(r,o)}}}function Hb(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Du(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function _Z(e,t,r,n,a){return Kc(this.multi,[])}function wZ(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=io(n,n[pe],this.providerFactory.index,a);o=c.slice(0,l),Kc(i,o);for(let u=l;u<c.length;u++)o.push(c[u])}else o=[],Kc(i,o);return o}function Kc(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function xZ(e,t,r,n,a){let i=new Oo(e,r,Bt);return i.multi=[],i.index=t,i.componentProviders=0,Hb(i,a,n&&!r),i}function EZ(e,t=[]){return r=>{r.providersResolver=(n,a)=>yZ(n,a?a(e):e,t)}}function SZ(e,t,r){let n=No()+e,a=de();return a[n]===hn?Gl(a,n,t()):Cb(a,n)}function kZ(e,t,r,n){return $b(de(),No(),e,t,r,n)}function CZ(e,t,r,n,a,i,o,l){let c=No()+e,u=de(),d=fW(u,c,r,n,a,i);return wn(u,c+4,o)||d?Gl(u,c+5,t(r,n,a,i,o)):Cb(u,c+5)}function qb(e,t){let r=e[t];return r===hn?void 0:r}function $b(e,t,r,n,a,i){let o=t+r;return wn(e,o,a)?Gl(e,o+1,i?n.call(i,a):n(a)):qb(e,o+1)}function IZ(e,t,r,n,a,i,o){let l=t+r;return ol(e,l,a,i)?Gl(e,l+2,o?n.call(o,a,i):n(a,i)):qb(e,l+2)}function De(e,t){let r=lt(),n,a=e+gt;r.firstCreatePass?(n=DZ(t,r.pipeRegistry),r.data[a]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(a,n.onDestroy)):n=r.data[a];let i=n.factory||(n.factory=ca(n.type)),o=Kt(Bt);try{let l=el(!1),c=i();return el(l),Zd(r,de(),a,c),c}finally{Kt(o)}}function DZ(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function Me(e,t,r){let n=e+gt,a=de(),i=Al(a,n);return Gb(a,n)?$b(a,No(),t,i.transform,r,i):i.transform(r)}function Ub(e,t,r,n){let a=e+gt,i=de(),o=Al(i,a);return Gb(i,a)?IZ(i,No(),t,o.transform,r,n,o):o.transform(r,n)}function Gb(e,t){return e[pe].data[t].pure}function Im(e,t){return Ul(e,t)}var TZ=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(".")}},Dm=new TZ("19.2.18"),NZ=(()=>{const t=class t{constructor(){s(this,"zone",C(je));s(this,"changeDetectionScheduler",C(Mo));s(this,"applicationRef",C(qr));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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function OZ({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new je(Yt(se({},MZ()),{scheduleInRootZone:r}))),[{provide:je,useFactory:e},{provide:Zs,multi:!0,useFactory:()=>{let n=C(NZ,{optional:!0});return()=>n.initialize()}},{provide:Zs,multi:!0,useFactory:()=>{let n=C(PZ);return()=>{n.initialize()}}},t===!0?{provide:h0,useValue:!0}:[],{provide:p0,useValue:r??c0}]}function MZ(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var PZ=(()=>{const t=class t{constructor(){s(this,"subscription",new un);s(this,"initialized",!1);s(this,"zone",C(je));s(this,"pendingTasks",C(Po))}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(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),RZ=(()=>{var t;const r=class r{constructor(){s(this,"appRef",C(qr));s(this,"taskService",C(Po));s(this,"ngZone",C(je));s(this,"zonelessEnabled",C(d0));s(this,"tracing",C(Ro,{optional:!0}));s(this,"disableScheduling",C(h0,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new un);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(rl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(p0,{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 HU||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let i=!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,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!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(i))return;let o=this.useMicrotaskScheduler?Kp:m0;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(rl+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(i){throw this.taskService.remove(a),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Kp(()=>{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 i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(r,"ɵfac",function(a){return new(a||r)}),s(r,"ɵprov",V({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function AZ(){return typeof $localize<"u"&&$localize.locale||Uc}var Kl=new K("",{providedIn:"root",factory:()=>C(Kl,ke.Optional|ke.SkipSelf)||AZ()}),Qc=new K(""),LZ=new K("");function Mi(e){return!e.moduleRef}function FZ(e){let t=Mi(e)?e.r3Injector:e.moduleRef.injector,r=t.get(je);return r.run(()=>{Mi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Rn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),Mi(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Qc);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Qc);o.add(i),e.moduleRef.onDestroy(()=>{Ns(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return VZ(n,r,()=>{let i=t.get(Tb);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Kl,Uc);if(hZ(o||Uc),!t.get(LZ,!0))return Mi(e)?t.get(qr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mi(e)){let l=t.get(qr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return jZ(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function jZ(e,t){let r=e.injector.get(qr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new U(-403,!1);t.push(e)}function VZ(e,t,r){try{let n=r();return Mh(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Os=null;function zZ(e=[],t){return ot.create({name:t,providers:[{provide:Bd,useValue:"platform"},{provide:Qc,useValue:new Set([()=>Os=null])},...e]})}function BZ(e=[]){if(Os)return Os;let t=zZ(e);return Os=t,SW(),HZ(t),t}function HZ(e){let t=e.get(E0,null);qd(e,()=>{t==null||t.forEach(r=>r())})}function qZ(){return!1}var Ei=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",$Z),e})();function $Z(e){return UZ(nn(),de(),(e&16)===16)}function UZ(e,t,r){if(pi(e)&&!r){let n=Jn(e.index,t);return new so(n,n)}else if(e.type&175){let n=t[_n];return new so(n,t)}return null}var GZ=class{constructor(){}supports(e){return e instanceof Map||kb(e)}create(){return new WZ}},WZ=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||kb(e)))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._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,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}let r=new ZZ(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_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(r=>t(e[r],r))}},ZZ=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 Tm(){return new Wb([new GZ])}var Wb=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||Tm()),deps:[[t,new k$,new S$]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new U(901,!1)}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:Tm}));let e=t;return e})();function YZ(e){let{rootComponent:t,appProviders:r,platformProviders:n,platformRef:a}=e;try{let i=(a==null?void 0:a.injector)??BZ(n),o=[OZ({}),{provide:Mo,useExisting:RZ},...r||[]],l=new wb({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return FZ({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Hi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Zb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Xc(e){return sq(e)}function Ha(e,t){return X7(e)}var KZ=e=>e;function QZ(e,t){if(typeof e=="function"){let r=Np(e,KZ,t==null?void 0:t.equal);return Nm(r)}else{let r=Np(e.source,e.computation,e.equal);return Nm(r)}}function Nm(e){let t=e[_r],r=e;return r.set=n=>aq(t,n),r.update=n=>iq(t,n),r.asReadonly=g0.bind(e),r}function Yb(e,t){let r=Xa(e),n=t.elementInjector||Ml();return new Nh(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var XZ={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function JZ(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function eY(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Tu;function tY(e,t){if(!Tu){let r=Element.prototype;Tu=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Tu.call(e,t):!1}function nY(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[JZ(n)]=[r,a]}),t}function rY(e,t){return t.get(jo).resolveComponentFactory(e).inputs}function aY(e,t){let r=e.childNodes,n=t.map(()=>[]),a=-1;t.some((i,o)=>i==="*"?(a=o,!0):!1);for(let i=0,o=r.length;i<o;++i){let l=r[i],c=iY(l,t,a);c!==-1&&n[c].push(l)}return n}function iY(e,t,r){let n=r;return eY(e)&&t.some((a,i)=>a!=="*"&&tY(e,a)?(n=i,!0):!1),n}var oY=10,sY=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(jo).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new lY(this.componentFactory,e,this.inputMap)}},lY=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new Pg(1));s(this,"events",this.eventEmitters.pipe($s(e=>Md(...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=r,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(qr),this.cdScheduler=t.get(Mo),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=XZ.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},oY))})}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),t8(this.componentRef.hostView)&&(n8(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ot.create({providers:[],parent:this.injector}),r=aY(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,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:r,templateName:n})=>{let a=e.instance[r];return new nt(i=>{let o=a.subscribe(l=>i.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()}},uY=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function cY(e,t){let r=rY(e,t.injector),n=t.strategyFactory||new sY(e,t.injector),a=nY(r);class i extends uY{constructor(c){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:u,transform:d})=>{if(!this.hasOwnProperty(u))return;let m=this[u];delete this[u],c.setInputValue(u,m,d)})}return this._ngElementStrategy}attributeChangedCallback(c,u,d,m){let[b,g]=a[c];this.ngElementStrategy.setInputValue(b,d,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let u=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(u)})}}return s(i,"observedAttributes",Object.keys(a)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(c){this.ngElementStrategy.setInputValue(o,c,l)},configurable:!0,enumerable:!0})}),i}var Le=new K(""),Kb=null;function Ki(){return Kb}function dY(e){Kb??(Kb=e)}var hY=class{},Qb=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:()=>C(pY),providedIn:"platform"}));let e=t;return e})(),pY=(()=>{const t=class t extends Qb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ki().getBaseHref(this._doc)}onPopState(a){let i=Ki().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=Ki().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",a,!1),()=>i.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,i,o){this._history.pushState(a,i,o)}replaceState(a,i,o){this._history.replaceState(a,i,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",V({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Xb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Om(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function oa(e){return e&&e[0]!=="?"?`?${e}`:e}var Fh=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:()=>C(fY),providedIn:"root"}));let e=t;return e})(),mY=new K(""),fY=(()=>{const t=class t extends Fh{constructor(a,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=C(Le).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 Xb(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+oa(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let c=this.prepareExternalUrl(o+oa(l));this._platformLocation.pushState(a,i,c)}replaceState(a,i,o,l){let c=this.prepareExternalUrl(o+oa(l));this._platformLocation.replaceState(a,i,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,a)}};s(t,"ɵfac",function(a){return new(a||t)(te(Qb),te(mY,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Jb=(()=>{const t=class t{constructor(n){s(this,"_subject",new xe);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=bY(Om(Mm(a))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.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+oa(a))}normalize(n){return t.stripTrailingSlash(vY(this._basePath,Mm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",i=null){this._locationStrategy.pushState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+oa(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+oa(a)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,i;(i=(a=this._locationStrategy).historyGo)==null||i.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var i;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(i=>i(n,a))}subscribe(n,a,i){return this._subject.subscribe({next:n,error:a??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",oa),s(t,"joinWithSlash",Xb),s(t,"stripTrailingSlash",Om),s(t,"ɵfac",function(n){return new(n||t)(te(Fh))}),s(t,"ɵprov",V({token:t,factory:()=>gY(),providedIn:"root"}));let e=t;return e})();function gY(){return new Jb(te(Fh))}function vY(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Mm(e){return e.replace(/\/index.html$/,"")}function bY(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Gt=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Gt||{}),He=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(He||{}),an=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(an||{}),Ql={MinusSign:5};function yY(e){return Fn(e)[Et.LocaleId]}function _Y(e,t,r){let n=Fn(e),a=[n[Et.DayPeriodsFormat],n[Et.DayPeriodsStandalone]],i=xn(a,t);return xn(i,r)}function wY(e,t,r){let n=Fn(e),a=[n[Et.DaysFormat],n[Et.DaysStandalone]],i=xn(a,t);return xn(i,r)}function xY(e,t,r){let n=Fn(e),a=[n[Et.MonthsFormat],n[Et.MonthsStandalone]],i=xn(a,t);return xn(i,r)}function EY(e,t){let r=Fn(e)[Et.Eras];return xn(r,t)}function is(e,t){let r=Fn(e);return xn(r[Et.DateFormat],t)}function os(e,t){let r=Fn(e);return xn(r[Et.TimeFormat],t)}function ss(e,t){let r=Fn(e)[Et.DateTimeFormat];return xn(r,t)}function Xl(e,t){return Fn(e)[Et.NumberSymbols][t]}function ey(e){if(!e[Et.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Et.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function SY(e){let t=Fn(e);return ey(t),(t[Et.ExtraData][2]||[]).map(r=>typeof r=="string"?Nu(r):[Nu(r[0]),Nu(r[1])])}function kY(e,t,r){let n=Fn(e);ey(n);let a=[n[Et.ExtraData][0],n[Et.ExtraData][1]],i=xn(a,t)||[];return xn(i,r)||[]}function xn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function Nu(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var CY=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ta={},IY=/((?:[^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 DY(e,t,r,n){let a=FY(e);t=hr(r,t)||t;let i=[],o;for(;t;)if(o=IY.exec(t),o){i=i.concat(o.slice(1));let u=i.pop();if(!u)break;t=u}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=ny(n,l),a=LY(a,n));let c="";return i.forEach(u=>{let d=RY(u);c+=d?d(a,r,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ul(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function hr(e,t){let r=yY(e);if(Ta[r]??(Ta[r]={}),Ta[r][t])return Ta[r][t];let n="";switch(t){case"shortDate":n=is(e,an.Short);break;case"mediumDate":n=is(e,an.Medium);break;case"longDate":n=is(e,an.Long);break;case"fullDate":n=is(e,an.Full);break;case"shortTime":n=os(e,an.Short);break;case"mediumTime":n=os(e,an.Medium);break;case"longTime":n=os(e,an.Long);break;case"fullTime":n=os(e,an.Full);break;case"short":let a=hr(e,"shortTime"),i=hr(e,"shortDate");n=ls(ss(e,an.Short),[a,i]);break;case"medium":let o=hr(e,"mediumTime"),l=hr(e,"mediumDate");n=ls(ss(e,an.Medium),[o,l]);break;case"long":let c=hr(e,"longTime"),u=hr(e,"longDate");n=ls(ss(e,an.Long),[c,u]);break;case"full":let d=hr(e,"fullTime"),m=hr(e,"fullDate");n=ls(ss(e,an.Full),[d,m]);break}return n&&(Ta[r][t]=n),n}function ls(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Tn(e,t,r="-",n,a){let i="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,i=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function TY(e,t){return Tn(e,3).substring(0,t)}function yt(e,t,r=0,n=!1,a=!1){return function(i,o){let l=NY(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return TY(l,t);let c=Xl(o,Ql.MinusSign);return Tn(l,t,c,n,a)}}function NY(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 $e(e,t,r=Gt.Format,n=!1){return function(a,i){return OY(a,i,e,t,r,n)}}function OY(e,t,r,n,a,i){switch(r){case 2:return xY(t,a,n)[e.getMonth()];case 1:return wY(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=SY(t),d=kY(t,a,n),m=u.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,x=o>=g.hours&&l>=g.minutes,S=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&S)return!0}else if(x||S)return!0}else if(b.hours===o&&b.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return _Y(t,a,n)[o<12?0:1];case 3:return EY(t,n)[e.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function us(e){return function(t,r,n){let a=-1*n,i=Xl(r,Ql.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Tn(o,2,i)+Tn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+Tn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var MY=0,Ms=4;function PY(e){let t=ul(e,MY,1).getDay();return ul(e,0,1+(t<=Ms?Ms:Ms+7)-t)}function ty(e){let t=e.getDay(),r=t===0?-3:Ms-t;return ul(e.getFullYear(),e.getMonth(),e.getDate()+r)}function Ou(e,t=!1){return function(r,n){let a;if(t){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();a=1+Math.floor((o+i)/7)}else{let i=ty(r),o=PY(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Tn(a,e,Xl(n,Ql.MinusSign))}}function cs(e,t=!1){return function(r,n){let a=ty(r).getFullYear();return Tn(a,e,Xl(n,Ql.MinusSign),t)}}var Mu={};function RY(e){if(Mu[e])return Mu[e];let t;switch(e){case"G":case"GG":case"GGG":t=$e(3,He.Abbreviated);break;case"GGGG":t=$e(3,He.Wide);break;case"GGGGG":t=$e(3,He.Narrow);break;case"y":t=yt(0,1,0,!1,!0);break;case"yy":t=yt(0,2,0,!0,!0);break;case"yyy":t=yt(0,3,0,!1,!0);break;case"yyyy":t=yt(0,4,0,!1,!0);break;case"Y":t=cs(1);break;case"YY":t=cs(2,!0);break;case"YYY":t=cs(3);break;case"YYYY":t=cs(4);break;case"M":case"L":t=yt(1,1,1);break;case"MM":case"LL":t=yt(1,2,1);break;case"MMM":t=$e(2,He.Abbreviated);break;case"MMMM":t=$e(2,He.Wide);break;case"MMMMM":t=$e(2,He.Narrow);break;case"LLL":t=$e(2,He.Abbreviated,Gt.Standalone);break;case"LLLL":t=$e(2,He.Wide,Gt.Standalone);break;case"LLLLL":t=$e(2,He.Narrow,Gt.Standalone);break;case"w":t=Ou(1);break;case"ww":t=Ou(2);break;case"W":t=Ou(1,!0);break;case"d":t=yt(2,1);break;case"dd":t=yt(2,2);break;case"c":case"cc":t=yt(7,1);break;case"ccc":t=$e(1,He.Abbreviated,Gt.Standalone);break;case"cccc":t=$e(1,He.Wide,Gt.Standalone);break;case"ccccc":t=$e(1,He.Narrow,Gt.Standalone);break;case"cccccc":t=$e(1,He.Short,Gt.Standalone);break;case"E":case"EE":case"EEE":t=$e(1,He.Abbreviated);break;case"EEEE":t=$e(1,He.Wide);break;case"EEEEE":t=$e(1,He.Narrow);break;case"EEEEEE":t=$e(1,He.Short);break;case"a":case"aa":case"aaa":t=$e(0,He.Abbreviated);break;case"aaaa":t=$e(0,He.Wide);break;case"aaaaa":t=$e(0,He.Narrow);break;case"b":case"bb":case"bbb":t=$e(0,He.Abbreviated,Gt.Standalone,!0);break;case"bbbb":t=$e(0,He.Wide,Gt.Standalone,!0);break;case"bbbbb":t=$e(0,He.Narrow,Gt.Standalone,!0);break;case"B":case"BB":case"BBB":t=$e(0,He.Abbreviated,Gt.Format,!0);break;case"BBBB":t=$e(0,He.Wide,Gt.Format,!0);break;case"BBBBB":t=$e(0,He.Narrow,Gt.Format,!0);break;case"h":t=yt(3,1,-12);break;case"hh":t=yt(3,2,-12);break;case"H":t=yt(3,1);break;case"HH":t=yt(3,2);break;case"m":t=yt(4,1);break;case"mm":t=yt(4,2);break;case"s":t=yt(5,1);break;case"ss":t=yt(5,2);break;case"S":t=yt(6,1);break;case"SS":t=yt(6,2);break;case"SSS":t=yt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=us(0);break;case"ZZZZZ":t=us(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=us(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=us(2);break;default:return null}return Mu[e]=t,t}function ny(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function AY(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function LY(e,t,r){let n=e.getTimezoneOffset(),a=ny(t,n);return AY(e,-1*(a-n))}function FY(e){if(Pm(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,i=1,o=1]=e.split("-").map(l=>+l);return ul(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(CY))return jY(n)}let t=new Date(e);if(!Pm(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function jY(e){let t=new Date(0),r=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=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)-r,l=Number(e[5]||0)-n,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,c,u),t}function Pm(e){return e instanceof Date&&!isNaN(e.valueOf())}var Pu=/\s+/,Rm=[],VY=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Rm);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(Pu):Rm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Pu):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 i=this.stateMap.get(n);i!==void 0?(i.enabled!==a&&(i.changed=!0,i.enabled=a),i.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],i=n[1];i.changed?(this._toggleClass(a,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),i.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(Pu).forEach(i=>{a?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(Bt(At),Bt(_i))}),s(t,"ɵdir",Lt({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),zY=(()=>{const t=class t{constructor(n,a,i){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=i}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[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:za.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,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)(Bt(At),Bt(Wb),Bt(_i))}),s(t,"ɵdir",Lt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),BY=(()=>{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 i=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,i):!1,get:(n,a,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,i)}})}};s(t,"ɵfac",function(n){return new(n||t)(Bt(wi))}),s(t,"ɵdir",Lt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gd]}));let e=t;return e})();function ry(e,t){return new U(2100,!1)}var HY=class{createSubscription(e,t){return Xc(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){Xc(()=>e.unsubscribe())}},qY=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},$Y=new qY,UY=new HY,GY=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,a=>this._updateLatestValue(n,a))}_selectStrategy(n){if(Mh(n))return $Y;if(Db(n))return UY;throw ry()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,a){var i;n===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Bt(Ei,16))}),s(t,"ɵpipe",Ea({name:"async",type:t,pure:!1}));let e=t;return e})(),WY="mediumDate",ZY=new K(""),YY=new K(""),KY=(()=>{const t=class t{constructor(n,a,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=i}transform(n,a,i,o){var l,c;if(n==null||n===""||n!==n)return null;try{let u=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??WY,d=i??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return DY(n,u,o||this.locale,d)}catch(u){throw ry(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Bt(Kl,16),Bt(ZY,24),Bt(YY,24))}),s(t,"ɵpipe",Ea({name:"date",type:t,pure:!0}));let e=t;return e})(),ay=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({}));let e=t;return e})();function iy(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[a,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}var oy="browser",QY="server";function XY(e){return e===oy}function sy(e){return e===QY}var ly=class{};function Jl(e,t,r){return cZ(e,t,r)}var Jc=new K(""),uy=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,i,o){return this._findPluginFor(a).addEventListener(n,a,i,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(i=>i.supports(n)),!a)throw new U(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(te(Jc),te(je))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),cy=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ps="ng-app-id";function Am(e){for(let t of e)t.remove()}function Lm(e,t){let r=t.createElement("style");return r.textContent=e,r}function JY(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ps}="${t}"],link[${Ps}="${t}"]`);if(a)for(let o of a)o.removeAttribute(Ps),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function ed(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var dy=(()=>{const t=class t{constructor(n,a,i,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=i,this.isServer=sy(o),JY(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,Lm);a==null||a.forEach(i=>this.addUsage(i,this.external,ed))}removeStyles(n,a){for(let i of n)this.removeUsage(i,this.inline);a==null||a.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,a,i){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,a){let i=a.get(n);i&&(i.usage--,i.usage<=0&&(Am(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Am(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,Lm(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,ed(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(Ps,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(ch),te(dh,8),te(jl))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Ru={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"},jh=/%COMP%/g,hy="%COMP%",eK=`_nghost-${hy}`,tK=`_ngcontent-${hy}`,nK=!0,rK=new K("",{providedIn:"root",factory:()=>nK});function aK(e){return tK.replace(jh,e)}function iK(e){return eK.replace(jh,e)}function py(e,t){return t.map(r=>r.replace(jh,e))}var td=(()=>{const t=class t{constructor(n,a,i,o,l,c,u,d=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=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=c,this.ngZone=u,this.nonce=d,this.tracingService=m,this.platformIsServer=sy(c),this.defaultRenderer=new Vh(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===fr.ShadowDom&&(a=Yt(se({},a),{encapsulation:fr.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof jm?i.applyToHost(n):i instanceof nd&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,c=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case fr.Emulated:o=new jm(u,d,a,this.appId,m,l,c,b,g);break;case fr.ShadowDom:return new oK(u,d,n,a,l,c,this.nonce,b,g);default:o=new nd(u,d,a,m,l,c,b,g);break}i.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)(te(uy),te(dy),te(ch),te(rK),te(Le),te(jl),te(je),te(dh),te(Ro,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Vh=class{constructor(e,t,r,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=r,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Ru[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Fm(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(Fm(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new U(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let a=Ru[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=Ru[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(za.DashCase|za.Important)?e.style.setProperty(t,r,n&za.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&za.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var i;if(typeof e=="string"&&(e=Ki().getGlobalEventTarget(this.doc,e),!e))throw new U(5102,!1);let a=this.decoratePreventDefault(r);return(i=this.tracingService)!=null&&i.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 Fm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var oK=class extends Vh{constructor(t,r,n,a,i,o,l,c,u){var b;super(t,i,o,c,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=a.styles;d=py(a.id,d);for(let g of d){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(b=a.getExternalStyles)==null?void 0:b.call(a);if(m)for(let g of m){let w=ed(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},nd=class extends Vh{constructor(t,r,n,a,i,o,l,c,u){var m;super(t,i,o,l,c);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let d=n.styles;this.styles=u?py(u,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},jm=class extends nd{constructor(t,r,n,a,i,o,l,c,u){let d=a+"-"+n.id;super(t,r,n,i,o,l,c,u,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=aK(d),this.hostAttr=iK(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},sK=class my extends hY{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){dY(new my)}onAndCancel(r,n,a,i){return r.addEventListener(n,a,i),()=>{r.removeEventListener(n,a,i)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=lK();return n==null?null:uK(n)}resetBaseElement(){qi=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return iy(document.cookie,r)}},qi=null;function lK(){return qi=qi||document.head.querySelector("base"),qi?qi.getAttribute("href"):null}function uK(e){return new URL(e,document.baseURI).pathname}var cK=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),dK=(()=>{const t=class t extends cy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,i,o){return n.addEventListener(a,i,o),()=>this.removeEventListener(n,a,i,o)}removeEventListener(n,a,i,o){return n.removeEventListener(a,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(te(Le))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Vm=["alt","control","meta","shift"],hK={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},pK={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},mK=(()=>{const t=class t extends cy{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ki().onAndCancel(n,l.domEventName,c,o))}static parseEventName(n){let a=n.toLowerCase().split("."),i=a.shift();if(a.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),Vm.forEach(d=>{let m=a.indexOf(d);m>-1&&(a.splice(m,1),l+=d+".")}),l+=o,a.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,a){let i=hK[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Vm.forEach(l=>{if(l!==i){let c=pK[l];c(n)&&(o+=l+".")}}),o+=i,o===a)}static eventCallback(n,a,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(te(Le))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function fK(e){return YZ(gK(e))}function gK(e){return{appProviders:[...wK,...(e==null?void 0:e.providers)??[]],platformProviders:_K}}function vK(){sK.makeCurrent()}function bK(){return new Rn}function yK(){return nG(document),document}var _K=[{provide:jl,useValue:oy},{provide:E0,useValue:vK,multi:!0},{provide:Le,useFactory:yK}],wK=[{provide:Bd,useValue:"root"},{provide:Rn,useFactory:bK},{provide:Jc,useClass:dK,multi:!0,deps:[Le]},{provide:Jc,useClass:mK,multi:!0,deps:[Le]},td,dy,uy,{provide:An,useExisting:td},{provide:ly,useClass:cK},[]],zh=class{},fy=class{},si=class Rs{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
19
|
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let a=r.slice(0,n),i=r.slice(n+1).trim();this.addHeaderEntry(a,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof Rs?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new Rs;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Rs?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=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,r);let a=(t.op==="a"?this.headers.get(r):void 0)||[];a.push(...n),this.headers.set(r,a);break;case"d":let i=t.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}addHeaderEntry(t,r){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},xK=class{encodeKey(e){return zm(e)}encodeValue(e){return zm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function EK(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[i,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=r.get(i)||[];l.push(o),r.set(i,l)}),r}var SK=/%(\d[a-f0-9])/gi,kK={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zm(e){return encodeURIComponent(e).replace(SK,(t,r)=>kK[r]??t)}function ds(e){return`${e}`}var Wa=class gy{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new xK,t.fromString){if(t.fromObject)throw new U(2805,!1);this.map=EK(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],a=Array.isArray(n)?n.map(ds):[ds(n)];this.map.set(r,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:a,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new gy({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}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 r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(ds(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(ds(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)}},CK=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 IK(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Bm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Hm(e){return typeof Blob<"u"&&e instanceof Blob}function qm(e){return typeof FormData<"u"&&e instanceof FormData}function DK(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var $m="Content-Type",Um="Accept",vy="X-Request-URL",by="text/plain",yy="application/json",TK=`${yy}, ${by}, */*`,Au=class _y{constructor(t,r,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=r,this.method=t.toUpperCase();let i;if(IK(this.method)||a?(this.body=n!==void 0?n:null,i=a):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new si),this.context??(this.context=new CK),!this.params)this.params=new Wa,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),c=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+c+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Bm(this.body)||Hm(this.body)||qm(this.body)||DK(this.body)?this.body:this.body instanceof Wa?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||qm(this.body)?null:Hm(this.body)?this.body.type||null:Bm(this.body)?null:typeof this.body=="string"?by:this.body instanceof Wa?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?yy:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,i=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,d=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((b,g)=>b.set(g,t.setHeaders[g]),u)),t.setParams&&(d=Object.keys(t.setParams).reduce((b,g)=>b.set(g,t.setParams[g]),d)),new _y(r,n,o,{params:d,headers:u,context:m,reportProgress:c,responseType:a,withCredentials:l,transferCache:i})}},Za=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}(Za||{}),Bh=class{constructor(e,t=200,r="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new si,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},NK=class wy extends Bh{constructor(r={}){super(r);s(this,"type",Za.ResponseHeader)}clone(r={}){return new wy({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},xy=class Ey extends Bh{constructor(r={}){super(r);s(this,"body");s(this,"type",Za.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new Ey({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Gm=class extends Bh{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}},OK=200,MK=204;function Lu(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 Si=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,i={}){let o;if(n instanceof Au)o=n;else{let u;i.headers instanceof si?u=i.headers:u=new si(i.headers);let d;i.params&&(i.params instanceof Wa?d=i.params:d=new Wa({fromObject:i.params})),o=new Au(n,a,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=it(o).pipe(av(u=>this.handler.handle(u)));if(n instanceof Au||i.observe==="events")return l;let c=l.pipe(mr(u=>u instanceof xy));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(Mt(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new U(2806,!1);return u.body}));case"blob":return c.pipe(Mt(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new U(2807,!1);return u.body}));case"text":return c.pipe(Mt(u=>{if(u.body!==null&&typeof u.body!="string")throw new U(2808,!1);return u.body}));case"json":default:return c.pipe(Mt(u=>u.body))}case"response":return c;default:throw new U(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 Wa().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,i={}){return this.request("PATCH",n,Lu(i,a))}post(n,a,i={}){return this.request("POST",n,Lu(i,a))}put(n,a,i={}){return this.request("PUT",n,Lu(i,a))}};s(t,"ɵfac",function(n){return new(n||t)(te(zh))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),PK=new K("");function RK(e,t){return t(e)}function AK(e,t,r){return(n,a)=>qd(r,()=>t(n,i=>e(i,a)))}var Hh=new K(""),LK=new K(""),FK=new K("",{providedIn:"root",factory:()=>!0}),Wm=(()=>{const t=class t extends zh{constructor(a,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",C(Po));s(this,"contributeToStability",C(FK));this.backend=a,this.injector=i}handle(a){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Hh),...this.injector.get(LK,[])]));this.chain=i.reduceRight((o,l)=>AK(o,l,this.injector),RK)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(iv(()=>this.pendingTasks.remove(i)))}else return this.chain(a,i=>this.backend.handle(i))}};s(t,"ɵfac",function(a){return new(a||t)(te(fy),te(Kn))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),jK=/^\)\]\}',?\n/,VK=RegExp(`^${vy}:`,"m");function zK(e){return"responseURL"in e&&e.responseURL?e.responseURL:VK.test(e.getAllResponseHeaders())?e.getResponseHeader(vy):null}var Zm=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new U(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?ya(a.ɵloadImpl()):it(null)).pipe($s(()=>new nt(i=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,S)=>o.setRequestHeader(x,S.join(","))),n.headers.has(Um)||o.setRequestHeader(Um,TK),!n.headers.has($m)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader($m,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let x=o.statusText||"OK",S=new si(o.getAllResponseHeaders()),T=zK(o)||n.url;return c=new NK({headers:S,status:o.status,statusText:x,url:T}),c},d=()=>{let{headers:x,status:S,statusText:T,url:R}=u(),O=null;S!==MK&&(O=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=O?OK:0);let Y=S>=200&&S<300;if(n.responseType==="json"&&typeof O=="string"){let ie=O;O=O.replace(jK,"");try{O=O!==""?JSON.parse(O):null}catch(me){O=ie,Y&&(Y=!1,O={error:me,text:O})}}Y?(i.next(new xy({body:O,headers:x,status:S,statusText:T,url:R||void 0})),i.complete()):i.error(new Gm({error:O,headers:x,status:S,statusText:T,url:R||void 0}))},m=x=>{let{url:S}=u(),T=new Gm({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});i.error(T)},b=!1,g=x=>{b||(i.next(u()),b=!0);let S={type:Za.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),i.next(S)},w=x=>{let S={type:Za.UploadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),i.next(S)};return o.addEventListener("load",d),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",w)),o.send(l),i.next({type:Za.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",d),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(te(ly))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Sy=new K(""),BK="XSRF-TOKEN",HK=new K("",{providedIn:"root",factory:()=>BK}),qK="X-XSRF-TOKEN",$K=new K("",{providedIn:"root",factory:()=>qK}),ky=class{},UK=(()=>{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=iy(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(HK))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),GK=/^(?:https?:)?\/\//i;function WK(e,t){if(!C(Sy)||e.method==="GET"||e.method==="HEAD"||GK.test(e.url))return t(e);let r=C(ky).getToken(),n=C($K);return r!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,r)})),t(e)}var Cy=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}(Cy||{});function ZK(e,t){return{ɵkind:e,ɵproviders:t}}function YK(...e){let t=[Si,Zm,Wm,{provide:zh,useExisting:Wm},{provide:fy,useFactory:()=>C(PK,{optional:!0})??C(Zm)},{provide:Hh,useValue:WK,multi:!0},{provide:Sy,useValue:!0},{provide:ky,useClass:UK}];for(let r of e)t.push(...r.ɵproviders);return Vd(t)}function KK(e){return ZK(Cy.Interceptors,e.map(t=>({provide:Hh,useValue:t,multi:!0})))}var Iy=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=te(QK),a},providedIn:"root"}));let e=t;return e})(),QK=(()=>{const t=class t extends Iy{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,i){if(i==null)return null;switch(a){case sn.NONE:return i;case sn.HTML:return Ma(i,"HTML")?Or(i):HG(this._doc,String(i)).toString();case sn.STYLE:return Ma(i,"Style")?Or(i):i;case sn.SCRIPT:if(Ma(i,"Script"))return Or(i);throw new U(5200,!1);case sn.URL:return Ma(i,"URL")?Or(i):fh(String(i));case sn.RESOURCE_URL:if(Ma(i,"ResourceURL"))return Or(i);throw new U(5201,!1);default:throw new U(5202,!1)}}bypassSecurityTrustHtml(a){return yG(a)}bypassSecurityTrustStyle(a){return _G(a)}bypassSecurityTrustScript(a){return wG(a)}bypassSecurityTrustUrl(a){return xG(a)}bypassSecurityTrustResourceUrl(a){return EG(a)}};s(t,"ɵfac",function(a){return new(a||t)(te(Le))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),zo=class{},XK=(()=>{const t=class t extends zo{getTranslation(n){return it({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Dy=class{},JK=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function cl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,n=typeof t,a,i,o;if(r==n&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(i=0;i<a;i++)if(!cl(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!cl(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&typeof t[i]<"u")return!1;return!0}return!1}function Rr(e){return typeof e<"u"&&e!==null}function Bo(e){return As(e)&&!qh(e)&&e!==null}function As(e){return typeof e=="object"}function qh(e){return Array.isArray(e)}function $h(e){return typeof e=="string"}function eQ(e){return typeof e=="function"}function rd(e,t){let r=Object.assign({},e);return As(e)?(As(e)&&As(t)&&Object.keys(t).forEach(n=>{Bo(t[n])?n in e?r[n]=rd(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):rd({},t)}function ad(e,t){let r=t.split(".");t="";do t+=r.shift(),Rr(e)&&Rr(e[t])&&(Bo(e[t])||qh(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function tQ(e,t,r){let n=t.split("."),a=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?a[o]=r:((!a[o]||!Bo(a[o]))&&(a[o]={}),a=a[o])}}var Uh=class{},nQ=(()=>{const t=class t extends Uh{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,i){if($h(a))return this.interpolateString(a,i);if(eQ(a))return this.interpolateFunction(a,i)}interpolateFunction(a,i){return a(i)}interpolateString(a,i){return i?a.replace(this.templateMatcher,(o,l)=>{let c=ad(i,l);return Rr(c)?c:o}):a}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=$t(t)))(i||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Ho=class{},rQ=(()=>{const t=class t extends Ho{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),id=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Vt);s(this,"onLangChange",new Vt);s(this,"onDefaultLangChange",new Vt)}},Ty=new K("ISOLATE_TRANSLATE_SERVICE"),Ny=new K("USE_DEFAULT_LANG"),Oy=new K("DEFAULT_LANGUAGE"),My=new K("USE_EXTEND"),Pi=e=>Gi(e)?e:it(e),kr=(()=>{const t=class t{constructor(n,a,i,o,l,c=!0,u=!1,d=!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=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=d,u&&(this.store=new id),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(Qt(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return it(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return Gi(a)?(a.pipe(Qt(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),it(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(Lp(1),Qt(1));return this.loadingTranslations=a.pipe(Mt(i=>this.compiler.compileTranslations(i,n)),Lp(1),Qt(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?se(se({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),a}setTranslation(n,a,i=!1){let o=this.compiler.compileTranslations(a,n);(i||this.extend)&&this.translations[n]?this.translations[n]=rd(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(i=>!this.langs.includes(i));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,i){let o;if(n&&(o=this.runInterpolation(ad(n,a),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(ad(this.translations[this.defaultLang],a),i)),o===void 0){let l={key:a,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(qh(n))return n.map(i=>this.runInterpolation(i,a));if(Bo(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,a)}getParsedResult(n,a,i){if(a instanceof Array){let o={},l=!1;for(let u of a)o[u]=this.getParsedResultForKey(n,u,i),l=l||Gi(o[u]);if(!l)return o;let c=a.map(u=>Pi(o[u]));return nv(c).pipe(Mt(u=>{let d={};return u.forEach((m,b)=>{d[a[b]]=m}),d}))}return this.getParsedResultForKey(n,a,i)}get(n,a){if(!Rr(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(av(i=>Pi(this.getParsedResult(i,n,a)))):Pi(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!Rr(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return ro(qs(()=>this.get(n,a)),this.onTranslationChange.pipe($s(i=>{let o=this.getParsedResult(i.translations,n,a);return Pi(o)})))}stream(n,a){if(!Rr(n)||!n.length)throw new Error('Parameter "key" required');return ro(qs(()=>this.get(n,a)),this.onLangChange.pipe($s(i=>{let o=this.getParsedResult(i.translations,n,a);return Pi(o)})))}instant(n,a){if(!Rr(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,a);return Gi(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,a,i=this.currentLang){tQ(this.translations[i],n,$h(a)?this.compiler.compile(a,i):this.compiler.compileTranslations(a,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}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)(te(id),te(zo),te(Ho),te(Uh),te(Dy),te(Ny),te(Ty),te(My),te(Oy))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ki=(()=>{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,i){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(i){let l=this.translate.getParsedResult(i,n,a);Gi(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(cl(n,this.lastKey)&&cl(a,this.lastParams))return this.value;let i;if(Rr(a[0])&&a.length)if($h(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else Bo(a[0])&&(i=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),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)(Bt(kr,16),Bt(Ei,16))}),s(t,"ɵpipe",Ea({name:"translate",type:t,pure:!1})),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),aQ=(e={})=>Vd([e.loader||{provide:zo,useClass:XK},e.compiler||{provide:Ho,useClass:rQ},e.parser||{provide:Uh,useClass:nQ},e.missingTranslationHandler||{provide:Dy,useClass:JK},id,{provide:Ty,useValue:e.isolate},{provide:Ny,useValue:e.useDefaultLang},{provide:My,useValue:e.extend},{provide:Oy,useValue:e.defaultLanguage},kr]);function Py(e){return e.buttons===0||e.detail===0}function Ry(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 Fu;function iQ(){if(Fu==null){let e=typeof document<"u"?document.head:null;Fu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Fu}function oQ(e){if(iQ()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function ju(){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 yr(e){return e.composedPath?e.composedPath()[0]:e.target}function Ar(e,t,r,n,a){let i=parseInt(Dm.major),o=parseInt(Dm.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,r,n,a):(t.addEventListener(r,n,a),()=>{t.removeEventListener(r,n,a)})}var od;try{od=typeof Intl<"u"&&Intl.v8BreakIterator}catch{od=!1}var pn=(()=>{const t=class t{constructor(){s(this,"_platformId",C(jl));s(this,"isBrowser",this._platformId?XY(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||od)&&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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ri;function sQ(){if(Ri==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ri=!0}))}finally{Ri=Ri||!1}return Ri}function Gh(e){return sQ()?e:!!e.capture}function Ym(e,t=0){return lQ(e)?Number(e):arguments.length===2?t:0}function lQ(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Ya(e){return e instanceof At?e.nativeElement:e}var uQ=new K("cdk-input-modality-detector-options"),cQ={ignoreKeys:[18,17,224,91,16]},Ay=650,Vu={passive:!0,capture:!0},dQ=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Dd(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,i;(i=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=yr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<Ay||(this._modality.next(Py(n)?"keyboard":"mouse"),this._mostRecentTarget=yr(n))});s(this,"_onTouchstart",n=>{if(Ry(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=yr(n)});let n=C(je),a=C(Le),i=C(uQ,{optional:!0});if(this._options=se(se({},cQ),i),this.modalityDetected=this._modality.pipe(sv(1)),this.modalityChanged=this.modalityDetected.pipe(r$()),this._platform.isBrowser){let o=C(An).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[Ar(o,a,"keydown",this._onKeydown,Vu),Ar(o,a,"mousedown",this._onMousedown,Vu),Ar(o,a,"touchstart",this._onTouchstart,Vu)])}}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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ls=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Ls||{}),hQ=new K("cdk-focus-monitor-default-options"),hs=Gh({passive:!0,capture:!0}),Ly=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_platform",C(pn));s(this,"_inputModalityDetector",C(dQ));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",C(Le,{optional:!0}));s(this,"_stopInputModalityDetector",new xe);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=yr(n);for(let i=a;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=C(hQ,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Ls.IMMEDIATE}monitor(n,a=!1){let i=Ya(n);if(!this._platform.isBrowser||i.nodeType!==1)return it();let o=oQ(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return a&&(l.checkChildren=!0),l.subject;let c={checkChildren:a,subject:new xe,rootNode:o};return this._elementInfo.set(i,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let a=Ya(n),i=this._elementInfo.get(a);i&&(i.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(i))}focusVia(n,a,i){let o=Ya(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([c,u])=>this._originChanged(c,a,u)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(i))}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===Ls.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===Ls.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Ay:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,a){let i=this._elementInfo.get(a),o=yr(n);!i||!i.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),i)}_onBlur(n,a){let i=this._elementInfo.get(a);!i||i.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(i,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,i=this._rootNodeFocusListenerCount.get(a)||0;i||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,hs),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,hs)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ko(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let i=this._rootNodeFocusListenerCount.get(a);i>1?this._rootNodeFocusListenerCount.set(a,i-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,hs),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,hs),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,i){this._setClasses(n,a),this._emitOrigin(i,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&a.push([o,i])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:i}=this._inputModalityDetector;if(i!=="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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ps=new WeakMap,qo=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",C(ot));s(this,"_environmentInjector",C(Kn))}load(n){let a=this._appRef=this._appRef||this._injector.get(qr),i=ps.get(a);i||(i={loaders:new Set,refs:[]},ps.set(a,i),a.onDestroy(()=>{var o;(o=ps.get(a))==null||o.refs.forEach(l=>l.destroy()),ps.delete(a)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(Yb(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({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
20
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function dl(e){return Array.isArray(e)?e:[e]}var Km=new Set,Kr,mQ=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_nonce",C(dh,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):gQ}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&fQ(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function fQ(e,t){if(!Km.has(e))try{Kr||(Kr=document.createElement("style"),t&&Kr.setAttribute("nonce",t),Kr.setAttribute("type","text/css"),document.head.appendChild(Kr)),Kr.sheet&&(Kr.sheet.insertRule(`@media ${e} {body{ }}`,0),Km.add(e))}catch(r){console.error(r)}}function gQ(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Fy=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(mQ));s(this,"_zone",C(je));s(this,"_queries",new Map);s(this,"_destroySubject",new xe)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Qm(dl(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=Qm(dl(n)).map(o=>this._registerQuery(o).observable),i=Kq(a);return i=ro(i.pipe(Qt(1)),i.pipe(sv(1),n$(0))),i.pipe(Mt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),i={observable:new nt(o=>{let l=c=>this._zone.run(()=>o.next(c));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(Rd(a),Mt(({matches:o})=>({query:n,matches:o})),ko(this._destroySubject)),mql:a};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Qm(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var vQ=(()=>{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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({providers:[vQ]}));let e=t;return e})(),jy=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return _Q(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=yQ(DQ(n));if(a&&(Xm(a)===-1||!this.isVisible(a)))return!1;let i=n.nodeName.toLowerCase(),o=Xm(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!CQ(n)?!1:i==="audio"?n.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,a){return IQ(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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function yQ(e){try{return e.frameElement}catch{return null}}function _Q(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function wQ(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function xQ(e){return SQ(e)&&e.type=="hidden"}function EQ(e){return kQ(e)&&e.hasAttribute("href")}function SQ(e){return e.nodeName.toLowerCase()=="input"}function kQ(e){return e.nodeName.toLowerCase()=="a"}function Vy(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Xm(e){if(!Vy(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function CQ(e){let t=e.nodeName.toLowerCase(),r=t==="input"&&e.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function IQ(e){return xQ(e)?!1:wQ(e)||EQ(e)||e.hasAttribute("contenteditable")||Vy(e)}function DQ(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var TQ=class{constructor(e,t,r,n,a=!1,i){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=r,this._document=n,this._injector=i,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 r=this._getFirstTabbableElement(t);return r==null||r.focus(e),!!r}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 r=0;r<t.length;r++){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):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 r=t.length-1;r>=0;r--){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):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?ph(e,{injector:this._injector}):setTimeout(e)}},NQ=(()=>{const t=class t{constructor(){s(this,"_checker",C(jy));s(this,"_ngZone",C(je));s(this,"_document",C(Le));s(this,"_injector",C(ot));C(qo).load(pQ)}create(n,a=!1){return new TQ(n,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),OQ=new K("liveAnnouncerElement",{providedIn:"root",factory:MQ});function MQ(){return null}var PQ=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),RQ=0,AQ=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_defaultOptions",C(PQ,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(Le));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(OQ,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let i=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=i&&i.politeness?i.politeness:"polite"),l==null&&i&&(l=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(c=this._currentResolve)==null||c.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var 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),i=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${RQ++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<a.length;i++){let o=a[i],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",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),na=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}(na||{}),Jm="cdk-high-contrast-black-on-white",ef="cdk-high-contrast-white-on-black",zu="cdk-high-contrast-active",zy=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(Le));s(this,"_breakpointSubscription");this._breakpointSubscription=C(Fy).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return na.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,i=a&&a.getComputedStyle?a.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return na.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return na.BLACK_ON_WHITE}return na.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(zu,Jm,ef),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===na.BLACK_ON_WHITE?n.add(zu,Jm):a===na.WHITE_ON_BLACK&&n.add(zu,ef)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),LQ=(()=>{const t=class t{constructor(){C(zy)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({imports:[bQ]}));let e=t;return e})(),Bu={},$o=(()=>{const t=class t{constructor(){s(this,"_appId",C(ch))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Bu.hasOwnProperty(n)||(Bu[n]=0),`${n}${Bu[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function By(e,...t){return t.length?t.some(r=>e[r]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var FQ=new K("cdk-dir-doc",{providedIn:"root",factory:jQ});function jQ(){return C(Le)}var VQ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function zQ(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?VQ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var hl=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Vt);let n=C(FQ,{optional:!0});if(n){let a=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=zQ(a||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),co=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({}));let e=t;return e})(),li=(()=>{const t=class t{constructor(){C(zy)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({imports:[co,co]}));let e=t;return e})(),sd=new K("MAT_DATE_LOCALE",{providedIn:"root",factory:BQ});function BQ(){return C(Kl)}var Na="Method not implemented",Hy=class{constructor(){s(this,"locale");s(this,"_localeChanges",new xe);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(Na)}getHours(e){throw new Error(Na)}getMinutes(e){throw new Error(Na)}getSeconds(e){throw new Error(Na)}parseTime(e,t){throw new Error(Na)}addSeconds(e,t){throw new Error(Na)}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 r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}},HQ=new K("mat-date-formats"),qQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({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
21
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),qn=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(qn||{}),ms,Qr;function qy(){if(Qr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Qr=!1,Qr;if("scrollBehavior"in document.documentElement.style)Qr=!0;else{let e=Element.prototype.scrollTo;e?Qr=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Qr=!1}}return Qr}function Ai(){if(typeof document!="object"||!document)return qn.NORMAL;if(ms==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 r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",e.appendChild(r),document.body.appendChild(e),ms=qn.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,ms=e.scrollLeft===0?qn.NEGATED:qn.INVERTED),e.remove()}return ms}function tf(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function _t(e){return e==null?"":typeof e=="string"?e:`${e}px`}var gn=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}(gn||{}),$Q=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",gn.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},nf=Gh({passive:!0,capture:!0}),UQ=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=yr(e);t&&((r=this._events.get(e.type))==null||r.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,r,n){let a=this._events.get(t);if(a){let i=a.get(r);i?i.add(n):a.set(r,new Set([n]))}else this._events.set(t,new Map([[r,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,nf)})}removeHandler(e,t,r){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(r),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,nf)))}},pl={enterDuration:225,exitDuration:150},GQ=800,rf=Gh({passive:!0,capture:!0}),af=["mousedown","touchstart"],of=["mouseup","mouseleave","touchend","touchcancel"],WQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({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}
|
|
@@ -26,13 +26,13 @@ ${t.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
|
|
|
26
26
|
`,VX=`@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
27
|
`,nu=(()=>{const t=class t extends l1{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})()),s(t,"ɵcmp",rt({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&&(Ln("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Wl(a.color?"mat-"+a.color:""),Pn("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:[En],ngContentSelectors:c1,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&&(xi(u1),Zt(0,"span",0),Zn(1),re(2,"span",1),Zn(3,1),ne(),Zn(4,2),Zt(5,"span",2)(6,"span",3)),n&2&&Pn("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
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})(),zX=(()=>{const t=class t extends FX{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})()),s(t,"ɵcmp",rt({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&&(Ln("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),Wl(a.color?"mat-"+a.color:""),Pn("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:[En],ngContentSelectors:c1,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&&(xi(u1),Zt(0,"span",0),Zn(1),re(2,"span",1),Zn(3,1),ne(),Zn(4,2),Zt(5,"span",2)(6,"span",3)),n&2&&Pn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[jX,VX],encapsulation:2,changeDetection:0}));let e=t;return e})(),Jh=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({imports:[li,QQ,li]}));let e=t;return e})(),d1=(()=>{const t=class t{constructor(){s(this,"changes",new xe);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,i)=>{if(i==0||a==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*a,l=o<i?Math.min(o+a,i):o+a;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ie=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}(Ie||{}),gr="*";function BX(e,t=null){return{type:Ie.Sequence,steps:e,options:t}}function xf(e){return{type:Ie.Style,styles:e,offset:null}}var fo=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(r=>r()),t.length=0}},h1=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,r=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==a&&this._onFinish()}),i.onDestroy(()=>{++r==a&&this._onDestroy()}),i.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,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(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r: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(r=>r()),t.length=0}},ep="!";function Ef(e){return new U(3e3,!1)}function HX(){return new U(3100,!1)}function qX(){return new U(3101,!1)}function $X(e){return new U(3001,!1)}function UX(e){return new U(3003,!1)}function GX(e){return new U(3004,!1)}function WX(e,t){return new U(3005,!1)}function ZX(){return new U(3006,!1)}function YX(){return new U(3007,!1)}function KX(e,t){return new U(3008,!1)}function QX(e){return new U(3002,!1)}function XX(e,t,r,n,a){return new U(3010,!1)}function JX(){return new U(3011,!1)}function eJ(){return new U(3012,!1)}function tJ(){return new U(3200,!1)}function nJ(){return new U(3202,!1)}function rJ(){return new U(3013,!1)}function aJ(e){return new U(3014,!1)}function iJ(e){return new U(3015,!1)}function oJ(e){return new U(3016,!1)}function sJ(e,t){return new U(3404,!1)}function lJ(e){return new U(3502,!1)}function uJ(e){return new U(3503,!1)}function cJ(){return new U(3300,!1)}function dJ(e){return new U(3504,!1)}function hJ(e){return new U(3301,!1)}function pJ(e,t){return new U(3302,!1)}function mJ(e){return new U(3303,!1)}function fJ(e,t){return new U(3400,!1)}function gJ(e){return new U(3401,!1)}function vJ(e){return new U(3402,!1)}function bJ(e,t){return new U(3505,!1)}function Mr(e){switch(e.length){case 0:return new fo;case 1:return e[0];default:return new h1(e)}}function p1(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(c=>{let u=c.get("offset"),d=u==o,m=d&&l||new Map;c.forEach((b,g)=>{let w=g,x=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case ep:x=r.get(g);break;case gr:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),d||i.push(m),l=m,o=u}),a.length)throw lJ();return i}function tp(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Yu(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Yu(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Yu(r,"destroy",e)));break}}function Yu(e,t,r){let n=r.totalTime,a=!!r.disabled,i=np(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(i._data=o),i}function np(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function ln(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Sf(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var yJ=typeof document>"u"?null:document.documentElement;function rp(e){let t=e.parentNode||e.host||null;return t===yJ?null:t}function _J(e){return e.substring(1,6)=="ebkit"}var Jr=null,kf=!1;function wJ(e){Jr||(Jr=xJ()||{},kf=Jr.style?"WebkitAppearance"in Jr.style:!1);let t=!0;return Jr.style&&!_J(e)&&(t=e in Jr.style,!t&&kf&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Jr.style)),t}function xJ(){return typeof document<"u"?document.body:null}function m1(e,t){for(;t;){if(t===e)return!0;t=rp(t)}return!1}function f1(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var EJ=1e3,g1="{{",SJ="}}",v1="ng-enter",ud="ng-leave",gs="ng-trigger",fl=".ng-trigger",Cf="ng-animating",cd=".ng-animating";function pr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:dd(parseFloat(t[1]),t[2])}function dd(e,t){switch(t){case"s":return e*EJ;default:return e}}function gl(e,t,r){return e.hasOwnProperty("duration")?e:kJ(e,t,r)}function kJ(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ef()),{duration:0,delay:0,easing:""};a=dd(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(i=dd(parseFloat(c),l[4]));let u=l[5];u&&(o=u)}else a=e;if(!r){let l=!1,c=t.length;a<0&&(t.push(HX()),l=!0),i<0&&(t.push(qX()),l=!0),l&&t.splice(c,0,Ef())}return{duration:a,delay:i,easing:o}}function CJ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function $n(e,t,r){t.forEach((n,a)=>{let i=ap(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function sa(e,t){t.forEach((r,n)=>{let a=ap(n);e.style[a]=""})}function Li(e){return Array.isArray(e)?e.length==1?e[0]:BX(e):e}function IJ(e,t,r){let n=t.params||{},a=b1(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push($X())})}var hd=new RegExp(`${g1}\\s*(.+?)\\s*${SJ}`,"g");function b1(e){let t=[];if(typeof e=="string"){let r;for(;r=hd.exec(e);)t.push(r[1]);hd.lastIndex=0}return t}function go(e,t,r){let n=`${e}`,a=n.replace(hd,(i,o)=>{let l=t[o];return l==null&&(r.push(UX()),l=""),l.toString()});return a==n?e:a}var DJ=/-+([a-z0-9])/g;function ap(e){return e.replace(DJ,(...t)=>t[1].toUpperCase())}function TJ(e,t){return e===0||t===0}function NJ(e,t,r){if(r.size&&t.length){let n=t[0],a=[];if(r.forEach((i,o)=>{n.has(o)||a.push(o),n.set(o,i)}),a.length)for(let i=1;i<t.length;i++){let o=t[i];a.forEach(l=>o.set(l,ip(e,l)))}}return t}function on(e,t,r){switch(t.type){case Ie.Trigger:return e.visitTrigger(t,r);case Ie.State:return e.visitState(t,r);case Ie.Transition:return e.visitTransition(t,r);case Ie.Sequence:return e.visitSequence(t,r);case Ie.Group:return e.visitGroup(t,r);case Ie.Animate:return e.visitAnimate(t,r);case Ie.Keyframes:return e.visitKeyframes(t,r);case Ie.Style:return e.visitStyle(t,r);case Ie.Reference:return e.visitReference(t,r);case Ie.AnimateChild:return e.visitAnimateChild(t,r);case Ie.AnimateRef:return e.visitAnimateRef(t,r);case Ie.Query:return e.visitQuery(t,r);case Ie.Stagger:return e.visitStagger(t,r);default:throw GX(t.type)}}function ip(e,t){return window.getComputedStyle(e)[t]}var OJ=(()=>{const t=class t{validateStyleProperty(n){return wJ(n)}containsElement(n,a){return m1(n,a)}getParentElement(n){return rp(n)}query(n,a,i){return f1(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,c=[],u){return new fo(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),cc,y1=(cc=class{},s(cc,"NOOP",new OJ),cc),op=class{},MJ=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"]),PJ=class extends op{normalizePropertyName(e,t){return ap(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(MJ.has(t)&&r!==0&&r!=="0")if(typeof r=="number")a="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(WX())}return i+a}},vl="*";function RJ(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>AJ(n,r,t)):r.push(e),r}function AJ(e,t,r){if(e[0]==":"){let c=LJ(e,r);if(typeof c=="function"){t.push(c);return}e=c}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(iJ()),t;let a=n[1],i=n[2],o=n[3];t.push(If(a,o));let l=a==vl&&o==vl;i[0]=="<"&&!l&&t.push(If(o,a))}function LJ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(oJ()),"* => *"}}var vs=new Set(["true","1"]),bs=new Set(["false","0"]);function If(e,t){let r=vs.has(e)||bs.has(e),n=vs.has(t)||bs.has(t);return(a,i)=>{let o=e==vl||e==a,l=t==vl||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?vs.has(e):bs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?vs.has(t):bs.has(t)),o&&l}}var _1=":self",FJ=new RegExp(`s*${_1}s*,?`,"g");function w1(e,t,r,n){return new jJ(e).build(t,r,n)}var Df="",jJ=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new BJ(t);return this._resetContextStyleTimingState(n),on(this,Li(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Df,e.collectedStyles=new Map,e.collectedStyles.set(Df,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,a=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(ZX()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ie.State){let l=o,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,a.push(this.visitState(l,t))}),l.name=c}else if(o.type==Ie.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(YX())}),{type:Ie.Trigger,name:e.name,states:a,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let a=new Set,i=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{b1(l).forEach(c=>{i.hasOwnProperty(c)||a.add(c)})})}),a.size&&t.errors.push(KX(e.name,[...a.values()]))}return{type:Ie.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=on(this,Li(e.animation),t),n=RJ(e.expr,t.errors);return{type:Ie.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:ea(e.options)}}visitSequence(e,t){return{type:Ie.Sequence,steps:e.steps.map(r=>on(this,r,t)),options:ea(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=on(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ie.Group,steps:a,options:ea(e.options)}}visitAnimate(e,t){let r=qJ(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:xf({});if(a.type==Ie.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let c={};r.easing&&(c.easing=r.easing),i=xf(c)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ie.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===gr?r.push(o):t.errors.push(QX()):r.push(new Map(Object.entries(o)));let a=!1,i=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(g1)>=0){a=!0;break}}}),{type:Ie.Style,styles:r,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l),d=!0;u&&(a!=n&&a>=u.startTime&&n<=u.endTime&&(t.errors.push(XX(l,u.startTime,u.endTime)),d=!1),a=u.startTime),d&&c.set(l,{startTime:a,endTime:n}),t.options&&IJ(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:Ie.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(JX()),r;let n=1,a=0,i=[],o=!1,l=!1,c=0,u=e.steps.map(S=>{let T=this._makeStyleAst(S,t),R=T.offset!=null?T.offset:HJ(T.styles),O=0;return R!=null&&(a++,O=T.offset=R),l=l||O<0||O>1,o=o||O<c,c=O,i.push(O),T});l&&t.errors.push(eJ()),o&&t.errors.push(tJ());let d=e.steps.length,m=0;a>0&&a<d?t.errors.push(nJ()):a==0&&(m=n/(d-1));let b=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,T)=>{let R=m>0?T==b?1:m*T:i[T],O=R*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(S,t),S.offset=R,r.styles.push(S)}),r}visitReference(e,t){return{type:Ie.Reference,animation:on(this,Li(e.animation),t),options:ea(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ie.AnimateChild,options:ea(e.options)}}visitAnimateRef(e,t){return{type:Ie.AnimateRef,animation:this.visitReference(e.animation,t),options:ea(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=VJ(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,ln(t.collectedStyles,t.currentQuerySelector,new Map);let o=on(this,Li(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Ie.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:ea(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(rJ());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:gl(e.timings,t.errors,!0);return{type:Ie.Stagger,animation:on(this,Li(e.animation),t),timings:r,options:null}}};function VJ(e){let t=!!e.split(/\s*,\s*/).find(r=>r==_1);return t&&(e=e.replace(FJ,"")),e=e.replace(/@\*/g,fl).replace(/@\w+/g,r=>fl+"-"+r.slice(1)).replace(/:animating/g,cd),[e,t]}function zJ(e){return e?se({},e):null}var BJ=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 HJ(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function qJ(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=gl(e,t).duration;return Ku(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Ku(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=gl(r,t);return Ku(n.duration,n.delay,n.easing)}function ea(e){return e?(e=se({},e),e.params&&(e.params=zJ(e.params))):e={},e}function Ku(e,t,r){return{duration:e,delay:t,easing:r}}function sp(e,t,r,n,a,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:l}}var lp=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},$J=1,UJ=":enter",GJ=new RegExp(UJ,"g"),WJ=":leave",ZJ=new RegExp(WJ,"g");function x1(e,t,r,n,a,i=new Map,o=new Map,l,c,u=[]){return new YJ().buildKeyframes(e,t,r,n,a,i,o,l,c,u)}var YJ=class{buildKeyframes(e,t,r,n,a,i,o,l,c,u=[]){c=c||new lp;let d=new KJ(e,t,c,n,a,u,[]);d.options=l;let m=l.delay?pr(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),on(this,r,d);let b=d.timelines.filter(g=>g.containsAnimation());if(b.length&&o.size){let g;for(let w=b.length-1;w>=0;w--){let x=b[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[sp(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let a=n==null?void 0:n.delay;if(a){let i=typeof a=="number"?a:pr(go(a,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,a=r.duration!=null?pr(r.duration):null,i=r.delay!=null?pr(r.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),on(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=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==Ie.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bl);let i=pr(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>on(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?pr(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),on(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?go(r,t.params,t.errors):r;return gl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let a=e.style;a.type==Ie.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,a=r.duration,i=t.createSubContext().currentTimeline;i.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*a),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?pr(n.delay):0;a&&(t.previousNode.type===Ie.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bl);let i=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((c,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(e.options,c);a&&d.delayNextStep(a),c===t.element&&(l=d.currentTimeline),on(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;on(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},bl={},KJ=class E1{constructor(t,r,n,a,i,o,l,c){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",bl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=c||new S1(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=pr(n.duration)),n.delay!=null&&(a.delay=pr(n.delay));let i=n.params;if(i){let o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=go(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(a=>{n[a]=r[a]})}}return t}createSubContext(t=null,r,n){let a=r||this.element,i=new E1(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=bl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let a={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new QJ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,a,i,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(GJ,"."+this._enterClassName),t=t.replace(ZJ,"."+this._leaveClassName);let c=n!=1,u=this._driver.query(this.element,t,c);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!i&&l.length==0&&o.push(aJ()),l}},S1=class k1{constructor(t,r,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=r,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,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 r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new k1(this._driver,t,r||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+=$J,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||gr),this._currentKeyframe.set(r,gr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=XJ(t,this._globalTimelineStyles);for(let[l,c]of o){let u=go(c,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??gr),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let a=this._styleSummary.get(n);(!a||r.time>a.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,c)=>{let u=new Map([...this._backFill,...l]);u.forEach((d,m)=>{d===ep?t.add(m):d===gr&&r.add(m)}),n||u.set("offset",c/this.duration),a.push(u)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],c=new Map(l);l.set("offset",0),c.set("offset",1),a=[l,c]}return sp(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},QJ=class extends S1{constructor(t,r,n,a,i,o,l=!1){super(t,r,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=i,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:r,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&r){let i=[],o=n+r,l=r/o,c=new Map(t[0]);c.set("offset",0),i.push(c);let u=new Map(t[0]);u.set("offset",Tf(l)),i.push(u);let d=t.length-1;for(let m=1;m<=d;m++){let b=new Map(t[m]),g=b.get("offset"),w=r+g*n;b.set("offset",Tf(w/o)),i.push(b)}n=o,r=0,a="",t=i}return sp(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function Tf(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function XJ(e,t){let r=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let i of n)r.set(i,gr)}else for(let[i,o]of a)r.set(i,o)}),r}function Nf(e,t,r,n,a,i,o,l,c,u,d,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:c,preStyleProps:u,postStyleProps:d,totalTime:m,errors:b}}var Qu={},C1=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return JJ(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,a,i,o,l,c,u){var St;let d=[],m=this.ast.options&&this.ast.options.params||Qu,b=o&&o.params||Qu,g=this.buildStyles(r,b,d),w=l&&l.params||Qu,x=this.buildStyles(n,w,d),S=new Set,T=new Map,R=new Map,O=n==="void",Y={params:I1(w,m),delay:(St=this.ast.options)==null?void 0:St.delay},ie=u?[]:x1(e,t,this.ast.animation,a,i,g,x,Y,c,d),me=0;return ie.forEach(ut=>{me=Math.max(ut.duration+ut.delay,me)}),d.length?Nf(t,this._triggerName,r,n,O,g,x,[],[],T,R,me,d):(ie.forEach(ut=>{let We=ut.element,vt=ln(T,We,new Set);ut.preStyleProps.forEach(H=>vt.add(H));let Z=ln(R,We,new Set);ut.postStyleProps.forEach(H=>Z.add(H)),We!==t&&S.add(We)}),Nf(t,this._triggerName,r,n,O,g,x,ie,[...S.values()],T,R,me))}};function JJ(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function I1(e,t){let r=se({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var eee=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=I1(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=go(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function tee(e,t,r){return new nee(e,t,r)}var nee=class{constructor(e,t,r){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=r,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new eee(n.style,a,r))}),Of(this.states,"true","1"),Of(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new C1(e,n,this.states))}),this.fallbackTransition=ree(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(a=>a.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function ree(e,t,r){let n=[(o,l)=>!0],a={type:Ie.Sequence,steps:[],options:null},i={type:Ie.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new C1(e,i,t)}function Of(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var aee=new lp,iee=class{constructor(e,t,r){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=r}register(e,t){let r=[],n=[],a=w1(this._driver,t,r,n);if(r.length)throw uJ();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=p1(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],a=this._animations.get(e),i,o=new Map;if(a?(i=x1(this._driver,t,a,v1,ud,new Map,new Map,r,aee,n),i.forEach(u=>{let d=ln(o,u.element,new Map);u.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(cJ()),i=[]),n.length)throw dJ();o.forEach((u,d)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(d,b,gr))})});let l=i.map(u=>{let d=o.get(u.element);return this._buildPlayer(u,new Map,d)}),c=Mr(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw hJ();return t}listen(e,t,r,n){let a=np(t,"","","");return tp(this._getPlayer(e),r,a,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let a=this._getPlayer(e);switch(r){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}}},Mf="ng-animate-queued",oee=".ng-animate-queued",Xu="ng-animate-disabled",see=".ng-animate-disabled",lee="ng-star-inserted",uee=".ng-star-inserted",cee=[],D1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dee={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed",pd=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=fee(n),r){let a=e,{value:i}=a,o=lH(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 r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},Qi="void",Ju=new pd(Qi),hee=class{constructor(e,t,r){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=r,this._hostClassName="ng-tns-"+e,vn(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw pJ();if(r==null||r.length==0)throw mJ();if(!gee(r))throw fJ();let a=ln(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=ln(this._engine.statesByElement,e,new Map);return o.has(t)||(vn(e,gs),vn(e,gs+"-"+t),o.set(t,Ju)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(i);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 gJ();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new md(this.id,t,e),o=this._engine.statesByElement.get(e);o||(vn(e,gs),vn(e,gs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),c=new pd(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),o.set(t,c),l||(l=Ju),c.value!==Qi&&l.value===c.value){if(!yee(l.params,c.params)){let b=[],g=a.matchStyles(l.value,l.params,b),w=a.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{sa(e,g),$n(e,w)})}return}let u=ln(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let d=a.matchTransition(l.value,c.value,e,c.params),m=!1;if(!d){if(!n)return;d=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:c,player:i,isFallbackTransition:m}),m||(vn(e,Mf),i.onStart(()=>{Pa(e,Mf)})),i.onDone(()=>{let b=this.players.indexOf(i);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),u.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,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(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,fl,!0);r.forEach(n=>{if(n[Dn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let a=this._engine.statesByElement.get(e),i=new Map;if(a){let o=[];if(a.forEach((l,c)=>{if(i.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Qi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&Mr(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(a=>{let i=a.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=r.get(i)||Ju,c=new pd(Qi),u=new md(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let a=e[Dn];(!a||a===D1)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){vn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let a=r.element,i=this._elementListeners.get(a);i&&i.forEach(o=>{if(o.name==r.triggerName){let l=np(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,tp(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let a=r.transition.ast.depCount,i=n.transition.ast.depCount;return a==0||i==0?a-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},pee=class{constructor(e,t,r){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=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new hee(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),a=!0;break}i=this.driver.getParentElement(i)}a||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,r,n){if(ys(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!ys(t))return;let a=t[Dn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),vn(e,Xu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Pa(e,Xu))}removeNode(e,t,r){if(ys(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,a){this.collectedLeaveElements.push(t),t[Dn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return ys(t)?this._fetchNamespace(e).listen(t,r,n,a):()=>{}}_buildInstruction(e,t,r,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,fl,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,cd,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Mr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[Dn];if(t&&t.setForRemoval){if(e[Dn]=D1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(Xu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,see,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];vn(n,lee)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Mr(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw vJ()}_flushAnimations(e,t){let r=new lp,n=[],a=new Map,i=[],o=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(L=>{u.add(L);let j=this.driver.query(L,oee,!0);for(let G=0;G<j.length;G++)u.add(j[G])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=Af(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((L,j)=>{let G=v1+w++;g.set(j,G),L.forEach(Se=>vn(Se,G))});let x=[],S=new Set,T=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let j=this.collectedLeaveElements[L],G=j[Dn];G&&G.setForRemoval&&(x.push(j),S.add(j),G.hasAnimation?this.driver.query(j,uee,!0).forEach(Se=>S.add(Se)):T.add(j))}let R=new Map,O=Af(m,Array.from(S));O.forEach((L,j)=>{let G=ud+w++;R.set(j,G),L.forEach(Se=>vn(Se,G))}),e.push(()=>{b.forEach((L,j)=>{let G=g.get(j);L.forEach(Se=>Pa(Se,G))}),O.forEach((L,j)=>{let G=R.get(j);L.forEach(Se=>Pa(Se,G))}),x.forEach(L=>{this.processLeaveNode(L)})});let Y=[],ie=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(j=>{let G=j.player,Se=j.element;if(Y.push(G),this.collectedEnterElements.length){let Ze=Se[Dn];if(Ze&&Ze.setForMove){if(Ze.previousTriggersValues&&Ze.previousTriggersValues.has(j.triggerName)){let jt=Ze.previousTriggersValues.get(j.triggerName),kt=this.statesByElement.get(j.element);if(kt&&kt.has(j.triggerName)){let jn=kt.get(j.triggerName);jn.value=jt,kt.set(j.triggerName,jn)}}G.destroy();return}}let qe=!d||!this.driver.containsElement(d,Se),Ft=R.get(Se),Te=g.get(Se),Pe=this._buildInstruction(j,r,Te,Ft,qe);if(Pe.errors&&Pe.errors.length){ie.push(Pe);return}if(qe){G.onStart(()=>sa(Se,Pe.fromStyles)),G.onDestroy(()=>$n(Se,Pe.toStyles)),n.push(G);return}if(j.isFallbackTransition){G.onStart(()=>sa(Se,Pe.fromStyles)),G.onDestroy(()=>$n(Se,Pe.toStyles)),n.push(G);return}let et=[];Pe.timelines.forEach(Ze=>{Ze.stretchStartingKeyframe=!0,this.disabledNodes.has(Ze.element)||et.push(Ze)}),Pe.timelines=et,r.append(Se,Pe.timelines);let Sn={instruction:Pe,player:G,element:Se};i.push(Sn),Pe.queriedElements.forEach(Ze=>ln(o,Ze,[]).push(G)),Pe.preStyleProps.forEach((Ze,jt)=>{if(Ze.size){let kt=l.get(jt);kt||l.set(jt,kt=new Set),Ze.forEach((jn,Cr)=>kt.add(Cr))}}),Pe.postStyleProps.forEach((Ze,jt)=>{let kt=c.get(jt);kt||c.set(jt,kt=new Set),Ze.forEach((jn,Cr)=>kt.add(Cr))})});if(ie.length){let L=[];ie.forEach(j=>{L.push(bJ(j.triggerName,j.errors))}),Y.forEach(j=>j.destroy()),this.reportError(L)}let me=new Map,St=new Map;i.forEach(L=>{let j=L.element;r.has(j)&&(St.set(j,j),this._beforeAnimationBuild(L.player.namespaceId,L.instruction,me))}),n.forEach(L=>{let j=L.element;this._getPreviousPlayers(j,!1,L.namespaceId,L.triggerName,null).forEach(G=>{ln(me,j,[]).push(G),G.destroy()})});let ut=x.filter(L=>Lf(L,l,c)),We=new Map;Rf(We,this.driver,T,c,gr).forEach(L=>{Lf(L,l,c)&&ut.push(L)});let vt=new Map;b.forEach((L,j)=>{Rf(vt,this.driver,new Set(L),l,ep)}),ut.forEach(L=>{let j=We.get(L),G=vt.get(L);We.set(L,new Map([...(j==null?void 0:j.entries())??[],...(G==null?void 0:G.entries())??[]]))});let Z=[],H=[],ge={};i.forEach(L=>{let{element:j,player:G,instruction:Se}=L;if(r.has(j)){if(u.has(j)){G.onDestroy(()=>$n(j,Se.toStyles)),G.disabled=!0,G.overrideTotalTime(Se.totalTime),n.push(G);return}let qe=ge;if(St.size>1){let Te=j,Pe=[];for(;Te=Te.parentNode;){let et=St.get(Te);if(et){qe=et;break}Pe.push(Te)}Pe.forEach(et=>St.set(et,qe))}let Ft=this._buildAnimation(G.namespaceId,Se,me,a,vt,We);if(G.setRealPlayer(Ft),qe===ge)Z.push(G);else{let Te=this.playersByElement.get(qe);Te&&Te.length&&(G.parentPlayer=Mr(Te)),n.push(G)}}else sa(j,Se.fromStyles),G.onDestroy(()=>$n(j,Se.toStyles)),H.push(G),u.has(j)&&n.push(G)}),H.forEach(L=>{let j=a.get(L.element);if(j&&j.length){let G=Mr(j);L.setRealPlayer(G)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let j=x[L],G=j[Dn];if(Pa(j,ud),G&&G.hasAnimation)continue;let Se=[];if(o.size){let Ft=o.get(j);Ft&&Ft.length&&Se.push(...Ft);let Te=this.driver.query(j,cd,!0);for(let Pe=0;Pe<Te.length;Pe++){let et=o.get(Te[Pe]);et&&et.length&&Se.push(...et)}}let qe=Se.filter(Ft=>!Ft.destroyed);qe.length?vee(this,j,qe):this.processLeaveNode(j)}return x.length=0,Z.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let j=this.players.indexOf(L);this.players.splice(j,1)}),L.play()}),Z}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,a){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==Qi;o.forEach(c=>{c.queued||!l&&c.triggerName!=n||i.push(c)})}}return(r||n)&&(i=i.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let c=l.element,u=c!==a,d=ln(r,c,[]);this._getPreviousPlayers(c,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),d.push(m)})}sa(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;u.add(w);let x=w[Dn];if(x&&x.removedBeforeQueried)return new fo(g.duration,g.delay);let S=w!==l,T=bee((r.get(w)||cee).map(me=>me.getRealPlayer())).filter(me=>{let St=me;return St.element?St.element===w:!1}),R=a.get(w),O=i.get(w),Y=p1(this._normalizer,g.keyframes,R,O),ie=this._buildPlayer(g,Y,T);if(g.subTimeline&&n&&d.add(w),S){let me=new md(e,o,w);me.setRealPlayer(ie),c.push(me)}return ie});c.forEach(g=>{ln(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>mee(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>vn(g,Cf));let b=Mr(m);return b.onDestroy(()=>{u.forEach(g=>Pa(g,Cf)),$n(l,t.toStyles)}),d.forEach(g=>{ln(n,g,[]).push(b)}),b}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new fo(e.duration,e.delay)}},md=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new fo);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=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>tp(e,r,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){ln(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 mee(e,t,r){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(r);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function fee(e){return e??null}function ys(e){return e&&e.nodeType===1}function gee(e){return e=="start"||e=="done"}function Pf(e,t){let r=e.style.display;return e.style.display=t??"none",r}function Rf(e,t,r,n,a){let i=[];r.forEach(c=>i.push(Pf(c)));let o=[];n.forEach((c,u)=>{let d=new Map;c.forEach(m=>{let b=t.computeStyle(u,m,a);d.set(m,b),(!b||b.length==0)&&(u[Dn]=dee,o.push(u))}),e.set(u,d)});let l=0;return r.forEach(c=>Pf(c,i[l++])),o}function Af(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,a=new Set(t),i=new Map;function o(l){if(!l)return n;let c=i.get(l);if(c)return c;let u=l.parentNode;return r.has(u)?c=u:a.has(u)?c=n:c=o(u),i.set(l,c),c}return t.forEach(l=>{let c=o(l);c!==n&&r.get(c).push(l)}),r}function vn(e,t){var r;(r=e.classList)==null||r.add(t)}function Pa(e,t){var r;(r=e.classList)==null||r.remove(t)}function vee(e,t,r){Mr(r).onDone(()=>e.processLeaveNode(t))}function bee(e){let t=[];return T1(e,t),t}function T1(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof h1?T1(n.players,t):t.push(n)}}function yee(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let a=0;a<r.length;a++){let i=r[a];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function Lf(e,t,r){let n=r.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(i=>a.add(i)):t.set(e,n),r.delete(e),!0}var fd=class{constructor(e,t,r){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=r,this._transitionEngine=new pee(e.body,t,r),this._timelineEngine=new iee(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,r,n,a){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],c=[],u=w1(this._driver,a,l,c);if(l.length)throw sJ();o=tee(n,u,this._normalizer),this._triggerCache[i]=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,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[a,i]=Sf(r),o=n;this._timelineEngine.command(a,t,i,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,a){if(r.charAt(0)=="@"){let[i,o]=Sf(r);return this._timelineEngine.listen(i,t,o,a)}return this._transitionEngine.listen(e,t,r,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 _ee(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=ec(t[0]),t.length>1&&(n=ec(t[t.length-1]))):t instanceof Map&&(r=ec(t)),r||n?new wee(e,r,n):null}var wee=(()=>{const t=class t{constructor(n,a,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&$n(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($n(this._element,this._initialStyles),this._endStyles&&($n(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(sa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sa(this._element,this._endStyles),this._endStyles=null),$n(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function ec(e){let t=null;return e.forEach((r,n)=>{xee(n)&&(t=t||new Map,t.set(n,r))}),t}function xee(e){return e==="display"||e==="position"}var Ff=class{constructor(e,t,r,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=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.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(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}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,r)=>{r!=="offset"&&e.set(r,this._finished?t:ip(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Eee=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return m1(e,t)}getParentElement(e){return rp(e)}query(e,t,r){return f1(e,t,r)}computeStyle(e,t,r){return ip(e,t)}animate(e,t,r,n,a,i=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};a&&(l.easing=a);let c=new Map,u=i.filter(b=>b instanceof Ff);TJ(r,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>c.set(w,g))});let d=CJ(t).map(b=>new Map(b));d=NJ(e,d,c);let m=_ee(e,d);return new Ff(e,d,l,m)}},js="@",N1="@.disabled",O1=class{constructor(e,t,r,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=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.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,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){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,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==js&&t==N1?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},See=class extends O1{constructor(t,r,n,a,i){super(r,n,a,i);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==js?r.charAt(1)=="."&&r==N1?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,a){if(r.charAt(0)==js){let i=kee(t),o=r.slice(1),l="";return o.charAt(0)!=js&&([o,l]=Cee(o)),this.engine.listen(this.namespaceId,i,o,l,c=>{let u=c._data||-1;this.factory.scheduleListenerCallback(u,n,c)})}return this.delegate.listen(t,r,n,a)}};function kee(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Cee(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var Iee=class{constructor(e,t,r){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=r,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let c=this._rendererCache,u=c.get(n);if(!u){let d=()=>c.delete(n);u=new O1(r,n,this.engine,d),c.set(n,u)}return u}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=c=>{Array.isArray(c)?c.forEach(o):this.engine.registerTrigger(a,i,e,c.name,c)};return t.data.animation.forEach(o),new See(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[i,o]=a;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}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,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},Dee=(()=>{const t=class t extends fd{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(y1),te(op))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function Tee(){return new PJ}function Nee(e,t,r){return new Iee(e,t,r)}var Oee=[{provide:op,useFactory:Tee},{provide:fd,useClass:Dee},{provide:An,useFactory:Nee,deps:[td,fd,je]}],Mee=[{provide:y1,useFactory:()=>new Eee},{provide:bi,useFactory:()=>"BrowserAnimations"},...Oee];function Pee(){return wa("NgEagerAnimations"),[...Mee]}var Ree=(()=>{const t=class t extends d1{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*i,c=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${c} / ${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)(te(kr))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),M1=6048e5,Aee=864e5,Lee=6e4,Fee=36e5,jee=1e3,jf=Symbol.for("constructDateFrom");function Nt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&jf in e?e[jf](t):e instanceof Date?new e.constructor(t):new Date(t)}function It(e,t){return Nt(t||e,e)}function P1(e,t,r){let n=It(e,r==null?void 0:r.in);return isNaN(t)?Nt((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Vee={};function Ci(){return Vee}function $r(e,t){var l,c,u,d;let r=Ci(),n=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((d=(u=r.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,a=It(e,t==null?void 0:t.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function ui(e,t){return $r(e,Yt(se({},t),{weekStartsOn:1}))}function R1(e,t){let r=It(e,t==null?void 0:t.in),n=r.getFullYear(),a=Nt(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=ui(a),o=Nt(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=ui(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function yl(e){let t=It(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function zee(e,...t){let r=Nt.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Vf(e,t){let r=It(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function Bee(e,t,r){let[n,a]=zee(r==null?void 0:r.in,e,t),i=Vf(n),o=Vf(a),l=+i-yl(i),c=+o-yl(o);return Math.round((l-c)/Aee)}function Hee(e,t){let r=R1(e,t),n=Nt(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),ui(n)}function qee(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $ee(e){return!(!qee(e)&&typeof e!="number"||isNaN(+It(e)))}function Uee(e,t){let r=It(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var Gee={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"}},Wee=(e,t,r)=>{let n,a=Gee[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function tc(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Zee={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Yee={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kee={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qee={date:tc({formats:Zee,defaultWidth:"full"}),time:tc({formats:Yee,defaultWidth:"full"}),dateTime:tc({formats:Kee,defaultWidth:"full"})},Xee={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Jee=(e,t,r,n)=>Xee[e];function Fi(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}var ete={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},tte={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},nte={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"]},rte={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"]},ate={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"}},ite={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"}},ote=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},ste={ordinalNumber:ote,era:Fi({values:ete,defaultWidth:"wide"}),quarter:Fi({values:tte,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Fi({values:nte,defaultWidth:"wide"}),day:Fi({values:rte,defaultWidth:"wide"}),dayPeriod:Fi({values:ate,defaultWidth:"wide",formattingValues:ite,defaultFormattingWidth:"wide"})};function ji(e){return(t,r={})=>{let n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?ute(l,m=>m.test(o)):lte(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(c):c,u=r.valueCallback?r.valueCallback(u):u;let d=t.slice(o.length);return{value:u,rest:d}}}function lte(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function ute(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function cte(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var dte=/^(\d+)(th|st|nd|rd)?/i,hte=/\d+/i,pte={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},mte={any:[/^b/i,/^(a|c)/i]},fte={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gte={any:[/1/i,/2/i,/3/i,/4/i]},vte={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},bte={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]},yte={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},_te={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]},wte={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},xte={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}},Ete={ordinalNumber:cte({matchPattern:dte,parsePattern:hte,valueCallback:e=>parseInt(e,10)}),era:ji({matchPatterns:pte,defaultMatchWidth:"wide",parsePatterns:mte,defaultParseWidth:"any"}),quarter:ji({matchPatterns:fte,defaultMatchWidth:"wide",parsePatterns:gte,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ji({matchPatterns:vte,defaultMatchWidth:"wide",parsePatterns:bte,defaultParseWidth:"any"}),day:ji({matchPatterns:yte,defaultMatchWidth:"wide",parsePatterns:_te,defaultParseWidth:"any"}),dayPeriod:ji({matchPatterns:wte,defaultMatchWidth:"any",parsePatterns:xte,defaultParseWidth:"any"})},A1={code:"en-US",formatDistance:Wee,formatLong:Qee,formatRelative:Jee,localize:ste,match:Ete,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ste(e,t){let r=It(e,t==null?void 0:t.in);return Bee(r,Uee(r))+1}function L1(e,t){let r=It(e,t==null?void 0:t.in),n=+ui(r)-+Hee(r);return Math.round(n/M1)+1}function up(e,t){var d,m,b,g;let r=It(e,t==null?void 0:t.in),n=r.getFullYear(),a=Ci(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=Nt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=$r(o,t),c=Nt((t==null?void 0:t.in)||e,0);c.setFullYear(n,0,i),c.setHours(0,0,0,0);let u=$r(c,t);return+r>=+l?n+1:+r>=+u?n:n-1}function kte(e,t){var o,l,c,u;let r=Ci(),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)??r.firstWeekContainsDate??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,a=up(e,t),i=Nt((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),$r(i,t)}function F1(e,t){let r=It(e,t==null?void 0:t.in),n=+$r(r,t)-+kte(r,t);return Math.round(n/M1)+1}function ze(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var Tr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return ze(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):ze(r+1,2)},d(e,t){return ze(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="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 r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return ze(a,t.length)}},Oa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},zf={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Tr.y(e,t)},Y:function(e,t,r,n){let a=up(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return ze(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):ze(i,t.length)},R:function(e,t){let r=R1(e);return ze(r,t.length)},u:function(e,t){let r=e.getFullYear();return ze(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ze(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ze(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return Tr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return ze(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=F1(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):ze(a,t.length)},I:function(e,t,r){let n=L1(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):ze(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Tr.d(e,t)},D:function(e,t,r){let n=Ste(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):ze(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ze(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ze(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){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 r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),a;switch(n===12?a=Oa.noon:n===0?a=Oa.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),a;switch(n>=17?a=Oa.evening:n>=12?a=Oa.afternoon:n>=4?a=Oa.morning:a=Oa.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Tr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Tr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Tr.s(e,t)},S:function(e,t){return Tr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Hf(n);case"XXXX":case"XX":return ra(n);case"XXXXX":case"XXX":default:return ra(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return Hf(n);case"xxxx":case"xx":return ra(n);case"xxxxx":case"xxx":default:return ra(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Bf(n,":");case"OOOO":default:return"GMT"+ra(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Bf(n,":");case"zzzz":default:return"GMT"+ra(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return ze(n,t.length)},T:function(e,t,r){return ze(+e,t.length)}};function Bf(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+ze(i,2)}function Hf(e,t){return e%60===0?(e>0?"-":"+")+ze(Math.abs(e)/60,2):ra(e,t)}function ra(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=ze(Math.trunc(n/60),2),i=ze(n%60,2);return r+a+t+i}var qf=(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"})}},j1=(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"})}},Cte=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return qf(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",qf(n,t)).replace("{{time}}",j1(a,t))},gd={p:j1,P:Cte},Ite=/^D+$/,Dte=/^Y+$/,Tte=["D","DD","YY","YYYY"];function V1(e){return Ite.test(e)}function z1(e){return Dte.test(e)}function vd(e,t,r){let n=Nte(e,t,r);if(console.warn(n),Tte.includes(e))throw new RangeError(n)}function Nte(e,t,r){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 \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Ote=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mte=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pte=/^'([^]*?)'?$/,Rte=/''/g,Ate=/[a-zA-Z]/;function B1(e,t,r){var d,m,b,g,w,x,S,T;let n=Ci(),a=(r==null?void 0:r.locale)??n.locale??A1,i=(r==null?void 0:r.firstWeekContainsDate)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((x=(w=r==null?void 0:r.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((T=(S=n.locale)==null?void 0:S.options)==null?void 0:T.weekStartsOn)??0,l=It(e,r==null?void 0:r.in);if(!$ee(l))throw new RangeError("Invalid time value");let c=t.match(Mte).map(R=>{let O=R[0];if(O==="p"||O==="P"){let Y=gd[O];return Y(R,a.formatLong)}return R}).join("").match(Ote).map(R=>{if(R==="''")return{isToken:!1,value:"'"};let O=R[0];if(O==="'")return{isToken:!1,value:Lte(R)};if(zf[O])return{isToken:!0,value:R};if(O.match(Ate))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:R}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return c.map(R=>{if(!R.isToken)return R.value;let O=R.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&z1(O)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&V1(O))&&vd(O,t,String(e));let Y=zf[O[0]];return Y(l,O,a.localize,u)}).join("")}function Lte(e){let t=e.match(Pte);return t?t[1].replace(Rte,"'"):e}function H1(){return Object.assign({},Ci())}function Fte(e,t){let r=It(e,t==null?void 0:t.in).getDay();return r===0?7:r}function jte(e,t){let r=Vte(t)?new t(0):Nt(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function Vte(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var zte=10,q1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Bte=class extends q1{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},Hte=class extends q1{constructor(t,r){super();s(this,"priority",zte);s(this,"subPriority",-1);this.context=t||(n=>Nt(r,n))}set(t,r){return r.timestampIsSet?t:Nt(t,jte(t,this.context))}},Fe=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new Bte(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},qte=class extends Fe{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){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,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},pt={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}/},Un={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 mt(e,t){return e&&{value:t(e.value),rest:e.rest}}function tt(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Gn(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*Fee+i*Lee+o*jee),rest:t.slice(r[0].length)}}function $1(e){return tt(pt.anyDigitsSigned,e)}function st(e,t){switch(e){case 1:return tt(pt.singleDigit,t);case 2:return tt(pt.twoDigits,t);case 3:return tt(pt.threeDigits,t);case 4:return tt(pt.fourDigits,t);default:return tt(new RegExp("^\\d{1,"+e+"}"),t)}}function _l(e,t){switch(e){case 1:return tt(pt.singleDigitSigned,t);case 2:return tt(pt.twoDigitsSigned,t);case 3:return tt(pt.threeDigitsSigned,t);case 4:return tt(pt.fourDigitsSigned,t);default:return tt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function cp(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 U1(e,t){let r=t>0,n=r?t:1-t,a;if(n<=50)a=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return r?a:1-a}function G1(e){return e%400===0||e%4===0&&e%100!==0}var $te=class extends Fe{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return mt(st(4,t),a);case"yo":return mt(n.ordinalNumber(t,{unit:"year"}),a);default:return mt(st(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=U1(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Ute=class extends Fe{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,r,n){let a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return mt(st(4,t),a);case"Yo":return mt(n.ordinalNumber(t,{unit:"year"}),a);default:return mt(st(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=up(t,a);if(n.isTwoDigitYear){let l=U1(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),$r(t,a)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),$r(t,a)}},Gte=class extends Fe{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,r){return _l(r==="R"?4:r.length,t)}set(t,r,n){let a=Nt(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),ui(a)}},Wte=class extends Fe{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return _l(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Zte=class extends Fe{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,r,n){switch(r){case"Q":case"QQ":return st(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Yte=class extends Fe{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,r,n){switch(r){case"q":case"qq":return st(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Kte=class extends Fe{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,r,n){let a=i=>i-1;switch(r){case"M":return mt(tt(pt.month,t),a);case"MM":return mt(st(2,t),a);case"Mo":return mt(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Qte=class extends Fe{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,r,n){let a=i=>i-1;switch(r){case"L":return mt(tt(pt.month,t),a);case"LL":return mt(st(2,t),a);case"Lo":return mt(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function Xte(e,t,r){let n=It(e,r==null?void 0:r.in),a=F1(n,r)-t;return n.setDate(n.getDate()-a*7),It(n,r==null?void 0:r.in)}var Jte=class extends Fe{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,r,n){switch(r){case"w":return tt(pt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return $r(Xte(t,n,a),a)}};function ene(e,t,r){let n=It(e,r==null?void 0:r.in),a=L1(n,r)-t;return n.setDate(n.getDate()-a*7),n}var tne=class extends Fe{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,r,n){switch(r){case"I":return tt(pt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return ui(ene(t,n))}},nne=[31,28,31,30,31,30,31,31,30,31,30,31],rne=[31,29,31,30,31,30,31,31,30,31,30,31],ane=class extends Fe{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,r,n){switch(r){case"d":return tt(pt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return st(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=G1(n),i=t.getMonth();return a?r>=1&&r<=rne[i]:r>=1&&r<=nne[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},ine=class extends Fe{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,r,n){switch(r){case"D":case"DD":return tt(pt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return st(r.length,t)}}validate(t,r){let n=t.getFullYear();return G1(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function dp(e,t,r){var d,m,b,g;let n=Ci(),a=(r==null?void 0:r.weekStartsOn)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,i=It(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,c=7-a,u=t<0||t>6?t-(o+c)%7:(l+c)%7-(o+c)%7;return P1(i,u,r)}var one=class extends Fe{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){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,r){return r>=0&&r<=6}set(t,r,n,a){return t=dp(t,n,a),t.setHours(0,0,0,0),t}},sne=class extends Fe{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return mt(st(r.length,t),i);case"eo":return mt(n.ordinalNumber(t,{unit:"day"}),i);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,r){return r>=0&&r<=6}set(t,r,n,a){return t=dp(t,n,a),t.setHours(0,0,0,0),t}},lne=class extends Fe{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return mt(st(r.length,t),i);case"co":return mt(n.ordinalNumber(t,{unit:"day"}),i);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,r){return r>=0&&r<=6}set(t,r,n,a){return t=dp(t,n,a),t.setHours(0,0,0,0),t}};function une(e,t,r){let n=It(e,r==null?void 0:r.in),a=Fte(n,r),i=t-a;return P1(n,i,r)}var cne=class extends Fe{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,r,n){let a=i=>i===0?7:i;switch(r){case"i":case"ii":return st(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return mt(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 mt(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return mt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return mt(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,r){return r>=1&&r<=7}set(t,r,n){return t=une(t,n),t.setHours(0,0,0,0),t}},dne=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(cp(n),0,0,0),t}},hne=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(cp(n),0,0,0),t}},pne=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(cp(n),0,0,0),t}},mne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return tt(pt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,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}},fne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return tt(pt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},gne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return tt(pt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},vne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return tt(pt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},bne=class extends Fe{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return tt(pt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},yne=class extends Fe{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return tt(pt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},_ne=class extends Fe{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=a=>Math.trunc(a*Math.pow(10,-r.length+3));return mt(st(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},wne=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return Gn(Un.basicOptionalMinutes,t);case"XX":return Gn(Un.basic,t);case"XXXX":return Gn(Un.basicOptionalSeconds,t);case"XXXXX":return Gn(Un.extendedOptionalSeconds,t);case"XXX":default:return Gn(Un.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Nt(t,t.getTime()-yl(t)-n)}},xne=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return Gn(Un.basicOptionalMinutes,t);case"xx":return Gn(Un.basic,t);case"xxxx":return Gn(Un.basicOptionalSeconds,t);case"xxxxx":return Gn(Un.extendedOptionalSeconds,t);case"xxx":default:return Gn(Un.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Nt(t,t.getTime()-yl(t)-n)}},Ene=class extends Fe{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return $1(t)}set(t,r,n){return[Nt(t,n*1e3),{timestampIsSet:!0}]}},Sne=class extends Fe{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return $1(t)}set(t,r,n){return[Nt(t,n),{timestampIsSet:!0}]}},kne={G:new qte,y:new $te,Y:new Ute,R:new Gte,u:new Wte,Q:new Zte,q:new Yte,M:new Kte,L:new Qte,w:new Jte,I:new tne,d:new ane,D:new ine,E:new one,e:new sne,c:new lne,i:new cne,a:new dne,b:new hne,B:new pne,h:new mne,H:new fne,K:new gne,k:new vne,m:new bne,s:new yne,S:new _ne,X:new wne,x:new xne,t:new Ene,T:new Sne},Cne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ine=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dne=/^'([^]*?)'?$/,Tne=/''/g,Nne=/\S/,One=/[a-zA-Z]/;function Mne(e,t,r,n){var S,T,R,O;let a=()=>Nt(r,NaN),i=H1(),o=i.locale??A1,l=i.firstWeekContainsDate??((T=(S=i.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,c=i.weekStartsOn??((O=(R=i.locale)==null?void 0:R.options)==null?void 0:O.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:c,locale:o},d=[new Hte(n==null?void 0:n.in,r)],m=t.match(Ine).map(Y=>{let ie=Y[0];if(ie in gd){let me=gd[ie];return me(Y,o.formatLong)}return Y}).join("").match(Cne),b=[];for(let Y of m){z1(Y)&&vd(Y,t,e),V1(Y)&&vd(Y,t,e);let ie=Y[0],me=kne[ie];if(me){let{incompatibleTokens:St}=me;if(Array.isArray(St)){let We=b.find(vt=>St.includes(vt.token)||vt.token===ie);if(We)throw new RangeError(`The format string mustn't contain \`${We.fullToken}\` and \`${Y}\` at the same time`)}else if(me.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);b.push({token:ie,fullToken:Y});let ut=me.run(e,Y,o.match,u);if(!ut)return a();d.push(ut.setter),e=ut.rest}else{if(ie.match(One))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ie+"`");if(Y==="''"?Y="'":ie==="'"&&(Y=Pne(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return a()}}if(e.length>0&&Nne.test(e))return a();let g=d.map(Y=>Y.priority).sort((Y,ie)=>ie-Y).filter((Y,ie,me)=>me.indexOf(Y)===ie).map(Y=>d.filter(ie=>ie.priority===Y).sort((ie,me)=>me.subPriority-ie.subPriority)).map(Y=>Y[0]),w=It(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let Y of g){if(!Y.validate(w,u))return a();let ie=Y.set(w,x,u);Array.isArray(ie)?(w=ie[0],Object.assign(x,ie[1])):w=ie}return w}function Pne(e){return e.match(Dne)[1].replace(Tne,"'")}var D=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}(D||{}),hp=new K("ngx-mask config"),W1=new K("new ngx-mask config"),Z1=new K("initial ngx-mask config"),Rne={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 Vt,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")}}};D.HOURS_MINUTES_SECONDS,D.HOURS_MINUTES,D.MINUTES_SECONDS;D.PERCENT,D.HOURS_HOUR,D.SECONDS,D.MINUTES,D.SEPARATOR,D.DAYS_MONTHS_YEARS,D.DAYS_MONTHS,D.DAYS,D.MONTHS;var Ane=(()=>{const t=class t{constructor(){s(this,"_config",C(hp));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,i,o)=>{var g;let l=[],c="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),c=((g=n.match(w))==null?void 0:g[0])??D.EMPTY_STRING}else l=n.split(i),c=i;let u=l.length>1?`${c}${l[1]}`:D.EMPTY_STRING,d=l[0]??D.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,D.EMPTY_STRING);m&&+m&&(d[0]===D.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let b=/(\d+)(\d{3})/;for(;a&&b.test(d);)d=d.replace(b,"$1"+a+"$2");return typeof o>"u"?d+u:o===0?d:d+u.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(D.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let a=n.split(D.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,i,o,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let u=this.suffix.substring(c,(i=this.suffix)==null?void 0:i.length);if(n.includes(u)&&c!==((o=this.suffix)==null?void 0:o.length)-1&&(c-1<0||!n.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(u,D.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var c;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),d=o.match(u),m=(d&&((c=d[0])==null?void 0:c.length))??0;if(m-1>a){let b=m-1-a;o=o.substring(0,o.length-b)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[i,o]=a;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,a,i=0,o=!1,l=!1,c=()=>{}){var ut,We,vt;if(!a||typeof n!="string")return D.EMPTY_STRING;let u=0,d="",m=!1,b=!1,g=1,w=!1,x=n,S=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let T=x.toString().split(D.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&(d+=x.slice(u,u+1)),a===D.IP){let Z=x.split(D.DOT);this.ipError=this._validIP(Z),a="099.099.099.099"}let R=[];for(let Z=0;Z<x.length;Z++)(ut=x[Z])!=null&&ut.match("\\d")&&R.push(x[Z]??D.EMPTY_STRING);if(a===D.CPF_CNPJ&&(this.cpfCnpjError=R.length!==11&&R.length!==14,R.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(D.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let ge=this.getPrecision(a);x=this.checkInputPrecision(x,ge,this.decimalMarker)}let Z=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;if(x.indexOf(Z)>0&&!this.percentage(x.substring(0,x.indexOf(Z)))){let ge=x.substring(0,x.indexOf(Z)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&!l&&(ge=x.substring(0,x.indexOf(Z))),x=`${ge}${x.substring(x.indexOf(Z),x.length)}`}let H="";this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS?H=`${D.MINUS}${x.slice(u+1,u+x.length)}`:H=x,this.percentage(H)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(D.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Z=this.getPrecision(a),H=Array.isArray(this.decimalMarker)?this.thousandSeparator===D.DOT?D.COMMA:D.DOT:this.decimalMarker;if(Z===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===D.MINUS&&x[1]===D.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==D.COMMA&&x[2]!==D.DOT?"-"+x.slice(2,x.length):x[0]===D.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==D.COMMA&&x[1]!==D.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===D.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==D.COMMA&&x[1]!==D.DOT?x.slice(1,x.length):x:(x[0]===H&&x.length>1&&(x=D.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===D.NUMBER_ZERO&&x[1]!==H&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+H+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===D.MINUS&&(x[1]===H||x[1]===D.NUMBER_ZERO)&&(x=x[1]===H&&x.length>2?x.slice(0,1)+D.NUMBER_ZERO+x.slice(1,x.length):x[1]===D.NUMBER_ZERO&&x.length>2&&x[2]!==H?x.slice(0,2)+H+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Te=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Pe=x[S]===D.NUMBER_ZERO||x[S]===H,et=x[0]===D.NUMBER_ZERO,Sn=x[0]===D.MINUS,Ze=x[0]===this.thousandSeparator,jt=x[1]===H,kt=x[1]===D.NUMBER_ZERO,jn=x[2]===H;et&&jt&&Pe&&S<2&&(x=Te),Sn&&kt&&jn&&Pe&&S<3&&(x=D.MINUS+Te),Te!==D.MINUS&&(S===0&&(et||Ze)||this.allowNegativeNumbers&&S===1&&Sn&&!kt)&&(x=Sn?D.MINUS+Te:Te)}let ge=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ge,"");if(Array.isArray(this.decimalMarker))for(let Te of this.decimalMarker)L=L.replace(this._charToRegExpExpression(Te),D.EMPTY_STRING);else L=L.replace(this._charToRegExpExpression(this.decimalMarker),"");let j=new RegExp("["+L+"]");x.match(j)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Z,this.decimalMarker);let G=x.replace(new RegExp(ge,"g"),"");d=this._formatWithSeparators(G,this.thousandSeparator,this.decimalMarker,Z);let Se=d.indexOf(D.COMMA)-x.indexOf(D.COMMA),qe=d.length-x.length,Ft=l&&d.length<n.length&&this.separatorLimit;if((d[S-1]===this.thousandSeparator||d[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(qe>0&&d[S]!==this.thousandSeparator||Ft){b=!0;let Te=0;do this._shift.add(S+Te),Te++;while(Te<qe)}else d[S-1]===this.thousandSeparator||qe===-4||qe===-3||d[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Se!==0&&S>0&&!(d.indexOf(D.COMMA)>=S&&S>3)||!(d.indexOf(D.DOT)>=S&&S>3)&&qe<=0?(this._shift.clear(),b=!0,g=qe,S+=qe,this._shift.add(S)):this._shift.clear()}else for(let Z=0,H=T[0];Z<T.length&&u!==a.length;Z++,H=T[Z]??D.EMPTY_STRING){let ge=D.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(H,a[u]??D.EMPTY_STRING)&&a[u+1]===D.SYMBOL_QUESTION)d+=H,u+=2;else if(a[u+1]===D.SYMBOL_STAR&&m&&this._checkSymbolMask(H,a[u+2]??D.EMPTY_STRING))d+=H,u+=3,m=!1;else if(this._checkSymbolMask(H,a[u]??D.EMPTY_STRING)&&a[u+1]===D.SYMBOL_STAR&&!ge)d+=H,m=!0;else if(a[u+1]===D.SYMBOL_QUESTION&&this._checkSymbolMask(H,a[u+2]??D.EMPTY_STRING))d+=H,u+=3;else if(this._checkSymbolMask(H,a[u]??D.EMPTY_STRING)){if(a[u]===D.HOURS&&(this.apm?Number(H)>9:Number(H)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}if(a[u]===D.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(H)>2||x.slice(u-1,u).length===1&&Number(x.slice(u-1,u))>2||x.slice(u-1,u)==="1"&&Number(H)>2:d==="2"&&Number(H)>3||(d.slice(u-2,u)==="2"||d.slice(u-3,u)==="2"||d.slice(u-4,u)==="2"||d.slice(u-1,u)==="2")&&Number(H)>3&&u>10)){S=S+1,u+=1,Z--;continue}if((a[u]===D.MINUTE||a[u]===D.SECOND)&&Number(H)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}let L=31,j=x[u],G=x[u+1],Se=x[u+2],qe=x[u-1],Ft=x[u-2],Te=x.slice(u-3,u-1),Pe=x.slice(u-1,u+1),et=x.slice(u,u+2),Sn=x.slice(u-2,u);if(a[u]===D.DAY){let Ze=a.slice(0,2)===D.MONTHS,jt=a.slice(0,2)===D.MONTHS&&this.specialCharacters.includes(Ft);if(Number(H)>3&&this.leadZeroDateTime||!Ze&&(Number(et)>L||Number(Pe)>L||this.specialCharacters.includes(G))||(jt?Number(Pe)>L||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(Se)||this.specialCharacters.includes(j):Number(et)>L||this.specialCharacters.includes(G)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}}if(a[u]===D.MONTH){let Ze=u===0&&(Number(H)>2||Number(et)>12||this.specialCharacters.includes(G)&&!l),jt=a.slice(u+2,u+3),kt=Te.includes(jt)&&a.includes("d0")&&(this.specialCharacters.includes(Ft)&&Number(Pe)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),jn=Number(Te)<=L&&!this.specialCharacters.includes(Te)&&this.specialCharacters.includes(qe)&&(Number(et)>12||this.specialCharacters.includes(G)),Cr=Number(et)>12&&u===5||this.specialCharacters.includes(G)&&u===5,Uo=Number(Te)>L&&!this.specialCharacters.includes(Te)&&!this.specialCharacters.includes(Sn)&&Number(Sn)>12&&a.includes("d0"),Go=Number(Te)<=L&&!this.specialCharacters.includes(Te)&&!this.specialCharacters.includes(qe)&&Number(Pe)>12;if(Number(H)>1&&this.leadZeroDateTime||Ze||kt||Go||Uo||jn||Cr&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}}d+=H,u++}else this.specialCharacters.includes(H)&&a[u]===H?(d+=H,u++):this.specialCharacters.indexOf(a[u]??D.EMPTY_STRING)!==-1?(d+=a[u],u++,this._shiftStep(a,u,T.length),Z--):a[u]===D.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,u,T.length):this.patterns[a[u]??D.EMPTY_STRING]&&((We=this.patterns[a[u]??D.EMPTY_STRING])!=null&&We.optional)?(T[u]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((vt=this.patterns[a[u]??D.EMPTY_STRING])!=null&&vt.optional)&&(d+=T[u]),a.includes(D.NUMBER_NINE+D.SYMBOL_STAR)&&a.includes(D.NUMBER_ZERO+D.SYMBOL_STAR)&&u++,u++,Z--):this.maskExpression[u+1]===D.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[u+2]??D.EMPTY_STRING)&&this._findSpecialChar(H)===this.maskExpression[u+2]&&m||this.maskExpression[u+1]===D.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[u+2]??D.EMPTY_STRING)&&this._findSpecialChar(H)===this.maskExpression[u+2]&&m?(u+=3,d+=H):this.showMaskTyped&&this.specialCharacters.indexOf(H)<0&&H!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??D.EMPTY_STRING)!==-1&&(d+=a[a.length-1]);let O=S+1;for(;this._shift.has(O);)g++,O++;let Y=o&&!a.startsWith(D.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Y--,c(Y,b),g<0&&this._shift.clear();let ie=!1;l&&(ie=T.every(Z=>this.specialCharacters.includes(Z)));let me=`${this.prefix}${ie?D.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(me=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let St=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&St)return"";if(d.includes(D.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===D.MINUS)return"";me=`${D.MINUS}${this.prefix}${d.split(D.MINUS).join(D.EMPTY_STRING)}${this.suffix}`}return me}_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 i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[a])==null?void 0:i.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(D.EMPTY_STRING).filter((a,i)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===D.MINUS&&i===0&&this.allowNegativeNumbers}).join(D.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,i){let o=/[*?]/g.test(n.slice(0,a))?i:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,i){return Array.isArray(a)?a.filter(o=>o!==i).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,i)=>n.length!==i+1?a===D.EMPTY_STRING||Number(a)>255:a===D.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===D.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(D.DOT),i=this.allowNegativeNumbers&&n.includes(D.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?D.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),c=isNaN(o)?"":o.toString(),u=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;return c===D.EMPTY_STRING?D.EMPTY_STRING:`${i}${c}${u}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let i=n[a];if(i&&i>="1"&&i<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Lne=(()=>{const t=class t extends Ane{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",C(At,{optional:!0}));s(this,"document",C(Le));s(this,"_config",C(hp));s(this,"_renderer",C(_i,{optional:!0}))}applyMask(a,i,o=0,l=!1,c=!1,u=()=>{}){if(!i)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():D.EMPTY_STRING,this.maskExpression===D.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||D.HASH)),this.maskExpression===D.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||D.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=a&&typeof this.selStart=="number"?a[this.selStart]??D.EMPTY_STRING:D.EMPTY_STRING,m="",b=o;if(this.hiddenInput!==null&&!this.writingValue){let S=a&&a.length===1?a.split(D.EMPTY_STRING):this.actualValue.split(D.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==D.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>S.length?S.splice(this.selStart,0,d):a.length<S.length&&(S.length-a.length===1?c?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(D.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),c&&this.specialCharacters.indexOf(this.maskExpression[b]??D.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:i.slice(b-1,b+1)!==D.MONTHS&&(b=b-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,i,b,l,c,u);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===D.DOT&&this.decimalMarker===D.DOT&&(this.decimalMarker=D.COMMA),this.maskExpression.startsWith(D.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(D.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${x.slice(w+S)}`}else if(this.maskExpression===D.IP||this.maskExpression===D.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(a){let i=/(^|\D)(\d\D)/g,o=i.exec(a),l=0;for(;o!=null;)l+=1,o=i.exec(a);return l}applyValueChanges(a,i,o,l=()=>{}){var u;let c=(u=this._elementRef)==null?void 0:u.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,i,o,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(D.EMPTY_STRING).map((o,l)=>{var c,u;return this.patterns&&this.patterns[i[l]??D.EMPTY_STRING]&&((c=this.patterns[i[l]??D.EMPTY_STRING])!=null&&c.symbol)?(u=this.patterns[i[l]??D.EMPTY_STRING])==null?void 0:u.symbol:o}).join(D.EMPTY_STRING)}getActualValue(a){let i=a.split(D.EMPTY_STRING).filter((o,l)=>{let c=this.maskExpression[l]??D.EMPTY_STRING;return this._checkSymbolMask(o,c)||this.specialCharacters.includes(c)&&o===c});return i.join(D.EMPTY_STRING)===a?i.join(D.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";return(a&&a.split(D.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??D.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return i=o,a[l+1];if(i.length){let c=i;return i=D.EMPTY_STRING,c}return o})||[]).join(D.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(D.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${D.MINUS}/`,D.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===D.IP)return this._checkForIp(a);if(this.maskExpression===D.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 i;let a=(i=this._elementRef)==null?void 0:i.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,D.EMPTY_STRING).length&&(this.formElementProperty=["value",D.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,i]){!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,i)})}checkDropSpecialCharAmount(a){return a.split(D.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===D.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<a.length;o++){let l=a[o]??D.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let i=`${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===D.HASH)return i;let l=[];for(let c=0;c<a.length;c++){let u=a[c]??D.EMPTY_STRING;u&&u.match("\\d")&&l.push(u)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.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 i=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):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===D.EMPTY_STRING||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(D.SEPARATOR))return String(a);let i=Number(a);if(this.maskExpression.startsWith(D.SEPARATOR)&&Number.isNaN(i)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(i)?a:i}_removeMask(a,i){return this.maskExpression.startsWith(D.PERCENT)&&a.includes(D.DOT)?a:a&&a.replace(this._regExpForRemove(i),D.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,D.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,D.EMPTY_STRING):a}_retrieveSeparatorValue(a){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(D.WHITE_SPACE)&&this.maskExpression.includes(D.SYMBOL_STAR)&&(i=i.filter(o=>o!==D.WHITE_SPACE)),this._removeMask(a,i)}_regExpForRemove(a){return new RegExp(a.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(i),D.DOT)}_checkSymbols(a){let i=a;if(i===D.EMPTY_STRING)return i;this.maskExpression.startsWith(D.PERCENT)&&this.decimalMarker===D.COMMA&&(i=i.replace(D.COMMA,D.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,i,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(i=this.patterns[l])==null?void 0:i.pattern.toString(),u=(o=this.patterns[l])==null?void 0:o.pattern;if(c!=null&&c.includes(D.WHITE_SPACE)&&(u!=null&&u.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let i=a.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(a,i){let o=this.getPrecision(a),l=i;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===D.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(D.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===D.CURLY_BRACKETS_LEFT?l:this._start,o!==D.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let c=Number(a.slice(this._start+1,this._end)),u=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(D.LETTER_S)){let d=a.slice(0,this._start-1);return d.includes(D.CURLY_BRACKETS_LEFT)?i+u:d+i+u}else return i+u},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=$t(t)))(i||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function Fne(){let e=C(Z1),t=C(W1);return t instanceof Function?se(se({},e),t()):se(se({},e),t)}function jne(e){return[{provide:W1,useValue:e},{provide:Z1,useValue:Rne},{provide:hp,useFactory:Fne},Lne]}function Vne(e){return Vd(jne(e))}var ru=(()=>{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=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),zne="4.0",bd=zne,Pr=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Pr||{}),Bne=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Vt);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=bd.split(".").map(i=>parseInt(i)),a=(this.version||"").split(".").map(i=>parseInt(i));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 (${bd})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,c)=>(n[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.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",rt({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Gd],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),Y1=class{constructor(e,t,r,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=r}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return wt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return wt(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 wt(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 wt(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 wt(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 wt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return wt(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`))})}},K1=()=>{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)},vo=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}(vo||{}),Xi=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Xi||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var la={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Ji={authorization:"Authorization",userType:"user-type",clientType:"client-type"},$i=class extends Error{};$i.prototype.name="InvalidTokenError";function Hne(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function qne(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 Hne(t)}catch{return atob(t)}}function $ne(e,t){if(typeof e!="string")throw new $i("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new $i(`Invalid token specified: missing part #${r+1}`);let a;try{a=qne(n)}catch(i){throw new $i(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new $i(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var Une=class extends Y1{constructor(e,t,r){super(e,vo.USER_INFOS,t,r,vo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return wt(this,null,function*(){return $ne(yield this.getLocalAccessToken("")).userProfile})}},Q1=(()=>{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=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Gne(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0].ssin:e.ssin}function Wne(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Zne=(()=>{const t=class t extends Q1{constructor(){super(...arguments),this.servicesStore=C(ru)}resolveSsin(){return wt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Gne(n)})}resolvePatientInfo(){return wt(this,null,function*(){let n=yield this.fetchUserProfileToken();return Wne(n)})}resolveUserInfo(){return wt(this,null,function*(){var d,m,b,g;let n=yield this.fetchUserProfileToken(),a=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,c=(b=n==null?void 0:n.organizations)!=null&&b.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,u=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:a,role:l||o,organization:c&&l?c:void 0,professional:u,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return wt(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"],i="patient";return a.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Une(this.servicesStore.getServices(),n,a)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yne=(()=>{const t=class t extends Q1{resolveSsin(){return wt(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 wt(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=$t(t)))(a||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kne=(()=>{const t=class t{constructor(){this.http=C(Si)}get(n,a,i){return _s()?this.http.get(n,{headers:i}):it(a)}patch(n,a,i){return _s()?this.http.patch(n,{},{headers:i}):it(a)}post(n,a,i){return _s()?this.http.post(n,{},{headers:i}):it(a)}delete(n,a,i){return _s()?this.http.delete(n,{headers:i}):it(a)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_s=()=>window.Cypress,Ka=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Ka||{}),vr=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(vr||{});function Qne(e,t){return wt(this,null,function*(){t.next({status:Ka.LOADING});try{let r=yield e,n={status:Ka.SUCCESS,data:r};return t.next(n),n}catch(r){let n={status:Ka.ERROR,error:ere(r)};return t.next(n),n}})}var $f={[vr.NO_DATA]:["VIDIS_0140"],[vr.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"],[vr.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"],[vr.OTHER]:[]};function Xne(e){for(let t of Object.keys($f))if($f[t].includes(e))return t;return vr.OTHER}function Jne(e,t,r){let n=e||"UNKNOWN",a=Xne(n);return{code:n,message:r??"An unexpected error occurred",group:a,traceId:t}}function ere(e){var a,i,o;let t=((a=e.error)==null?void 0:a.code)??void 0,r=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return Jne(t,n,r)}var tre={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function X1(e){e||($d(),e=C(_a));let t=new nt(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(ko(t))}function nre(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var rre={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function J1(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of rre[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var are=(()=>{const t=class t{constructor(){this.translate=C(kr)}transform(n){return this.findTranslation(n.name)+" "+(n.prefix?n.prefix+" ":"")+(n.value?n.value+" ":"")+(n.unit?this.translate.instant("commons.units."+n.unit,{count:n.value||1}):"")}findTranslation(n){return J1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ire=(()=>{const t=class t{constructor(){this.http=C(Si),this.snackbarService=C(t_)}getLeaflet(n,a){return this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(Qt(1),Pd(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),Qg(()=>i))))}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ci=(()=>{const t=class t{constructor(){this.config=C(Ii),this.injector=C(ot),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Yne):this.injector.get(Zne)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function ore(e,t){if(e&1){let r=Zl();re(0,"div",1)(1,"button",2),Sa("click",function(){Br(r);let n=Ee();return Hr(n.action())}),be(2),ne()()}if(e&2){let r=Ee();Q(2),cn(" ",r.data.action," ")}}var sre=["label"];function lre(e,t){}var ure=Math.pow(2,31)-1,yd=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new xe);s(this,"_afterOpened",new xe);s(this,"_onAction",new xe);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,ure))}_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}},e_=new K("MatSnackBarData"),wl=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")}},cre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),dre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),hre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),pre=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(yd));s(this,"data",C(e_))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({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&&(re(0,"div",0),be(1),ne(),Be(2,ore,3,1,"div",1)),n&2&&(Q(),cn(" ",a.data.message,`
|
|
29
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),zX=(()=>{const t=class t extends FX{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})()),s(t,"ɵcmp",rt({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&&(Ln("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),Wl(a.color?"mat-"+a.color:""),Pn("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:[En],ngContentSelectors:c1,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&&(xi(u1),Zt(0,"span",0),Zn(1),re(2,"span",1),Zn(3,1),ne(),Zn(4,2),Zt(5,"span",2)(6,"span",3)),n&2&&Pn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[jX,VX],encapsulation:2,changeDetection:0}));let e=t;return e})(),Jh=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",rn({type:t})),s(t,"ɵinj",en({imports:[li,QQ,li]}));let e=t;return e})(),d1=(()=>{const t=class t{constructor(){s(this,"changes",new xe);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,i)=>{if(i==0||a==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*a,l=o<i?Math.min(o+a,i):o+a;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ie=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}(Ie||{}),gr="*";function BX(e,t=null){return{type:Ie.Sequence,steps:e,options:t}}function xf(e){return{type:Ie.Style,styles:e,offset:null}}var fo=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(r=>r()),t.length=0}},h1=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,r=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==a&&this._onFinish()}),i.onDestroy(()=>{++r==a&&this._onDestroy()}),i.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,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(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r: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(r=>r()),t.length=0}},ep="!";function Ef(e){return new U(3e3,!1)}function HX(){return new U(3100,!1)}function qX(){return new U(3101,!1)}function $X(e){return new U(3001,!1)}function UX(e){return new U(3003,!1)}function GX(e){return new U(3004,!1)}function WX(e,t){return new U(3005,!1)}function ZX(){return new U(3006,!1)}function YX(){return new U(3007,!1)}function KX(e,t){return new U(3008,!1)}function QX(e){return new U(3002,!1)}function XX(e,t,r,n,a){return new U(3010,!1)}function JX(){return new U(3011,!1)}function eJ(){return new U(3012,!1)}function tJ(){return new U(3200,!1)}function nJ(){return new U(3202,!1)}function rJ(){return new U(3013,!1)}function aJ(e){return new U(3014,!1)}function iJ(e){return new U(3015,!1)}function oJ(e){return new U(3016,!1)}function sJ(e,t){return new U(3404,!1)}function lJ(e){return new U(3502,!1)}function uJ(e){return new U(3503,!1)}function cJ(){return new U(3300,!1)}function dJ(e){return new U(3504,!1)}function hJ(e){return new U(3301,!1)}function pJ(e,t){return new U(3302,!1)}function mJ(e){return new U(3303,!1)}function fJ(e,t){return new U(3400,!1)}function gJ(e){return new U(3401,!1)}function vJ(e){return new U(3402,!1)}function bJ(e,t){return new U(3505,!1)}function Mr(e){switch(e.length){case 0:return new fo;case 1:return e[0];default:return new h1(e)}}function p1(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(c=>{let u=c.get("offset"),d=u==o,m=d&&l||new Map;c.forEach((b,g)=>{let w=g,x=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case ep:x=r.get(g);break;case gr:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),d||i.push(m),l=m,o=u}),a.length)throw lJ();return i}function tp(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Yu(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Yu(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Yu(r,"destroy",e)));break}}function Yu(e,t,r){let n=r.totalTime,a=!!r.disabled,i=np(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(i._data=o),i}function np(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function ln(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Sf(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var yJ=typeof document>"u"?null:document.documentElement;function rp(e){let t=e.parentNode||e.host||null;return t===yJ?null:t}function _J(e){return e.substring(1,6)=="ebkit"}var Jr=null,kf=!1;function wJ(e){Jr||(Jr=xJ()||{},kf=Jr.style?"WebkitAppearance"in Jr.style:!1);let t=!0;return Jr.style&&!_J(e)&&(t=e in Jr.style,!t&&kf&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Jr.style)),t}function xJ(){return typeof document<"u"?document.body:null}function m1(e,t){for(;t;){if(t===e)return!0;t=rp(t)}return!1}function f1(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var EJ=1e3,g1="{{",SJ="}}",v1="ng-enter",ud="ng-leave",gs="ng-trigger",fl=".ng-trigger",Cf="ng-animating",cd=".ng-animating";function pr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:dd(parseFloat(t[1]),t[2])}function dd(e,t){switch(t){case"s":return e*EJ;default:return e}}function gl(e,t,r){return e.hasOwnProperty("duration")?e:kJ(e,t,r)}function kJ(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ef()),{duration:0,delay:0,easing:""};a=dd(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(i=dd(parseFloat(c),l[4]));let u=l[5];u&&(o=u)}else a=e;if(!r){let l=!1,c=t.length;a<0&&(t.push(HX()),l=!0),i<0&&(t.push(qX()),l=!0),l&&t.splice(c,0,Ef())}return{duration:a,delay:i,easing:o}}function CJ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function $n(e,t,r){t.forEach((n,a)=>{let i=ap(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function sa(e,t){t.forEach((r,n)=>{let a=ap(n);e.style[a]=""})}function Li(e){return Array.isArray(e)?e.length==1?e[0]:BX(e):e}function IJ(e,t,r){let n=t.params||{},a=b1(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push($X())})}var hd=new RegExp(`${g1}\\s*(.+?)\\s*${SJ}`,"g");function b1(e){let t=[];if(typeof e=="string"){let r;for(;r=hd.exec(e);)t.push(r[1]);hd.lastIndex=0}return t}function go(e,t,r){let n=`${e}`,a=n.replace(hd,(i,o)=>{let l=t[o];return l==null&&(r.push(UX()),l=""),l.toString()});return a==n?e:a}var DJ=/-+([a-z0-9])/g;function ap(e){return e.replace(DJ,(...t)=>t[1].toUpperCase())}function TJ(e,t){return e===0||t===0}function NJ(e,t,r){if(r.size&&t.length){let n=t[0],a=[];if(r.forEach((i,o)=>{n.has(o)||a.push(o),n.set(o,i)}),a.length)for(let i=1;i<t.length;i++){let o=t[i];a.forEach(l=>o.set(l,ip(e,l)))}}return t}function on(e,t,r){switch(t.type){case Ie.Trigger:return e.visitTrigger(t,r);case Ie.State:return e.visitState(t,r);case Ie.Transition:return e.visitTransition(t,r);case Ie.Sequence:return e.visitSequence(t,r);case Ie.Group:return e.visitGroup(t,r);case Ie.Animate:return e.visitAnimate(t,r);case Ie.Keyframes:return e.visitKeyframes(t,r);case Ie.Style:return e.visitStyle(t,r);case Ie.Reference:return e.visitReference(t,r);case Ie.AnimateChild:return e.visitAnimateChild(t,r);case Ie.AnimateRef:return e.visitAnimateRef(t,r);case Ie.Query:return e.visitQuery(t,r);case Ie.Stagger:return e.visitStagger(t,r);default:throw GX(t.type)}}function ip(e,t){return window.getComputedStyle(e)[t]}var OJ=(()=>{const t=class t{validateStyleProperty(n){return wJ(n)}containsElement(n,a){return m1(n,a)}getParentElement(n){return rp(n)}query(n,a,i){return f1(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,c=[],u){return new fo(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),cc,y1=(cc=class{},s(cc,"NOOP",new OJ),cc),op=class{},MJ=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"]),PJ=class extends op{normalizePropertyName(e,t){return ap(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(MJ.has(t)&&r!==0&&r!=="0")if(typeof r=="number")a="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(WX())}return i+a}},vl="*";function RJ(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>AJ(n,r,t)):r.push(e),r}function AJ(e,t,r){if(e[0]==":"){let c=LJ(e,r);if(typeof c=="function"){t.push(c);return}e=c}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(iJ()),t;let a=n[1],i=n[2],o=n[3];t.push(If(a,o));let l=a==vl&&o==vl;i[0]=="<"&&!l&&t.push(If(o,a))}function LJ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(oJ()),"* => *"}}var vs=new Set(["true","1"]),bs=new Set(["false","0"]);function If(e,t){let r=vs.has(e)||bs.has(e),n=vs.has(t)||bs.has(t);return(a,i)=>{let o=e==vl||e==a,l=t==vl||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?vs.has(e):bs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?vs.has(t):bs.has(t)),o&&l}}var _1=":self",FJ=new RegExp(`s*${_1}s*,?`,"g");function w1(e,t,r,n){return new jJ(e).build(t,r,n)}var Df="",jJ=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new BJ(t);return this._resetContextStyleTimingState(n),on(this,Li(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Df,e.collectedStyles=new Map,e.collectedStyles.set(Df,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,a=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(ZX()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ie.State){let l=o,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,a.push(this.visitState(l,t))}),l.name=c}else if(o.type==Ie.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(YX())}),{type:Ie.Trigger,name:e.name,states:a,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let a=new Set,i=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{b1(l).forEach(c=>{i.hasOwnProperty(c)||a.add(c)})})}),a.size&&t.errors.push(KX(e.name,[...a.values()]))}return{type:Ie.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=on(this,Li(e.animation),t),n=RJ(e.expr,t.errors);return{type:Ie.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:ea(e.options)}}visitSequence(e,t){return{type:Ie.Sequence,steps:e.steps.map(r=>on(this,r,t)),options:ea(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=on(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ie.Group,steps:a,options:ea(e.options)}}visitAnimate(e,t){let r=qJ(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:xf({});if(a.type==Ie.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let c={};r.easing&&(c.easing=r.easing),i=xf(c)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ie.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===gr?r.push(o):t.errors.push(QX()):r.push(new Map(Object.entries(o)));let a=!1,i=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(g1)>=0){a=!0;break}}}),{type:Ie.Style,styles:r,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l),d=!0;u&&(a!=n&&a>=u.startTime&&n<=u.endTime&&(t.errors.push(XX(l,u.startTime,u.endTime)),d=!1),a=u.startTime),d&&c.set(l,{startTime:a,endTime:n}),t.options&&IJ(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:Ie.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(JX()),r;let n=1,a=0,i=[],o=!1,l=!1,c=0,u=e.steps.map(S=>{let T=this._makeStyleAst(S,t),R=T.offset!=null?T.offset:HJ(T.styles),O=0;return R!=null&&(a++,O=T.offset=R),l=l||O<0||O>1,o=o||O<c,c=O,i.push(O),T});l&&t.errors.push(eJ()),o&&t.errors.push(tJ());let d=e.steps.length,m=0;a>0&&a<d?t.errors.push(nJ()):a==0&&(m=n/(d-1));let b=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,T)=>{let R=m>0?T==b?1:m*T:i[T],O=R*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(S,t),S.offset=R,r.styles.push(S)}),r}visitReference(e,t){return{type:Ie.Reference,animation:on(this,Li(e.animation),t),options:ea(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ie.AnimateChild,options:ea(e.options)}}visitAnimateRef(e,t){return{type:Ie.AnimateRef,animation:this.visitReference(e.animation,t),options:ea(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=VJ(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,ln(t.collectedStyles,t.currentQuerySelector,new Map);let o=on(this,Li(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Ie.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:ea(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(rJ());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:gl(e.timings,t.errors,!0);return{type:Ie.Stagger,animation:on(this,Li(e.animation),t),timings:r,options:null}}};function VJ(e){let t=!!e.split(/\s*,\s*/).find(r=>r==_1);return t&&(e=e.replace(FJ,"")),e=e.replace(/@\*/g,fl).replace(/@\w+/g,r=>fl+"-"+r.slice(1)).replace(/:animating/g,cd),[e,t]}function zJ(e){return e?se({},e):null}var BJ=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 HJ(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function qJ(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=gl(e,t).duration;return Ku(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Ku(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=gl(r,t);return Ku(n.duration,n.delay,n.easing)}function ea(e){return e?(e=se({},e),e.params&&(e.params=zJ(e.params))):e={},e}function Ku(e,t,r){return{duration:e,delay:t,easing:r}}function sp(e,t,r,n,a,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:l}}var lp=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},$J=1,UJ=":enter",GJ=new RegExp(UJ,"g"),WJ=":leave",ZJ=new RegExp(WJ,"g");function x1(e,t,r,n,a,i=new Map,o=new Map,l,c,u=[]){return new YJ().buildKeyframes(e,t,r,n,a,i,o,l,c,u)}var YJ=class{buildKeyframes(e,t,r,n,a,i,o,l,c,u=[]){c=c||new lp;let d=new KJ(e,t,c,n,a,u,[]);d.options=l;let m=l.delay?pr(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),on(this,r,d);let b=d.timelines.filter(g=>g.containsAnimation());if(b.length&&o.size){let g;for(let w=b.length-1;w>=0;w--){let x=b[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[sp(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let a=n==null?void 0:n.delay;if(a){let i=typeof a=="number"?a:pr(go(a,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,a=r.duration!=null?pr(r.duration):null,i=r.delay!=null?pr(r.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),on(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=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==Ie.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bl);let i=pr(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>on(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?pr(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),on(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?go(r,t.params,t.errors):r;return gl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let a=e.style;a.type==Ie.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,a=r.duration,i=t.createSubContext().currentTimeline;i.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*a),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?pr(n.delay):0;a&&(t.previousNode.type===Ie.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bl);let i=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((c,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(e.options,c);a&&d.delayNextStep(a),c===t.element&&(l=d.currentTimeline),on(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;on(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},bl={},KJ=class E1{constructor(t,r,n,a,i,o,l,c){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",bl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=c||new S1(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=pr(n.duration)),n.delay!=null&&(a.delay=pr(n.delay));let i=n.params;if(i){let o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=go(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(a=>{n[a]=r[a]})}}return t}createSubContext(t=null,r,n){let a=r||this.element,i=new E1(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=bl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let a={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new QJ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,a,i,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(GJ,"."+this._enterClassName),t=t.replace(ZJ,"."+this._leaveClassName);let c=n!=1,u=this._driver.query(this.element,t,c);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!i&&l.length==0&&o.push(aJ()),l}},S1=class k1{constructor(t,r,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=r,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,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 r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new k1(this._driver,t,r||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+=$J,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||gr),this._currentKeyframe.set(r,gr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=XJ(t,this._globalTimelineStyles);for(let[l,c]of o){let u=go(c,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??gr),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let a=this._styleSummary.get(n);(!a||r.time>a.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,c)=>{let u=new Map([...this._backFill,...l]);u.forEach((d,m)=>{d===ep?t.add(m):d===gr&&r.add(m)}),n||u.set("offset",c/this.duration),a.push(u)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],c=new Map(l);l.set("offset",0),c.set("offset",1),a=[l,c]}return sp(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},QJ=class extends S1{constructor(t,r,n,a,i,o,l=!1){super(t,r,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=i,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:r,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&r){let i=[],o=n+r,l=r/o,c=new Map(t[0]);c.set("offset",0),i.push(c);let u=new Map(t[0]);u.set("offset",Tf(l)),i.push(u);let d=t.length-1;for(let m=1;m<=d;m++){let b=new Map(t[m]),g=b.get("offset"),w=r+g*n;b.set("offset",Tf(w/o)),i.push(b)}n=o,r=0,a="",t=i}return sp(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function Tf(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function XJ(e,t){let r=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let i of n)r.set(i,gr)}else for(let[i,o]of a)r.set(i,o)}),r}function Nf(e,t,r,n,a,i,o,l,c,u,d,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:c,preStyleProps:u,postStyleProps:d,totalTime:m,errors:b}}var Qu={},C1=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return JJ(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,a,i,o,l,c,u){var St;let d=[],m=this.ast.options&&this.ast.options.params||Qu,b=o&&o.params||Qu,g=this.buildStyles(r,b,d),w=l&&l.params||Qu,x=this.buildStyles(n,w,d),S=new Set,T=new Map,R=new Map,O=n==="void",Y={params:I1(w,m),delay:(St=this.ast.options)==null?void 0:St.delay},ie=u?[]:x1(e,t,this.ast.animation,a,i,g,x,Y,c,d),me=0;return ie.forEach(ut=>{me=Math.max(ut.duration+ut.delay,me)}),d.length?Nf(t,this._triggerName,r,n,O,g,x,[],[],T,R,me,d):(ie.forEach(ut=>{let We=ut.element,vt=ln(T,We,new Set);ut.preStyleProps.forEach(H=>vt.add(H));let Z=ln(R,We,new Set);ut.postStyleProps.forEach(H=>Z.add(H)),We!==t&&S.add(We)}),Nf(t,this._triggerName,r,n,O,g,x,ie,[...S.values()],T,R,me))}};function JJ(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function I1(e,t){let r=se({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var eee=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=I1(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=go(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function tee(e,t,r){return new nee(e,t,r)}var nee=class{constructor(e,t,r){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=r,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new eee(n.style,a,r))}),Of(this.states,"true","1"),Of(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new C1(e,n,this.states))}),this.fallbackTransition=ree(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(a=>a.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function ree(e,t,r){let n=[(o,l)=>!0],a={type:Ie.Sequence,steps:[],options:null},i={type:Ie.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new C1(e,i,t)}function Of(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var aee=new lp,iee=class{constructor(e,t,r){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=r}register(e,t){let r=[],n=[],a=w1(this._driver,t,r,n);if(r.length)throw uJ();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=p1(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],a=this._animations.get(e),i,o=new Map;if(a?(i=x1(this._driver,t,a,v1,ud,new Map,new Map,r,aee,n),i.forEach(u=>{let d=ln(o,u.element,new Map);u.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(cJ()),i=[]),n.length)throw dJ();o.forEach((u,d)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(d,b,gr))})});let l=i.map(u=>{let d=o.get(u.element);return this._buildPlayer(u,new Map,d)}),c=Mr(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw hJ();return t}listen(e,t,r,n){let a=np(t,"","","");return tp(this._getPlayer(e),r,a,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let a=this._getPlayer(e);switch(r){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}}},Mf="ng-animate-queued",oee=".ng-animate-queued",Xu="ng-animate-disabled",see=".ng-animate-disabled",lee="ng-star-inserted",uee=".ng-star-inserted",cee=[],D1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dee={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed",pd=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=fee(n),r){let a=e,{value:i}=a,o=l7(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 r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},Qi="void",Ju=new pd(Qi),hee=class{constructor(e,t,r){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=r,this._hostClassName="ng-tns-"+e,vn(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw pJ();if(r==null||r.length==0)throw mJ();if(!gee(r))throw fJ();let a=ln(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=ln(this._engine.statesByElement,e,new Map);return o.has(t)||(vn(e,gs),vn(e,gs+"-"+t),o.set(t,Ju)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(i);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 gJ();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new md(this.id,t,e),o=this._engine.statesByElement.get(e);o||(vn(e,gs),vn(e,gs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),c=new pd(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),o.set(t,c),l||(l=Ju),c.value!==Qi&&l.value===c.value){if(!yee(l.params,c.params)){let b=[],g=a.matchStyles(l.value,l.params,b),w=a.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{sa(e,g),$n(e,w)})}return}let u=ln(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let d=a.matchTransition(l.value,c.value,e,c.params),m=!1;if(!d){if(!n)return;d=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:c,player:i,isFallbackTransition:m}),m||(vn(e,Mf),i.onStart(()=>{Pa(e,Mf)})),i.onDone(()=>{let b=this.players.indexOf(i);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),u.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,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(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,fl,!0);r.forEach(n=>{if(n[Dn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let a=this._engine.statesByElement.get(e),i=new Map;if(a){let o=[];if(a.forEach((l,c)=>{if(i.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Qi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&Mr(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(a=>{let i=a.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=r.get(i)||Ju,c=new pd(Qi),u=new md(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let a=e[Dn];(!a||a===D1)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){vn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let a=r.element,i=this._elementListeners.get(a);i&&i.forEach(o=>{if(o.name==r.triggerName){let l=np(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,tp(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let a=r.transition.ast.depCount,i=n.transition.ast.depCount;return a==0||i==0?a-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},pee=class{constructor(e,t,r){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=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new hee(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),a=!0;break}i=this.driver.getParentElement(i)}a||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,r,n){if(ys(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!ys(t))return;let a=t[Dn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),vn(e,Xu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Pa(e,Xu))}removeNode(e,t,r){if(ys(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,a){this.collectedLeaveElements.push(t),t[Dn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return ys(t)?this._fetchNamespace(e).listen(t,r,n,a):()=>{}}_buildInstruction(e,t,r,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,fl,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,cd,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Mr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[Dn];if(t&&t.setForRemoval){if(e[Dn]=D1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(Xu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,see,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];vn(n,lee)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Mr(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw vJ()}_flushAnimations(e,t){let r=new lp,n=[],a=new Map,i=[],o=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(L=>{u.add(L);let j=this.driver.query(L,oee,!0);for(let G=0;G<j.length;G++)u.add(j[G])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=Af(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((L,j)=>{let G=v1+w++;g.set(j,G),L.forEach(Se=>vn(Se,G))});let x=[],S=new Set,T=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let j=this.collectedLeaveElements[L],G=j[Dn];G&&G.setForRemoval&&(x.push(j),S.add(j),G.hasAnimation?this.driver.query(j,uee,!0).forEach(Se=>S.add(Se)):T.add(j))}let R=new Map,O=Af(m,Array.from(S));O.forEach((L,j)=>{let G=ud+w++;R.set(j,G),L.forEach(Se=>vn(Se,G))}),e.push(()=>{b.forEach((L,j)=>{let G=g.get(j);L.forEach(Se=>Pa(Se,G))}),O.forEach((L,j)=>{let G=R.get(j);L.forEach(Se=>Pa(Se,G))}),x.forEach(L=>{this.processLeaveNode(L)})});let Y=[],ie=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(j=>{let G=j.player,Se=j.element;if(Y.push(G),this.collectedEnterElements.length){let Ze=Se[Dn];if(Ze&&Ze.setForMove){if(Ze.previousTriggersValues&&Ze.previousTriggersValues.has(j.triggerName)){let jt=Ze.previousTriggersValues.get(j.triggerName),kt=this.statesByElement.get(j.element);if(kt&&kt.has(j.triggerName)){let jn=kt.get(j.triggerName);jn.value=jt,kt.set(j.triggerName,jn)}}G.destroy();return}}let qe=!d||!this.driver.containsElement(d,Se),Ft=R.get(Se),Te=g.get(Se),Pe=this._buildInstruction(j,r,Te,Ft,qe);if(Pe.errors&&Pe.errors.length){ie.push(Pe);return}if(qe){G.onStart(()=>sa(Se,Pe.fromStyles)),G.onDestroy(()=>$n(Se,Pe.toStyles)),n.push(G);return}if(j.isFallbackTransition){G.onStart(()=>sa(Se,Pe.fromStyles)),G.onDestroy(()=>$n(Se,Pe.toStyles)),n.push(G);return}let et=[];Pe.timelines.forEach(Ze=>{Ze.stretchStartingKeyframe=!0,this.disabledNodes.has(Ze.element)||et.push(Ze)}),Pe.timelines=et,r.append(Se,Pe.timelines);let Sn={instruction:Pe,player:G,element:Se};i.push(Sn),Pe.queriedElements.forEach(Ze=>ln(o,Ze,[]).push(G)),Pe.preStyleProps.forEach((Ze,jt)=>{if(Ze.size){let kt=l.get(jt);kt||l.set(jt,kt=new Set),Ze.forEach((jn,Cr)=>kt.add(Cr))}}),Pe.postStyleProps.forEach((Ze,jt)=>{let kt=c.get(jt);kt||c.set(jt,kt=new Set),Ze.forEach((jn,Cr)=>kt.add(Cr))})});if(ie.length){let L=[];ie.forEach(j=>{L.push(bJ(j.triggerName,j.errors))}),Y.forEach(j=>j.destroy()),this.reportError(L)}let me=new Map,St=new Map;i.forEach(L=>{let j=L.element;r.has(j)&&(St.set(j,j),this._beforeAnimationBuild(L.player.namespaceId,L.instruction,me))}),n.forEach(L=>{let j=L.element;this._getPreviousPlayers(j,!1,L.namespaceId,L.triggerName,null).forEach(G=>{ln(me,j,[]).push(G),G.destroy()})});let ut=x.filter(L=>Lf(L,l,c)),We=new Map;Rf(We,this.driver,T,c,gr).forEach(L=>{Lf(L,l,c)&&ut.push(L)});let vt=new Map;b.forEach((L,j)=>{Rf(vt,this.driver,new Set(L),l,ep)}),ut.forEach(L=>{let j=We.get(L),G=vt.get(L);We.set(L,new Map([...(j==null?void 0:j.entries())??[],...(G==null?void 0:G.entries())??[]]))});let Z=[],H=[],ge={};i.forEach(L=>{let{element:j,player:G,instruction:Se}=L;if(r.has(j)){if(u.has(j)){G.onDestroy(()=>$n(j,Se.toStyles)),G.disabled=!0,G.overrideTotalTime(Se.totalTime),n.push(G);return}let qe=ge;if(St.size>1){let Te=j,Pe=[];for(;Te=Te.parentNode;){let et=St.get(Te);if(et){qe=et;break}Pe.push(Te)}Pe.forEach(et=>St.set(et,qe))}let Ft=this._buildAnimation(G.namespaceId,Se,me,a,vt,We);if(G.setRealPlayer(Ft),qe===ge)Z.push(G);else{let Te=this.playersByElement.get(qe);Te&&Te.length&&(G.parentPlayer=Mr(Te)),n.push(G)}}else sa(j,Se.fromStyles),G.onDestroy(()=>$n(j,Se.toStyles)),H.push(G),u.has(j)&&n.push(G)}),H.forEach(L=>{let j=a.get(L.element);if(j&&j.length){let G=Mr(j);L.setRealPlayer(G)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let j=x[L],G=j[Dn];if(Pa(j,ud),G&&G.hasAnimation)continue;let Se=[];if(o.size){let Ft=o.get(j);Ft&&Ft.length&&Se.push(...Ft);let Te=this.driver.query(j,cd,!0);for(let Pe=0;Pe<Te.length;Pe++){let et=o.get(Te[Pe]);et&&et.length&&Se.push(...et)}}let qe=Se.filter(Ft=>!Ft.destroyed);qe.length?vee(this,j,qe):this.processLeaveNode(j)}return x.length=0,Z.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let j=this.players.indexOf(L);this.players.splice(j,1)}),L.play()}),Z}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,a){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==Qi;o.forEach(c=>{c.queued||!l&&c.triggerName!=n||i.push(c)})}}return(r||n)&&(i=i.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let c=l.element,u=c!==a,d=ln(r,c,[]);this._getPreviousPlayers(c,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),d.push(m)})}sa(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;u.add(w);let x=w[Dn];if(x&&x.removedBeforeQueried)return new fo(g.duration,g.delay);let S=w!==l,T=bee((r.get(w)||cee).map(me=>me.getRealPlayer())).filter(me=>{let St=me;return St.element?St.element===w:!1}),R=a.get(w),O=i.get(w),Y=p1(this._normalizer,g.keyframes,R,O),ie=this._buildPlayer(g,Y,T);if(g.subTimeline&&n&&d.add(w),S){let me=new md(e,o,w);me.setRealPlayer(ie),c.push(me)}return ie});c.forEach(g=>{ln(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>mee(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>vn(g,Cf));let b=Mr(m);return b.onDestroy(()=>{u.forEach(g=>Pa(g,Cf)),$n(l,t.toStyles)}),d.forEach(g=>{ln(n,g,[]).push(b)}),b}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new fo(e.duration,e.delay)}},md=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new fo);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=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>tp(e,r,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){ln(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 mee(e,t,r){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(r);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function fee(e){return e??null}function ys(e){return e&&e.nodeType===1}function gee(e){return e=="start"||e=="done"}function Pf(e,t){let r=e.style.display;return e.style.display=t??"none",r}function Rf(e,t,r,n,a){let i=[];r.forEach(c=>i.push(Pf(c)));let o=[];n.forEach((c,u)=>{let d=new Map;c.forEach(m=>{let b=t.computeStyle(u,m,a);d.set(m,b),(!b||b.length==0)&&(u[Dn]=dee,o.push(u))}),e.set(u,d)});let l=0;return r.forEach(c=>Pf(c,i[l++])),o}function Af(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,a=new Set(t),i=new Map;function o(l){if(!l)return n;let c=i.get(l);if(c)return c;let u=l.parentNode;return r.has(u)?c=u:a.has(u)?c=n:c=o(u),i.set(l,c),c}return t.forEach(l=>{let c=o(l);c!==n&&r.get(c).push(l)}),r}function vn(e,t){var r;(r=e.classList)==null||r.add(t)}function Pa(e,t){var r;(r=e.classList)==null||r.remove(t)}function vee(e,t,r){Mr(r).onDone(()=>e.processLeaveNode(t))}function bee(e){let t=[];return T1(e,t),t}function T1(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof h1?T1(n.players,t):t.push(n)}}function yee(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let a=0;a<r.length;a++){let i=r[a];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function Lf(e,t,r){let n=r.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(i=>a.add(i)):t.set(e,n),r.delete(e),!0}var fd=class{constructor(e,t,r){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=r,this._transitionEngine=new pee(e.body,t,r),this._timelineEngine=new iee(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,r,n,a){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],c=[],u=w1(this._driver,a,l,c);if(l.length)throw sJ();o=tee(n,u,this._normalizer),this._triggerCache[i]=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,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[a,i]=Sf(r),o=n;this._timelineEngine.command(a,t,i,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,a){if(r.charAt(0)=="@"){let[i,o]=Sf(r);return this._timelineEngine.listen(i,t,o,a)}return this._transitionEngine.listen(e,t,r,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 _ee(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=ec(t[0]),t.length>1&&(n=ec(t[t.length-1]))):t instanceof Map&&(r=ec(t)),r||n?new wee(e,r,n):null}var wee=(()=>{const t=class t{constructor(n,a,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&$n(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($n(this._element,this._initialStyles),this._endStyles&&($n(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(sa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sa(this._element,this._endStyles),this._endStyles=null),$n(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function ec(e){let t=null;return e.forEach((r,n)=>{xee(n)&&(t=t||new Map,t.set(n,r))}),t}function xee(e){return e==="display"||e==="position"}var Ff=class{constructor(e,t,r,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=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.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(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}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,r)=>{r!=="offset"&&e.set(r,this._finished?t:ip(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Eee=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return m1(e,t)}getParentElement(e){return rp(e)}query(e,t,r){return f1(e,t,r)}computeStyle(e,t,r){return ip(e,t)}animate(e,t,r,n,a,i=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};a&&(l.easing=a);let c=new Map,u=i.filter(b=>b instanceof Ff);TJ(r,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>c.set(w,g))});let d=CJ(t).map(b=>new Map(b));d=NJ(e,d,c);let m=_ee(e,d);return new Ff(e,d,l,m)}},js="@",N1="@.disabled",O1=class{constructor(e,t,r,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=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.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,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){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,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==js&&t==N1?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},See=class extends O1{constructor(t,r,n,a,i){super(r,n,a,i);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==js?r.charAt(1)=="."&&r==N1?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,a){if(r.charAt(0)==js){let i=kee(t),o=r.slice(1),l="";return o.charAt(0)!=js&&([o,l]=Cee(o)),this.engine.listen(this.namespaceId,i,o,l,c=>{let u=c._data||-1;this.factory.scheduleListenerCallback(u,n,c)})}return this.delegate.listen(t,r,n,a)}};function kee(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Cee(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var Iee=class{constructor(e,t,r){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=r,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let c=this._rendererCache,u=c.get(n);if(!u){let d=()=>c.delete(n);u=new O1(r,n,this.engine,d),c.set(n,u)}return u}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=c=>{Array.isArray(c)?c.forEach(o):this.engine.registerTrigger(a,i,e,c.name,c)};return t.data.animation.forEach(o),new See(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[i,o]=a;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}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,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},Dee=(()=>{const t=class t extends fd{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(y1),te(op))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function Tee(){return new PJ}function Nee(e,t,r){return new Iee(e,t,r)}var Oee=[{provide:op,useFactory:Tee},{provide:fd,useClass:Dee},{provide:An,useFactory:Nee,deps:[td,fd,je]}],Mee=[{provide:y1,useFactory:()=>new Eee},{provide:bi,useFactory:()=>"BrowserAnimations"},...Oee];function Pee(){return wa("NgEagerAnimations"),[...Mee]}var Ree=(()=>{const t=class t extends d1{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*i,c=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${c} / ${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)(te(kr))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),M1=6048e5,Aee=864e5,Lee=6e4,Fee=36e5,jee=1e3,jf=Symbol.for("constructDateFrom");function Nt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&jf in e?e[jf](t):e instanceof Date?new e.constructor(t):new Date(t)}function It(e,t){return Nt(t||e,e)}function P1(e,t,r){let n=It(e,r==null?void 0:r.in);return isNaN(t)?Nt((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Vee={};function Ci(){return Vee}function $r(e,t){var l,c,u,d;let r=Ci(),n=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((d=(u=r.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,a=It(e,t==null?void 0:t.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function ui(e,t){return $r(e,Yt(se({},t),{weekStartsOn:1}))}function R1(e,t){let r=It(e,t==null?void 0:t.in),n=r.getFullYear(),a=Nt(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=ui(a),o=Nt(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=ui(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function yl(e){let t=It(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function zee(e,...t){let r=Nt.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Vf(e,t){let r=It(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function Bee(e,t,r){let[n,a]=zee(r==null?void 0:r.in,e,t),i=Vf(n),o=Vf(a),l=+i-yl(i),c=+o-yl(o);return Math.round((l-c)/Aee)}function Hee(e,t){let r=R1(e,t),n=Nt(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),ui(n)}function qee(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $ee(e){return!(!qee(e)&&typeof e!="number"||isNaN(+It(e)))}function Uee(e,t){let r=It(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var Gee={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"}},Wee=(e,t,r)=>{let n,a=Gee[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function tc(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Zee={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Yee={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kee={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qee={date:tc({formats:Zee,defaultWidth:"full"}),time:tc({formats:Yee,defaultWidth:"full"}),dateTime:tc({formats:Kee,defaultWidth:"full"})},Xee={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Jee=(e,t,r,n)=>Xee[e];function Fi(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}var ete={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},tte={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},nte={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"]},rte={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"]},ate={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"}},ite={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"}},ote=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},ste={ordinalNumber:ote,era:Fi({values:ete,defaultWidth:"wide"}),quarter:Fi({values:tte,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Fi({values:nte,defaultWidth:"wide"}),day:Fi({values:rte,defaultWidth:"wide"}),dayPeriod:Fi({values:ate,defaultWidth:"wide",formattingValues:ite,defaultFormattingWidth:"wide"})};function ji(e){return(t,r={})=>{let n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?ute(l,m=>m.test(o)):lte(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(c):c,u=r.valueCallback?r.valueCallback(u):u;let d=t.slice(o.length);return{value:u,rest:d}}}function lte(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function ute(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function cte(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var dte=/^(\d+)(th|st|nd|rd)?/i,hte=/\d+/i,pte={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},mte={any:[/^b/i,/^(a|c)/i]},fte={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gte={any:[/1/i,/2/i,/3/i,/4/i]},vte={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},bte={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]},yte={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},_te={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]},wte={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},xte={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}},Ete={ordinalNumber:cte({matchPattern:dte,parsePattern:hte,valueCallback:e=>parseInt(e,10)}),era:ji({matchPatterns:pte,defaultMatchWidth:"wide",parsePatterns:mte,defaultParseWidth:"any"}),quarter:ji({matchPatterns:fte,defaultMatchWidth:"wide",parsePatterns:gte,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ji({matchPatterns:vte,defaultMatchWidth:"wide",parsePatterns:bte,defaultParseWidth:"any"}),day:ji({matchPatterns:yte,defaultMatchWidth:"wide",parsePatterns:_te,defaultParseWidth:"any"}),dayPeriod:ji({matchPatterns:wte,defaultMatchWidth:"any",parsePatterns:xte,defaultParseWidth:"any"})},A1={code:"en-US",formatDistance:Wee,formatLong:Qee,formatRelative:Jee,localize:ste,match:Ete,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ste(e,t){let r=It(e,t==null?void 0:t.in);return Bee(r,Uee(r))+1}function L1(e,t){let r=It(e,t==null?void 0:t.in),n=+ui(r)-+Hee(r);return Math.round(n/M1)+1}function up(e,t){var d,m,b,g;let r=It(e,t==null?void 0:t.in),n=r.getFullYear(),a=Ci(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=Nt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=$r(o,t),c=Nt((t==null?void 0:t.in)||e,0);c.setFullYear(n,0,i),c.setHours(0,0,0,0);let u=$r(c,t);return+r>=+l?n+1:+r>=+u?n:n-1}function kte(e,t){var o,l,c,u;let r=Ci(),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)??r.firstWeekContainsDate??((u=(c=r.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,a=up(e,t),i=Nt((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),$r(i,t)}function F1(e,t){let r=It(e,t==null?void 0:t.in),n=+$r(r,t)-+kte(r,t);return Math.round(n/M1)+1}function ze(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var Tr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return ze(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):ze(r+1,2)},d(e,t){return ze(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="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 r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return ze(a,t.length)}},Oa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},zf={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Tr.y(e,t)},Y:function(e,t,r,n){let a=up(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return ze(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):ze(i,t.length)},R:function(e,t){let r=R1(e);return ze(r,t.length)},u:function(e,t){let r=e.getFullYear();return ze(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ze(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ze(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return Tr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return ze(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=F1(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):ze(a,t.length)},I:function(e,t,r){let n=L1(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):ze(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Tr.d(e,t)},D:function(e,t,r){let n=Ste(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):ze(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ze(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ze(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){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 r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),a;switch(n===12?a=Oa.noon:n===0?a=Oa.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),a;switch(n>=17?a=Oa.evening:n>=12?a=Oa.afternoon:n>=4?a=Oa.morning:a=Oa.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Tr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Tr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Tr.s(e,t)},S:function(e,t){return Tr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Hf(n);case"XXXX":case"XX":return ra(n);case"XXXXX":case"XXX":default:return ra(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return Hf(n);case"xxxx":case"xx":return ra(n);case"xxxxx":case"xxx":default:return ra(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Bf(n,":");case"OOOO":default:return"GMT"+ra(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Bf(n,":");case"zzzz":default:return"GMT"+ra(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return ze(n,t.length)},T:function(e,t,r){return ze(+e,t.length)}};function Bf(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+ze(i,2)}function Hf(e,t){return e%60===0?(e>0?"-":"+")+ze(Math.abs(e)/60,2):ra(e,t)}function ra(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=ze(Math.trunc(n/60),2),i=ze(n%60,2);return r+a+t+i}var qf=(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"})}},j1=(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"})}},Cte=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return qf(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",qf(n,t)).replace("{{time}}",j1(a,t))},gd={p:j1,P:Cte},Ite=/^D+$/,Dte=/^Y+$/,Tte=["D","DD","YY","YYYY"];function V1(e){return Ite.test(e)}function z1(e){return Dte.test(e)}function vd(e,t,r){let n=Nte(e,t,r);if(console.warn(n),Tte.includes(e))throw new RangeError(n)}function Nte(e,t,r){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 \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Ote=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mte=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pte=/^'([^]*?)'?$/,Rte=/''/g,Ate=/[a-zA-Z]/;function B1(e,t,r){var d,m,b,g,w,x,S,T;let n=Ci(),a=(r==null?void 0:r.locale)??n.locale??A1,i=(r==null?void 0:r.firstWeekContainsDate)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((x=(w=r==null?void 0:r.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((T=(S=n.locale)==null?void 0:S.options)==null?void 0:T.weekStartsOn)??0,l=It(e,r==null?void 0:r.in);if(!$ee(l))throw new RangeError("Invalid time value");let c=t.match(Mte).map(R=>{let O=R[0];if(O==="p"||O==="P"){let Y=gd[O];return Y(R,a.formatLong)}return R}).join("").match(Ote).map(R=>{if(R==="''")return{isToken:!1,value:"'"};let O=R[0];if(O==="'")return{isToken:!1,value:Lte(R)};if(zf[O])return{isToken:!0,value:R};if(O.match(Ate))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:R}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return c.map(R=>{if(!R.isToken)return R.value;let O=R.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&z1(O)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&V1(O))&&vd(O,t,String(e));let Y=zf[O[0]];return Y(l,O,a.localize,u)}).join("")}function Lte(e){let t=e.match(Pte);return t?t[1].replace(Rte,"'"):e}function H1(){return Object.assign({},Ci())}function Fte(e,t){let r=It(e,t==null?void 0:t.in).getDay();return r===0?7:r}function jte(e,t){let r=Vte(t)?new t(0):Nt(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function Vte(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var zte=10,q1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Bte=class extends q1{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},Hte=class extends q1{constructor(t,r){super();s(this,"priority",zte);s(this,"subPriority",-1);this.context=t||(n=>Nt(r,n))}set(t,r){return r.timestampIsSet?t:Nt(t,jte(t,this.context))}},Fe=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new Bte(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},qte=class extends Fe{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){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,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},pt={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}/},Un={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 mt(e,t){return e&&{value:t(e.value),rest:e.rest}}function tt(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Gn(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*Fee+i*Lee+o*jee),rest:t.slice(r[0].length)}}function $1(e){return tt(pt.anyDigitsSigned,e)}function st(e,t){switch(e){case 1:return tt(pt.singleDigit,t);case 2:return tt(pt.twoDigits,t);case 3:return tt(pt.threeDigits,t);case 4:return tt(pt.fourDigits,t);default:return tt(new RegExp("^\\d{1,"+e+"}"),t)}}function _l(e,t){switch(e){case 1:return tt(pt.singleDigitSigned,t);case 2:return tt(pt.twoDigitsSigned,t);case 3:return tt(pt.threeDigitsSigned,t);case 4:return tt(pt.fourDigitsSigned,t);default:return tt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function cp(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 U1(e,t){let r=t>0,n=r?t:1-t,a;if(n<=50)a=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return r?a:1-a}function G1(e){return e%400===0||e%4===0&&e%100!==0}var $te=class extends Fe{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return mt(st(4,t),a);case"yo":return mt(n.ordinalNumber(t,{unit:"year"}),a);default:return mt(st(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=U1(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Ute=class extends Fe{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,r,n){let a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return mt(st(4,t),a);case"Yo":return mt(n.ordinalNumber(t,{unit:"year"}),a);default:return mt(st(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=up(t,a);if(n.isTwoDigitYear){let l=U1(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),$r(t,a)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),$r(t,a)}},Gte=class extends Fe{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,r){return _l(r==="R"?4:r.length,t)}set(t,r,n){let a=Nt(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),ui(a)}},Wte=class extends Fe{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return _l(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Zte=class extends Fe{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,r,n){switch(r){case"Q":case"QQ":return st(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Yte=class extends Fe{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,r,n){switch(r){case"q":case"qq":return st(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Kte=class extends Fe{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,r,n){let a=i=>i-1;switch(r){case"M":return mt(tt(pt.month,t),a);case"MM":return mt(st(2,t),a);case"Mo":return mt(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Qte=class extends Fe{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,r,n){let a=i=>i-1;switch(r){case"L":return mt(tt(pt.month,t),a);case"LL":return mt(st(2,t),a);case"Lo":return mt(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function Xte(e,t,r){let n=It(e,r==null?void 0:r.in),a=F1(n,r)-t;return n.setDate(n.getDate()-a*7),It(n,r==null?void 0:r.in)}var Jte=class extends Fe{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,r,n){switch(r){case"w":return tt(pt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return $r(Xte(t,n,a),a)}};function ene(e,t,r){let n=It(e,r==null?void 0:r.in),a=L1(n,r)-t;return n.setDate(n.getDate()-a*7),n}var tne=class extends Fe{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,r,n){switch(r){case"I":return tt(pt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return ui(ene(t,n))}},nne=[31,28,31,30,31,30,31,31,30,31,30,31],rne=[31,29,31,30,31,30,31,31,30,31,30,31],ane=class extends Fe{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,r,n){switch(r){case"d":return tt(pt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return st(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=G1(n),i=t.getMonth();return a?r>=1&&r<=rne[i]:r>=1&&r<=nne[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},ine=class extends Fe{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,r,n){switch(r){case"D":case"DD":return tt(pt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return st(r.length,t)}}validate(t,r){let n=t.getFullYear();return G1(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function dp(e,t,r){var d,m,b,g;let n=Ci(),a=(r==null?void 0:r.weekStartsOn)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,i=It(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,c=7-a,u=t<0||t>6?t-(o+c)%7:(l+c)%7-(o+c)%7;return P1(i,u,r)}var one=class extends Fe{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){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,r){return r>=0&&r<=6}set(t,r,n,a){return t=dp(t,n,a),t.setHours(0,0,0,0),t}},sne=class extends Fe{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return mt(st(r.length,t),i);case"eo":return mt(n.ordinalNumber(t,{unit:"day"}),i);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,r){return r>=0&&r<=6}set(t,r,n,a){return t=dp(t,n,a),t.setHours(0,0,0,0),t}},lne=class extends Fe{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return mt(st(r.length,t),i);case"co":return mt(n.ordinalNumber(t,{unit:"day"}),i);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,r){return r>=0&&r<=6}set(t,r,n,a){return t=dp(t,n,a),t.setHours(0,0,0,0),t}};function une(e,t,r){let n=It(e,r==null?void 0:r.in),a=Fte(n,r),i=t-a;return P1(n,i,r)}var cne=class extends Fe{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,r,n){let a=i=>i===0?7:i;switch(r){case"i":case"ii":return st(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return mt(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 mt(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return mt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return mt(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,r){return r>=1&&r<=7}set(t,r,n){return t=une(t,n),t.setHours(0,0,0,0),t}},dne=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(cp(n),0,0,0),t}},hne=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(cp(n),0,0,0),t}},pne=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(cp(n),0,0,0),t}},mne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return tt(pt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,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}},fne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return tt(pt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},gne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return tt(pt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},vne=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return tt(pt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return st(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},bne=class extends Fe{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return tt(pt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},yne=class extends Fe{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return tt(pt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return st(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},_ne=class extends Fe{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=a=>Math.trunc(a*Math.pow(10,-r.length+3));return mt(st(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},wne=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return Gn(Un.basicOptionalMinutes,t);case"XX":return Gn(Un.basic,t);case"XXXX":return Gn(Un.basicOptionalSeconds,t);case"XXXXX":return Gn(Un.extendedOptionalSeconds,t);case"XXX":default:return Gn(Un.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Nt(t,t.getTime()-yl(t)-n)}},xne=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return Gn(Un.basicOptionalMinutes,t);case"xx":return Gn(Un.basic,t);case"xxxx":return Gn(Un.basicOptionalSeconds,t);case"xxxxx":return Gn(Un.extendedOptionalSeconds,t);case"xxx":default:return Gn(Un.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Nt(t,t.getTime()-yl(t)-n)}},Ene=class extends Fe{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return $1(t)}set(t,r,n){return[Nt(t,n*1e3),{timestampIsSet:!0}]}},Sne=class extends Fe{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return $1(t)}set(t,r,n){return[Nt(t,n),{timestampIsSet:!0}]}},kne={G:new qte,y:new $te,Y:new Ute,R:new Gte,u:new Wte,Q:new Zte,q:new Yte,M:new Kte,L:new Qte,w:new Jte,I:new tne,d:new ane,D:new ine,E:new one,e:new sne,c:new lne,i:new cne,a:new dne,b:new hne,B:new pne,h:new mne,H:new fne,K:new gne,k:new vne,m:new bne,s:new yne,S:new _ne,X:new wne,x:new xne,t:new Ene,T:new Sne},Cne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ine=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dne=/^'([^]*?)'?$/,Tne=/''/g,Nne=/\S/,One=/[a-zA-Z]/;function Mne(e,t,r,n){var S,T,R,O;let a=()=>Nt(r,NaN),i=H1(),o=i.locale??A1,l=i.firstWeekContainsDate??((T=(S=i.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,c=i.weekStartsOn??((O=(R=i.locale)==null?void 0:R.options)==null?void 0:O.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:c,locale:o},d=[new Hte(n==null?void 0:n.in,r)],m=t.match(Ine).map(Y=>{let ie=Y[0];if(ie in gd){let me=gd[ie];return me(Y,o.formatLong)}return Y}).join("").match(Cne),b=[];for(let Y of m){z1(Y)&&vd(Y,t,e),V1(Y)&&vd(Y,t,e);let ie=Y[0],me=kne[ie];if(me){let{incompatibleTokens:St}=me;if(Array.isArray(St)){let We=b.find(vt=>St.includes(vt.token)||vt.token===ie);if(We)throw new RangeError(`The format string mustn't contain \`${We.fullToken}\` and \`${Y}\` at the same time`)}else if(me.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);b.push({token:ie,fullToken:Y});let ut=me.run(e,Y,o.match,u);if(!ut)return a();d.push(ut.setter),e=ut.rest}else{if(ie.match(One))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ie+"`");if(Y==="''"?Y="'":ie==="'"&&(Y=Pne(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return a()}}if(e.length>0&&Nne.test(e))return a();let g=d.map(Y=>Y.priority).sort((Y,ie)=>ie-Y).filter((Y,ie,me)=>me.indexOf(Y)===ie).map(Y=>d.filter(ie=>ie.priority===Y).sort((ie,me)=>me.subPriority-ie.subPriority)).map(Y=>Y[0]),w=It(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let Y of g){if(!Y.validate(w,u))return a();let ie=Y.set(w,x,u);Array.isArray(ie)?(w=ie[0],Object.assign(x,ie[1])):w=ie}return w}function Pne(e){return e.match(Dne)[1].replace(Tne,"'")}var D=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}(D||{}),hp=new K("ngx-mask config"),W1=new K("new ngx-mask config"),Z1=new K("initial ngx-mask config"),Rne={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 Vt,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")}}};D.HOURS_MINUTES_SECONDS,D.HOURS_MINUTES,D.MINUTES_SECONDS;D.PERCENT,D.HOURS_HOUR,D.SECONDS,D.MINUTES,D.SEPARATOR,D.DAYS_MONTHS_YEARS,D.DAYS_MONTHS,D.DAYS,D.MONTHS;var Ane=(()=>{const t=class t{constructor(){s(this,"_config",C(hp));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,i,o)=>{var g;let l=[],c="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),c=((g=n.match(w))==null?void 0:g[0])??D.EMPTY_STRING}else l=n.split(i),c=i;let u=l.length>1?`${c}${l[1]}`:D.EMPTY_STRING,d=l[0]??D.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,D.EMPTY_STRING);m&&+m&&(d[0]===D.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let b=/(\d+)(\d{3})/;for(;a&&b.test(d);)d=d.replace(b,"$1"+a+"$2");return typeof o>"u"?d+u:o===0?d:d+u.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(D.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let a=n.split(D.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,i,o,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let u=this.suffix.substring(c,(i=this.suffix)==null?void 0:i.length);if(n.includes(u)&&c!==((o=this.suffix)==null?void 0:o.length)-1&&(c-1<0||!n.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(u,D.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var c;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),d=o.match(u),m=(d&&((c=d[0])==null?void 0:c.length))??0;if(m-1>a){let b=m-1-a;o=o.substring(0,o.length-b)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[i,o]=a;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,a,i=0,o=!1,l=!1,c=()=>{}){var ut,We,vt;if(!a||typeof n!="string")return D.EMPTY_STRING;let u=0,d="",m=!1,b=!1,g=1,w=!1,x=n,S=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let T=x.toString().split(D.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&(d+=x.slice(u,u+1)),a===D.IP){let Z=x.split(D.DOT);this.ipError=this._validIP(Z),a="099.099.099.099"}let R=[];for(let Z=0;Z<x.length;Z++)(ut=x[Z])!=null&&ut.match("\\d")&&R.push(x[Z]??D.EMPTY_STRING);if(a===D.CPF_CNPJ&&(this.cpfCnpjError=R.length!==11&&R.length!==14,R.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(D.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let ge=this.getPrecision(a);x=this.checkInputPrecision(x,ge,this.decimalMarker)}let Z=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;if(x.indexOf(Z)>0&&!this.percentage(x.substring(0,x.indexOf(Z)))){let ge=x.substring(0,x.indexOf(Z)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&!l&&(ge=x.substring(0,x.indexOf(Z))),x=`${ge}${x.substring(x.indexOf(Z),x.length)}`}let H="";this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS?H=`${D.MINUS}${x.slice(u+1,u+x.length)}`:H=x,this.percentage(H)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(D.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Z=this.getPrecision(a),H=Array.isArray(this.decimalMarker)?this.thousandSeparator===D.DOT?D.COMMA:D.DOT:this.decimalMarker;if(Z===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===D.MINUS&&x[1]===D.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==D.COMMA&&x[2]!==D.DOT?"-"+x.slice(2,x.length):x[0]===D.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==D.COMMA&&x[1]!==D.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===D.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==D.COMMA&&x[1]!==D.DOT?x.slice(1,x.length):x:(x[0]===H&&x.length>1&&(x=D.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===D.NUMBER_ZERO&&x[1]!==H&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+H+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===D.MINUS&&(x[1]===H||x[1]===D.NUMBER_ZERO)&&(x=x[1]===H&&x.length>2?x.slice(0,1)+D.NUMBER_ZERO+x.slice(1,x.length):x[1]===D.NUMBER_ZERO&&x.length>2&&x[2]!==H?x.slice(0,2)+H+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Te=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Pe=x[S]===D.NUMBER_ZERO||x[S]===H,et=x[0]===D.NUMBER_ZERO,Sn=x[0]===D.MINUS,Ze=x[0]===this.thousandSeparator,jt=x[1]===H,kt=x[1]===D.NUMBER_ZERO,jn=x[2]===H;et&&jt&&Pe&&S<2&&(x=Te),Sn&&kt&&jn&&Pe&&S<3&&(x=D.MINUS+Te),Te!==D.MINUS&&(S===0&&(et||Ze)||this.allowNegativeNumbers&&S===1&&Sn&&!kt)&&(x=Sn?D.MINUS+Te:Te)}let ge=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ge,"");if(Array.isArray(this.decimalMarker))for(let Te of this.decimalMarker)L=L.replace(this._charToRegExpExpression(Te),D.EMPTY_STRING);else L=L.replace(this._charToRegExpExpression(this.decimalMarker),"");let j=new RegExp("["+L+"]");x.match(j)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Z,this.decimalMarker);let G=x.replace(new RegExp(ge,"g"),"");d=this._formatWithSeparators(G,this.thousandSeparator,this.decimalMarker,Z);let Se=d.indexOf(D.COMMA)-x.indexOf(D.COMMA),qe=d.length-x.length,Ft=l&&d.length<n.length&&this.separatorLimit;if((d[S-1]===this.thousandSeparator||d[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(qe>0&&d[S]!==this.thousandSeparator||Ft){b=!0;let Te=0;do this._shift.add(S+Te),Te++;while(Te<qe)}else d[S-1]===this.thousandSeparator||qe===-4||qe===-3||d[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Se!==0&&S>0&&!(d.indexOf(D.COMMA)>=S&&S>3)||!(d.indexOf(D.DOT)>=S&&S>3)&&qe<=0?(this._shift.clear(),b=!0,g=qe,S+=qe,this._shift.add(S)):this._shift.clear()}else for(let Z=0,H=T[0];Z<T.length&&u!==a.length;Z++,H=T[Z]??D.EMPTY_STRING){let ge=D.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(H,a[u]??D.EMPTY_STRING)&&a[u+1]===D.SYMBOL_QUESTION)d+=H,u+=2;else if(a[u+1]===D.SYMBOL_STAR&&m&&this._checkSymbolMask(H,a[u+2]??D.EMPTY_STRING))d+=H,u+=3,m=!1;else if(this._checkSymbolMask(H,a[u]??D.EMPTY_STRING)&&a[u+1]===D.SYMBOL_STAR&&!ge)d+=H,m=!0;else if(a[u+1]===D.SYMBOL_QUESTION&&this._checkSymbolMask(H,a[u+2]??D.EMPTY_STRING))d+=H,u+=3;else if(this._checkSymbolMask(H,a[u]??D.EMPTY_STRING)){if(a[u]===D.HOURS&&(this.apm?Number(H)>9:Number(H)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}if(a[u]===D.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(H)>2||x.slice(u-1,u).length===1&&Number(x.slice(u-1,u))>2||x.slice(u-1,u)==="1"&&Number(H)>2:d==="2"&&Number(H)>3||(d.slice(u-2,u)==="2"||d.slice(u-3,u)==="2"||d.slice(u-4,u)==="2"||d.slice(u-1,u)==="2")&&Number(H)>3&&u>10)){S=S+1,u+=1,Z--;continue}if((a[u]===D.MINUTE||a[u]===D.SECOND)&&Number(H)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}let L=31,j=x[u],G=x[u+1],Se=x[u+2],qe=x[u-1],Ft=x[u-2],Te=x.slice(u-3,u-1),Pe=x.slice(u-1,u+1),et=x.slice(u,u+2),Sn=x.slice(u-2,u);if(a[u]===D.DAY){let Ze=a.slice(0,2)===D.MONTHS,jt=a.slice(0,2)===D.MONTHS&&this.specialCharacters.includes(Ft);if(Number(H)>3&&this.leadZeroDateTime||!Ze&&(Number(et)>L||Number(Pe)>L||this.specialCharacters.includes(G))||(jt?Number(Pe)>L||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(Se)||this.specialCharacters.includes(j):Number(et)>L||this.specialCharacters.includes(G)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}}if(a[u]===D.MONTH){let Ze=u===0&&(Number(H)>2||Number(et)>12||this.specialCharacters.includes(G)&&!l),jt=a.slice(u+2,u+3),kt=Te.includes(jt)&&a.includes("d0")&&(this.specialCharacters.includes(Ft)&&Number(Pe)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),jn=Number(Te)<=L&&!this.specialCharacters.includes(Te)&&this.specialCharacters.includes(qe)&&(Number(et)>12||this.specialCharacters.includes(G)),Cr=Number(et)>12&&u===5||this.specialCharacters.includes(G)&&u===5,Uo=Number(Te)>L&&!this.specialCharacters.includes(Te)&&!this.specialCharacters.includes(Sn)&&Number(Sn)>12&&a.includes("d0"),Go=Number(Te)<=L&&!this.specialCharacters.includes(Te)&&!this.specialCharacters.includes(qe)&&Number(Pe)>12;if(Number(H)>1&&this.leadZeroDateTime||Ze||kt||Go||Uo||jn||Cr&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}}d+=H,u++}else this.specialCharacters.includes(H)&&a[u]===H?(d+=H,u++):this.specialCharacters.indexOf(a[u]??D.EMPTY_STRING)!==-1?(d+=a[u],u++,this._shiftStep(a,u,T.length),Z--):a[u]===D.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,u,T.length):this.patterns[a[u]??D.EMPTY_STRING]&&((We=this.patterns[a[u]??D.EMPTY_STRING])!=null&&We.optional)?(T[u]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((vt=this.patterns[a[u]??D.EMPTY_STRING])!=null&&vt.optional)&&(d+=T[u]),a.includes(D.NUMBER_NINE+D.SYMBOL_STAR)&&a.includes(D.NUMBER_ZERO+D.SYMBOL_STAR)&&u++,u++,Z--):this.maskExpression[u+1]===D.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[u+2]??D.EMPTY_STRING)&&this._findSpecialChar(H)===this.maskExpression[u+2]&&m||this.maskExpression[u+1]===D.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[u+2]??D.EMPTY_STRING)&&this._findSpecialChar(H)===this.maskExpression[u+2]&&m?(u+=3,d+=H):this.showMaskTyped&&this.specialCharacters.indexOf(H)<0&&H!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??D.EMPTY_STRING)!==-1&&(d+=a[a.length-1]);let O=S+1;for(;this._shift.has(O);)g++,O++;let Y=o&&!a.startsWith(D.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Y--,c(Y,b),g<0&&this._shift.clear();let ie=!1;l&&(ie=T.every(Z=>this.specialCharacters.includes(Z)));let me=`${this.prefix}${ie?D.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(me=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let St=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&St)return"";if(d.includes(D.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===D.MINUS)return"";me=`${D.MINUS}${this.prefix}${d.split(D.MINUS).join(D.EMPTY_STRING)}${this.suffix}`}return me}_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 i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[a])==null?void 0:i.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(D.EMPTY_STRING).filter((a,i)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===D.MINUS&&i===0&&this.allowNegativeNumbers}).join(D.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,i){let o=/[*?]/g.test(n.slice(0,a))?i:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,i){return Array.isArray(a)?a.filter(o=>o!==i).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,i)=>n.length!==i+1?a===D.EMPTY_STRING||Number(a)>255:a===D.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===D.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(D.DOT),i=this.allowNegativeNumbers&&n.includes(D.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?D.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),c=isNaN(o)?"":o.toString(),u=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;return c===D.EMPTY_STRING?D.EMPTY_STRING:`${i}${c}${u}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let i=n[a];if(i&&i>="1"&&i<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Lne=(()=>{const t=class t extends Ane{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",C(At,{optional:!0}));s(this,"document",C(Le));s(this,"_config",C(hp));s(this,"_renderer",C(_i,{optional:!0}))}applyMask(a,i,o=0,l=!1,c=!1,u=()=>{}){if(!i)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():D.EMPTY_STRING,this.maskExpression===D.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||D.HASH)),this.maskExpression===D.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||D.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=a&&typeof this.selStart=="number"?a[this.selStart]??D.EMPTY_STRING:D.EMPTY_STRING,m="",b=o;if(this.hiddenInput!==null&&!this.writingValue){let S=a&&a.length===1?a.split(D.EMPTY_STRING):this.actualValue.split(D.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==D.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>S.length?S.splice(this.selStart,0,d):a.length<S.length&&(S.length-a.length===1?c?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(D.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),c&&this.specialCharacters.indexOf(this.maskExpression[b]??D.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:i.slice(b-1,b+1)!==D.MONTHS&&(b=b-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,i,b,l,c,u);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===D.DOT&&this.decimalMarker===D.DOT&&(this.decimalMarker=D.COMMA),this.maskExpression.startsWith(D.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(D.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${x.slice(w+S)}`}else if(this.maskExpression===D.IP||this.maskExpression===D.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(a){let i=/(^|\D)(\d\D)/g,o=i.exec(a),l=0;for(;o!=null;)l+=1,o=i.exec(a);return l}applyValueChanges(a,i,o,l=()=>{}){var u;let c=(u=this._elementRef)==null?void 0:u.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,i,o,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(D.EMPTY_STRING).map((o,l)=>{var c,u;return this.patterns&&this.patterns[i[l]??D.EMPTY_STRING]&&((c=this.patterns[i[l]??D.EMPTY_STRING])!=null&&c.symbol)?(u=this.patterns[i[l]??D.EMPTY_STRING])==null?void 0:u.symbol:o}).join(D.EMPTY_STRING)}getActualValue(a){let i=a.split(D.EMPTY_STRING).filter((o,l)=>{let c=this.maskExpression[l]??D.EMPTY_STRING;return this._checkSymbolMask(o,c)||this.specialCharacters.includes(c)&&o===c});return i.join(D.EMPTY_STRING)===a?i.join(D.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";return(a&&a.split(D.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??D.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return i=o,a[l+1];if(i.length){let c=i;return i=D.EMPTY_STRING,c}return o})||[]).join(D.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(D.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${D.MINUS}/`,D.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===D.IP)return this._checkForIp(a);if(this.maskExpression===D.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 i;let a=(i=this._elementRef)==null?void 0:i.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,D.EMPTY_STRING).length&&(this.formElementProperty=["value",D.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,i]){!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,i)})}checkDropSpecialCharAmount(a){return a.split(D.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===D.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<a.length;o++){let l=a[o]??D.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let i=`${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===D.HASH)return i;let l=[];for(let c=0;c<a.length;c++){let u=a[c]??D.EMPTY_STRING;u&&u.match("\\d")&&l.push(u)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.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 i=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):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===D.EMPTY_STRING||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(D.SEPARATOR))return String(a);let i=Number(a);if(this.maskExpression.startsWith(D.SEPARATOR)&&Number.isNaN(i)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(i)?a:i}_removeMask(a,i){return this.maskExpression.startsWith(D.PERCENT)&&a.includes(D.DOT)?a:a&&a.replace(this._regExpForRemove(i),D.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,D.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,D.EMPTY_STRING):a}_retrieveSeparatorValue(a){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(D.WHITE_SPACE)&&this.maskExpression.includes(D.SYMBOL_STAR)&&(i=i.filter(o=>o!==D.WHITE_SPACE)),this._removeMask(a,i)}_regExpForRemove(a){return new RegExp(a.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(i),D.DOT)}_checkSymbols(a){let i=a;if(i===D.EMPTY_STRING)return i;this.maskExpression.startsWith(D.PERCENT)&&this.decimalMarker===D.COMMA&&(i=i.replace(D.COMMA,D.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,i,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(i=this.patterns[l])==null?void 0:i.pattern.toString(),u=(o=this.patterns[l])==null?void 0:o.pattern;if(c!=null&&c.includes(D.WHITE_SPACE)&&(u!=null&&u.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let i=a.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(a,i){let o=this.getPrecision(a),l=i;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===D.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(D.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===D.CURLY_BRACKETS_LEFT?l:this._start,o!==D.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let c=Number(a.slice(this._start+1,this._end)),u=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(D.LETTER_S)){let d=a.slice(0,this._start-1);return d.includes(D.CURLY_BRACKETS_LEFT)?i+u:d+i+u}else return i+u},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=$t(t)))(i||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function Fne(){let e=C(Z1),t=C(W1);return t instanceof Function?se(se({},e),t()):se(se({},e),t)}function jne(e){return[{provide:W1,useValue:e},{provide:Z1,useValue:Rne},{provide:hp,useFactory:Fne},Lne]}function Vne(e){return Vd(jne(e))}var ru=(()=>{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=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),zne="4.0",bd=zne,Pr=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Pr||{}),Bne=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Vt);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=bd.split(".").map(i=>parseInt(i)),a=(this.version||"").split(".").map(i=>parseInt(i));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 (${bd})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,c)=>(n[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.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",rt({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Gd],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),Y1=class{constructor(e,t,r,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=r}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return wt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return wt(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 wt(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 wt(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 wt(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 wt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return wt(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`))})}},K1=()=>{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)},vo=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}(vo||{}),Xi=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Xi||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var la={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Ji={authorization:"Authorization",userType:"user-type",clientType:"client-type"},$i=class extends Error{};$i.prototype.name="InvalidTokenError";function Hne(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function qne(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 Hne(t)}catch{return atob(t)}}function $ne(e,t){if(typeof e!="string")throw new $i("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new $i(`Invalid token specified: missing part #${r+1}`);let a;try{a=qne(n)}catch(i){throw new $i(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new $i(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var Une=class extends Y1{constructor(e,t,r){super(e,vo.USER_INFOS,t,r,vo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return wt(this,null,function*(){return $ne(yield this.getLocalAccessToken("")).userProfile})}},Q1=(()=>{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=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Gne(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0].ssin:e.ssin}function Wne(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Zne=(()=>{const t=class t extends Q1{constructor(){super(...arguments),this.servicesStore=C(ru)}resolveSsin(){return wt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Gne(n)})}resolvePatientInfo(){return wt(this,null,function*(){let n=yield this.fetchUserProfileToken();return Wne(n)})}resolveUserInfo(){return wt(this,null,function*(){var d,m,b,g;let n=yield this.fetchUserProfileToken(),a=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,c=(b=n==null?void 0:n.organizations)!=null&&b.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,u=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:a,role:l||o,organization:c&&l?c:void 0,professional:u,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return wt(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"],i="patient";return a.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Une(this.servicesStore.getServices(),n,a)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yne=(()=>{const t=class t extends Q1{resolveSsin(){return wt(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 wt(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=$t(t)))(a||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kne=(()=>{const t=class t{constructor(){this.http=C(Si)}get(n,a,i){return _s()?this.http.get(n,{headers:i}):it(a)}patch(n,a,i){return _s()?this.http.patch(n,{},{headers:i}):it(a)}post(n,a,i){return _s()?this.http.post(n,{},{headers:i}):it(a)}delete(n,a,i){return _s()?this.http.delete(n,{headers:i}):it(a)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_s=()=>window.Cypress,Ka=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Ka||{}),vr=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(vr||{});function Qne(e,t){return wt(this,null,function*(){t.next({status:Ka.LOADING});try{let r=yield e,n={status:Ka.SUCCESS,data:r};return t.next(n),n}catch(r){let n={status:Ka.ERROR,error:ere(r)};return t.next(n),n}})}var $f={[vr.NO_DATA]:["VIDIS_0140"],[vr.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"],[vr.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"],[vr.OTHER]:[]};function Xne(e){for(let t of Object.keys($f))if($f[t].includes(e))return t;return vr.OTHER}function Jne(e,t,r){let n=e||"UNKNOWN",a=Xne(n);return{code:n,message:r??"An unexpected error occurred",group:a,traceId:t}}function ere(e){var a,i,o;let t=((a=e.error)==null?void 0:a.code)??void 0,r=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return Jne(t,n,r)}var tre={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function X1(e){e||($d(),e=C(_a));let t=new nt(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(ko(t))}function nre(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var rre={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function J1(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of rre[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var are=(()=>{const t=class t{constructor(){this.translate=C(kr)}transform(n){return this.findTranslation(n.name)+" "+(n.prefix?n.prefix+" ":"")+(n.value?n.value+" ":"")+(n.unit?this.translate.instant("commons.units."+n.unit,{count:n.value||1}):"")}findTranslation(n){return J1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ire=(()=>{const t=class t{constructor(){this.http=C(Si),this.snackbarService=C(t_)}getLeaflet(n,a){return this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(Qt(1),Pd(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),Qg(()=>i))))}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ci=(()=>{const t=class t{constructor(){this.config=C(Ii),this.injector=C(ot),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Yne):this.injector.get(Zne)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function ore(e,t){if(e&1){let r=Zl();re(0,"div",1)(1,"button",2),Sa("click",function(){Br(r);let n=Ee();return Hr(n.action())}),be(2),ne()()}if(e&2){let r=Ee();Q(2),cn(" ",r.data.action," ")}}var sre=["label"];function lre(e,t){}var ure=Math.pow(2,31)-1,yd=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new xe);s(this,"_afterOpened",new xe);s(this,"_onAction",new xe);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,ure))}_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}},e_=new K("MatSnackBarData"),wl=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")}},cre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),dre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),hre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),pre=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(yd));s(this,"data",C(e_))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({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&&(re(0,"div",0),be(1),ne(),Be(2,ore,3,1,"div",1)),n&2&&(Q(),cn(" ",a.data.message,`
|
|
30
30
|
`),Q(),ht(a.hasAction?2:-1))},dependencies:[nu,cre,dre,hre],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
31
31
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),nc="_mat-snack-bar-enter",rc="_mat-snack-bar-exit",mre=(()=>{const t=class t extends eu{constructor(){super();s(this,"_ngZone",C(je));s(this,"_elementRef",C(At));s(this,"_changeDetectorRef",C(Ei));s(this,"_platform",C(pn));s(this,"_rendersRef");s(this,"_animationsDisabled",C(bi,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",C(wl));s(this,"_document",C(Le));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new xe);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new xe);s(this,"_onExit",new xe);s(this,"_onEnter",new xe);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",C($o).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),i});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=I0(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),i}attachTemplatePortal(a){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),i}onAnimationEnd(a){a===rc?this._completeExit():a===nc&&(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(Qt(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(nc)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(nc)},200)))}exit(){return this._destroyed?it(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(Qt(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(rc)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(rc),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,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(c=>a.classList.add(c)):a.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let l=i[o],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(a)===-1&&l.setAttribute("aria-owns",c+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let i=a.getAttribute("aria-owns");if(i){let o=i.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,i=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(i&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(l=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",rt({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(Gc(po,7),Gc(sre,7)),a&2){let o;Wc(o=Zc())&&(i._portalOutlet=o.first),Wc(o=Zc())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,i){a&1&&Sa("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),a&2&&Pn("mat-snack-bar-container-enter",i._animationState==="visible")("mat-snack-bar-container-exit",i._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!i._animationsDisabled)},features:[En],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,i){a&1&&(re(0,"div",1)(1,"div",2,0)(3,"div",3),Be(4,lre,0,0,"ng-template",4),ne(),Zt(5,"div"),ne()()),a&2&&(Q(5),Ln("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[po],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 fre(){return new wl}var gre=new K("mat-snack-bar-default-options",{providedIn:"root",factory:fre}),vre=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Gr));s(this,"_live",C(AQ));s(this,"_injector",C(ot));s(this,"_breakpointObserver",C(Fy));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(gre));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",pre);s(this,"snackBarContainerComponent",mre);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="",i){let o=se(se({},this._defaultConfig),i);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 i=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=ot.create({parent:i||this._injector,providers:[{provide:wl,useValue:a}]}),l=new ho(this.snackBarContainerComponent,a.viewContainerRef,o),c=n.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(n,a){let i=se(se(se({},new wl),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),c=new yd(l,o);if(n instanceof va){let u=new Zh(n,null,{$implicit:i.data,snackBarRef:c});c.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,c),d=new ho(n,void 0,u),m=l.attachComponentPortal(d);c.instance=m.instance}return this._breakpointObserver.observe(tre.HandsetPortrait).pipe(ko(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(c,i),this._openedSnackBarRef=c,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 Yh;a.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,c=!l&&n.horizontalPosition!=="center";return l?i.left("0"):c?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(n,a){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return ot.create({parent:i||this._injector,providers:[{provide:yd,useValue:a},{provide:e_,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),t_=(()=>{const t=class t{constructor(){this.snackbar=C(vre),this.translate=C(kr)}showSuccess(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bre={demo:{env:Pr.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Pr.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Pr.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Pr.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Pr.PROD}},Ii=(()=>{const t=class t{setEnvironment(n){this.configVariables=bre[Pr[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yre=(e,t)=>{let r=C(ci).getInstance(),n=C(ru),a=C(Ii).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(r.isOfflineAuthenticated)return it();let i=e.headers||new si,o=r.isProfessional;return ya(n.getServices().getAccessToken("")).pipe(no(l=>t(e.clone({url:`${a}${e.url}`,headers:i.set(Ji.authorization,la.getAuthorizationHeader(l)).set(Ji.userType,la.getUserType({isProfessional:o})).set(Ji.clientType,K1()?la.clientType.mobileApp:la.clientType.webApp)}))))};function _re(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var wre=["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",_re];function xre(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Ere=["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",xre];function Sre(e){let t=Math.floor(Math.abs(e)),r=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&&r===0||!(n>=0&&n<=5)?4:5}var kre=["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",Sre];function Cre(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Ire=["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",Cre];Jl(wre,"de");Jl(Ire,"nl");Jl(kre,"fr");Jl(Ere,"en");var Dre=class{handleError(e){throw new Error(e)}},Tre=class extends rX{getFirstDayOfWeek(){return 1}format(e){return B1(e,"dd/MM/yyyy")}parse(e){return Mne(e,"dd/MM/yyyy",new Date)}},Nre={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"}}},Ore=[Pee(),YK(KK([yre])),Vne(),{provide:Rn,useClass:Dre},{provide:Hy,useClass:Tre,deps:[sd]},{provide:HQ,useValue:Nre},{provide:d1,useClass:Ree},{provide:e1,useValue:{panelClass:"mh-dialog-container"}}],Mre=ug(cH(),1),Pre=new K("MESSAGE_FORMAT_CONFIG"),Rre={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Are=(()=>{const t=class t extends Ho{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:c,throwOnError:u,fallbackPrefix:d}=se(se({},Rre),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:c},this.throwOnError=!!u,this.fallbackPrefix=d}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=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}'`),i=Fre(n,a)}return this.throwOnError||(i=Lre(i,n)),i}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,a),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Mre.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(te(Pre,8))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})();function Lre(e,t){return r=>{let n=t;try{n=e(r)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function Fre(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var n_={};oe(n_,{"00001":()=>r_,"00002":()=>a_,"00003":()=>i_,"00004":()=>o_,"00005":()=>s_,"00006":()=>l_,"00007":()=>u_,"00008":()=>c_,"00009":()=>d_,"00010":()=>h_,"00011":()=>p_,"00012":()=>m_,"00013":()=>f_,"00014":()=>g_,"00015":()=>v_,"00016":()=>b_,"00017":()=>y_,"00018":()=>__,"00019":()=>w_,"00020":()=>x_,"00021":()=>E_,"00022":()=>S_,"00023":()=>k_,"00024":()=>C_,"00025":()=>I_,"00026":()=>D_,"00027":()=>T_,"00028":()=>N_,"00029":()=>O_,"00030":()=>M_,ampoule:()=>aw,bandage:()=>J_,bottle:()=>iw,box:()=>tw,cm:()=>P_,default:()=>jre,dropsperminute:()=>R_,"effervescent-tablet":()=>Q_,gm:()=>A_,internationalunits:()=>L_,iu:()=>Y_,liter:()=>nw,"mck/h":()=>F_,"mck/kg/minute":()=>j_,measure:()=>V_,meq:()=>W_,mg:()=>U_,"mg/h":()=>z_,"mg/ml":()=>G_,micrograms:()=>X_,miu:()=>Z_,"ml/h":()=>B_,mmol:()=>K_,piece:()=>ew,syringe:()=>rw,"syringe-ampoule":()=>ow,tbl:()=>H_,tsp:()=>q_,"unt/h":()=>$_});var r_="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",a_="{count, plural, one{Ampulle} other{Ampullen}}",i_="anwenden",o_="{count, plural, one{Kapsel} other{Kapseln}}",s_="{count, plural, one{Tablette} other{Tabletten}}",l_="Dosis",u_="{count, plural, one{Tropf} other{Tropfen}}",c_="{count, plural, one{Fläsche} other{Fläschchen}}",d_="{count, plural, one{Implantat} other{Implantate}}",h_="{count, plural, one{Infusion} other{Infusionen}}",p_="{count, plural, one{Inhalation} other{Inhalationen}}",m_="Einstechen",f_="Kaugummi",g_="{count, plural, one{Kompresse} other{Kompressen}}",v_="{count, plural, one{Einlauf} other{Einläufe}}",b_="ml",y_="Ov.",__="{count, plural, one{Perle} other{Perlen}}",w_="{count, plural, one{Pastille} other{Pastillen}}",x_="Pflaster",E_="cart",S_="Pen",k_="{count, plural, one{Puff} other{Puffs}}",C_="{count, plural, one{Schwamm} other{Schwämme}}",I_="{count, plural, one{Stift} other{Stifte}}",D_="Suppo",T_="Tube",N_="{count, plural, one{Docht} other{Dochte}}",O_="Beutel",M_="Beutel",P_="Zentimeter",R_="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",A_="Gramm",L_="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",F_="Mikrogramm pro Stunde",j_="Mikrogramm pro Kilogramm pro Minute",V_="Maß",z_="Miligramm pro Stunde",B_="Milliliter pro Stunde",H_="Esslöffel",q_="Kaffeelöffel",$_="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",U_="Milligramm",G_="Milligramm pro Millimeter",W_="meq",Z_="miu",Y_="iu",K_="mmol",Q_="effervescent-tablet",X_="micrograms",J_="{count, plural, one{bandage} other{bandagen}}",ew="{count, plural, one{stück} other{stücke}}",tw="schachteln",nw="liter",rw="{count, plural, one{spritze} other{spritzen}}",aw="{count, plural, one{glühbirn} other{glühbirnen}}",iw="{count, plural, one{Fläsche} other{Fläschchen}}",ow="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",jre={"00001":r_,"00002":a_,"00003":i_,"00004":o_,"00005":s_,"00006":l_,"00007":u_,"00008":c_,"00009":d_,"00010":h_,"00011":p_,"00012":m_,"00013":f_,"00014":g_,"00015":v_,"00016":b_,"00017":y_,"00018":__,"00019":w_,"00020":x_,"00021":E_,"00022":S_,"00023":k_,"00024":C_,"00025":I_,"00026":D_,"00027":T_,"00028":N_,"00029":O_,"00030":M_,cm:P_,dropsperminute:R_,gm:A_,internationalunits:L_,"mck/h":F_,"mck/kg/minute":j_,measure:V_,"mg/h":z_,"ml/h":B_,tbl:H_,tsp:q_,"unt/h":$_,mg:U_,"mg/ml":G_,meq:W_,miu:Z_,iu:Y_,mmol:K_,"effervescent-tablet":Q_,micrograms:X_,bandage:J_,piece:ew,box:tw,liter:nw,syringe:rw,ampoule:aw,bottle:iw,"syringe-ampoule":ow},sw={};oe(sw,{"00001":()=>lw,"00002":()=>uw,"00003":()=>cw,"00004":()=>dw,"00005":()=>hw,"00006":()=>pw,"00007":()=>mw,"00008":()=>fw,"00009":()=>gw,"00010":()=>vw,"00011":()=>bw,"00012":()=>yw,"00013":()=>_w,"00014":()=>ww,"00015":()=>xw,"00016":()=>Ew,"00017":()=>Sw,"00018":()=>kw,"00019":()=>Cw,"00020":()=>Iw,"00021":()=>Dw,"00022":()=>Tw,"00023":()=>Nw,"00024":()=>Ow,"00025":()=>Mw,"00026":()=>Pw,"00027":()=>Rw,"00028":()=>Aw,"00029":()=>Lw,"00030":()=>Fw,ampoule:()=>ux,bandage:()=>ax,bottle:()=>cx,box:()=>ox,cm:()=>jw,default:()=>Vre,dropsperminute:()=>Vw,"effervescent-tablet":()=>nx,gm:()=>zw,internationalunits:()=>Bw,iu:()=>ex,liter:()=>sx,"mck/h":()=>Hw,"mck/kg/minute":()=>qw,measure:()=>$w,meq:()=>Xw,mg:()=>Kw,"mg/h":()=>Uw,"mg/ml":()=>Qw,micrograms:()=>rx,miu:()=>Jw,"ml/h":()=>Gw,mmol:()=>tx,piece:()=>ix,syringe:()=>lx,"syringe-ampoule":()=>dx,tbl:()=>Ww,tsp:()=>Zw,"unt/h":()=>Yw});var lw="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",uw="{count, plural, one{ampoule} other{ampoules}}",cw="applic.",dw="{count, plural, one{capsule} other{capsules}}",hw="{count, plural, one{tablet} other{tablets}}",pw="{count, plural, one{dose} other{doses}}",mw="{count, plural, one{drop} other{drops}}",fw="{count, plural, one{bottle} other{bottles}}",gw="{count, plural, one{implant} other{implants}}",vw="{count, plural, one{perfusion} other{perfusions}}",bw="{count, plural, one{inhalation} other{inhalations}}",yw="insert",_w="{count, plural, one{chewing gum} other{chewing gums}}",ww="{count, plural, one{compress} other{compresses}}",xw="enema",Ew="ml",Sw="{count, plural, one{ovule} other{ovules}}",kw="{count, plural, one{pearl} other{pearls}}",Cw="{count, plural, one{pastille} other{pastilles}}",Iw="{count, plural, one{patch} other{patches}}",Dw="{count, plural, one{cartridge} other{cartridges}}",Tw="{count, plural, one{pen} other{pens}}",Nw="{count, plural, one{puff} other{puffs}}",Ow="{count, plural, one{sponge} other{sponges}}",Mw="{count, plural, one{stylo} other{stylos}}",Pw="{count, plural, one{supository} other{supositories}}",Rw="{count, plural, one{tube} other{tubes}}",Aw="{count, plural, one{wick} other{wicks}}",Lw="{count, plural, one{bag} other{bags}}",Fw="{count, plural, one{small bag} other{small bags}}",jw="centimeter",Vw="{count, plural, one{drop per minute} other{drops per minute}}",zw="gram",Bw="international units",Hw="microgram per hour",qw="microgram per kilogram per minute",$w="{count, plural, one{measure} other{measures}}",Uw="milligram per hour",Gw="milliliter per hour",Ww="{count, plural, one{tablespoon} other{tablespoons}}",Zw="{count, plural, one{teaspoon} other{teaspoons}}",Yw="{count, plural, one{unit per hour} other{units per hour}}",Kw="milligram",Qw="milligram per milliliter",Xw="milli-equivalent",Jw="miu",ex="international units",tx="millimole",nx="{count, plural, one{effervescent tablet} other{effervescent tablets}}",rx="microgram",ax="{count, plural, one{bandage} other{bandages}}",ix="{count, plural, one{piece} other{pieces}}",ox="{count, plural, one{spray} other{sprays}}",sx="liter",lx="{count, plural, one{syringe} other{syringes}}",ux="{count, plural, one{ampoule} other{ampoules}}",cx="{count, plural, one{bottle} other{bottles}}",dx="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Vre={"00001":lw,"00002":uw,"00003":cw,"00004":dw,"00005":hw,"00006":pw,"00007":mw,"00008":fw,"00009":gw,"00010":vw,"00011":bw,"00012":yw,"00013":_w,"00014":ww,"00015":xw,"00016":Ew,"00017":Sw,"00018":kw,"00019":Cw,"00020":Iw,"00021":Dw,"00022":Tw,"00023":Nw,"00024":Ow,"00025":Mw,"00026":Pw,"00027":Rw,"00028":Aw,"00029":Lw,"00030":Fw,cm:jw,dropsperminute:Vw,gm:zw,internationalunits:Bw,"mck/h":Hw,"mck/kg/minute":qw,measure:$w,"mg/h":Uw,"ml/h":Gw,tbl:Ww,tsp:Zw,"unt/h":Yw,mg:Kw,"mg/ml":Qw,meq:Xw,miu:Jw,iu:ex,mmol:tx,"effervescent-tablet":nx,micrograms:rx,bandage:ax,piece:ix,box:ox,liter:sx,syringe:lx,ampoule:ux,bottle:cx,"syringe-ampoule":dx},hx={};oe(hx,{"00001":()=>px,"00002":()=>mx,"00003":()=>fx,"00004":()=>gx,"00005":()=>vx,"00006":()=>bx,"00007":()=>yx,"00008":()=>_x,"00009":()=>wx,"00010":()=>xx,"00011":()=>Ex,"00012":()=>Sx,"00013":()=>kx,"00014":()=>Cx,"00015":()=>Ix,"00016":()=>Dx,"00017":()=>Tx,"00018":()=>Nx,"00019":()=>Ox,"00020":()=>Mx,"00021":()=>Px,"00022":()=>Rx,"00023":()=>Ax,"00024":()=>Lx,"00025":()=>Fx,"00026":()=>jx,"00027":()=>Vx,"00028":()=>zx,"00029":()=>Bx,"00030":()=>Hx,ampoule:()=>mE,bandage:()=>uE,bottle:()=>fE,box:()=>dE,cm:()=>qx,default:()=>zre,dropsperminute:()=>$x,"effervescent-tablet":()=>sE,gm:()=>Ux,internationalunits:()=>Gx,iu:()=>iE,liter:()=>hE,"mck/h":()=>Wx,"mck/kg/minute":()=>Zx,measure:()=>Yx,meq:()=>rE,mg:()=>tE,"mg/h":()=>Kx,"mg/ml":()=>nE,micrograms:()=>lE,miu:()=>aE,"ml/h":()=>Qx,mmol:()=>oE,piece:()=>cE,syringe:()=>pE,"syringe-ampoule":()=>gE,tbl:()=>Xx,tsp:()=>Jx,"unt/h":()=>eE});var px="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",mx="amp.",fx="applic.",gx="caps.",vx="compr.",bx="{count, plural, one{dose} other{doses}}",yx="{count, plural, one{goutte} other{gouttes}}",_x="flac.",wx="{count, plural, one{implant} other{implants}}",xx="{count, plural, one{perfusion} other{perfusions}}",Ex="{count, plural, one{inhalation} other{inhalations}}",Sx="insert",kx="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",Cx="{count, plural, one{compres(se)} other{compres(ses)}}",Ix="{count, plural, one{lavement} other{lavements}}",Dx="ml",Tx="ov.",Nx="{count, plural, one{perle} other{perles}}",Ox="{count, plural, one{pastille} other{pastilles}}",Mx="{count, plural, one{patch} other{patchs}}",Px="patr.",Rx="{count, plural, one{stylo} other{stylos}}",Ax="{count, plural, one{puff} other{puffs}}",Lx="{count, plural, one{éponge} other{éponges}}",Fx="{count, plural, one{stylo} other{stylos}}",jx="suppo",Vx="{count, plural, one{tube} other{tubes}}",zx="{count, plural, one{mèche} other{mèches}}",Bx="{count, plural, one{sac} other{sacs}}",Hx="{count, plural, one{sachet} other{sachets}}",qx="{count, plural, one{centimètre} other{centimètres}}",$x="{count, plural, one{goute par minute} other{goutes par minute}}",Ux="{count, plural, one{gramme} other{grammes}}",Gx="{count, plural, one{unité internationales} other{unités internationales}}",Wx="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",Zx="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",Yx="{count, plural, one{mesure} other{mesures}}",Kx="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",Qx="{count, plural, one{millilitre par heure} other{millilitres par heure}}",Xx="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Jx="{count, plural, one{cuillère à café} other{cuillères à café}}",eE="{count, plural, one{unité par heure} other{unités par heure}}",tE="{count, plural, one{miligramme} other{miligrammes}}",nE="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",rE="milli-équivalent",aE="miu",iE="{count, plural, one{unité internationales} other{unités internationales}}",oE="millimol",sE="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",lE="{count, plural, one{microgramme} other{microgrammes}}",uE="{count, plural, one{bandage} other{bandages}}",cE="{count, plural, one{pièce} other{pièces}}",dE="{count, plural, one{vaporisateur} other{vaporisateurs}}",hE="{count, plural, one{litre} other{litres}}",pE="{count, plural, one{seringue} other{seringues}}",mE="{count, plural, one{ampoule} other{ampoules}}",fE="{count, plural, one{fiole} other{fioles}}",gE="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",zre={"00001":px,"00002":mx,"00003":fx,"00004":gx,"00005":vx,"00006":bx,"00007":yx,"00008":_x,"00009":wx,"00010":xx,"00011":Ex,"00012":Sx,"00013":kx,"00014":Cx,"00015":Ix,"00016":Dx,"00017":Tx,"00018":Nx,"00019":Ox,"00020":Mx,"00021":Px,"00022":Rx,"00023":Ax,"00024":Lx,"00025":Fx,"00026":jx,"00027":Vx,"00028":zx,"00029":Bx,"00030":Hx,cm:qx,dropsperminute:$x,gm:Ux,internationalunits:Gx,"mck/h":Wx,"mck/kg/minute":Zx,measure:Yx,"mg/h":Kx,"ml/h":Qx,tbl:Xx,tsp:Jx,"unt/h":eE,mg:tE,"mg/ml":nE,meq:rE,miu:aE,iu:iE,mmol:oE,"effervescent-tablet":sE,micrograms:lE,bandage:uE,piece:cE,box:dE,liter:hE,syringe:pE,ampoule:mE,bottle:fE,"syringe-ampoule":gE},vE={};oe(vE,{"00001":()=>bE,"00002":()=>yE,"00003":()=>_E,"00004":()=>wE,"00005":()=>xE,"00006":()=>EE,"00007":()=>SE,"00008":()=>kE,"00009":()=>CE,"00010":()=>IE,"00011":()=>DE,"00012":()=>TE,"00013":()=>NE,"00014":()=>OE,"00015":()=>ME,"00016":()=>PE,"00017":()=>RE,"00018":()=>AE,"00019":()=>LE,"00020":()=>FE,"00021":()=>jE,"00022":()=>VE,"00023":()=>zE,"00024":()=>BE,"00025":()=>HE,"00026":()=>qE,"00027":()=>$E,"00028":()=>UE,"00029":()=>GE,"00030":()=>WE,ampoule:()=>yS,bandage:()=>mS,bottle:()=>_S,box:()=>gS,cm:()=>ZE,default:()=>Bre,dropsperminute:()=>YE,"effervescent-tablet":()=>hS,gm:()=>KE,internationalunits:()=>QE,iu:()=>cS,liter:()=>vS,"mck/h":()=>XE,"mck/kg/minute":()=>JE,measure:()=>eS,meq:()=>lS,mg:()=>oS,"mg/h":()=>tS,"mg/ml":()=>sS,micrograms:()=>pS,miu:()=>uS,"ml/h":()=>nS,mmol:()=>dS,piece:()=>fS,syringe:()=>bS,"syringe-ampoule":()=>wS,tbl:()=>rS,tsp:()=>aS,"unt/h":()=>iS});var bE="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",yE="{count, plural, one{ampule} other{ampullen}}",_E="aanbrengen",wE="{count, plural, one{capsule} other{capsules}}",xE="{count, plural, one{tablet} other{tabletten}}",EE="{count, plural, one{dose} other{dosissen}}",SE="{count, plural, one{druppel} other{druppels}}",kE="{count, plural, one{flesje} other{flesjes}}",CE="{count, plural, one{implantaat} other{implantaten}}",IE="{count, plural, one{infuus} other{infusen}}",DE="{count, plural, one{inhalatie} other{inhalaties}}",TE="inbrengen",NE="{count, plural, one{kauwgom} other{kauwgommen}}",OE="{count, plural, one{kompres} other{kompressen}}",ME="lavement",PE="ml",RE="{count, plural, one{ovule} other{ovules}}",AE="{count, plural, one{parel} other{parels}}",LE="{count, plural, one{pastille} other{pastilles}}",FE="{count, plural, one{pleister} other{pleisters}}",jE="{count, plural, one{patroon} other{patronen}}",VE="{count, plural, one{pen} other{pennen}}",zE="{count, plural, one{puff} other{puffs}}",BE="{count, plural, one{spons} other{sponsen}}",HE="{count, plural, one{stylo} other{stylos}}",qE="{count, plural, one{zetpil} other{zetpillen}}",$E="{count, plural, one{tube} other{tubes}}",UE="{count, plural, one{wiek} other{wieken}}",GE="{count, plural, one{zak} other{zakken}}",WE="{count, plural, one{zakje} other{zakjes}}",ZE="centimeter",YE="{count, plural, one{druppel per minuut} other{druppels per minuut}}",KE="gram",QE="internationale eenheden",XE="microgram per uur",JE="microgram per kilogram per minuut",eS="{count, plural, one{maat} other{maten}}",tS="milligram per uur",nS="milliliter per uur",rS="{count, plural, one{eetlepel} other{eetlepels}}",aS="{count, plural, one{koffielepel} other{koffielepels}}",iS="{count, plural, one{eenheid per uur} other{eenheden per uur}}",oS="miligram",sS="miligram per milimeter",lS="milli-equivalent",uS="miu",cS="internationale eenheden",dS="millimol",hS="{count, plural, one{bruistablet} other{bruistabletten}}",pS="microgram",mS="{count, plural, one{verband} other{verbanden}}",fS="{count, plural, one{stuk} other{stuks}}",gS="{count, plural, one{verstuiving} other{verstuivingen}}",vS="liter",bS="{count, plural, one{spuit} other{spuiten}}",yS="{count, plural, one{ampul} other{ampullen}}",_S="{count, plural, one{fles} other{flessen}}",wS="{count, plural, one{spuitampul} other{spuitampullen}}",Bre={"00001":bE,"00002":yE,"00003":_E,"00004":wE,"00005":xE,"00006":EE,"00007":SE,"00008":kE,"00009":CE,"00010":IE,"00011":DE,"00012":TE,"00013":NE,"00014":OE,"00015":ME,"00016":PE,"00017":RE,"00018":AE,"00019":LE,"00020":FE,"00021":jE,"00022":VE,"00023":zE,"00024":BE,"00025":HE,"00026":qE,"00027":$E,"00028":UE,"00029":GE,"00030":WE,cm:ZE,dropsperminute:YE,gm:KE,internationalunits:QE,"mck/h":XE,"mck/kg/minute":JE,measure:eS,"mg/h":tS,"ml/h":nS,tbl:rS,tsp:aS,"unt/h":iS,mg:oS,"mg/ml":sS,meq:lS,miu:uS,iu:cS,mmol:dS,"effervescent-tablet":hS,micrograms:pS,bandage:mS,piece:fS,box:gS,liter:vS,syringe:bS,ampoule:yS,bottle:_S,"syringe-ampoule":wS},Hre={nl:vE,fr:hx,de:n_,en:sw},xS={};oe(xS,{default:()=>qre,friday:()=>IS,monday:()=>ES,saturday:()=>DS,sunday:()=>TS,thursday:()=>CS,tuesday:()=>SS,wednesday:()=>kS});var ES="Montag",SS="Dienstag",kS="Mittwoch",CS="Donnerstag",IS="Freitag",DS="Samstag",TS="Sonntag",qre={monday:ES,tuesday:SS,wednesday:kS,thursday:CS,friday:IS,saturday:DS,sunday:TS},NS={};oe(NS,{default:()=>$re,friday:()=>AS,monday:()=>OS,saturday:()=>LS,sunday:()=>FS,thursday:()=>RS,tuesday:()=>MS,wednesday:()=>PS});var OS="Monday",MS="Tuesday",PS="Wednesday",RS="Thursday",AS="Friday",LS="Saturday",FS="Sunday",$re={monday:OS,tuesday:MS,wednesday:PS,thursday:RS,friday:AS,saturday:LS,sunday:FS},jS={};oe(jS,{default:()=>Ure,friday:()=>qS,monday:()=>VS,saturday:()=>$S,sunday:()=>US,thursday:()=>HS,tuesday:()=>zS,wednesday:()=>BS});var VS="Lundi",zS="Mardi",BS="Mercredi",HS="Jeudi",qS="Vendredi",$S="Samedi",US="Dimanche",Ure={monday:VS,tuesday:zS,wednesday:BS,thursday:HS,friday:qS,saturday:$S,sunday:US},GS={};oe(GS,{default:()=>Gre,friday:()=>QS,monday:()=>WS,saturday:()=>XS,sunday:()=>JS,thursday:()=>KS,tuesday:()=>ZS,wednesday:()=>YS});var WS="Maandag",ZS="Dinsdag",YS="Woensdag",KS="Donderdag",QS="Vrijdag",XS="Zaterdag",JS="Zondag",Gre={monday:WS,tuesday:ZS,wednesday:YS,thursday:KS,friday:QS,saturday:XS,sunday:JS},Wre={nl:GS,fr:jS,de:xS,en:NS},ek={};oe(ek,{VIDIS_0035:()=>tk,VIDIS_0050:()=>nk,VIDIS_0090:()=>rk,VIDIS_0100:()=>Pk,VIDIS_0110:()=>Ak,VIDIS_0120:()=>Rk,VIDIS_0121:()=>ak,VIDIS_0122:()=>ik,VIDIS_0123:()=>ok,VIDIS_0124:()=>sk,VIDIS_0125:()=>lk,VIDIS_0126:()=>uk,VIDIS_0131:()=>ck,VIDIS_0132:()=>dk,VIDIS_0133:()=>hk,VIDIS_0134:()=>pk,VIDIS_0135:()=>mk,VIDIS_0136:()=>fk,VIDIS_0190:()=>gk,VIDIS_0200:()=>Lk,VIDIS_0210:()=>vk,VIDIS_0211:()=>bk,VIDIS_0230:()=>yk,VIDIS_0290:()=>_k,VIDIS_0330:()=>wk,VIDIS_0340:()=>Fk,VIDIS_0341:()=>jk,VIDIS_0400:()=>Ok,VIDIS_04001:()=>Vk,VIDIS_0435:()=>xk,VIDIS_0440:()=>Ek,VIDIS_3030:()=>Mk,VIDIS_3090:()=>Ik,VIDIS_3100:()=>Tk,VIDIS_3120:()=>Nk,VIDIS_3140:()=>Dk,VIDIS_3150:()=>Ck,VIDIS_5000:()=>Sk,VIDIS_7000:()=>kk,"action-not-authorized-close-button":()=>oC,"action-not-authorized-title":()=>iC,"data-not-available-title":()=>aC,default:()=>Zre,general:()=>Bk,"has-hidden-prescriptions":()=>Yk,"incorrect-elements-ms-detail":()=>lC,"incorrect-elements-ms-list":()=>sC,invalid_date_format:()=>Gk,myHealth:()=>qk,myHealthUrl:()=>$k,network_error:()=>Uk,"no-access":()=>Hk,prescriptionList:()=>zk,"report-message-confirm-toast":()=>rC,"report-message-content":()=>Xk,"report-message-explanation":()=>Qk,"report-message-ignore-button":()=>nC,"report-message-link":()=>eC,"report-message-report-button":()=>tC,"report-message-term-use":()=>Jk,"report-message-title":()=>Kk,"status-message-content":()=>Zk,"status-message-title":()=>Wk});var tk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",nk="Die Patienten-INSS fehlt. (VIDIS_0050)",rk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",ak="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",ik="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ok="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",sk="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",lk="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",uk="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",ck="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",dk="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",hk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",pk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",mk="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",fk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",gk="Ungültige INSS-Patientennummer. (VIDIS_0190)",vk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",bk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",yk="Der Vorgang ist ungültig (VIDIS_0230)",_k='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',wk="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)",xk="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",Ek="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",Sk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",kk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",Ck="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",Ik="Das Rezept ist abgelaufen.",Dk="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.",Tk="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",Nk="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",Ok="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",Mk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",Pk="Vorgang nicht erlaubt.",Rk="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",Ak="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",Lk="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",Fk="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.",jk="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.",Vk="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",zk="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",Bk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Hk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",qk="Zurück zum Portal Meine Gesundheit",$k="https://wwwint.meinegesundheit.belgien.be/#/",Uk="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Gk="Ungültiges Datumsformat.",Wk="Dienst vorübergehend nicht verfügbar",Zk=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
32
|
+
`],encapsulation:2}));let e=t;return e})();function fre(){return new wl}var gre=new K("mat-snack-bar-default-options",{providedIn:"root",factory:fre}),vre=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Gr));s(this,"_live",C(AQ));s(this,"_injector",C(ot));s(this,"_breakpointObserver",C(Fy));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(gre));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",pre);s(this,"snackBarContainerComponent",mre);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="",i){let o=se(se({},this._defaultConfig),i);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 i=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=ot.create({parent:i||this._injector,providers:[{provide:wl,useValue:a}]}),l=new ho(this.snackBarContainerComponent,a.viewContainerRef,o),c=n.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(n,a){let i=se(se(se({},new wl),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),c=new yd(l,o);if(n instanceof va){let u=new Zh(n,null,{$implicit:i.data,snackBarRef:c});c.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,c),d=new ho(n,void 0,u),m=l.attachComponentPortal(d);c.instance=m.instance}return this._breakpointObserver.observe(tre.HandsetPortrait).pipe(ko(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(c,i),this._openedSnackBarRef=c,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 Yh;a.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,c=!l&&n.horizontalPosition!=="center";return l?i.left("0"):c?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(n,a){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return ot.create({parent:i||this._injector,providers:[{provide:yd,useValue:a},{provide:e_,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),t_=(()=>{const t=class t{constructor(){this.snackbar=C(vre),this.translate=C(kr)}showSuccess(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bre={demo:{env:Pr.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Pr.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Pr.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Pr.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Pr.PROD}},Ii=(()=>{const t=class t{setEnvironment(n){this.configVariables=bre[Pr[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yre=(e,t)=>{let r=C(ci).getInstance(),n=C(ru),a=C(Ii).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(r.isOfflineAuthenticated)return it();let i=e.headers||new si,o=r.isProfessional;return ya(n.getServices().getAccessToken("")).pipe(no(l=>t(e.clone({url:`${a}${e.url}`,headers:i.set(Ji.authorization,la.getAuthorizationHeader(l)).set(Ji.userType,la.getUserType({isProfessional:o})).set(Ji.clientType,K1()?la.clientType.mobileApp:la.clientType.webApp)}))))};function _re(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var wre=["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",_re];function xre(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Ere=["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",xre];function Sre(e){let t=Math.floor(Math.abs(e)),r=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&&r===0||!(n>=0&&n<=5)?4:5}var kre=["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",Sre];function Cre(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Ire=["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",Cre];Jl(wre,"de");Jl(Ire,"nl");Jl(kre,"fr");Jl(Ere,"en");var Dre=class{handleError(e){throw new Error(e)}},Tre=class extends rX{getFirstDayOfWeek(){return 1}format(e){return B1(e,"dd/MM/yyyy")}parse(e){return Mne(e,"dd/MM/yyyy",new Date)}},Nre={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"}}},Ore=[Pee(),YK(KK([yre])),Vne(),{provide:Rn,useClass:Dre},{provide:Hy,useClass:Tre,deps:[sd]},{provide:HQ,useValue:Nre},{provide:d1,useClass:Ree},{provide:e1,useValue:{panelClass:"mh-dialog-container"}}],Mre=ug(c7(),1),Pre=new K("MESSAGE_FORMAT_CONFIG"),Rre={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Are=(()=>{const t=class t extends Ho{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:c,throwOnError:u,fallbackPrefix:d}=se(se({},Rre),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:c},this.throwOnError=!!u,this.fallbackPrefix=d}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=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}'`),i=Fre(n,a)}return this.throwOnError||(i=Lre(i,n)),i}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,a),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Mre.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(te(Pre,8))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})();function Lre(e,t){return r=>{let n=t;try{n=e(r)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function Fre(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var n_={};oe(n_,{"00001":()=>r_,"00002":()=>a_,"00003":()=>i_,"00004":()=>o_,"00005":()=>s_,"00006":()=>l_,"00007":()=>u_,"00008":()=>c_,"00009":()=>d_,"00010":()=>h_,"00011":()=>p_,"00012":()=>m_,"00013":()=>f_,"00014":()=>g_,"00015":()=>v_,"00016":()=>b_,"00017":()=>y_,"00018":()=>__,"00019":()=>w_,"00020":()=>x_,"00021":()=>E_,"00022":()=>S_,"00023":()=>k_,"00024":()=>C_,"00025":()=>I_,"00026":()=>D_,"00027":()=>T_,"00028":()=>N_,"00029":()=>O_,"00030":()=>M_,ampoule:()=>aw,bandage:()=>J_,bottle:()=>iw,box:()=>tw,cm:()=>P_,default:()=>jre,dropsperminute:()=>R_,"effervescent-tablet":()=>Q_,gm:()=>A_,internationalunits:()=>L_,iu:()=>Y_,liter:()=>nw,"mck/h":()=>F_,"mck/kg/minute":()=>j_,measure:()=>V_,meq:()=>W_,mg:()=>U_,"mg/h":()=>z_,"mg/ml":()=>G_,micrograms:()=>X_,miu:()=>Z_,"ml/h":()=>B_,mmol:()=>K_,piece:()=>ew,syringe:()=>rw,"syringe-ampoule":()=>ow,tbl:()=>H_,tsp:()=>q_,"unt/h":()=>$_});var r_="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",a_="{count, plural, one{Ampulle} other{Ampullen}}",i_="anwenden",o_="{count, plural, one{Kapsel} other{Kapseln}}",s_="{count, plural, one{Tablette} other{Tabletten}}",l_="Dosis",u_="{count, plural, one{Tropf} other{Tropfen}}",c_="{count, plural, one{Fläsche} other{Fläschchen}}",d_="{count, plural, one{Implantat} other{Implantate}}",h_="{count, plural, one{Infusion} other{Infusionen}}",p_="{count, plural, one{Inhalation} other{Inhalationen}}",m_="Einstechen",f_="Kaugummi",g_="{count, plural, one{Kompresse} other{Kompressen}}",v_="{count, plural, one{Einlauf} other{Einläufe}}",b_="ml",y_="Ov.",__="{count, plural, one{Perle} other{Perlen}}",w_="{count, plural, one{Pastille} other{Pastillen}}",x_="Pflaster",E_="cart",S_="Pen",k_="{count, plural, one{Puff} other{Puffs}}",C_="{count, plural, one{Schwamm} other{Schwämme}}",I_="{count, plural, one{Stift} other{Stifte}}",D_="Suppo",T_="Tube",N_="{count, plural, one{Docht} other{Dochte}}",O_="Beutel",M_="Beutel",P_="Zentimeter",R_="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",A_="Gramm",L_="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",F_="Mikrogramm pro Stunde",j_="Mikrogramm pro Kilogramm pro Minute",V_="Maß",z_="Miligramm pro Stunde",B_="Milliliter pro Stunde",H_="Esslöffel",q_="Kaffeelöffel",$_="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",U_="Milligramm",G_="Milligramm pro Millimeter",W_="meq",Z_="miu",Y_="iu",K_="mmol",Q_="effervescent-tablet",X_="micrograms",J_="{count, plural, one{bandage} other{bandagen}}",ew="{count, plural, one{stück} other{stücke}}",tw="schachteln",nw="liter",rw="{count, plural, one{spritze} other{spritzen}}",aw="{count, plural, one{glühbirn} other{glühbirnen}}",iw="{count, plural, one{Fläsche} other{Fläschchen}}",ow="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",jre={"00001":r_,"00002":a_,"00003":i_,"00004":o_,"00005":s_,"00006":l_,"00007":u_,"00008":c_,"00009":d_,"00010":h_,"00011":p_,"00012":m_,"00013":f_,"00014":g_,"00015":v_,"00016":b_,"00017":y_,"00018":__,"00019":w_,"00020":x_,"00021":E_,"00022":S_,"00023":k_,"00024":C_,"00025":I_,"00026":D_,"00027":T_,"00028":N_,"00029":O_,"00030":M_,cm:P_,dropsperminute:R_,gm:A_,internationalunits:L_,"mck/h":F_,"mck/kg/minute":j_,measure:V_,"mg/h":z_,"ml/h":B_,tbl:H_,tsp:q_,"unt/h":$_,mg:U_,"mg/ml":G_,meq:W_,miu:Z_,iu:Y_,mmol:K_,"effervescent-tablet":Q_,micrograms:X_,bandage:J_,piece:ew,box:tw,liter:nw,syringe:rw,ampoule:aw,bottle:iw,"syringe-ampoule":ow},sw={};oe(sw,{"00001":()=>lw,"00002":()=>uw,"00003":()=>cw,"00004":()=>dw,"00005":()=>hw,"00006":()=>pw,"00007":()=>mw,"00008":()=>fw,"00009":()=>gw,"00010":()=>vw,"00011":()=>bw,"00012":()=>yw,"00013":()=>_w,"00014":()=>ww,"00015":()=>xw,"00016":()=>Ew,"00017":()=>Sw,"00018":()=>kw,"00019":()=>Cw,"00020":()=>Iw,"00021":()=>Dw,"00022":()=>Tw,"00023":()=>Nw,"00024":()=>Ow,"00025":()=>Mw,"00026":()=>Pw,"00027":()=>Rw,"00028":()=>Aw,"00029":()=>Lw,"00030":()=>Fw,ampoule:()=>ux,bandage:()=>ax,bottle:()=>cx,box:()=>ox,cm:()=>jw,default:()=>Vre,dropsperminute:()=>Vw,"effervescent-tablet":()=>nx,gm:()=>zw,internationalunits:()=>Bw,iu:()=>ex,liter:()=>sx,"mck/h":()=>Hw,"mck/kg/minute":()=>qw,measure:()=>$w,meq:()=>Xw,mg:()=>Kw,"mg/h":()=>Uw,"mg/ml":()=>Qw,micrograms:()=>rx,miu:()=>Jw,"ml/h":()=>Gw,mmol:()=>tx,piece:()=>ix,syringe:()=>lx,"syringe-ampoule":()=>dx,tbl:()=>Ww,tsp:()=>Zw,"unt/h":()=>Yw});var lw="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",uw="{count, plural, one{ampoule} other{ampoules}}",cw="applic.",dw="{count, plural, one{capsule} other{capsules}}",hw="{count, plural, one{tablet} other{tablets}}",pw="{count, plural, one{dose} other{doses}}",mw="{count, plural, one{drop} other{drops}}",fw="{count, plural, one{bottle} other{bottles}}",gw="{count, plural, one{implant} other{implants}}",vw="{count, plural, one{perfusion} other{perfusions}}",bw="{count, plural, one{inhalation} other{inhalations}}",yw="insert",_w="{count, plural, one{chewing gum} other{chewing gums}}",ww="{count, plural, one{compress} other{compresses}}",xw="enema",Ew="ml",Sw="{count, plural, one{ovule} other{ovules}}",kw="{count, plural, one{pearl} other{pearls}}",Cw="{count, plural, one{pastille} other{pastilles}}",Iw="{count, plural, one{patch} other{patches}}",Dw="{count, plural, one{cartridge} other{cartridges}}",Tw="{count, plural, one{pen} other{pens}}",Nw="{count, plural, one{puff} other{puffs}}",Ow="{count, plural, one{sponge} other{sponges}}",Mw="{count, plural, one{stylo} other{stylos}}",Pw="{count, plural, one{supository} other{supositories}}",Rw="{count, plural, one{tube} other{tubes}}",Aw="{count, plural, one{wick} other{wicks}}",Lw="{count, plural, one{bag} other{bags}}",Fw="{count, plural, one{small bag} other{small bags}}",jw="centimeter",Vw="{count, plural, one{drop per minute} other{drops per minute}}",zw="gram",Bw="international units",Hw="microgram per hour",qw="microgram per kilogram per minute",$w="{count, plural, one{measure} other{measures}}",Uw="milligram per hour",Gw="milliliter per hour",Ww="{count, plural, one{tablespoon} other{tablespoons}}",Zw="{count, plural, one{teaspoon} other{teaspoons}}",Yw="{count, plural, one{unit per hour} other{units per hour}}",Kw="milligram",Qw="milligram per milliliter",Xw="milli-equivalent",Jw="miu",ex="international units",tx="millimole",nx="{count, plural, one{effervescent tablet} other{effervescent tablets}}",rx="microgram",ax="{count, plural, one{bandage} other{bandages}}",ix="{count, plural, one{piece} other{pieces}}",ox="{count, plural, one{spray} other{sprays}}",sx="liter",lx="{count, plural, one{syringe} other{syringes}}",ux="{count, plural, one{ampoule} other{ampoules}}",cx="{count, plural, one{bottle} other{bottles}}",dx="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Vre={"00001":lw,"00002":uw,"00003":cw,"00004":dw,"00005":hw,"00006":pw,"00007":mw,"00008":fw,"00009":gw,"00010":vw,"00011":bw,"00012":yw,"00013":_w,"00014":ww,"00015":xw,"00016":Ew,"00017":Sw,"00018":kw,"00019":Cw,"00020":Iw,"00021":Dw,"00022":Tw,"00023":Nw,"00024":Ow,"00025":Mw,"00026":Pw,"00027":Rw,"00028":Aw,"00029":Lw,"00030":Fw,cm:jw,dropsperminute:Vw,gm:zw,internationalunits:Bw,"mck/h":Hw,"mck/kg/minute":qw,measure:$w,"mg/h":Uw,"ml/h":Gw,tbl:Ww,tsp:Zw,"unt/h":Yw,mg:Kw,"mg/ml":Qw,meq:Xw,miu:Jw,iu:ex,mmol:tx,"effervescent-tablet":nx,micrograms:rx,bandage:ax,piece:ix,box:ox,liter:sx,syringe:lx,ampoule:ux,bottle:cx,"syringe-ampoule":dx},hx={};oe(hx,{"00001":()=>px,"00002":()=>mx,"00003":()=>fx,"00004":()=>gx,"00005":()=>vx,"00006":()=>bx,"00007":()=>yx,"00008":()=>_x,"00009":()=>wx,"00010":()=>xx,"00011":()=>Ex,"00012":()=>Sx,"00013":()=>kx,"00014":()=>Cx,"00015":()=>Ix,"00016":()=>Dx,"00017":()=>Tx,"00018":()=>Nx,"00019":()=>Ox,"00020":()=>Mx,"00021":()=>Px,"00022":()=>Rx,"00023":()=>Ax,"00024":()=>Lx,"00025":()=>Fx,"00026":()=>jx,"00027":()=>Vx,"00028":()=>zx,"00029":()=>Bx,"00030":()=>Hx,ampoule:()=>mE,bandage:()=>uE,bottle:()=>fE,box:()=>dE,cm:()=>qx,default:()=>zre,dropsperminute:()=>$x,"effervescent-tablet":()=>sE,gm:()=>Ux,internationalunits:()=>Gx,iu:()=>iE,liter:()=>hE,"mck/h":()=>Wx,"mck/kg/minute":()=>Zx,measure:()=>Yx,meq:()=>rE,mg:()=>tE,"mg/h":()=>Kx,"mg/ml":()=>nE,micrograms:()=>lE,miu:()=>aE,"ml/h":()=>Qx,mmol:()=>oE,piece:()=>cE,syringe:()=>pE,"syringe-ampoule":()=>gE,tbl:()=>Xx,tsp:()=>Jx,"unt/h":()=>eE});var px="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",mx="amp.",fx="applic.",gx="caps.",vx="compr.",bx="{count, plural, one{dose} other{doses}}",yx="{count, plural, one{goutte} other{gouttes}}",_x="flac.",wx="{count, plural, one{implant} other{implants}}",xx="{count, plural, one{perfusion} other{perfusions}}",Ex="{count, plural, one{inhalation} other{inhalations}}",Sx="insert",kx="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",Cx="{count, plural, one{compres(se)} other{compres(ses)}}",Ix="{count, plural, one{lavement} other{lavements}}",Dx="ml",Tx="ov.",Nx="{count, plural, one{perle} other{perles}}",Ox="{count, plural, one{pastille} other{pastilles}}",Mx="{count, plural, one{patch} other{patchs}}",Px="patr.",Rx="{count, plural, one{stylo} other{stylos}}",Ax="{count, plural, one{puff} other{puffs}}",Lx="{count, plural, one{éponge} other{éponges}}",Fx="{count, plural, one{stylo} other{stylos}}",jx="suppo",Vx="{count, plural, one{tube} other{tubes}}",zx="{count, plural, one{mèche} other{mèches}}",Bx="{count, plural, one{sac} other{sacs}}",Hx="{count, plural, one{sachet} other{sachets}}",qx="{count, plural, one{centimètre} other{centimètres}}",$x="{count, plural, one{goute par minute} other{goutes par minute}}",Ux="{count, plural, one{gramme} other{grammes}}",Gx="{count, plural, one{unité internationales} other{unités internationales}}",Wx="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",Zx="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",Yx="{count, plural, one{mesure} other{mesures}}",Kx="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",Qx="{count, plural, one{millilitre par heure} other{millilitres par heure}}",Xx="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Jx="{count, plural, one{cuillère à café} other{cuillères à café}}",eE="{count, plural, one{unité par heure} other{unités par heure}}",tE="{count, plural, one{miligramme} other{miligrammes}}",nE="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",rE="milli-équivalent",aE="miu",iE="{count, plural, one{unité internationales} other{unités internationales}}",oE="millimol",sE="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",lE="{count, plural, one{microgramme} other{microgrammes}}",uE="{count, plural, one{bandage} other{bandages}}",cE="{count, plural, one{pièce} other{pièces}}",dE="{count, plural, one{vaporisateur} other{vaporisateurs}}",hE="{count, plural, one{litre} other{litres}}",pE="{count, plural, one{seringue} other{seringues}}",mE="{count, plural, one{ampoule} other{ampoules}}",fE="{count, plural, one{fiole} other{fioles}}",gE="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",zre={"00001":px,"00002":mx,"00003":fx,"00004":gx,"00005":vx,"00006":bx,"00007":yx,"00008":_x,"00009":wx,"00010":xx,"00011":Ex,"00012":Sx,"00013":kx,"00014":Cx,"00015":Ix,"00016":Dx,"00017":Tx,"00018":Nx,"00019":Ox,"00020":Mx,"00021":Px,"00022":Rx,"00023":Ax,"00024":Lx,"00025":Fx,"00026":jx,"00027":Vx,"00028":zx,"00029":Bx,"00030":Hx,cm:qx,dropsperminute:$x,gm:Ux,internationalunits:Gx,"mck/h":Wx,"mck/kg/minute":Zx,measure:Yx,"mg/h":Kx,"ml/h":Qx,tbl:Xx,tsp:Jx,"unt/h":eE,mg:tE,"mg/ml":nE,meq:rE,miu:aE,iu:iE,mmol:oE,"effervescent-tablet":sE,micrograms:lE,bandage:uE,piece:cE,box:dE,liter:hE,syringe:pE,ampoule:mE,bottle:fE,"syringe-ampoule":gE},vE={};oe(vE,{"00001":()=>bE,"00002":()=>yE,"00003":()=>_E,"00004":()=>wE,"00005":()=>xE,"00006":()=>EE,"00007":()=>SE,"00008":()=>kE,"00009":()=>CE,"00010":()=>IE,"00011":()=>DE,"00012":()=>TE,"00013":()=>NE,"00014":()=>OE,"00015":()=>ME,"00016":()=>PE,"00017":()=>RE,"00018":()=>AE,"00019":()=>LE,"00020":()=>FE,"00021":()=>jE,"00022":()=>VE,"00023":()=>zE,"00024":()=>BE,"00025":()=>HE,"00026":()=>qE,"00027":()=>$E,"00028":()=>UE,"00029":()=>GE,"00030":()=>WE,ampoule:()=>yS,bandage:()=>mS,bottle:()=>_S,box:()=>gS,cm:()=>ZE,default:()=>Bre,dropsperminute:()=>YE,"effervescent-tablet":()=>hS,gm:()=>KE,internationalunits:()=>QE,iu:()=>cS,liter:()=>vS,"mck/h":()=>XE,"mck/kg/minute":()=>JE,measure:()=>eS,meq:()=>lS,mg:()=>oS,"mg/h":()=>tS,"mg/ml":()=>sS,micrograms:()=>pS,miu:()=>uS,"ml/h":()=>nS,mmol:()=>dS,piece:()=>fS,syringe:()=>bS,"syringe-ampoule":()=>wS,tbl:()=>rS,tsp:()=>aS,"unt/h":()=>iS});var bE="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",yE="{count, plural, one{ampule} other{ampullen}}",_E="aanbrengen",wE="{count, plural, one{capsule} other{capsules}}",xE="{count, plural, one{tablet} other{tabletten}}",EE="{count, plural, one{dose} other{dosissen}}",SE="{count, plural, one{druppel} other{druppels}}",kE="{count, plural, one{flesje} other{flesjes}}",CE="{count, plural, one{implantaat} other{implantaten}}",IE="{count, plural, one{infuus} other{infusen}}",DE="{count, plural, one{inhalatie} other{inhalaties}}",TE="inbrengen",NE="{count, plural, one{kauwgom} other{kauwgommen}}",OE="{count, plural, one{kompres} other{kompressen}}",ME="lavement",PE="ml",RE="{count, plural, one{ovule} other{ovules}}",AE="{count, plural, one{parel} other{parels}}",LE="{count, plural, one{pastille} other{pastilles}}",FE="{count, plural, one{pleister} other{pleisters}}",jE="{count, plural, one{patroon} other{patronen}}",VE="{count, plural, one{pen} other{pennen}}",zE="{count, plural, one{puff} other{puffs}}",BE="{count, plural, one{spons} other{sponsen}}",HE="{count, plural, one{stylo} other{stylos}}",qE="{count, plural, one{zetpil} other{zetpillen}}",$E="{count, plural, one{tube} other{tubes}}",UE="{count, plural, one{wiek} other{wieken}}",GE="{count, plural, one{zak} other{zakken}}",WE="{count, plural, one{zakje} other{zakjes}}",ZE="centimeter",YE="{count, plural, one{druppel per minuut} other{druppels per minuut}}",KE="gram",QE="internationale eenheden",XE="microgram per uur",JE="microgram per kilogram per minuut",eS="{count, plural, one{maat} other{maten}}",tS="milligram per uur",nS="milliliter per uur",rS="{count, plural, one{eetlepel} other{eetlepels}}",aS="{count, plural, one{koffielepel} other{koffielepels}}",iS="{count, plural, one{eenheid per uur} other{eenheden per uur}}",oS="miligram",sS="miligram per milimeter",lS="milli-equivalent",uS="miu",cS="internationale eenheden",dS="millimol",hS="{count, plural, one{bruistablet} other{bruistabletten}}",pS="microgram",mS="{count, plural, one{verband} other{verbanden}}",fS="{count, plural, one{stuk} other{stuks}}",gS="{count, plural, one{verstuiving} other{verstuivingen}}",vS="liter",bS="{count, plural, one{spuit} other{spuiten}}",yS="{count, plural, one{ampul} other{ampullen}}",_S="{count, plural, one{fles} other{flessen}}",wS="{count, plural, one{spuitampul} other{spuitampullen}}",Bre={"00001":bE,"00002":yE,"00003":_E,"00004":wE,"00005":xE,"00006":EE,"00007":SE,"00008":kE,"00009":CE,"00010":IE,"00011":DE,"00012":TE,"00013":NE,"00014":OE,"00015":ME,"00016":PE,"00017":RE,"00018":AE,"00019":LE,"00020":FE,"00021":jE,"00022":VE,"00023":zE,"00024":BE,"00025":HE,"00026":qE,"00027":$E,"00028":UE,"00029":GE,"00030":WE,cm:ZE,dropsperminute:YE,gm:KE,internationalunits:QE,"mck/h":XE,"mck/kg/minute":JE,measure:eS,"mg/h":tS,"ml/h":nS,tbl:rS,tsp:aS,"unt/h":iS,mg:oS,"mg/ml":sS,meq:lS,miu:uS,iu:cS,mmol:dS,"effervescent-tablet":hS,micrograms:pS,bandage:mS,piece:fS,box:gS,liter:vS,syringe:bS,ampoule:yS,bottle:_S,"syringe-ampoule":wS},Hre={nl:vE,fr:hx,de:n_,en:sw},xS={};oe(xS,{default:()=>qre,friday:()=>IS,monday:()=>ES,saturday:()=>DS,sunday:()=>TS,thursday:()=>CS,tuesday:()=>SS,wednesday:()=>kS});var ES="Montag",SS="Dienstag",kS="Mittwoch",CS="Donnerstag",IS="Freitag",DS="Samstag",TS="Sonntag",qre={monday:ES,tuesday:SS,wednesday:kS,thursday:CS,friday:IS,saturday:DS,sunday:TS},NS={};oe(NS,{default:()=>$re,friday:()=>AS,monday:()=>OS,saturday:()=>LS,sunday:()=>FS,thursday:()=>RS,tuesday:()=>MS,wednesday:()=>PS});var OS="Monday",MS="Tuesday",PS="Wednesday",RS="Thursday",AS="Friday",LS="Saturday",FS="Sunday",$re={monday:OS,tuesday:MS,wednesday:PS,thursday:RS,friday:AS,saturday:LS,sunday:FS},jS={};oe(jS,{default:()=>Ure,friday:()=>qS,monday:()=>VS,saturday:()=>$S,sunday:()=>US,thursday:()=>HS,tuesday:()=>zS,wednesday:()=>BS});var VS="Lundi",zS="Mardi",BS="Mercredi",HS="Jeudi",qS="Vendredi",$S="Samedi",US="Dimanche",Ure={monday:VS,tuesday:zS,wednesday:BS,thursday:HS,friday:qS,saturday:$S,sunday:US},GS={};oe(GS,{default:()=>Gre,friday:()=>QS,monday:()=>WS,saturday:()=>XS,sunday:()=>JS,thursday:()=>KS,tuesday:()=>ZS,wednesday:()=>YS});var WS="Maandag",ZS="Dinsdag",YS="Woensdag",KS="Donderdag",QS="Vrijdag",XS="Zaterdag",JS="Zondag",Gre={monday:WS,tuesday:ZS,wednesday:YS,thursday:KS,friday:QS,saturday:XS,sunday:JS},Wre={nl:GS,fr:jS,de:xS,en:NS},ek={};oe(ek,{VIDIS_0035:()=>tk,VIDIS_0050:()=>nk,VIDIS_0090:()=>rk,VIDIS_0100:()=>Pk,VIDIS_0110:()=>Ak,VIDIS_0120:()=>Rk,VIDIS_0121:()=>ak,VIDIS_0122:()=>ik,VIDIS_0123:()=>ok,VIDIS_0124:()=>sk,VIDIS_0125:()=>lk,VIDIS_0126:()=>uk,VIDIS_0131:()=>ck,VIDIS_0132:()=>dk,VIDIS_0133:()=>hk,VIDIS_0134:()=>pk,VIDIS_0135:()=>mk,VIDIS_0136:()=>fk,VIDIS_0190:()=>gk,VIDIS_0200:()=>Lk,VIDIS_0210:()=>vk,VIDIS_0211:()=>bk,VIDIS_0230:()=>yk,VIDIS_0290:()=>_k,VIDIS_0330:()=>wk,VIDIS_0340:()=>Fk,VIDIS_0341:()=>jk,VIDIS_0400:()=>Ok,VIDIS_04001:()=>Vk,VIDIS_0435:()=>xk,VIDIS_0440:()=>Ek,VIDIS_3030:()=>Mk,VIDIS_3090:()=>Ik,VIDIS_3100:()=>Tk,VIDIS_3120:()=>Nk,VIDIS_3140:()=>Dk,VIDIS_3150:()=>Ck,VIDIS_5000:()=>Sk,VIDIS_7000:()=>kk,"action-not-authorized-close-button":()=>oC,"action-not-authorized-title":()=>iC,"data-not-available-title":()=>aC,default:()=>Zre,general:()=>Bk,"has-hidden-prescriptions":()=>Yk,"incorrect-elements-ms-detail":()=>lC,"incorrect-elements-ms-list":()=>sC,invalid_date_format:()=>Gk,myHealth:()=>qk,myHealthUrl:()=>$k,network_error:()=>Uk,"no-access":()=>Hk,prescriptionList:()=>zk,"report-message-confirm-toast":()=>rC,"report-message-content":()=>Xk,"report-message-explanation":()=>Qk,"report-message-ignore-button":()=>nC,"report-message-link":()=>eC,"report-message-report-button":()=>tC,"report-message-term-use":()=>Jk,"report-message-title":()=>Kk,"status-message-content":()=>Zk,"status-message-title":()=>Wk});var tk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",nk="Die Patienten-INSS fehlt. (VIDIS_0050)",rk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",ak="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",ik="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ok="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",sk="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",lk="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",uk="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",ck="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",dk="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",hk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",pk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",mk="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",fk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",gk="Ungültige INSS-Patientennummer. (VIDIS_0190)",vk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",bk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",yk="Der Vorgang ist ungültig (VIDIS_0230)",_k='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',wk="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)",xk="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",Ek="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",Sk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",kk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",Ck="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",Ik="Das Rezept ist abgelaufen.",Dk="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.",Tk="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",Nk="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",Ok="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",Mk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",Pk="Vorgang nicht erlaubt.",Rk="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",Ak="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",Lk="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",Fk="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.",jk="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.",Vk="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",zk="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",Bk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Hk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",qk="Zurück zum Portal Meine Gesundheit",$k="https://wwwint.meinegesundheit.belgien.be/#/",Uk="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Gk="Ungültiges Datumsformat.",Wk="Dienst vorübergehend nicht verfügbar",Zk=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
33
33
|
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,Yk="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",Kk="Technisches Problem",Qk="Bitte versuchen Sie es später noch einmal.",Xk="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",Jk="unsere Nutzungsbedingungen",eC="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",tC="Problem melden",nC="Nicht melden",rC="Das Problem wurde gemeldet",aC="Daten nicht verfügbar",iC="Aktion nicht erlaubt",oC="Schließen",sC="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",lC="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",Zre={VIDIS_0035:tk,VIDIS_0050:nk,VIDIS_0090:rk,VIDIS_0121:ak,VIDIS_0122:ik,VIDIS_0123:ok,VIDIS_0124:sk,VIDIS_0125:lk,VIDIS_0126:uk,VIDIS_0131:ck,VIDIS_0132:dk,VIDIS_0133:hk,VIDIS_0134:pk,VIDIS_0135:mk,VIDIS_0136:fk,VIDIS_0190:gk,VIDIS_0210:vk,VIDIS_0211:bk,VIDIS_0230:yk,VIDIS_0290:_k,VIDIS_0330:wk,VIDIS_0435:xk,VIDIS_0440:Ek,VIDIS_5000:Sk,VIDIS_7000:kk,VIDIS_3150:Ck,VIDIS_3090:Ik,VIDIS_3140:Dk,VIDIS_3100:Tk,VIDIS_3120:Nk,VIDIS_0400:Ok,VIDIS_3030:Mk,VIDIS_0100:Pk,VIDIS_0120:Rk,VIDIS_0110:Ak,VIDIS_0200:Lk,VIDIS_0340:Fk,VIDIS_0341:jk,VIDIS_04001:Vk,prescriptionList:zk,general:Bk,"no-access":Hk,myHealth:qk,myHealthUrl:$k,network_error:Uk,invalid_date_format:Gk,"status-message-title":Wk,"status-message-content":Zk,"has-hidden-prescriptions":Yk,"report-message-title":Kk,"report-message-explanation":Qk,"report-message-content":Xk,"report-message-term-use":Jk,"report-message-link":eC,"report-message-report-button":tC,"report-message-ignore-button":nC,"report-message-confirm-toast":rC,"data-not-available-title":aC,"action-not-authorized-title":iC,"action-not-authorized-close-button":oC,"incorrect-elements-ms-list":sC,"incorrect-elements-ms-detail":lC},uC={};oe(uC,{VIDIS_0035:()=>cC,VIDIS_0050:()=>dC,VIDIS_0090:()=>hC,VIDIS_0100:()=>HC,VIDIS_0110:()=>$C,VIDIS_0120:()=>qC,VIDIS_0121:()=>pC,VIDIS_0122:()=>mC,VIDIS_0123:()=>fC,VIDIS_0124:()=>gC,VIDIS_0125:()=>vC,VIDIS_0126:()=>bC,VIDIS_0131:()=>yC,VIDIS_0132:()=>_C,VIDIS_0133:()=>wC,VIDIS_0134:()=>xC,VIDIS_0135:()=>EC,VIDIS_0136:()=>SC,VIDIS_0190:()=>kC,VIDIS_0200:()=>UC,VIDIS_0210:()=>CC,VIDIS_0211:()=>IC,VIDIS_0230:()=>DC,VIDIS_0290:()=>TC,VIDIS_0330:()=>NC,VIDIS_0340:()=>GC,VIDIS_0341:()=>WC,VIDIS_0400:()=>zC,VIDIS_04001:()=>ZC,VIDIS_0435:()=>OC,VIDIS_0440:()=>MC,VIDIS_3030:()=>BC,VIDIS_3090:()=>LC,VIDIS_3100:()=>jC,VIDIS_3120:()=>VC,VIDIS_3140:()=>FC,VIDIS_3150:()=>AC,VIDIS_5000:()=>PC,VIDIS_7000:()=>RC,"action-not-authorized-close-button":()=>fI,"action-not-authorized-title":()=>mI,"data-not-available-title":()=>pI,default:()=>Yre,general:()=>KC,"has-hidden-prescriptions":()=>aI,"incorrect-elements-ms-detail":()=>vI,"incorrect-elements-ms-list":()=>gI,invalid_date_format:()=>tI,myHealth:()=>XC,myHealthUrl:()=>JC,network_error:()=>eI,"no-access":()=>QC,prescriptionList:()=>YC,"report-message-confirm-toast":()=>hI,"report-message-content":()=>sI,"report-message-explanation":()=>oI,"report-message-ignore-button":()=>dI,"report-message-link":()=>uI,"report-message-report-button":()=>cI,"report-message-term-use":()=>lI,"report-message-title":()=>iI,"status-message-content":()=>rI,"status-message-title":()=>nI});var cC="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",dC="The patient's NISS number is missing (VIDIS_0050)",hC="The personal information provided was not recognised. (VIDIS_0090)",pC="Consulting data of a Brussels patient is currently not authorised.",mC="Consulting data of a Walloon patient is currently not authorised.",fC="Consulting data of a Brussels child by a parent is currently not authorised.",gC="Consulting data of a Walloon child by a parent is currently not authorised.",vC="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",bC="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",yC="Access to the data of a Brussels patient is currently not permitted.",_C="Access to the data of a Walloon patient is currently not permitted.",wC="A parent’s access to the data of a Brussels child is currently not permitted.",xC="A parent’s access to the data of a Walloon child is currently not permitted.",EC="A representative’s access to the data of a Brussels patient is currently not permitted.",SC="A representative’s access to the data of a Walloon patient is currently not permitted.",kC="The patient's NISS number is invalid. (VIDIS_0190)",CC="The login was unsuccessful. Please try again. (VIDIS_0210)",IC="The login was unsuccessful. Please try again. (VIDIS_0211)",DC="The request is invalid. (VIDIS_0230)",TC="User role must be citizen. (VIDIS_0290)",NC="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)",OC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",MC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",PC="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",RC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",AC="No mandate found between patient and mandateholder.",LC="Prescription has expired.",FC="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.",jC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",VC="The patient in the session is different from the patient in the request.",zC="User is not authorized to make the request.",BC="No mandate found between patient and mandateholder.",HC="Operation is not allowed.",qC="A therapeutic relation between the requester and the patient is not available.",$C="There is no consent to share personal health information.",UC="User is not allowed to perform the operation due to an exclusion between requester and patient.",GC="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",WC="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",ZC="Your request is invalid. Please try again later.",YC="Unfortunately the details of the prescription could not be retrieved. Please try again.",KC="An internal technical error has occured. Please try again later.",QC="An internal technical error has occured. Please try again later.",XC="Back to the MyHealth portal.",JC="https://www.myhealth.belgium.be/",eI="A network error unfortunately has occured. Please contact your network manager if the problem persists.",tI="Invalid date format.",nI="Service temporarily unavailable",rI=`We are currently having a problem connecting to the server.
|
|
34
34
|
Please try again later.`,aI="The patient has hidden one or more prescriptions.",iI="Technical problem",oI="Please try again later.",sI="Help us identify and resolve the issue. By reporting it, you accept ",lI="our terms of use",uI="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",cI="Report the problem",dI="Don't report",hI="The problem has been reported",pI="Data not available",mI="Action not authorized",fI="Close",gI="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",vI="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",Yre={VIDIS_0035:cC,VIDIS_0050:dC,VIDIS_0090:hC,VIDIS_0121:pC,VIDIS_0122:mC,VIDIS_0123:fC,VIDIS_0124:gC,VIDIS_0125:vC,VIDIS_0126:bC,VIDIS_0131:yC,VIDIS_0132:_C,VIDIS_0133:wC,VIDIS_0134:xC,VIDIS_0135:EC,VIDIS_0136:SC,VIDIS_0190:kC,VIDIS_0210:CC,VIDIS_0211:IC,VIDIS_0230:DC,VIDIS_0290:TC,VIDIS_0330:NC,VIDIS_0435:OC,VIDIS_0440:MC,VIDIS_5000:PC,VIDIS_7000:RC,VIDIS_3150:AC,VIDIS_3090:LC,VIDIS_3140:FC,VIDIS_3100:jC,VIDIS_3120:VC,VIDIS_0400:zC,VIDIS_3030:BC,VIDIS_0100:HC,VIDIS_0120:qC,VIDIS_0110:$C,VIDIS_0200:UC,VIDIS_0340:GC,VIDIS_0341:WC,VIDIS_04001:ZC,prescriptionList:YC,general:KC,"no-access":QC,myHealth:XC,myHealthUrl:JC,network_error:eI,invalid_date_format:tI,"status-message-title":nI,"status-message-content":rI,"has-hidden-prescriptions":aI,"report-message-title":iI,"report-message-explanation":oI,"report-message-content":sI,"report-message-term-use":lI,"report-message-link":uI,"report-message-report-button":cI,"report-message-ignore-button":dI,"report-message-confirm-toast":hI,"data-not-available-title":pI,"action-not-authorized-title":mI,"action-not-authorized-close-button":fI,"incorrect-elements-ms-list":gI,"incorrect-elements-ms-detail":vI},bI={};oe(bI,{VIDIS_0035:()=>yI,VIDIS_0050:()=>_I,VIDIS_0090:()=>wI,VIDIS_0100:()=>QI,VIDIS_0110:()=>JI,VIDIS_0120:()=>XI,VIDIS_0121:()=>xI,VIDIS_0122:()=>EI,VIDIS_0123:()=>SI,VIDIS_0124:()=>kI,VIDIS_0125:()=>CI,VIDIS_0126:()=>II,VIDIS_0131:()=>DI,VIDIS_0132:()=>TI,VIDIS_0133:()=>NI,VIDIS_0134:()=>OI,VIDIS_0135:()=>MI,VIDIS_0136:()=>PI,VIDIS_0190:()=>RI,VIDIS_0200:()=>eD,VIDIS_0210:()=>AI,VIDIS_0211:()=>LI,VIDIS_0230:()=>FI,VIDIS_0290:()=>jI,VIDIS_0330:()=>VI,VIDIS_0340:()=>tD,VIDIS_0341:()=>nD,VIDIS_0400:()=>YI,VIDIS_04001:()=>rD,VIDIS_0435:()=>zI,VIDIS_0440:()=>BI,VIDIS_3030:()=>KI,VIDIS_3090:()=>UI,VIDIS_3100:()=>WI,VIDIS_3120:()=>ZI,VIDIS_3140:()=>GI,VIDIS_3150:()=>$I,VIDIS_5000:()=>HI,VIDIS_7000:()=>qI,"action-not-authorized-close-button":()=>SD,"action-not-authorized-title":()=>ED,"data-not-available-title":()=>xD,default:()=>Kre,general:()=>iD,"has-hidden-prescriptions":()=>pD,"incorrect-elements-ms-detail":()=>CD,"incorrect-elements-ms-list":()=>kD,invalid_date_format:()=>cD,myHealth:()=>sD,myHealthUrl:()=>lD,network_error:()=>uD,"no-access":()=>oD,prescriptionList:()=>aD,"report-message-confirm-toast":()=>wD,"report-message-content":()=>gD,"report-message-explanation":()=>fD,"report-message-ignore-button":()=>_D,"report-message-link":()=>bD,"report-message-report-button":()=>yD,"report-message-term-use":()=>vD,"report-message-title":()=>mD,"status-message-content":()=>hD,"status-message-title":()=>dD});var yI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",_I="Le NISS du patient est manquant. (VIDIS_0050)",wI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",xI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",EI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",SI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",kI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",CI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",II="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",DI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",TI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",NI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",OI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",MI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",PI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",RI="Le NISS du patient n’est pas valide. (VIDIS_0190)",AI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",LI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",FI="L’opération n’est pas valide. (VIDIS_0230)",jI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",VI="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)",zI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",BI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",HI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",qI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",$I="Aucun mandat trouvé entre le patient et le mandataire.",UI="L’ordonnance est expirée.",GI="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.",WI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",ZI="Le patient dans la session est différent de celui dans la demande.",YI="L’utilisateur n’est pas autorisé à effectuer la requête.",KI="Aucun mandat trouvé entre le patient et le mandataire.",QI="Opération non autorisée.",XI="Aucune relation thérapeutique entre le demandeur et le patient.",JI="Aucun consentement au partage des données de santé.",eD="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",tD="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",nD="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",rD="Votre requête est invalide. Veuillez réessayer plus tard.",aD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",iD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",oD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",sD="Revenir au portail MaSanté",lD="https://wwwint.masante.belgique.be/#/",uD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",cD="Le format de date est invalide.",dD="Service temporairement indisponible",hD=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
35
35
|
Veuillez réessayer plus tard.`,pD="Le patient a masqué une ou plusieurs prescriptions.",mD="Problème technique",fD="Veuillez réessayer plus tard.",gD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",vD="conditions d'utilisation",bD="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",yD="Signaler le problème",_D="Ignorer",wD="Le problème a été signalé",xD="Données non disponibles",ED="Action non autorisée",SD="Fermer",kD="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",CD="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",Kre={VIDIS_0035:yI,VIDIS_0050:_I,VIDIS_0090:wI,VIDIS_0121:xI,VIDIS_0122:EI,VIDIS_0123:SI,VIDIS_0124:kI,VIDIS_0125:CI,VIDIS_0126:II,VIDIS_0131:DI,VIDIS_0132:TI,VIDIS_0133:NI,VIDIS_0134:OI,VIDIS_0135:MI,VIDIS_0136:PI,VIDIS_0190:RI,VIDIS_0210:AI,VIDIS_0211:LI,VIDIS_0230:FI,VIDIS_0290:jI,VIDIS_0330:VI,VIDIS_0435:zI,VIDIS_0440:BI,VIDIS_5000:HI,VIDIS_7000:qI,VIDIS_3150:$I,VIDIS_3090:UI,VIDIS_3140:GI,VIDIS_3100:WI,VIDIS_3120:ZI,VIDIS_0400:YI,VIDIS_3030:KI,VIDIS_0100:QI,VIDIS_0120:XI,VIDIS_0110:JI,VIDIS_0200:eD,VIDIS_0340:tD,VIDIS_0341:nD,VIDIS_04001:rD,prescriptionList:aD,general:iD,"no-access":oD,myHealth:sD,myHealthUrl:lD,network_error:uD,invalid_date_format:cD,"status-message-title":dD,"status-message-content":hD,"has-hidden-prescriptions":pD,"report-message-title":mD,"report-message-explanation":fD,"report-message-content":gD,"report-message-term-use":vD,"report-message-link":bD,"report-message-report-button":yD,"report-message-ignore-button":_D,"report-message-confirm-toast":wD,"data-not-available-title":xD,"action-not-authorized-title":ED,"action-not-authorized-close-button":SD,"incorrect-elements-ms-list":kD,"incorrect-elements-ms-detail":CD},ID={};oe(ID,{VIDIS_0035:()=>DD,VIDIS_0050:()=>TD,VIDIS_0090:()=>ND,VIDIS_0100:()=>o2,VIDIS_0110:()=>l2,VIDIS_0120:()=>s2,VIDIS_0121:()=>OD,VIDIS_0122:()=>MD,VIDIS_0123:()=>PD,VIDIS_0124:()=>RD,VIDIS_0125:()=>AD,VIDIS_0126:()=>LD,VIDIS_0131:()=>FD,VIDIS_0132:()=>jD,VIDIS_0133:()=>VD,VIDIS_0134:()=>zD,VIDIS_0135:()=>BD,VIDIS_0136:()=>HD,VIDIS_0190:()=>qD,VIDIS_0200:()=>u2,VIDIS_0210:()=>$D,VIDIS_0211:()=>UD,VIDIS_0230:()=>GD,VIDIS_0290:()=>WD,VIDIS_0330:()=>ZD,VIDIS_0340:()=>c2,VIDIS_0341:()=>d2,VIDIS_0400:()=>a2,VIDIS_04001:()=>h2,VIDIS_0435:()=>YD,VIDIS_0440:()=>KD,VIDIS_3030:()=>i2,VIDIS_3090:()=>e2,VIDIS_3100:()=>n2,VIDIS_3120:()=>r2,VIDIS_3140:()=>t2,VIDIS_3150:()=>JD,VIDIS_5000:()=>QD,VIDIS_7000:()=>XD,"action-not-authorized-close-button":()=>P2,"action-not-authorized-title":()=>M2,"data-not-available-title":()=>O2,default:()=>Qre,general:()=>m2,"has-hidden-prescriptions":()=>x2,"incorrect-elements-ms-detail":()=>A2,"incorrect-elements-ms-list":()=>R2,invalid_date_format:()=>y2,myHealth:()=>g2,myHealthUrl:()=>v2,network_error:()=>b2,"no-access":()=>f2,prescriptionList:()=>p2,"report-message-confirm-toast":()=>N2,"report-message-content":()=>k2,"report-message-explanation":()=>S2,"report-message-ignore-button":()=>T2,"report-message-link":()=>I2,"report-message-report-button":()=>D2,"report-message-term-use":()=>C2,"report-message-title":()=>E2,"status-message-content":()=>w2,"status-message-title":()=>_2});var DD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",TD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",ND="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",OD="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",MD="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",PD="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",RD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",AD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",LD="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",FD="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",jD="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",VD="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",zD="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",BD="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",HD="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)",UD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",GD="Het verzoek is ongeldig. (VIDIS_0230)",WD="Gebruikersrol moet burger zijn. (VIDIS_0290)",ZD="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)",YD="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",KD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",QD="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",XD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",JD="Geen mandaat gevonden tussen patiënt en mandataris.",e2="Voorschrift is verlopen.",t2="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.",n2="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",r2="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",a2="De gebruiker is niet gemachtigd om de aanvraag te doen.",i2="Geen mandaat gevonden tussen patiënt en mandataris.",o2="Bewerking is niet toegestaan.",s2="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",l2="Er is geen toestemming om gezondheidsgegevens te delen.",u2="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",c2="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",d2="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",h2="Uw verzoek is ongeldig. Probeer later opnieuw.",p2="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",m2="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",f2="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",g2="Terug naar het MijnGezondheid portaal",v2="http://wwwint.mijngezondheid.belgie.be/",b2="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",y2="Ongeldig datumformaat.",_2="Service tijdelijk niet beschikbaar",w2=`Er is momenteel een probleem met de verbinding met de server.
|
|
36
|
-
Probeer het later nog eens.`,x2="De patiënt heeft 1 of meerdere voorschriften verborgen.",E2="Technisch probleem",S2="Probeer het later opnieuw.",k2="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",C2="gebruiksvoorwaarden",I2="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",D2="Probleem melden",T2="Niet melden",N2="Het probleem is gemeld",O2="Gegevens niet beschikbaar",M2="Actie niet toegestaan",P2="Sluiten",R2="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",A2="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",Qre={VIDIS_0035:DD,VIDIS_0050:TD,VIDIS_0090:ND,VIDIS_0121:OD,VIDIS_0122:MD,VIDIS_0123:PD,VIDIS_0124:RD,VIDIS_0125:AD,VIDIS_0126:LD,VIDIS_0131:FD,VIDIS_0132:jD,VIDIS_0133:VD,VIDIS_0134:zD,VIDIS_0135:BD,VIDIS_0136:HD,VIDIS_0190:qD,VIDIS_0210:$D,VIDIS_0211:UD,VIDIS_0230:GD,VIDIS_0290:WD,VIDIS_0330:ZD,VIDIS_0435:YD,VIDIS_0440:KD,VIDIS_5000:QD,VIDIS_7000:XD,VIDIS_3150:JD,VIDIS_3090:e2,VIDIS_3140:t2,VIDIS_3100:n2,VIDIS_3120:r2,VIDIS_0400:a2,VIDIS_3030:i2,VIDIS_0100:o2,VIDIS_0120:s2,VIDIS_0110:l2,VIDIS_0200:u2,VIDIS_0340:c2,VIDIS_0341:d2,VIDIS_04001:h2,prescriptionList:p2,general:m2,"no-access":f2,myHealth:g2,myHealthUrl:v2,network_error:b2,invalid_date_format:y2,"status-message-title":_2,"status-message-content":w2,"has-hidden-prescriptions":x2,"report-message-title":E2,"report-message-explanation":S2,"report-message-content":k2,"report-message-term-use":C2,"report-message-link":I2,"report-message-report-button":D2,"report-message-ignore-button":T2,"report-message-confirm-toast":N2,"data-not-available-title":O2,"action-not-authorized-title":M2,"action-not-authorized-close-button":P2,"incorrect-elements-ms-list":R2,"incorrect-elements-ms-detail":A2},Xre={nl:ID,fr:bI,de:ek,en:uC},L2={};oe(L2,{1:()=>F2,10:()=>G2,11:()=>W2,12:()=>Z2,13:()=>Y2,14:()=>K2,15:()=>Q2,16:()=>X2,17:()=>J2,18:()=>eT,19:()=>tT,2:()=>j2,20:()=>nT,21:()=>rT,22:()=>aT,23:()=>iT,24:()=>oT,25:()=>sT,26:()=>lT,27:()=>uT,28:()=>cT,29:()=>dT,3:()=>V2,30:()=>hT,31:()=>pT,32:()=>mT,33:()=>fT,34:()=>gT,4:()=>z2,40:()=>vT,41:()=>bT,5:()=>B2,6:()=>H2,7:()=>q2,71:()=>yT,8:()=>$2,9:()=>U2,90:()=>_T,91:()=>wT,92:()=>xT,93:()=>ET,default:()=>Jre});var F2="Gelatinekapseln",j2="Tabletten",V2="Creme",z2="Gel",B2="Paste",H2="Fette Salbe",q2="Granulat",$2="Zäpfchen für Erwachsene",U2="Zäpfchen für Kinder",G2="Vaginalzäpfchen",W2="Rektiole",Z2="nicht gespaltenes Pulver innerliche Anwendung",Y2="nicht gespaltenes Pulver äußerliche Anwendung",K2="Inhalation",Q2="Pulver Zum Spalten innerliche Anwendung",X2="Pulver Zum Spalten äußerliche Anwendung",J2="Nasentropfen",eT="Nasensalbe",tT="Sirup",nT="Lösung innerliche Anwendung",rT="Lösung äußerliche Anwendung",aT="Tropfen innerliche Anwendung",iT="Tropfen äußerliche Anwendung",oT="Emulsion innerliche Anwendung",sT="Emulsion äußerliche Anwendung",lT="Shampoo",uT="Augentropfen",cT="Augenlotion",dT="Augenbad",hT="Salbe",pT="Augensalbe ",mT="Ohrentropfen",fT="Suspension innerliche Anwendung",gT="Suspension äußerliche Anwendung",vT="Kräutermischung",bT="Tee",yT="enterische Kapseln",_T="derartig",wT="Dermatologie (fest) derartig",xT="Pulver derartig",ET="Lösung derartig",Jre={1:F2,2:j2,3:V2,4:z2,5:B2,6:H2,7:q2,8:$2,9:U2,10:G2,11:W2,12:Z2,13:Y2,14:K2,15:Q2,16:X2,17:J2,18:eT,19:tT,20:nT,21:rT,22:aT,23:iT,24:oT,25:sT,26:lT,27:uT,28:cT,29:dT,30:hT,31:pT,32:mT,33:fT,34:gT,40:vT,41:bT,71:yT,90:_T,91:wT,92:xT,93:ET},ST={};oe(ST,{1:()=>kT,10:()=>RT,11:()=>AT,12:()=>LT,13:()=>FT,14:()=>jT,15:()=>VT,16:()=>zT,17:()=>BT,18:()=>HT,19:()=>qT,2:()=>CT,20:()=>$T,21:()=>UT,22:()=>GT,23:()=>WT,24:()=>ZT,25:()=>YT,26:()=>KT,27:()=>QT,28:()=>XT,29:()=>JT,3:()=>IT,30:()=>eN,31:()=>tN,32:()=>nN,33:()=>rN,34:()=>aN,4:()=>DT,40:()=>iN,41:()=>oN,5:()=>TT,6:()=>NT,7:()=>OT,71:()=>sN,8:()=>MT,9:()=>PT,90:()=>lN,91:()=>uN,92:()=>cN,93:()=>dN,default:()=>eae});var kT="Capsules",CT="Tablets",IT="Cream",DT="Gel",TT="Paste",NT="Fatty ointment",OT="Granulate",MT="Adult suppository",PT="Child suppository",RT="Vaginal ovules",AT="Rectiole",LT="Undivided powder for internal use",FT="Undivided powder for external use",jT="Inhalation",VT="Divided powders for internal use",zT="Divided powders for external use",BT="Nasal drops",HT="Nasal ointment",qT="Syrup",$T="Solution for internal use",UT="Solution for external use",GT="Drops for internal use",WT="Drops for external use",ZT="Emulsion for internal use",YT="Emulsion for external use",KT="Shampoo",QT="Eye drops",XT="Eye lotion",JT="Eye bath",eN="Ointment",tN="Eye ointment",nN="Ear drops",rN="Suspension for internal use",aN="Suspension for external use",iN="Herbal mixture",oN="Tea",sN="Enteric-coated capsules",lN="As is",uN="Dermatology (solid) as is",cN="Powder as is",dN="Liquid as is",eae={1:kT,2:CT,3:IT,4:DT,5:TT,6:NT,7:OT,8:MT,9:PT,10:RT,11:AT,12:LT,13:FT,14:jT,15:VT,16:zT,17:BT,18:HT,19:qT,20:$T,21:UT,22:GT,23:WT,24:ZT,25:YT,26:KT,27:QT,28:XT,29:JT,30:eN,31:tN,32:nN,33:rN,34:aN,40:iN,41:oN,71:sN,90:lN,91:uN,92:cN,93:dN},hN={};oe(hN,{1:()=>pN,10:()=>xN,11:()=>EN,12:()=>SN,13:()=>kN,14:()=>CN,15:()=>IN,16:()=>DN,17:()=>TN,18:()=>NN,19:()=>ON,2:()=>mN,20:()=>MN,21:()=>PN,22:()=>RN,23:()=>AN,24:()=>LN,25:()=>FN,26:()=>jN,27:()=>VN,28:()=>zN,29:()=>BN,3:()=>fN,30:()=>HN,31:()=>qN,32:()=>$N,33:()=>UN,34:()=>GN,4:()=>gN,40:()=>WN,41:()=>ZN,5:()=>vN,6:()=>bN,7:()=>yN,71:()=>YN,8:()=>_N,9:()=>wN,90:()=>KN,91:()=>QN,92:()=>XN,93:()=>JN,default:()=>tae});var pN="Gélules",mN="Cachets / comprimés",fN="Crème",gN="Gel",vN="Pâte",bN="Pommade grasse",yN="Granulé",_N="Suppo adulte",wN="Suppo enfant",xN="Ovules vaginales",EN="Rectiole",SN="Poudre non-divisée usage interne",kN="Poudre non-divisée usage externe",CN="Inhalation",IN="Poudres à diviser usage interne",DN="Poudres à diviser usage externe",TN="Gouttes nasales",NN="Pommade nasale",ON="Sirop",MN="Solution usage interne",PN="Solution usage externe",RN="Gouttes usage interne",AN="Gouttes usage externe",LN="Emulsion usage interne",FN="Emulsion usage externe",jN="Shampooing",VN="Gouttes ophtalmiques",zN="Lotion ophtalmique",BN="Bain ophtalmique",HN="Pommade",qN="Pommade ophtalmique",$N="Gouttes auriculaires",UN="Suspension usage interne",GN="Suspension usage externe",WN="Mélange de plantes",ZN="Thé",YN="Gélules à enrobage entérique / Gélules entériques",KN="en tant que tel/telle",QN="Dermatologie (solide) en tant que telle",XN="Poudre en tant que telle ",JN="Solution en tant que telle ",tae={1:pN,2:mN,3:fN,4:gN,5:vN,6:bN,7:yN,8:_N,9:wN,10:xN,11:EN,12:SN,13:kN,14:CN,15:IN,16:DN,17:TN,18:NN,19:ON,20:MN,21:PN,22:RN,23:AN,24:LN,25:FN,26:jN,27:VN,28:zN,29:BN,30:HN,31:qN,32:$N,33:UN,34:GN,40:WN,41:ZN,71:YN,90:KN,91:QN,92:XN,93:JN},eO={};oe(eO,{1:()=>tO,10:()=>cO,11:()=>dO,12:()=>hO,13:()=>pO,14:()=>mO,15:()=>fO,16:()=>gO,17:()=>vO,18:()=>bO,19:()=>yO,2:()=>nO,20:()=>_O,21:()=>wO,22:()=>xO,23:()=>EO,24:()=>SO,25:()=>kO,26:()=>CO,27:()=>IO,28:()=>DO,29:()=>TO,3:()=>rO,30:()=>NO,31:()=>OO,32:()=>MO,33:()=>PO,34:()=>RO,4:()=>aO,40:()=>AO,41:()=>LO,5:()=>iO,6:()=>oO,7:()=>sO,71:()=>FO,8:()=>lO,9:()=>uO,90:()=>jO,91:()=>VO,92:()=>zO,93:()=>BO,default:()=>nae});var tO="Capsules",nO="Tabletten",rO="Creme",aO="Gel",iO="Pasta",oO="Vette zalf",sO="Granulaat",lO="Suppo volwassene",uO="Suppo kind",cO="Vaginale zetpillen / vaginale ovules",dO="Rektiool",hO="Niet-verdeeld poeder inwendig gebruik",pO="Niet-verdeeld poeder uitwendig gebruik",mO="Inhalatie",fO="Te verdelen poeders inwendig gebruik",gO="Te verdelen poeders uitwendig gebruik",vO="Neusdruppels",bO="Neuszalf",yO="Siroop",_O="Oplossing inwendig gebruik",wO="Oplossing uitwendig gebruik",xO="Druppels inwendig gebruik",EO="Druppels uitwendig gebruik",SO="Emulsie inwendig gebruik",kO="Emulsie uitwendig gebruik",CO="Shampoo",IO="Oogdruppels",DO="Ooglotion",TO="Oogbad",NO="Zalf",OO="Oogzalf",MO="Oordruppels",PO="Suspensie inwendig gebruik",RO="Suspensie uitwendig gebruik",AO="Kruidenmengsel",LO="Thee",FO="enterisch omhulde capsules",jO="Als dusdanig",VO="Als dusdanig dermatologie (vast)",zO="Als dusdanig poeder",BO="Als dusdanig vloeistof",nae={1:tO,2:nO,3:rO,4:aO,5:iO,6:oO,7:sO,8:lO,9:uO,10:cO,11:dO,12:hO,13:pO,14:mO,15:fO,16:gO,17:vO,18:bO,19:yO,20:_O,21:wO,22:xO,23:EO,24:SO,25:kO,26:CO,27:IO,28:DO,29:TO,30:NO,31:OO,32:MO,33:PO,34:RO,40:AO,41:LO,71:FO,90:jO,91:VO,92:zO,93:BO},rae={nl:eO,fr:hN,de:L2,en:ST},HO={};oe(HO,{close:()=>qO,default:()=>aae,downloadLeaflet:()=>$O,file:()=>UO,notSpecified:()=>GO,patient:()=>ZO,prescribedOn:()=>KO,prescriber:()=>YO,prescription:()=>WO});var qO="Schließen",$O="Download Packungsbeilage (pdf)",UO="feile",GO="Nicht angegeben",WO="Rezept",ZO="Patient",YO="Verordnende Person",KO="Drucken",aae={close:qO,downloadLeaflet:$O,file:UO,notSpecified:GO,prescription:WO,patient:ZO,prescriber:YO,prescribedOn:KO},QO={};oe(QO,{close:()=>XO,default:()=>iae,downloadLeaflet:()=>JO,file:()=>eM,notSpecified:()=>tM,patient:()=>rM,prescribedOn:()=>iM,prescriber:()=>aM,prescription:()=>nM});var XO="Close",JO="Download leaflet (pdf)",eM="file",tM="Not specified",nM="Prescription",rM="Patient",aM="Prescriber",iM="Prescribed on",iae={close:XO,downloadLeaflet:JO,file:eM,notSpecified:tM,prescription:nM,patient:rM,prescriber:aM,prescribedOn:iM},oM={};oe(oM,{close:()=>sM,default:()=>oae,downloadLeaflet:()=>lM,file:()=>uM,notSpecified:()=>cM,patient:()=>hM,prescribedOn:()=>mM,prescriber:()=>pM,prescription:()=>dM});var sM="Fermer",lM="Télécharger la notice (pdf)",uM="fichier",cM="Non spécifié",dM="Prescription",hM="Patient",pM="Prescripteur",mM="Prescrit le",oae={close:sM,downloadLeaflet:lM,file:uM,notSpecified:cM,prescription:dM,patient:hM,prescriber:pM,prescribedOn:mM},fM={};oe(fM,{close:()=>gM,default:()=>sae,downloadLeaflet:()=>vM,file:()=>bM,notSpecified:()=>yM,patient:()=>wM,prescribedOn:()=>EM,prescriber:()=>xM,prescription:()=>_M});var gM="Sluiten",vM="Download bijsluiter (pdf)",bM="bestand",yM="Niet gespecificeerd",_M="Voorschrift",wM="Patiënt",xM="Voorschrijver",EM="Voorgeschreven op",sae={close:gM,downloadLeaflet:vM,file:bM,notSpecified:yM,prescription:_M,patient:wM,prescriber:xM,prescribedOn:EM},lae={nl:fM,fr:oM,de:HO,en:QO},SM={};oe(SM,{afterbreakfast:()=>kM,afterdinner:()=>CM,afterlunch:()=>IM,aftermeal:()=>DM,afternoon:()=>TM,beforebreakfast:()=>NM,beforedinner:()=>OM,beforelunch:()=>MM,betweenbreakfastandlunch:()=>PM,betweendinnerandsleep:()=>RM,betweenlunchanddinner:()=>AM,betweenmeals:()=>LM,breakfast:()=>FM,default:()=>uae,dinner:()=>jM,duringbreakfast:()=>VM,duringdinner:()=>zM,duringlunch:()=>BM,evening:()=>HM,lunch:()=>qM,morning:()=>$M,night:()=>UM,thehourofsleep:()=>GM});var kM="nach dem Frühstück",CM="nach dem Abendessen",IM="nach dem Mittagessen",DM="nach dem Essen",TM="Nachmittag",NM="vor dem Frühstück",OM="vor dem Abendessen",MM="vor dem Mittagessen",PM="zwischen Frühstück und Mittagessen",RM="zwischen Abendessen und Nachtruhe",AM="zwischen Mittagessen und Abendessen",LM="zwischen den Mahlzeiten",FM="Frühstück",jM="Abendessen",VM="zum Frühstück",zM="zum Abendessen",BM="zum Mittagessen",HM="Abend",qM="Mittagessen",$M="Vormittag",UM="Nacht",GM="Nachtruhe",uae={afterbreakfast:kM,afterdinner:CM,afterlunch:IM,aftermeal:DM,afternoon:TM,beforebreakfast:NM,beforedinner:OM,beforelunch:MM,betweenbreakfastandlunch:PM,betweendinnerandsleep:RM,betweenlunchanddinner:AM,betweenmeals:LM,breakfast:FM,dinner:jM,duringbreakfast:VM,duringdinner:zM,duringlunch:BM,evening:HM,lunch:qM,morning:$M,night:UM,thehourofsleep:GM},WM={};oe(WM,{afterbreakfast:()=>ZM,afterdinner:()=>YM,afterlunch:()=>KM,aftermeal:()=>QM,afternoon:()=>XM,beforebreakfast:()=>JM,beforedinner:()=>eP,beforelunch:()=>tP,betweenbreakfastandlunch:()=>nP,betweendinnerandsleep:()=>rP,betweenlunchanddinner:()=>aP,betweenmeals:()=>iP,breakfast:()=>oP,default:()=>cae,dinner:()=>sP,duringbreakfast:()=>lP,duringdinner:()=>uP,duringlunch:()=>cP,evening:()=>dP,lunch:()=>hP,morning:()=>pP,night:()=>mP,thehourofsleep:()=>fP});var ZM="after breakfast",YM="after dinner",KM="after lunch",QM="after meal",XM="afternoon",JM="before breakfast",eP="before dinner",tP="before lunch",nP="between breakfast and lunch",rP="between dinner and the hour of sleep",aP="between lunch and dinner",iP="between meals",oP="breakfast",sP="dinner",lP="during breakfast",uP="during dinner",cP="during lunch",dP="evening",hP="lunch",pP="morning",mP="night",fP="the hour of sleep",cae={afterbreakfast:ZM,afterdinner:YM,afterlunch:KM,aftermeal:QM,afternoon:XM,beforebreakfast:JM,beforedinner:eP,beforelunch:tP,betweenbreakfastandlunch:nP,betweendinnerandsleep:rP,betweenlunchanddinner:aP,betweenmeals:iP,breakfast:oP,dinner:sP,duringbreakfast:lP,duringdinner:uP,duringlunch:cP,evening:dP,lunch:hP,morning:pP,night:mP,thehourofsleep:fP},gP={};oe(gP,{afterbreakfast:()=>vP,afterdinner:()=>bP,afterlunch:()=>yP,aftermeal:()=>_P,afternoon:()=>wP,beforebreakfast:()=>xP,beforedinner:()=>EP,beforelunch:()=>SP,betweenbreakfastandlunch:()=>kP,betweendinnerandsleep:()=>CP,betweenlunchanddinner:()=>IP,betweenmeals:()=>DP,breakfast:()=>TP,default:()=>dae,dinner:()=>NP,duringbreakfast:()=>OP,duringdinner:()=>MP,duringlunch:()=>PP,evening:()=>RP,lunch:()=>AP,morning:()=>LP,night:()=>FP,thehourofsleep:()=>jP});var vP="après le petit-déjeuner",bP="après le repas du soir",yP="après le repas du midi",_P="après le repas",wP="après-midi",xP="avant le petit-déjeuner",EP="avant le repas du soir",SP="avant le repas du midi",kP="entre le petit-déjeuner et le repas du midi",CP="entre le repas du soir et l’heure du coucher",IP="entre le repas du midi et le repas du soir",DP="entre les repas",TP="petit-déjeuner",NP="repas du soir",OP="pendant le petit-déjeuner",MP="pendant le repas du soir",PP="pendant le repas du midi",RP="soir",AP="repas du midi",LP="matin",FP="nuit",jP="heure du coucher",dae={afterbreakfast:vP,afterdinner:bP,afterlunch:yP,aftermeal:_P,afternoon:wP,beforebreakfast:xP,beforedinner:EP,beforelunch:SP,betweenbreakfastandlunch:kP,betweendinnerandsleep:CP,betweenlunchanddinner:IP,betweenmeals:DP,breakfast:TP,dinner:NP,duringbreakfast:OP,duringdinner:MP,duringlunch:PP,evening:RP,lunch:AP,morning:LP,night:FP,thehourofsleep:jP},VP={};oe(VP,{afterbreakfast:()=>zP,afterdinner:()=>BP,afterlunch:()=>HP,aftermeal:()=>qP,afternoon:()=>$P,beforebreakfast:()=>UP,beforedinner:()=>GP,beforelunch:()=>WP,betweenbreakfastandlunch:()=>ZP,betweendinnerandsleep:()=>YP,betweenlunchanddinner:()=>KP,betweenmeals:()=>QP,breakfast:()=>XP,default:()=>hae,dinner:()=>JP,duringbreakfast:()=>eR,duringdinner:()=>tR,duringlunch:()=>nR,evening:()=>rR,lunch:()=>aR,morning:()=>iR,night:()=>oR,thehourofsleep:()=>sR});var zP="na het ontbijt",BP="na het avondmaal",HP="na het middagmaal",qP="na de maaltijd",$P="namiddag",UP="voor het ontbijt",GP="voor het avondmaal",WP="voor het middagmaal",ZP="tussen het ontbijt en het middagmaal",YP="tussen het avondmaal en het slapen gaan",KP="tussen het middagmaal en het avondmaal",QP="tussen de maaltijden",XP="ontbijt",JP="avondmaal",eR="tijdens het ontbijt",tR="tijdens het avondmaal",nR="tijdens het middagmaal",rR="'s avonds",aR="middagmaal",iR="'s ochtends",oR="'s nachts",sR="voor het slapen gaan",hae={afterbreakfast:zP,afterdinner:BP,afterlunch:HP,aftermeal:qP,afternoon:$P,beforebreakfast:UP,beforedinner:GP,beforelunch:WP,betweenbreakfastandlunch:ZP,betweendinnerandsleep:YP,betweenlunchanddinner:KP,betweenmeals:QP,breakfast:XP,dinner:JP,duringbreakfast:eR,duringdinner:tR,duringlunch:nR,evening:rR,lunch:aR,morning:iR,night:oR,thehourofsleep:sR},pae={nl:VP,fr:gP,de:SM,en:WM},lR={};oe(lR,{day:()=>uR,default:()=>mae,during:()=>hR,on:()=>dR,week:()=>cR});var uR="Tag",cR="Woche",dR="am",hR="für",mae={day:uR,week:cR,on:dR,during:hR},pR={};oe(pR,{day:()=>mR,default:()=>fae,during:()=>vR,on:()=>gR,week:()=>fR});var mR="day",fR="week",gR="on",vR="during",fae={day:mR,week:fR,on:gR,during:vR},bR={};oe(bR,{day:()=>yR,default:()=>gae,during:()=>xR,on:()=>wR,week:()=>_R});var yR="jour",_R="semaine",wR="le",xR="durant",gae={day:yR,week:_R,on:wR,during:xR},ER={};oe(ER,{day:()=>SR,default:()=>vae,during:()=>IR,on:()=>CR,week:()=>kR});var SR="dag",kR="week",CR="op",IR="gedurende",vae={day:SR,week:kR,on:CR,during:IR},bae={nl:ER,fr:bR,de:lR,en:pR},DR={};oe(DR,{a:()=>TR,d:()=>MR,default:()=>yae,hr:()=>PR,min:()=>RR,mo:()=>NR,ms:()=>LR,ns:()=>jR,s:()=>AR,us:()=>FR,wk:()=>OR});var TR="{count} {count, plural, one{Jahr} other{Jahre}}",NR="{count} {count, plural, one{Monat} other{Monate}}",OR="{count} {count, plural, one{Woche} other{Wochen}}",MR="{count} {count, plural, one{Tag} other{Tage}}",PR="{count} {count, plural, one{Stunde} other{Stunden}}",RR="{count} {count, plural, one{Minute} other{Minuten}}",AR="{count} {count, plural, one{Sekunde} other{Sekunden}} ",LR="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",FR="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",jR="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",yae={a:TR,mo:NR,wk:OR,d:MR,hr:PR,min:RR,s:AR,ms:LR,us:FR,ns:jR},VR={};oe(VR,{a:()=>zR,d:()=>qR,default:()=>_ae,hr:()=>$R,min:()=>UR,mo:()=>BR,ms:()=>WR,ns:()=>YR,s:()=>GR,us:()=>ZR,wk:()=>HR});var zR="{count} {count, plural, one{year} other{years}}",BR="{count} {count, plural, one{month} other{months}}",HR="{count} {count, plural, one{week} other{weeks}}",qR="{count} {count, plural, one{day} other{days}}",$R="{count} {count, plural, one{hour} other{hours}}",UR="{count} {count, plural, one{minute} other{minutes}}",GR="{count} {count, plural, one{second} other{seconds}}",WR="{count} {count, plural, one{millisecond} other{millisecondes}}",ZR="{count} {count, plural, one{microsecond} other{microsecondes}}",YR="{count} {count, plural, one{nanosecond} other{nanosecondes}}",_ae={a:zR,mo:BR,wk:HR,d:qR,hr:$R,min:UR,s:GR,ms:WR,us:ZR,ns:YR},KR={};oe(KR,{a:()=>QR,d:()=>eA,default:()=>wae,hr:()=>tA,min:()=>nA,mo:()=>XR,ms:()=>aA,ns:()=>oA,s:()=>rA,us:()=>iA,wk:()=>JR});var QR="{count} {count, plural, one{année} other{années}}",XR="{count} {count, plural, one{mois} other{mois}}",JR="{count} {count, plural, one{semaine} other{semaines}}",eA="{count} {count, plural, one{jour} other{jours}}",tA="{count} {count, plural, one{heure} other{heures}}",nA="{count} {count, plural, one{minute} other{minutes}}",rA="{count} {count, plural, one{seconde} other{secondes}}",aA="{count} {count, plural, one{milliseconde} other{millisecondes}}",iA="{count} {count, plural, one{microseconde} other{microsecondes}}",oA="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",wae={a:QR,mo:XR,wk:JR,d:eA,hr:tA,min:nA,s:rA,ms:aA,us:iA,ns:oA},sA={};oe(sA,{a:()=>lA,d:()=>dA,default:()=>xae,hr:()=>hA,min:()=>pA,mo:()=>uA,ms:()=>fA,ns:()=>vA,s:()=>mA,us:()=>gA,wk:()=>cA});var lA="{count} {count, plural, one{jaar} other{jaren}}",uA="{count} {count, plural, one{maand} other{maanden}}",cA="{count} {count, plural, one{week} other{weken}}",dA="{count} {count, plural, one{dag} other{dagen}}",hA="{count} {count, plural, one{uur} other{uren}}",pA="{count} {count, plural, one{minuut} other{minuten}}",mA="{count} {count, plural, one{seconde} other{seconden}}",fA="{count} {count, plural, one{milliseconde} other{milliseconden}}",gA="{count} {count, plural, one{microseconde} other{microseconden}}",vA="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",xae={a:lA,mo:uA,wk:cA,d:dA,hr:hA,min:pA,s:mA,ms:fA,us:gA,ns:vA},Eae={nl:sA,fr:KR,de:DR,en:VR},bA={};oe(bA,{"%":()=>yA,"%vv":()=>DL,"%wv":()=>TL,"%ww":()=>NL,"1000/mm3":()=>$A,amp:()=>_A,atptreatment:()=>SF,bag:()=>wA,bitperminute:()=>OL,bol:()=>ML,bot:()=>PL,box:()=>xA,c:()=>cF,can:()=>RL,cap:()=>AL,cc:()=>LL,cm:()=>FL,cmm:()=>UA,cnt:()=>dF,ctg:()=>uL,ctr:()=>jL,daily:()=>uF,day:()=>GA,default:()=>Sae,degree:()=>qA,dis:()=>KA,drm:()=>hF,fl:()=>EA,fld:()=>QA,flo:()=>XA,ftc:()=>JA,fts:()=>eL,"g/dl":()=>SA,gal:()=>cL,gm:()=>kA,goutte:()=>lL,gr:()=>VL,hour:()=>sL,in:()=>zL,inc:()=>BL,jar:()=>HL,kg:()=>CA,"kg/m2":()=>IA,kit:()=>qL,l:()=>DA,lb:()=>TA,lm:()=>pF,loz:()=>sF,mcg:()=>NA,mcl:()=>OA,mcm:()=>dL,mcn:()=>$L,meq:()=>MA,mg:()=>PA,"mg/dl":()=>RA,"mg/l":()=>AA,"mg/m2":()=>LA,"mg/ml":()=>FA,mgper100ml:()=>pL,mic:()=>UL,mil:()=>GL,millisecond:()=>oL,min:()=>WL,minute:()=>tL,mis:()=>mF,ml:()=>jA,"ml/min":()=>VA,"ml/min/1.73m2":()=>iF,mm:()=>nL,"mm/h":()=>rL,mmhg:()=>aL,mmo:()=>ZL,mol:()=>zA,month:()=>YA,nl:()=>YL,nmg:()=>fF,nmo:()=>gF,ns:()=>_L,ondemand:()=>hL,oz:()=>BA,pel:()=>KL,pg:()=>yL,pkg:()=>QL,pnu:()=>vF,ppm:()=>HA,pt:()=>XL,qs:()=>JL,qt:()=>eF,sap:()=>kF,sat:()=>bF,second:()=>iL,shock:()=>oF,spoon:()=>WA,spr:()=>mL,sqc:()=>tF,stp:()=>yF,sup:()=>wL,syr:()=>gL,tab:()=>xL,tbl:()=>EL,tes:()=>SL,ton:()=>IL,tpn:()=>vL,trc:()=>_F,tro:()=>lF,tsp:()=>CL,tub:()=>bL,umg:()=>nF,unt:()=>kL,vil:()=>fL,vpr:()=>wF,waf:()=>xF,week:()=>ZA,x:()=>EF,ydl:()=>rF,yds:()=>aF});var yA="%",_A="{count, plural, one{Glühbirn} other{Glühbirnen}}",wA="Beutel",xA="schachteln",EA="fl",SA="g/dl",kA="g",CA="kg",IA="kg/m²",DA="l",TA="lb",NA="µg",OA="µl",MA="meq",PA="mg",RA="mg/dl",AA="mg/l",LA="mg/m²",FA="mg/ml",jA="ml",VA="ml/min",zA="mol",BA="oz",HA="ppm",qA="°",$A="1000/mm³",UA="mm³",GA="{count, plural, one{Tag} other{Tage}}",WA="Löffel",ZA="{count, plural, one{Woche} other{Wochen}}",YA="{count, plural, one{Monat} other{Monate}}",KA="{count, plural, one{Platte} other{Platten}}",QA="fl dr",XA="fl oz",JA="cu ft",eL="sq ft",tL="{count, plural, one{Minute} other{Minuten}}",nL="mm",rL="mm/h",aL="mmHg",iL="{count, plural, one{Sekunde} other{Sekunden}}",oL="{count, plural, one{Millisekunde} other{Millisekunden}}",sL="{count, plural, one{Stunde} other{Stunden}}",lL="{count, plural, one{Tropf} other{Tropfen}}",uL="{count, plural, one{Kartusche} other{Kartuschen}}",cL="gal",dL="mmol",hL="auf Antrag",pL="mg/100mL",mL="{count, plural, one{Sprühe} other{Sprühen}}",fL="{count, plural, one{Phiole} other{Phiolen}}",gL="{count, plural, one{Spritze} other{Spritzen}}",vL="Tampon",bL="{count, plural, one{Rohr} other{Rohre}}",yL="pg",_L="nicht spezifiziert",wL="{count, plural, one{Zäpfch} other{Zäpfchen}}",xL="{count, plural, one{Tablette} other{Tabletten}}",EL="Esslöffel",SL="Test",kL="{count, plural, one{Einheit} other{Einheiten}}",CL="teelöffel",IL="ton",DL="% v/v",TL="% w/v",NL="% w/w",OL="Schläge pro Minute",ML="Bolus",PL="{count, plural, one{Flasche} other{Fläschchen}}",RL="Dose",AL="{count, plural, one{Kapsel} other{Kapseln}}",LL="cm3",FL="cm",jL="Halter",VL="Körnchen",zL="in",BL="in²",HL="Glas",qL="Kitt",$L="Micron",UL="µCi",GL="mCi",WL="minim",ZL="μmol",YL="normal",KL="{count, plural, one{Pille} other{Pillen}}",QL="{count, plural, one{Paket} other{Pakete}}",XL="Pinte",JL="ausreichende Menge",eF="qt",tF="cm²",nF="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",rF="yd",aF="yd²",iF="mL/min/1.73m²",oF="{count, plural, one{Schock} other{Schocks}}",sF="{count, plural, one{Pastille} other{Pastillen}}",lF="{count, plural, one{Pastille} other{Pastillen}}",uF="täglich",cF="homöopathische Verdünnung (Centesimal 1/100)",dF="cnt",hF="Fass",pF="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",mF="verschiedene",fF="ng",gF="nmol",vF="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",bF="gesättigt",yF="Strip",_F="Spur",wF="Therapieschema abhängig",xF="{count, plural, one{Oblate} other{Oblaten}}",EF="homöopathische Verdünnung (dezimal 1/10)",SF="anzahl der antitachykardie-stimulationsbehandlungen",kF="Kumulativer sap wert",Sae={"%":yA,amp:_A,bag:wA,box:xA,fl:EA,"g/dl":SA,gm:kA,kg:CA,"kg/m2":IA,l:DA,lb:TA,mcg:NA,mcl:OA,meq:MA,mg:PA,"mg/dl":RA,"mg/l":AA,"mg/m2":LA,"mg/ml":FA,ml:jA,"ml/min":VA,mol:zA,oz:BA,ppm:HA,degree:qA,"1000/mm3":$A,cmm:UA,day:GA,spoon:WA,week:ZA,month:YA,dis:KA,fld:QA,flo:XA,ftc:JA,fts:eL,minute:tL,mm:nL,"mm/h":rL,mmhg:aL,second:iL,millisecond:oL,hour:sL,goutte:lL,ctg:uL,gal:cL,mcm:dL,ondemand:hL,mgper100ml:pL,spr:mL,vil:fL,syr:gL,tpn:vL,tub:bL,pg:yL,ns:_L,sup:wL,tab:xL,tbl:EL,tes:SL,unt:kL,tsp:CL,ton:IL,"%vv":DL,"%wv":TL,"%ww":NL,bitperminute:OL,bol:ML,bot:PL,can:RL,cap:AL,cc:LL,cm:FL,ctr:jL,gr:VL,in:zL,inc:BL,jar:HL,kit:qL,mcn:$L,mic:UL,mil:GL,min:WL,mmo:ZL,nl:YL,pel:KL,pkg:QL,pt:XL,qs:JL,qt:eF,sqc:tF,umg:nF,ydl:rF,yds:aF,"ml/min/1.73m2":iF,shock:oF,loz:sF,tro:lF,daily:uF,c:cF,cnt:dF,drm:hF,lm:pF,mis:mF,nmg:fF,nmo:gF,pnu:vF,sat:bF,stp:yF,trc:_F,vpr:wF,waf:xF,x:EF,atptreatment:SF,sap:kF},CF={};oe(CF,{"%":()=>IF,"%vv":()=>DF,"%wv":()=>TF,"%ww":()=>NF,"1000/mm3":()=>OF,amp:()=>MF,atptreatment:()=>PF,bag:()=>RF,bitperminute:()=>AF,bol:()=>LF,bot:()=>FF,box:()=>jF,c:()=>VF,can:()=>zF,cap:()=>BF,cc:()=>HF,cm:()=>qF,cmm:()=>$F,cnt:()=>UF,ctg:()=>GF,ctr:()=>WF,daily:()=>ZF,day:()=>YF,default:()=>kae,degree:()=>KF,dis:()=>QF,drm:()=>XF,fl:()=>JF,fld:()=>ej,flo:()=>tj,ftc:()=>nj,fts:()=>rj,"g/dl":()=>aj,gal:()=>ij,gm:()=>oj,goutte:()=>sj,gr:()=>lj,hour:()=>uj,in:()=>cj,inc:()=>dj,jar:()=>hj,kg:()=>pj,"kg/m2":()=>mj,kit:()=>fj,l:()=>gj,lb:()=>vj,lm:()=>bj,loz:()=>yj,mcg:()=>_j,mcl:()=>wj,mcm:()=>xj,mcn:()=>Ej,meq:()=>Sj,mg:()=>kj,"mg/dl":()=>Cj,"mg/l":()=>Ij,"mg/m2":()=>Dj,"mg/ml":()=>Tj,mgper100ml:()=>Nj,mic:()=>Oj,mil:()=>Mj,millisecond:()=>Pj,min:()=>Rj,minute:()=>Aj,mis:()=>Lj,ml:()=>Fj,"ml/min":()=>jj,"ml/min/1.73m2":()=>Vj,mm:()=>zj,"mm/h":()=>Bj,mmhg:()=>Hj,mmo:()=>qj,mol:()=>$j,month:()=>Uj,nl:()=>Gj,nmg:()=>Wj,nmo:()=>Zj,ns:()=>Yj,ondemand:()=>Kj,oz:()=>Qj,pel:()=>Xj,pg:()=>Jj,pkg:()=>e3,pnu:()=>t3,ppm:()=>n3,pt:()=>r3,qs:()=>a3,qt:()=>P3,sap:()=>i3,sat:()=>o3,second:()=>s3,shock:()=>l3,spoon:()=>u3,spr:()=>c3,sqc:()=>d3,stp:()=>h3,sup:()=>p3,syr:()=>m3,tab:()=>f3,tbl:()=>g3,tes:()=>v3,ton:()=>b3,tpn:()=>y3,trc:()=>_3,tro:()=>w3,tsp:()=>x3,tub:()=>E3,umg:()=>S3,unt:()=>k3,vil:()=>C3,vpr:()=>I3,waf:()=>D3,week:()=>T3,x:()=>N3,ydl:()=>O3,yds:()=>M3});var IF="%",DF="% v/v",TF="% w/v",NF="% w/w",OF="1000/mm³",MF="{count, plural, one{ampule} other{ampules}}",PF="Number of treatments by anti-tachycardia pacing",RF="{count, plural, one{bag} other{bags}}",AF="{count, plural, one{bit per minute} other{bits per minute}}",LF="bolus",FF="{count, plural, one{bottle} other{bottles}}",jF="{count, plural, one{box} other{boxes}}",VF="homeopathic dilution (centesimal 1/100)",zF="{count, plural, one{can} other{cans}}",BF="{count, plural, one{capsule} other{capsules}}",HF="cm³",qF="cm",$F="mm³",UF="cnt",GF="{count, plural, one{cartridge} other{cartridges}}",WF="{count, plural, one{container} other{containers}}",ZF="daily",YF="{count, plural, one{day} other{days}}",KF="°",QF="{count, plural, one{disk} other{disks}}",XF="drum",JF="{count, plural, one{fluid} other{fluids}}",ej="fl dr",tj="{count, plural, one{fluid ounce} other{fluid ounces}}",nj="cu ft",rj="sq ft",aj="g/dl",ij="{count, plural, one{gallon} other{gallons}}",oj="g",sj="{count, plural, one{drop} other{drops}}",lj="{count, plural, one{grain} other{grains}}",uj="{count, plural, one{hour} other{hours}}",cj="{count, plural, one{inch} other{inches}}",dj="in²",hj="{count, plural, one{jar} other{jars}}",pj="kg",mj="kg/m²",fj="kit",gj="{count, plural, one{liter} other{liters}}",vj="{count, plural, one{pound} other{pounds}}",bj="homeopathic dilution (fifty millesimal 1/50,000)",yj="{count, plural, one{lozenge} other{lozenges}}",_j="µg",wj="µl",xj="mmol",Ej="micron",Sj="milliequivalent",kj="mg",Cj="mg/dl",Ij="mg/l",Dj="mg/m²",Tj="mg/ml",Nj="mg/100mL",Oj="µCi",Mj="mCi",Pj="{count, plural, one{millisecond} other{milliseconds}}",Rj="minim",Aj="{count, plural, one{minute} other{minutes}}",Lj="miscellaneous",Fj="{count, plural, one{milliliter} other{milliliters}}",jj="ml/min",Vj="mL/min/1.73m²",zj="mm",Bj="mm/h",Hj="mmHg",qj="μmol",$j="mol",Uj="{count, plural, one{month} other{months}}",Gj="normal",Wj="ng",Zj="nmol",Yj="not stated",Kj="on demand",Qj="{count, plural, one{ounce} other{ounces}}",Xj="{count, plural, one{pellet} other{pellets}}",Jj="pg",e3="{count, plural, one{package} other{packages}}",t3="{count, plural, one{protein unit} other{protein unit}}",n3="ppm",r3="{count, plural, one{pint} other{pints}}",a3="quantity sufficient",i3="Cumulative sap value",o3="saturated",s3="{count, plural, one{second} other{seconds}}",l3="shock",u3="{count, plural, one{spoon} other{spoons}}",c3="{count, plural, one{spray} other{sprays}}",d3="cm²",h3="{count, plural, one{strip} other{strips}}",p3="{count, plural, one{suppository} other{suppositories}}",m3="{count, plural, one{syrynge} other{syrynges}}",f3="{count, plural, one{tablet} other{tablets}}",g3="{count, plural, one{tablespoon} other{tablespoons}}",v3="{count, plural, one{test} other{tests}}",b3="{count, plural, one{ton} other{tons}}",y3="{count, plural, one{tampon} other{tampons}}",_3="{count, plural, one{trace} other{traces}}",w3="{count, plural, one{troche} other{troches}}",x3="{count, plural, one{teaspoon} other{teaspoons}}",E3="{count, plural, one{tube} other{tubes}}",S3="UNITS PER MILLIGRAM",k3="{count, plural, one{unit} other{units}}",C3="{count, plural, one{vial} other{vials}}",I3="varies per regimen",D3="{count, plural, one{wafer} other{wafers}}",T3="{count, plural, one{week} other{weeks}}",N3="homeopathic dilution (decimal 1/10)",O3="yd",M3="yd²",P3="qt",kae={"%":IF,"%vv":DF,"%wv":TF,"%ww":NF,"1000/mm3":OF,amp:MF,atptreatment:PF,bag:RF,bitperminute:AF,bol:LF,bot:FF,box:jF,c:VF,can:zF,cap:BF,cc:HF,cm:qF,cmm:$F,cnt:UF,ctg:GF,ctr:WF,daily:ZF,day:YF,degree:KF,dis:QF,drm:XF,fl:JF,fld:ej,flo:tj,ftc:nj,fts:rj,"g/dl":aj,gal:ij,gm:oj,goutte:sj,gr:lj,hour:uj,in:cj,inc:dj,jar:hj,kg:pj,"kg/m2":mj,kit:fj,l:gj,lb:vj,lm:bj,loz:yj,mcg:_j,mcl:wj,mcm:xj,mcn:Ej,meq:Sj,mg:kj,"mg/dl":Cj,"mg/l":Ij,"mg/m2":Dj,"mg/ml":Tj,mgper100ml:Nj,mic:Oj,mil:Mj,millisecond:Pj,min:Rj,minute:Aj,mis:Lj,ml:Fj,"ml/min":jj,"ml/min/1.73m2":Vj,mm:zj,"mm/h":Bj,mmhg:Hj,mmo:qj,mol:$j,month:Uj,nl:Gj,nmg:Wj,nmo:Zj,ns:Yj,ondemand:Kj,oz:Qj,pel:Xj,pg:Jj,pkg:e3,pnu:t3,ppm:n3,pt:r3,qs:a3,sap:i3,sat:o3,second:s3,shock:l3,spoon:u3,spr:c3,sqc:d3,stp:h3,sup:p3,syr:m3,tab:f3,tbl:g3,tes:v3,ton:b3,tpn:y3,trc:_3,tro:w3,tsp:x3,tub:E3,umg:S3,unt:k3,vil:C3,vpr:I3,waf:D3,week:T3,x:N3,ydl:O3,yds:M3,qt:P3},R3={};oe(R3,{"%":()=>A3,"%vv":()=>$V,"%wv":()=>UV,"%ww":()=>GV,"1000/mm3":()=>oV,amp:()=>L3,atptreatment:()=>zz,bag:()=>F3,bitperminute:()=>WV,bol:()=>ZV,bot:()=>YV,box:()=>j3,c:()=>Cz,can:()=>KV,cap:()=>QV,cc:()=>XV,cm:()=>JV,cmm:()=>sV,cnt:()=>Iz,ctg:()=>kV,ctr:()=>ez,daily:()=>kz,day:()=>lV,default:()=>Cae,degree:()=>iV,dis:()=>hV,drm:()=>Dz,fl:()=>V3,fld:()=>pV,flo:()=>mV,ftc:()=>fV,fts:()=>gV,"g/dl":()=>z3,gal:()=>CV,gm:()=>B3,goutte:()=>SV,gr:()=>tz,hour:()=>EV,in:()=>nz,inc:()=>rz,jar:()=>az,kg:()=>H3,"kg/m2":()=>q3,kit:()=>iz,l:()=>$3,lb:()=>U3,lm:()=>Tz,loz:()=>Ez,mcg:()=>G3,mcl:()=>W3,mcm:()=>IV,mcn:()=>oz,meq:()=>Z3,mg:()=>Y3,"mg/dl":()=>K3,"mg/l":()=>Q3,"mg/m2":()=>X3,"mg/ml":()=>J3,mgper100ml:()=>TV,mic:()=>sz,mil:()=>lz,millisecond:()=>xV,min:()=>uz,minute:()=>vV,mis:()=>Nz,ml:()=>eV,"ml/min":()=>tV,"ml/min/1.73m2":()=>wz,mm:()=>bV,"mm/h":()=>yV,mmhg:()=>_V,mmo:()=>cz,mol:()=>nV,month:()=>dV,nl:()=>dz,nmg:()=>Oz,nmo:()=>Mz,ns:()=>LV,ondemand:()=>DV,oz:()=>rV,pel:()=>hz,pg:()=>AV,pkg:()=>pz,pnu:()=>Pz,ppm:()=>aV,pt:()=>mz,qs:()=>fz,qt:()=>gz,sap:()=>Bz,sat:()=>Rz,second:()=>wV,shock:()=>xz,spoon:()=>uV,spr:()=>NV,sqc:()=>vz,stp:()=>Az,sup:()=>FV,syr:()=>MV,tab:()=>jV,tbl:()=>VV,tes:()=>zV,ton:()=>qV,tpn:()=>PV,trc:()=>Lz,tro:()=>Sz,tsp:()=>HV,tub:()=>RV,umg:()=>bz,unt:()=>BV,vil:()=>OV,vpr:()=>Fz,waf:()=>jz,week:()=>cV,x:()=>Vz,ydl:()=>yz,yds:()=>_z});var A3="%",L3="{count, plural, one{ampoule} other{ampoules}}",F3="{count, plural, one{sac} other{sacs}}",j3="{count, plural, one{vaporisateur} other{vaporisateurs}}",V3="fl",z3="g/dl",B3="g",H3="kg",q3="kg/m²",$3="l",U3="lb",G3="µg",W3="µl",Z3="milli-equivalent",Y3="mg",K3="mg/dl",Q3="mg/l",X3="mg/m²",J3="mg/ml",eV="ml",tV="ml/min",nV="mol",rV="oz",aV="ppm",iV="°",oV="1000/mm³",sV="mm³",lV="{count, plural, one{jour(s)} other{jours}}",uV="{count, plural, one{cuillère} other{cuillères}}",cV="{count, plural, one{semaine} other{semaines}}",dV="mois",hV="{count, plural, one{disque} other{disques}}",pV="fl dr",mV="fl oz",fV="cu ft",gV="sq ft",vV="{count, plural, one{minute} other{minutes}}",bV="mm",yV="mm/h",_V="mmHg",wV="{count, plural, one{seconde} other{secondes}}",xV="{count, plural, one{milliseconde} other{millisecondes}}",EV="{count, plural, one{heure} other{heures}}",SV="{count, plural, one{goutte} other{gouttes}}",kV="{count, plural, one{cartouche} other{cartouches}}",CV="gal",IV="mmol",DV="sur demande",TV="mg/100mL",NV="spray",OV="{count, plural, one{fiole} other{fioles}}",MV="{count, plural, one{seringue} other{seringues}}",PV="{count, plural, one{tampon} other{tampons}}",RV="{count, plural, one{tube} other{tubes}}",AV="pg",LV="non spécifié",FV="{count, plural, one{suppositoire} other{suppositoires}}",jV="{count, plural, one{tablette} other{tablettes}}",VV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",zV="{count, plural, one{test} other{tests}}",BV="{count, plural, one{unité} other{unités}}",HV="{count, plural, one{cuillère à café} other{cuillères à café}}",qV="{count, plural, one{ton} other{tons}}",$V="% v/v",UV="% w/v",GV="% w/w",WV="{count, plural, one{battement par minute} other{battements par minute}}",ZV="{count, plural, one{bolus} other{bolus}}",YV="{count, plural, one{bouteille} other{bouteilles}}",KV="{count, plural, one{canette} other{canettes}}",QV="{count, plural, one{capsule} other{capsules}}",XV="cm3",JV="cm",ez="{count, plural, one{conteneur} other{conteneurs}}",tz="{count, plural, one{granule} other{granules}}",nz="in",rz="in²",az="pot",iz="{count, plural, one{kit} other{kits}}",oz="micron",sz="µCi",lz="mCi",uz="minim",cz="μmol",dz="normal",hz="{count, plural, one{pilule} other{pilules}}",pz="{count, plural, one{paquet} other{paquets}}",mz="pinte",fz="quantité suffisante",gz="qt",vz="cm²",bz="{count, plural, one{unité / mg} other{unités / mg}}",yz="yd",_z="yd²",wz="mL/min/1.73m²",xz="choc",Ez="{count, plural, one{pastille} other{pastilles}}",Sz="{count, plural, one{pastille} other{pastilles}}",kz="journalier",Cz="dilution homéopathique (centésimal 1/100)",Iz="cnt",Dz="fût",Tz="dilution homéopathique (50 millisimaux au ratio 1:50,000)",Nz="divers",Oz="ng",Mz="nmol",Pz="{count, plural, one{unité protéique} other{unités protéiques}}",Rz="saturé",Az="strip",Lz="trace",Fz="dépendant du schéma thérapeutique",jz="{count, plural, one{hostie} other{hosties}}",Vz="dilution homéopathique (décimal 1/10)",zz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",Bz="Valeur sap cumulative",Cae={"%":A3,amp:L3,bag:F3,box:j3,fl:V3,"g/dl":z3,gm:B3,kg:H3,"kg/m2":q3,l:$3,lb:U3,mcg:G3,mcl:W3,meq:Z3,mg:Y3,"mg/dl":K3,"mg/l":Q3,"mg/m2":X3,"mg/ml":J3,ml:eV,"ml/min":tV,mol:nV,oz:rV,ppm:aV,degree:iV,"1000/mm3":oV,cmm:sV,day:lV,spoon:uV,week:cV,month:dV,dis:hV,fld:pV,flo:mV,ftc:fV,fts:gV,minute:vV,mm:bV,"mm/h":yV,mmhg:_V,second:wV,millisecond:xV,hour:EV,goutte:SV,ctg:kV,gal:CV,mcm:IV,ondemand:DV,mgper100ml:TV,spr:NV,vil:OV,syr:MV,tpn:PV,tub:RV,pg:AV,ns:LV,sup:FV,tab:jV,tbl:VV,tes:zV,unt:BV,tsp:HV,ton:qV,"%vv":$V,"%wv":UV,"%ww":GV,bitperminute:WV,bol:ZV,bot:YV,can:KV,cap:QV,cc:XV,cm:JV,ctr:ez,gr:tz,in:nz,inc:rz,jar:az,kit:iz,mcn:oz,mic:sz,mil:lz,min:uz,mmo:cz,nl:dz,pel:hz,pkg:pz,pt:mz,qs:fz,qt:gz,sqc:vz,umg:bz,ydl:yz,yds:_z,"ml/min/1.73m2":wz,shock:xz,loz:Ez,tro:Sz,daily:kz,c:Cz,cnt:Iz,drm:Dz,lm:Tz,mis:Nz,nmg:Oz,nmo:Mz,pnu:Pz,sat:Rz,stp:Az,trc:Lz,vpr:Fz,waf:jz,x:Vz,atptreatment:zz,sap:Bz},Hz={};oe(Hz,{"%":()=>qz,"%vv":()=>XB,"%wv":()=>JB,"%ww":()=>e5,"1000/mm3":()=>mB,amp:()=>$z,atptreatment:()=>Z5,bag:()=>Uz,bitperminute:()=>t5,bol:()=>n5,bot:()=>r5,box:()=>Gz,c:()=>R5,can:()=>a5,cap:()=>i5,cc:()=>o5,cm:()=>s5,cmm:()=>fB,cnt:()=>A5,ctg:()=>PB,ctr:()=>l5,daily:()=>P5,day:()=>gB,default:()=>Iae,degree:()=>pB,dis:()=>_B,drm:()=>L5,fl:()=>Wz,fld:()=>wB,flo:()=>xB,ftc:()=>EB,fts:()=>SB,"g/dl":()=>Zz,gal:()=>RB,gm:()=>Yz,goutte:()=>MB,gr:()=>u5,hour:()=>OB,in:()=>c5,inc:()=>d5,jar:()=>h5,kg:()=>Kz,"kg/m2":()=>Qz,kit:()=>p5,l:()=>Xz,lb:()=>Jz,lm:()=>F5,loz:()=>O5,mcg:()=>eB,mcl:()=>tB,mcm:()=>AB,mcn:()=>m5,meq:()=>nB,mg:()=>rB,"mg/dl":()=>aB,"mg/l":()=>iB,"mg/m2":()=>oB,"mg/ml":()=>sB,mgper100ml:()=>FB,mic:()=>f5,mil:()=>g5,millisecond:()=>NB,min:()=>v5,minute:()=>kB,mis:()=>j5,ml:()=>lB,"ml/min":()=>uB,"ml/min/1.73m2":()=>T5,mm:()=>CB,"mm/h":()=>IB,mmhg:()=>DB,mmo:()=>b5,mol:()=>cB,month:()=>yB,nl:()=>y5,nmg:()=>V5,nmo:()=>z5,ns:()=>$B,ondemand:()=>LB,oz:()=>dB,pel:()=>_5,pg:()=>qB,pkg:()=>w5,pnu:()=>B5,ppm:()=>hB,pt:()=>x5,qs:()=>E5,qt:()=>S5,sap:()=>Y5,sat:()=>H5,second:()=>TB,shock:()=>N5,spoon:()=>vB,spr:()=>jB,sqc:()=>k5,stp:()=>q5,sup:()=>UB,syr:()=>zB,tab:()=>GB,tbl:()=>WB,tes:()=>ZB,ton:()=>QB,tpn:()=>BB,trc:()=>$5,tro:()=>M5,tsp:()=>KB,tub:()=>HB,umg:()=>C5,unt:()=>YB,vil:()=>VB,vpr:()=>U5,waf:()=>G5,week:()=>bB,x:()=>W5,ydl:()=>I5,yds:()=>D5});var qz="%",$z="{count, plural, one{ampule} other{ampullen}}",Uz="{count, plural, one{zak} other{zakken}}",Gz="{count, plural, one{verstuiver} other{verstuivers}}",Wz="fl",Zz="g/dl",Yz="g",Kz="kg",Qz="kg/m²",Xz="l",Jz="lb",eB="µg",tB="µl",nB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",rB="mg",aB="mg/dl",iB="mg/l",oB="mg/m²",sB="mg/ml",lB="ml",uB="ml/min",cB="mol",dB="oz",hB="ppm",pB="°",mB="1000/mm³",fB="mm³",gB="{count, plural, one{dag} other{dagen}}",vB="{count, plural, one{lepel} other{lepels}}",bB="{count, plural, one{week} other{weken}}",yB="{count, plural, one{maand} other{maanden}}",_B="{count, plural, one{schijf} other{schijven}}",wB="fl dr",xB="fl oz",EB="cu ft",SB="sq ft",kB="{count, plural, one{minuut} other{minuten}}",CB="mm",IB="mm/h",DB="mmHg",TB="{count, plural, one{seconde} other{seconden}}",NB="{count, plural, one{milliseconde} other{milliseconden}}",OB="{count, plural, one{uur} other{uren}}",MB="{count, plural, one{druppel} other{druppels}}",PB="{count, plural, one{patroon} other{patronen}}",RB="gal",AB="mmol",LB="op aanvraag",FB="mg/100mL",jB="{count, plural, one{spray} other{sprays}}",VB="{count, plural, one{flesje} other{flesjes}}",zB="{count, plural, one{spuit} other{spuiten}}",BB="{count, plural, one{tampon} other{tampons}}",HB="{count, plural, one{buis} other{buizen}}",qB="pg",$B="niet gespecificeerd",UB="{count, plural, one{zetpil} other{zetpillen}}",GB="{count, plural, one{tablet} other{tabletten}}",WB="{count, plural, one{eetlepel} other{eetlepels}}",ZB="{count, plural, one{test} other{tests}}",YB="{count, plural, one{eenheid} other{eenheden}}",KB="{count, plural, one{theelepel} other{theelepels}}",QB="{count, plural, one{ton} other{tonnen}}",XB="% v/v",JB="% w/v",e5="% w/w",t5="{count, plural, one{slag per minuut} other{slagen per minuut}}",n5="bolus",r5="{count, plural, one{fles} other{flessen}}",a5="{count, plural, one{blikje} other{blikjes}}",i5="{count, plural, one{capsule} other{capsules}}",o5="cm3",s5="cm",l5="{count, plural, one{houder} other{houders}}",u5="{count, plural, one{korrel} other{korrels}}",c5="in",d5="in²",h5="{count, plural, one{pot} other{potten}}",p5="{count, plural, one{kit} other{kits}}",m5="micron",f5="µCi",g5="mCi",v5="minim",b5="μmol",y5="normaal",_5="{count, plural, one{pil} other{pillen}}",w5="{count, plural, one{pakket} other{pakketten}}",x5="{count, plural, one{pint} other{pinten}}",E5="voldoende hoeveelheid",S5="qt",k5="cm²",C5="{count, plural, one{eenheid / mg} other{eenheden / mg}}",I5="yd",D5="yd²",T5="mL/min/1.73m²",N5="{count, plural, one{schok} other{schokken}}",O5="{count, plural, one{zuigtablet} other{zuigtabletten}}",M5="{count, plural, one{zuigtablet} other{zuigtabletten}}",P5="dagelijks",R5="homeopathische verdunning (centesimal 1/100)",A5="cnt",L5="vat",F5="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",j5="diverse",V5="ng",z5="nmol",B5="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",H5="verzadigd",q5="{count, plural, one{strip} other{strips}}",$5="{count, plural, one{spoor} other{sporen}}",U5="behandelingsschema-afhankelijk",G5="{count, plural, one{ouwel} other{ouwels}}",W5="homeopathische verdunning (decimaal 1/10)",Z5="aantal anti-tachycardie-stimulatiebehandelingen",Y5="Cumulatieve sap waarde",Iae={"%":qz,amp:$z,bag:Uz,box:Gz,fl:Wz,"g/dl":Zz,gm:Yz,kg:Kz,"kg/m2":Qz,l:Xz,lb:Jz,mcg:eB,mcl:tB,meq:nB,mg:rB,"mg/dl":aB,"mg/l":iB,"mg/m2":oB,"mg/ml":sB,ml:lB,"ml/min":uB,mol:cB,oz:dB,ppm:hB,degree:pB,"1000/mm3":mB,cmm:fB,day:gB,spoon:vB,week:bB,month:yB,dis:_B,fld:wB,flo:xB,ftc:EB,fts:SB,minute:kB,mm:CB,"mm/h":IB,mmhg:DB,second:TB,millisecond:NB,hour:OB,goutte:MB,ctg:PB,gal:RB,mcm:AB,ondemand:LB,mgper100ml:FB,spr:jB,vil:VB,syr:zB,tpn:BB,tub:HB,pg:qB,ns:$B,sup:UB,tab:GB,tbl:WB,tes:ZB,unt:YB,tsp:KB,ton:QB,"%vv":XB,"%wv":JB,"%ww":e5,bitperminute:t5,bol:n5,bot:r5,can:a5,cap:i5,cc:o5,cm:s5,ctr:l5,gr:u5,in:c5,inc:d5,jar:h5,kit:p5,mcn:m5,mic:f5,mil:g5,min:v5,mmo:b5,nl:y5,pel:_5,pkg:w5,pt:x5,qs:E5,qt:S5,sqc:k5,umg:C5,ydl:I5,yds:D5,"ml/min/1.73m2":T5,shock:N5,loz:O5,tro:M5,daily:P5,c:R5,cnt:A5,drm:L5,lm:F5,mis:j5,nmg:V5,nmo:z5,pnu:B5,sat:H5,stp:q5,trc:$5,vpr:U5,waf:G5,x:W5,atptreatment:Z5,sap:Y5},Dae={nl:Hz,fr:R3,de:bA,en:CF},K5={};oe(K5,{collapsed:()=>t4,default:()=>Tae,expanded:()=>e4,header:()=>Q5,patient:()=>X5,professional:()=>J5});var Q5="Ausgegebene Medikamente?",X5={part1:"Diese Übersicht zeigt die Arzneimittel, die Ihnen in den <strong>letzten 12 Monaten</strong> abgegeben wurden.",part2:"Die Liste kann <strong>unvollständig</strong> sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat.",part3:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für Sie bestimmt</strong> sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen.",part4:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu <strong>Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung.</strong>"},J5={part1:"Die Liste kann <strong>unvollständig</strong>: , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden.",part2:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für diesen Patienten bestimmt</strong> sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."},e4="Information erweitern",t4="Information einklappen",Tae={header:Q5,patient:X5,professional:J5,expanded:e4,collapsed:t4},n4={};oe(n4,{collapsed:()=>s4,default:()=>Nae,expanded:()=>o4,header:()=>r4,patient:()=>a4,professional:()=>i4});var r4="How to interpret the list?",a4={part1:"This overview shows the medications that have been dispensed to you over the <strong>past 12 months.</strong>",part2:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part3:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time.",part4:"If in doubt, always consult your doctor or pharmacist. This information is provided <strong>for informational purposes and is not a substitute for professional medical advice.</strong>"},i4={part1:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part2:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time."},o4="Expand information",s4="Collapse information",Nae={header:r4,patient:a4,professional:i4,expanded:o4,collapsed:s4},l4={};oe(l4,{collapsed:()=>p4,default:()=>Oae,expanded:()=>h4,header:()=>u4,patient:()=>c4,professional:()=>d4});var u4="Comment interpréter la liste?",c4={part1:"Cette liste reprend les médicaments qui vous ont été remis au cours des <strong>12 derniers mois.</strong>",part2:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien.",part3:"La liste peut contenir des médicaments <strong>qui ne vous concernent pas.</strong> Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres.",part4:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes <strong>à titre informatif et ne remplacent pas un avis médical professionnel.</strong>"},d4={part1:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés.",part2:"La liste peut contenir des médicaments <strong>qui ne concernent pas ce patient.</strong> C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."},h4="Développer l’information",p4="Réduire l'information",Oae={header:u4,patient:c4,professional:d4,expanded:h4,collapsed:p4},m4={};oe(m4,{collapsed:()=>y4,default:()=>Mae,expanded:()=>b4,header:()=>f4,patient:()=>g4,professional:()=>v4});var f4="Hoe de lijst interpreteren?",g4={part1:"Dit overzicht toont de geneesmiddelen die in de <strong>afgelopen 12 maanden</strong> voor u zijn afgeleverd.",part2:"Het is mogelijk dat de lijst <strong>onvolledig</strong> is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering.",part3:"De lijst kan geneesmiddelen bevatten die <strong>niet voor u bestemd</strong> zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment.",part4:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor <strong>doeleinden en zijn geen vervanging voor professioneel medisch advies.</strong>"},v4={part1:"Het is mogelijk dat de lijst <strong>onvolledig</strong>: is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden.",part2:"De lijst kan geneesmiddelen bevatten die <strong>niet voor deze patiënt bestemd</strong> zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."},b4="Informatie uitklappen",y4="Informatie inklappen",Mae={header:f4,patient:g4,professional:v4,expanded:b4,collapsed:y4},Pae={nl:m4,fr:l4,de:K5,en:n4},_4={};oe(_4,{default:()=>Rae,headers:()=>w4,magisterialPreparation:()=>x4,noContent:()=>E4});var w4={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},x4="Verschreibungurarzneimittel",E4="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Rae={headers:w4,magisterialPreparation:x4,noContent:E4},S4={};oe(S4,{default:()=>Aae,headers:()=>k4,magisterialPreparation:()=>C4,noContent:()=>I4});var k4={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},C4="Magistral preparation",I4="There is no delivered medication found for this patient.",Aae={headers:k4,magisterialPreparation:C4,noContent:I4},D4={};oe(D4,{default:()=>Lae,headers:()=>T4,magisterialPreparation:()=>N4,noContent:()=>O4});var T4={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},N4="Préparation magistrale",O4="Aucun médicament délivré n'a été retrouvé pour ce patient.",Lae={headers:T4,magisterialPreparation:N4,noContent:O4},M4={};oe(M4,{default:()=>Fae,headers:()=>P4,magisterialPreparation:()=>R4,noContent:()=>A4});var P4={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},R4="Magistrale bereiding",A4="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Fae={headers:P4,magisterialPreparation:R4,noContent:A4},jae={nl:M4,fr:D4,de:_4,en:S4},L4={};oe(L4,{composition:()=>F4,default:()=>Vae,"delivered-by":()=>q4,"delivery-date":()=>H4,dguid:()=>V4,"is-prescribed":()=>z4,leaflet:()=>K4,"magisterial-preparation":()=>Y4,medication:()=>X4,"no-pharmacy":()=>W4,noDetails:()=>J4,package:()=>Q4,patient:()=>Z4,posologie:()=>j4,quantity:()=>B4,"return-delivery-date":()=>U4,"returned-by":()=>G4,"returned-quantity":()=>$4});var F4="Zusammensetzung",j4="Dosierung",V4="ID Ausgabe",z4={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},B4="Gelieferte Menge",H4="Lieferdatum",q4="Geliefert von",$4="Zurückgenommene Menge",U4="Rücknahme am",G4="Rücknahme durch",W4="Apotheke mit LIKIV-Erkennungsnummer",Z4="Patient",Y4="Verschreibungurarzneimittel",K4="Packungsbeilage",Q4="{count, plural, one{Verpackung} other{Verpackungen}}",X4="Arzneimittel",J4="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Vae={composition:F4,posologie:j4,dguid:V4,"is-prescribed":z4,quantity:B4,"delivery-date":H4,"delivered-by":q4,"returned-quantity":$4,"return-delivery-date":U4,"returned-by":G4,"no-pharmacy":W4,patient:Z4,"magisterial-preparation":Y4,leaflet:K4,package:Q4,medication:X4,noDetails:J4},e9={};oe(e9,{composition:()=>t9,default:()=>zae,"delivered-by":()=>n9,"delivery-date":()=>r9,dguid:()=>a9,"is-prescribed":()=>i9,leaflet:()=>o9,"magisterial-preparation":()=>s9,medication:()=>l9,"no-pharmacy":()=>u9,noDetails:()=>c9,package:()=>d9,patient:()=>h9,posologie:()=>p9,quantity:()=>m9,"return-delivery-date":()=>v9,"returned-by":()=>b9,"returned-quantity":()=>g9,title:()=>f9});var t9="Composition",n9="Dispensed by",r9="Date dispensed",a9="Dispensing ID",i9={no:"No",title:"Was prescribed",yes:"Yes"},o9="Package leaflet",s9="Compounded preparation",l9="Medication",u9="Pharmacy with NIHDI number",c9="The requested information has been deleted or doesn't exist.",d9="{count, plural, one{package} other{packages}}",h9="Patient",p9="Dosage",m9="Dispensed quality",f9="Detail of the dispensed medication",g9="Returned quantity",v9="Return on",b9="Return by",zae={composition:t9,"delivered-by":n9,"delivery-date":r9,dguid:a9,"is-prescribed":i9,leaflet:o9,"magisterial-preparation":s9,medication:l9,"no-pharmacy":u9,noDetails:c9,package:d9,patient:h9,posologie:p9,quantity:m9,title:f9,"returned-quantity":g9,"return-delivery-date":v9,"returned-by":b9},y9={};oe(y9,{composition:()=>_9,default:()=>Bae,"delivered-by":()=>C9,"delivery-date":()=>k9,dguid:()=>x9,"is-prescribed":()=>E9,leaflet:()=>P9,"magisterial-preparation":()=>M9,medication:()=>A9,"no-pharmacy":()=>N9,noDetails:()=>L9,package:()=>R9,patient:()=>O9,posologie:()=>w9,quantity:()=>S9,"return-delivery-date":()=>D9,"returned-by":()=>T9,"returned-quantity":()=>I9});var _9="Composition",w9="Posologie",x9="ID délivrance",E9={title:"A été prescrit",yes:"Oui",no:"Non"},S9="Quantité délivrée",k9="Date de délivrance",C9="Délivré par",I9="Quantité retournée",D9="Retour le",T9="Retour par",N9="Pharmacie avec numéro INAMI",O9="Patient",M9="Préparation magistrale",P9="Notice d'information",R9="{count, plural, one{emballage} other{emballages}}",A9="Médicament",L9="La prescription demandée a été supprimée ou n'existe pas.",Bae={composition:_9,posologie:w9,dguid:x9,"is-prescribed":E9,quantity:S9,"delivery-date":k9,"delivered-by":C9,"returned-quantity":I9,"return-delivery-date":D9,"returned-by":T9,"no-pharmacy":N9,patient:O9,"magisterial-preparation":M9,leaflet:P9,package:R9,medication:A9,noDetails:L9},F9={};oe(F9,{composition:()=>j9,default:()=>Hae,"delivered-by":()=>$9,"delivery-date":()=>q9,dguid:()=>z9,"is-prescribed":()=>B9,leaflet:()=>Q9,"magisterial-preparation":()=>K9,medication:()=>J9,"no-pharmacy":()=>Z9,noDetails:()=>e7,package:()=>X9,patient:()=>Y9,posologie:()=>V9,quantity:()=>H9,"return-delivery-date":()=>G9,"returned-by":()=>W9,"returned-quantity":()=>U9});var j9="Samenstelling",V9="Posologie",z9="ID aflevering",B9={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},H9="Afgeleverde hoeveelheid",q9="Datum afgeleverd",$9="Afgeleverd door",U9="Teruggenomen hoeveelheid",G9="Terugname op",W9="Terugname door",Z9="Apotheek met RIZIV-nummer",Y9="Patiënt",K9="Magistrale bereiding",Q9="Bijsluiter",X9="{count, plural, one{verpakking} other{verpakkingen}}",J9="Geneesmiddel(en)",e7="Het gevraagde voorschrift is verwijderd of bestaat niet.",Hae={composition:j9,posologie:V9,dguid:z9,"is-prescribed":B9,quantity:H9,"delivery-date":q9,"delivered-by":$9,"returned-quantity":U9,"return-delivery-date":G9,"returned-by":W9,"no-pharmacy":Z9,patient:Y9,"magisterial-preparation":K9,leaflet:Q9,package:X9,medication:J9,noDetails:e7},qae={nl:F9,fr:y9,de:L4,en:e9},$ae=class extends zo{getTranslation(e){return it({commons:Yt(se({},lae[e]),{units:Dae[e],galenicFormCodes:rae[e],timeUnits:Eae[e],administrationUnits:Hre[e],periods:pae[e],days:Wre[e],posology:bae[e],errors:Xre[e]}),deliveredMedicationsList:jae[e],deliveredMedicationsDisclaimer:Pae[e],deliveredMedicationDetails:qae[e]})}},Uae=[Ore,aQ({defaultLanguage:"fr",loader:{provide:zo,useClass:$ae},compiler:{provide:Ho,useClass:Are}})],t7=(()=>{const t=class t{constructor(){this.http=C(Si)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Gae={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Xi.CNK},name:[{value:"Novyra 50 mg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 comprimé le matin"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Xi.CNK},name:[{value:"Meldiora 10 ml"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-06-30T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 goutte dans chaque narine 3x/j"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Xi.CNK},name:[{value:"Cymelune 200 µg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"2 inhalations si nécessaire (max 4/j)"}]}],isPrescribed:!0}]},n7=(()=>{const t=class t{constructor(){this.demoService=C(Kne)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Gae)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),r7=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Wae=(e,t)=>e.getEnvironmentVariable("env")===Pr.DEMO?t.get(n7):t.get(t7),Zae={provide:r7,useFactory:Wae,deps:[Ii,ot]},Uf=(()=>{const t=class t extends Y1{constructor(n,a){super(n.getServices(),vo.DELIVERED_MEDICATIONS,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,vo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=C(r7),this.authServiceSelector=C(ci),this.deliveredMedicationsStateSubject$=new Dd({status:Ka.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return wt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),a=this.deliveredMedicationsApiService.get(n);return Bq(a)})}getDeliveredMedications(n=!0){return wt(this,null,function*(){return Qne(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(te(ru),te(ci))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),Yae=(()=>{const t=class t{constructor(){this.authService=C(ci).getInstance(),this.templateRef=C(va),this.viewContainer=C(wi),this.cdRef=C(Ei)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(n){return new(n||t)},t.ɵdir=Lt({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),a7={"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(a7);var Kae=a7,i7={"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(i7);var Qae=i7,fn=function(e,t,r,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 r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Ra,Ui,aa,Xae=class{constructor(...e){Ra.set(this,new Map),Ui.set(this,new Map),aa.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),fn(this,aa,"f").has(r)||fn(this,aa,"f").set(r,new Set);let a=fn(this,aa,"f").get(r),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),i&&fn(this,Ui,"f").set(r,o),i=!1,l)continue;let c=fn(this,Ra,"f").get(o);if(c&&c!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${c} -> ${o}". Pass \`force=true\` to override this definition.`);fn(this,Ra,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:fn(this,Ra,"f").get(r)??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&&fn(this,Ui,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:fn(this,aa,"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 fn(this,aa,"f").values())Object.freeze(e);return this}_getTestState(){return{types:fn(this,Ra,"f"),extensions:fn(this,Ui,"f")}}};Ra=new WeakMap,Ui=new WeakMap,aa=new WeakMap;var Jae=Xae;new Jae(Qae,Kae)._freeze();var eie=(()=>{const t=class t{transform(n){return nre(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"fullname",type:t,pure:!0});let e=t;return e})(),tie=(()=>{const t=class t{constructor(){this.ingredientLabelService=C(are),this.translate=C(kr),this.destroyRef=C(_a),this.cd=C(Ei),this.translate.onLangChange.pipe(X1(this.destroyRef)).subscribe(()=>{this.transformIngredientLabel(),this.cd.markForCheck()})}transform(n){return n!==this.ingredient&&(this.ingredient=n,this.transformIngredientLabel()),this.translation}transformIngredientLabel(){this.translation=this.ingredient?this.ingredientLabelService.transform(this.ingredient):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),nie=(()=>{const t=class t{constructor(){this.translate=C(kr)}transform(n){return J1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"translateValue",type:t,pure:!0});let e=t;return e})(),rie=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"absolute",type:t,pure:!0});let e=t;return e})();ug(ZH());var ws;function aie(){if(ws===void 0&&(ws=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(ws=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return ws}function Vi(e){var t;return((t=aie())==null?void 0:t.createHTML(e))||e}function Gf(e){return Error(`Unable to find icon with the name "${e}"`)}function iie(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Wf(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Zf(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var ta=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},oie=(()=>{const t=class t{constructor(n,a,i,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=i}addSvgIcon(n,a,i){return this.addSvgIconInNamespace("",n,a,i)}addSvgIconLiteral(n,a,i){return this.addSvgIconLiteralInNamespace("",n,a,i)}addSvgIconInNamespace(n,a,i,o){return this._addSvgIconConfig(n,a,new ta(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(sn.HTML,i);if(!l)throw Zf(i);let c=Vi(l);return this._addSvgIconConfig(n,a,new ta("",c,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,i){return this._addSvgIconSetConfig(n,new ta(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(sn.HTML,a);if(!o)throw Zf(a);let l=Vi(o);return this._addSvgIconSetConfig(n,new ta("",l,i))}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(sn.RESOURCE_URL,n);if(!a)throw Wf(n);let i=this._cachedIconsByUrl.get(a);return i?it(xs(i)):this._loadSvgIconFromConfig(new ta(n,null)).pipe(mu(o=>this._cachedIconsByUrl.set(a,o)),Mt(o=>xs(o)))}getNamedSvgIcon(n,a=""){let i=Yf(a,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):Qg(Gf(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?it(xs(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Mt(a=>xs(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return it(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Pd(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(sn.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),it(null)})));return nv(o).pipe(Mt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw Gf(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let i=a.length-1;i>=0;i--){let o=a[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),c=this._extractSvgIconFromSet(l,n,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(mu(a=>n.svgText=a),Mt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?it(null):this._fetchIcon(n).pipe(mu(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,i){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,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let c=this._svgElementFromString(Vi("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,i)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let i=a.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let a=this._svgElementFromString(Vi("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:c}=i[o];l!=="id"&&a.setAttribute(l,c)}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:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw iie();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(sn.RESOURCE_URL,a);if(!l)throw Wf(a);let c=this._inProgressUrlFetches.get(l);if(c)return c;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Mt(d=>Vi(d)),iv(()=>this._inProgressUrlFetches.delete(l)),ov());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(Yf(n,a),i),this}_addSvgIconSetConfig(n,a){let i=this._iconSetConfigs.get(n);return i?i.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 i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](a,n);if(o)return sie(o)?new ta(o.url,null,o.options):new ta(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(te(Si,8),te(Iy),te(Le,8),te(Rn))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xs(e){return e.cloneNode(!0)}function Yf(e,t){return e+":"+t}function sie(e){return!!(e.url&&e.options)}var lie=["*"],uie=new K("MAT_ICON_DEFAULT_OPTIONS"),cie=new K("mat-icon-location",{providedIn:"root",factory:die});function die(){let e=C(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var o7=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],hie=o7.map(e=>`[${e}]`).join(", "),pie=/^url\(['"]?#(.*?)['"]?\)$/,s7=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(oie));s(this,"_location",C(cie));s(this,"_errorHandler",C(Rn));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",un.EMPTY);let n=C(new PU("aria-hidden"),{optional:!0}),a=C(uie,{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 i=n.childNodes[a];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),a.forEach(i=>n.classList.add(i)),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((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(hie),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)o7.forEach(l=>{let c=a[o],u=c.getAttribute(l),d=u?u.match(pie):null;if(d){let m=i.get(c);m||(m=[],i.set(c,m)),m.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,i]=this._splitIconName(n);a&&(this._svgNamespace=a),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,a).pipe(Qt(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(Ln("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),Wl(a.color?"mat-"+a.color:""),Pn("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",Hi],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:lie,decls:1,vars:0,template:function(n,a){n&1&&(xi(),Zn(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}
|
|
37
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),mie=(()=>{const t=class t{constructor(){this.leaflet=Ue.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&(re(0,"a",0),Zt(1,"mat-icon",1),be(2),De(3,"translate"),ne()),n&2&&(xt("href",a.leaflet(),V0),Q(2),cn(" ",Me(3,2,"commons.downloadLeaflet")," "))},dependencies:[Jh,zX,s7,ki],encapsulation:2});let e=t;return e})(),fie=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(Jy)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&(re(0,"h2",0),be(1),De(2,"translate"),ne(),re(3,"mat-dialog-content")(4,"p")(5,"span"),be(6),De(7,"translate"),ne()()(),re(8,"mat-dialog-actions")(9,"button",1),be(10),De(11,"translate"),ne()()),n&2&&(Q(),Ge(Me(2,4,"commons.errors.action-not-authorized-title")),Q(5),Ge(Me(7,6,"commons.errors."+a.vidisErrorCode)),Q(3),xt("mat-dialog-close",!1),Q(),cn(" ",Me(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[s1,t1,r1,i1,a1,Jh,nu,ki],encapsulation:2});let e=t;return e})(),gie=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&(re(0,"h2",0),be(1),De(2,"translate"),ne(),re(3,"mat-dialog-content")(4,"p")(5,"span"),be(6),De(7,"translate"),ne()(),re(8,"p")(9,"span"),be(10),De(11,"translate"),ne(),re(12,"a",1),De(13,"translate"),be(14),De(15,"translate"),ne(),be(16,"."),ne()(),re(17,"mat-dialog-actions")(18,"button",2),be(19),De(20,"translate"),ne(),re(21,"button",3),be(22),De(23,"translate"),ne()()),n&2&&(Q(),Ge(Me(2,9,"commons.errors.report-message-title")),Q(5),Ge(Me(7,11,"commons.errors.report-message-explanation")),Q(4),Ge(Me(11,13,"commons.errors.report-message-content")),Q(2),xt("href",Me(13,15,"commons.errors.report-message-link"),V0),Q(2),Ge(Me(15,17,"commons.errors.report-message-term-use")),Q(4),xt("mat-dialog-close",!0),Q(),cn(" ",Me(20,19,"commons.errors.report-message-report-button")," "),Q(2),xt("mat-dialog-close",!1),Q(),cn(" ",Me(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[s1,t1,r1,i1,a1,Jh,nu,ki],encapsulation:2});let e=t;return e})(),vie=(()=>{const t=class t{reportError(n){return it({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bie=(()=>{const t=class t{constructor(){this.http=C(Si),this.authService=C(ci).getInstance(),this.apiUrl=C(Ii).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Ji.userType]:la.getUserType({isProfessional:this.authService.isProfessional}),[Ji.clientType]:K1()?la.clientType.mobileApp:la.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yie=(()=>{const t=class t{constructor(){this.config=C(Ii),this.injector=C(ot),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(vie):this.injector.get(bie)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Kf(e,t,r){let n=H1(),a=xie(e,r.timeZone,r.locale??n.locale);return"formatToParts"in a?_ie(a,t):wie(a,t)}function _ie(e,t){let r=e.formatToParts(t);for(let n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function wie(e,t){let r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function xie(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Eie(e,t){let r=Die(t);return"formatToParts"in r?kie(r,e):Cie(r,e)}var Sie={year:0,month:1,day:2,hour:3,minute:4,second:5};function kie(e,t){try{let r=e.formatToParts(t),n=[];for(let a=0;a<r.length;a++){let i=Sie[r[a].type];i!==void 0&&(n[i]=parseInt(r[a].value,10))}return n}catch(r){if(r instanceof RangeError)return[NaN];throw r}}function Cie(e,t){let r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);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 ac={},Qf=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")),Iie=Qf==="06/25/2014, 00:00:00"||Qf==="06/25/2014 00:00:00";function Die(e){return ac[e]||(ac[e]=Iie?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"})),ac[e]}function l7(e,t,r,n,a,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,r),l.setUTCHours(n,a,i,o),l}var Xf=36e5,Tie=6e4,ic={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function u7(e,t,r){if(!e)return 0;let n=ic.timezoneZ.exec(e);if(n)return 0;let a,i;if(n=ic.timezoneHH.exec(e),n)return a=parseInt(n[1],10),Jf(a)?-(a*Xf):NaN;if(n=ic.timezoneHHMM.exec(e),n){a=parseInt(n[2],10);let o=parseInt(n[3],10);return Jf(a,o)?(i=Math.abs(a)*Xf+o*Tie,n[1]==="+"?-i:i):NaN}if(Mie(e)){t=new Date(t||Date.now());let o=r?t:Nie(t),l=_d(o,e);return-(r?l:Oie(t,l,e))}return NaN}function Nie(e){return l7(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function _d(e,t){let r=Eie(e,t),n=l7(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),a=e.getTime(),i=a%1e3;return a-=i>=0?i:1e3+i,n-a}function Oie(e,t,r){let n=e.getTime()-t,a=_d(new Date(n),r);if(t===a)return t;n-=a-t;let i=_d(new Date(n),r);return a===i?a:Math.max(a,i)}function Jf(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var eg={};function Mie(e){if(eg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),eg[e]=!0,!0}catch{return!1}}var Pie=60*1e3,Rie={X:function(e,t,r){let n=oc(r.timeZone,e);if(n===0)return"Z";switch(t){case"X":return tg(n);case"XXXX":case"XX":return Aa(n);case"XXXXX":case"XXX":default:return Aa(n,":")}},x:function(e,t,r){let n=oc(r.timeZone,e);switch(t){case"x":return tg(n);case"xxxx":case"xx":return Aa(n);case"xxxxx":case"xxx":default:return Aa(n,":")}},O:function(e,t,r){let n=oc(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Aie(n,":");case"OOOO":default:return"GMT"+Aa(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return Kf("short",e,r);case"zzzz":default:return Kf("long",e,r)}}};function oc(e,t){let r=e?u7(e,t,!0)/Pie:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function xl(e,t){let r=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function Aa(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=xl(Math.floor(n/60),2),i=xl(Math.floor(n%60),2);return r+a+t+i}function tg(e,t){return e%60===0?(e>0?"-":"+")+xl(Math.abs(e)/60,2):Aa(e,t)}function Aie(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+xl(i,2)}function ng(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 Lie=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,sc=36e5,rg=6e4,Fie=2,Wt={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:Lie};function jie(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 r=t.additionalDigits==null?Fie:Number(t.additionalDigits);if(r!==2&&r!==1&&r!==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=Vie(e),{year:a,restDateString:i}=zie(n.date,r),o=Bie(i,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),c=0,u;if(n.time&&(c=Hie(n.time),c===null||isNaN(c)))return new Date(NaN);if(n.timeZone||t.timeZone){if(u=u7(n.timeZone||t.timeZone,new Date(l+c)),isNaN(u))return new Date(NaN)}else u=ng(new Date(l+c)),u=ng(new Date(l+c+u));return new Date(l+c+u)}else return new Date(NaN)}function Vie(e){let t={},r=Wt.dateTimePattern.exec(e),n;if(r?(t.date=r[1],n=r[3]):(r=Wt.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){let a=Wt.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function zie(e,t){if(e){let r=Wt.YYY[t],n=Wt.YYYYY[t],a=Wt.YYYY.exec(e)||n.exec(e);if(a){let i=a[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(a=Wt.YY.exec(e)||r.exec(e),a){let i=a[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function Bie(e,t){if(t===null)return null;let r,n,a;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let i=Wt.MM.exec(e);if(i)return r=new Date(0),n=parseInt(i[1],10)-1,ig(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(i=Wt.DDD.exec(e),i){r=new Date(0);let o=parseInt(i[1],10);return Uie(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(i=Wt.MMDD.exec(e),i){r=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return ig(t,n,o)?(r.setUTCFullYear(t,n,o),r):new Date(NaN)}if(i=Wt.Www.exec(e),i)return a=parseInt(i[1],10)-1,og(a)?ag(t,a):new Date(NaN);if(i=Wt.WwwD.exec(e),i){a=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return og(a,o)?ag(t,a,o):new Date(NaN)}return null}function Hie(e){let t,r,n=Wt.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),lc(t)?t%24*sc:NaN;if(n=Wt.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),lc(t,r)?t%24*sc+r*rg:NaN;if(n=Wt.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return lc(t,r,a)?t%24*sc+r*rg+a*1e3:NaN}return null}function ag(e,t,r){t=t||0,r=r||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=n.getUTCDay()||7,i=t*7+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}var qie=[31,28,31,30,31,30,31,31,30,31,30,31],$ie=[31,29,31,30,31,30,31,31,30,31,30,31];function c7(e){return e%400===0||e%4===0&&e%100!==0}function ig(e,t,r){if(t<0||t>11)return!1;if(r!=null){if(r<1)return!1;let n=c7(e);if(n&&r>$ie[t]||!n&&r>qie[t])return!1}return!0}function Uie(e,t){if(t<1)return!1;let r=c7(e);return!(r&&t>366||!r&&t>365)}function og(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function lc(e,t,r){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||r!=null&&(r<0||r>=60))}var Gie=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Wie(e,t,r={}){t=String(t);let n=t.match(Gie);if(n){let a=jie(r.originalDate||e,r);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),c=i[l-1]==="'",u=i.replace(o,"'"+Rie[o[0]](a,o,r)+"'");return c?u.substring(0,l-1)+u.substring(l+1):u},t)}return B1(e,t,r)}var Zie=(()=>{const t=class t extends Bne{constructor(){super(...arguments),this.version=bd,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=C(ci),this.translateService=C(kr),this.webComponentConfig=C(Ii),this.injector=C(ot),this.servicesStore=C(ru),this.matDialog=C(tu),this.destroyRef=C(_a),this.errorServiceSelector=C(yie),this.snackbarService=C(t_),this.extraRequiredFields=this.defaultExtraRequiredFields}onInitialized(){return wt(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=>wt(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)===vr.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===vr.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(gie,{data:{error:n}}).beforeClosed().pipe(mr(a=>a),X1(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let a={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:i=>{i.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(fie,{data:n})}formatDateWithZone(){return Wie(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})(),t.ɵcmp=rt({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[En],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),Yie=["*"];function Kie(e,t){e&1&&Vo(0)}function Qie(e,t){if(e&1&&(re(0,"div",3),Be(1,Kie,1,0,"ng-container",5),ne()),e&2){Ee();let r=Yl(5);Q(),xt("ngTemplateOutlet",r)}}function Xie(e,t){e&1&&Vo(0)}function Jie(e,t){if(e&1){let r=Zl();re(0,"div",6),Sa("click",function(){Br(r);let n=Ee();return Hr(n.toggleExpanded())})("keydown.enter",function(){Br(r);let n=Ee();return Hr(n.toggleExpanded())})("keydown.space",function(){Br(r);let n=Ee();return Hr(n.toggleExpanded())}),Be(1,Xie,1,0,"ng-container",5),ne()}if(e&2){let r=Ee(),n=Yl(5);Ln("aria-label",r.currentExpandIconAriaLabel()),Q(),xt("ngTemplateOutlet",n)}}function eoe(e,t){e&1&&Vo(0)}function toe(e,t){if(e&1&&Be(0,eoe,1,0,"ng-container",5),e&2){Ee();let r=Yl(7);xt("ngTemplateOutlet",r)}}function noe(e,t){if(e&1&&(re(0,"h2"),be(1),ne()),e&2){let r=Ee(3);Q(),Ge(r.alertTitle())}}function roe(e,t){if(e&1&&(re(0,"p"),be(1),ne()),e&2){let r=Ee(3);Q(),Ge(r.alertSubtitle())}}function aoe(e,t){if(e&1&&(re(0,"div"),Be(1,noe,2,1,"h2")(2,roe,2,1,"p"),ne()),e&2){let r=Ee(2);Q(),ht(r.alertTitle()?1:-1),Q(),ht(r.alertSubtitle()?2:-1)}}function ioe(e,t){e&1&&Vo(0)}function ooe(e,t){if(e&1&&Be(0,ioe,1,0,"ng-container",5),e&2){Ee(2);let r=Yl(7);xt("ngTemplateOutlet",r)}}function soe(e,t){if(e&1){let r=Zl();re(0,"mat-icon",11),Sa("click",function(){Br(r);let n=Ee(2);return Hr(n.onCloseButtonClick())})("keydown.enter",function(){Br(r);let n=Ee(2);return Hr(n.onCloseButtonClick())})("keydown.space",function(){Br(r);let n=Ee(2);return Hr(n.onCloseButtonClick())}),ne()}if(e&2){let r=Ee(2);Ln("aria-label",r.closeButtonAriaLabel())}}function loe(e,t){if(e&1&&Zt(0,"mat-icon",10),e&2){let r=Ee(2);xt("fontIcon",r.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function uoe(e,t){if(e&1&&(Zt(0,"mat-icon",7),re(1,"div",8),Be(2,aoe,3,2,"div")(3,ooe,1,1,"ng-container"),ne(),Be(4,soe,1,1,"mat-icon",9)(5,loe,1,1,"mat-icon",10)),e&2){let r=Ee();xt("fontIcon",r.fontIcon()),Q(2),ht(r.alertTitle()||r.alertSubtitle()?2:r.dismissMode()!=="expandable"?3:-1),Q(2),ht(r.dismissMode()==="closable"?4:r.dismissMode()==="expandable"?5:-1)}}function coe(e,t){if(e&1){let r=Zl();re(0,"button",14),Sa("click",function(){Br(r);let n=Ee(2);return Hr(n.onActionButtonClicked())}),be(1),ne()}if(e&2){let r=Ee(2);xt("disabled",r.buttonDisabled()),Q(),cn(" ",r.buttonLabel()," ")}}function doe(e,t){if(e&1&&(re(0,"span",12),Zn(1),ne(),Be(2,coe,2,2,"button",13)),e&2){let r=Ee();Q(2),ht(r.actionButton()?2:-1)}}var hoe=(()=>{const t=class t{constructor(){s(this,"usage",Ue("info"));s(this,"backgroundColor",Ue("color"));s(this,"alertTitle",Ue());s(this,"alertSubtitle",Ue());s(this,"actionButton",Ue(!1));s(this,"buttonDisabled",Ue(!1));s(this,"buttonLabel",Ue());s(this,"dismissMode",Ue("pinned"));s(this,"closeButtonAriaLabel",Ue(""));s(this,"startExpanded",Ue(!1));s(this,"expandedButtonAriaLabel",Ue(""));s(this,"collapsedButtonAriaLabel",Ue(""));s(this,"closeButtonClicked",Jp());s(this,"actionButtonClicked",Jp());s(this,"expanded",QZ(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Ha(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",Ha(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",Ha(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Ha(()=>({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",rt({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:Yie,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&&(xi(),re(0,"div",2),Be(1,Qie,2,1,"div",3)(2,Jie,2,2,"div",4)(3,toe,1,1,"ng-container"),ne(),Be(4,uoe,6,3,"ng-template",null,0,Im)(6,doe,3,1,"ng-template",null,1,Im)),n&2&&(Wl(a.usage()),Pn("white",a.backgroundColor()==="white"),Q(),ht(a.dismissMode()!=="expandable"?1:2),Q(2),ht(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[ay,BY,s7,nu],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 poe(e,t){if(e&1&&(re(0,"mh-alert",0),De(1,"translate"),re(2,"div",1),be(3),De(4,"translate"),ne()()),e&2){let r=Ee();xt("alertTitle",Me(1,2,"commons.errors.data-not-available-title")),Q(3),Ge(Me(4,4,"commons.errors."+r.error().code))}}var moe=(()=>{const t=class t{constructor(){this.error=Ue.required(),this.vidisErrorGroup=vr}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&Be(0,poe,5,6,"mh-alert",0),n&2&&ht(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[ki,hoe],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})(),foe=e=>({count:e});function goe(e,t){e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne()),e&2&&(Q(),Ge(Me(2,1,"deliveredMedicationDetails.leaflet")))}function voe(e,t){if(e&1&&(re(0,"span",2),Zt(1,"vidis-download-link",5),ne()),e&2){let r=Ee(3);Q(),xt("leaflet",r.leafletUrl())}}function boe(e,t){e&1&&Be(0,goe,3,3,"span",3)(1,voe,2,1,"span",4)}function yoe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"translateValue"),ne(),Be(6,boe,2,0)),e&2){let r=Ee();Q(),Ge(Me(2,3,"deliveredMedicationDetails.medication")),Q(3),Ge(Me(5,5,r.item().medication.name)),Q(2),ht(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function _oe(e,t){if(e&1&&(be(0),De(1,"ingredientLabel")),e&2){let r=t.$implicit;cn(" ",Me(1,1,r)," ")}}function woe(e,t){if(e&1&&(re(0,"span",1)(1,"strong"),be(2),De(3,"translate"),ne()(),re(4,"span",2),Ph(5,_oe,2,3,null,null,Lb),ne()),e&2){let r=Ee();Q(2),Ge(Me(3,1,"deliveredMedicationsList.magisterialPreparation")),Q(3),Rh(r.item().medication.ingredients)}}function xoe(e,t){if(e&1&&(re(0,"li"),be(1),De(2,"translateValue"),ne()),e&2){let r=t.$implicit;Q(),cn(" ",Me(2,1,r.texts)," ")}}function Eoe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2)(4,"ul"),Ph(5,xoe,3,3,"li",null,Lb),ne()()),e&2){let r=Ee();Q(),Ge(Me(2,1,"deliveredMedicationDetails.posologie")),Q(4),Rh(r.item().dosageInstructions)}}function Soe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"date"),ne()),e&2){let r=Ee(),n=Ee();Q(),Ge(Me(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),Q(3),Ge(Ub(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function koe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"absolute"),De(6,"absolute"),De(7,"translate"),ne(),Be(8,Soe,6,7),re(9,"span",1),be(10),De(11,"translate"),ne()),e&2){let r=t,n=Ee();Q(),Ge(Me(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),Q(3),Lh("",Me(5,7,r)," ",Ub(7,11,"deliveredMedicationDetails.package",kZ(16,foe,Me(6,9,r))),""),Q(4),ht(n.displayAllDetails()?8:-1),Q(2),Ge(Me(11,14,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function Coe(e,t){if(e&1&&(be(0),De(1,"translateValue"),Zt(2,"br"),be(3)),e&2){let r=Ee();cn(" ",Me(1,2,t)," "),Q(3),cn(" ",r.item().pharmacy.nihdi," ")}}function Ioe(e,t){if(e&1&&(be(0),De(1,"translate")),e&2){let r=Ee();Lh(" ",Me(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function Doe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"fullname"),ne()),e&2){let r=Ee();Q(),Ge(Me(2,2,"deliveredMedicationDetails.patient")),Q(3),Ge(Me(5,4,r.item().person))}}var Toe=(()=>{const t=class t{constructor(){this.translate=C(kr),this.leafletService=C(ire),this.leafletUrl=KU(""),this.item=Ue.required(),this.displayAllDetails=Ue(!1),this.isProfessional=Ue.required(),this.identifierType=Xi}ngOnInit(){this.displayAllDetails()&&this.item().medication.identifier&&this.item().medication.identifier.type===this.identifierType.CNK&&this.updateLeafletUrl()}updateLeafletUrl(){this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value).pipe(Qt(1)).subscribe({next:n=>{this.leafletUrl.set(n)},error:n=>{console.error("Error fetching leaflet URL:",n),this.leafletUrl.set("")}})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],[3,"leaflet"]],template:function(n,a){if(n&1&&(re(0,"span",0),Be(1,yoe,7,7)(2,woe,7,3)(3,Eoe,7,3),re(4,"span",1),be(5),De(6,"translate"),ne(),re(7,"span",2),be(8),De(9,"translate"),ne(),Be(10,koe,12,18),re(11,"span",2),Be(12,Coe,4,4)(13,Ioe,2,4),ne(),Be(14,Doe,6,6),re(15,"span",1),be(16),De(17,"translate"),ne(),re(18,"span",2),be(19),ne()()),n&2){let i,o,l;Q(),ht(a.item().medication.name?1:2),Q(2),ht((i=a.item().dosageInstructions)!=null&&i.length?3:-1),Q(2),Ge(Me(6,9,"deliveredMedicationDetails.is-prescribed.title")),Q(3),Ge(Me(9,11,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),Q(2),ht((o=(o=a.item().medication.quantity)==null?null:o.value)?10:-1,o),Q(2),ht((l=(l=a.item().pharmacy)==null?null:l.name)?12:13,l),Q(2),ht(a.displayAllDetails()&&!a.isProfessional()?14:-1),Q(2),Ge(Me(17,13,"deliveredMedicationDetails.dguid")),Q(3),Ge(a.item().dguid)}},dependencies:[ki,nie,tie,KY,eie,rie,Yae,mie],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}.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%] ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"]});let e=t;return e})(),Noe=["*"],Ooe=new K("MAT_CARD_CONFIG"),Moe=(()=>{const t=class t{constructor(){s(this,"appearance");let n=C(Ooe,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&Pn("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Noe,decls:1,vars:0,template:function(n,a){n&1&&(xi(),Zn(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
38
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Poe=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Roe=["*"],Aoe=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function Loe(e,t){e&1&&Zn(0)}function Foe(e,t){if(e&1&&(re(0,"div",0),Be(1,Loe,1,0),ne()),e&2){let r=Ee(),n=Cm(0),a=Cm(1);xt("ngClass",CZ(5,Aoe,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),Ln("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),Q(),ht(n==="custom-content"?1:-1)}}var
|
|
36
|
+
Probeer het later nog eens.`,x2="De patiënt heeft 1 of meerdere voorschriften verborgen.",E2="Technisch probleem",S2="Probeer het later opnieuw.",k2="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",C2="gebruiksvoorwaarden",I2="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",D2="Probleem melden",T2="Niet melden",N2="Het probleem is gemeld",O2="Gegevens niet beschikbaar",M2="Actie niet toegestaan",P2="Sluiten",R2="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",A2="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",Qre={VIDIS_0035:DD,VIDIS_0050:TD,VIDIS_0090:ND,VIDIS_0121:OD,VIDIS_0122:MD,VIDIS_0123:PD,VIDIS_0124:RD,VIDIS_0125:AD,VIDIS_0126:LD,VIDIS_0131:FD,VIDIS_0132:jD,VIDIS_0133:VD,VIDIS_0134:zD,VIDIS_0135:BD,VIDIS_0136:HD,VIDIS_0190:qD,VIDIS_0210:$D,VIDIS_0211:UD,VIDIS_0230:GD,VIDIS_0290:WD,VIDIS_0330:ZD,VIDIS_0435:YD,VIDIS_0440:KD,VIDIS_5000:QD,VIDIS_7000:XD,VIDIS_3150:JD,VIDIS_3090:e2,VIDIS_3140:t2,VIDIS_3100:n2,VIDIS_3120:r2,VIDIS_0400:a2,VIDIS_3030:i2,VIDIS_0100:o2,VIDIS_0120:s2,VIDIS_0110:l2,VIDIS_0200:u2,VIDIS_0340:c2,VIDIS_0341:d2,VIDIS_04001:h2,prescriptionList:p2,general:m2,"no-access":f2,myHealth:g2,myHealthUrl:v2,network_error:b2,invalid_date_format:y2,"status-message-title":_2,"status-message-content":w2,"has-hidden-prescriptions":x2,"report-message-title":E2,"report-message-explanation":S2,"report-message-content":k2,"report-message-term-use":C2,"report-message-link":I2,"report-message-report-button":D2,"report-message-ignore-button":T2,"report-message-confirm-toast":N2,"data-not-available-title":O2,"action-not-authorized-title":M2,"action-not-authorized-close-button":P2,"incorrect-elements-ms-list":R2,"incorrect-elements-ms-detail":A2},Xre={nl:ID,fr:bI,de:ek,en:uC},L2={};oe(L2,{1:()=>F2,10:()=>G2,11:()=>W2,12:()=>Z2,13:()=>Y2,14:()=>K2,15:()=>Q2,16:()=>X2,17:()=>J2,18:()=>eT,19:()=>tT,2:()=>j2,20:()=>nT,21:()=>rT,22:()=>aT,23:()=>iT,24:()=>oT,25:()=>sT,26:()=>lT,27:()=>uT,28:()=>cT,29:()=>dT,3:()=>V2,30:()=>hT,31:()=>pT,32:()=>mT,33:()=>fT,34:()=>gT,4:()=>z2,40:()=>vT,41:()=>bT,5:()=>B2,6:()=>H2,7:()=>q2,71:()=>yT,8:()=>$2,9:()=>U2,90:()=>_T,91:()=>wT,92:()=>xT,93:()=>ET,default:()=>Jre});var F2="Gelatinekapseln",j2="Tabletten",V2="Creme",z2="Gel",B2="Paste",H2="Fette Salbe",q2="Granulat",$2="Zäpfchen für Erwachsene",U2="Zäpfchen für Kinder",G2="Vaginalzäpfchen",W2="Rektiole",Z2="nicht gespaltenes Pulver innerliche Anwendung",Y2="nicht gespaltenes Pulver äußerliche Anwendung",K2="Inhalation",Q2="Pulver Zum Spalten innerliche Anwendung",X2="Pulver Zum Spalten äußerliche Anwendung",J2="Nasentropfen",eT="Nasensalbe",tT="Sirup",nT="Lösung innerliche Anwendung",rT="Lösung äußerliche Anwendung",aT="Tropfen innerliche Anwendung",iT="Tropfen äußerliche Anwendung",oT="Emulsion innerliche Anwendung",sT="Emulsion äußerliche Anwendung",lT="Shampoo",uT="Augentropfen",cT="Augenlotion",dT="Augenbad",hT="Salbe",pT="Augensalbe ",mT="Ohrentropfen",fT="Suspension innerliche Anwendung",gT="Suspension äußerliche Anwendung",vT="Kräutermischung",bT="Tee",yT="enterische Kapseln",_T="derartig",wT="Dermatologie (fest) derartig",xT="Pulver derartig",ET="Lösung derartig",Jre={1:F2,2:j2,3:V2,4:z2,5:B2,6:H2,7:q2,8:$2,9:U2,10:G2,11:W2,12:Z2,13:Y2,14:K2,15:Q2,16:X2,17:J2,18:eT,19:tT,20:nT,21:rT,22:aT,23:iT,24:oT,25:sT,26:lT,27:uT,28:cT,29:dT,30:hT,31:pT,32:mT,33:fT,34:gT,40:vT,41:bT,71:yT,90:_T,91:wT,92:xT,93:ET},ST={};oe(ST,{1:()=>kT,10:()=>RT,11:()=>AT,12:()=>LT,13:()=>FT,14:()=>jT,15:()=>VT,16:()=>zT,17:()=>BT,18:()=>HT,19:()=>qT,2:()=>CT,20:()=>$T,21:()=>UT,22:()=>GT,23:()=>WT,24:()=>ZT,25:()=>YT,26:()=>KT,27:()=>QT,28:()=>XT,29:()=>JT,3:()=>IT,30:()=>eN,31:()=>tN,32:()=>nN,33:()=>rN,34:()=>aN,4:()=>DT,40:()=>iN,41:()=>oN,5:()=>TT,6:()=>NT,7:()=>OT,71:()=>sN,8:()=>MT,9:()=>PT,90:()=>lN,91:()=>uN,92:()=>cN,93:()=>dN,default:()=>eae});var kT="Capsules",CT="Tablets",IT="Cream",DT="Gel",TT="Paste",NT="Fatty ointment",OT="Granulate",MT="Adult suppository",PT="Child suppository",RT="Vaginal ovules",AT="Rectiole",LT="Undivided powder for internal use",FT="Undivided powder for external use",jT="Inhalation",VT="Divided powders for internal use",zT="Divided powders for external use",BT="Nasal drops",HT="Nasal ointment",qT="Syrup",$T="Solution for internal use",UT="Solution for external use",GT="Drops for internal use",WT="Drops for external use",ZT="Emulsion for internal use",YT="Emulsion for external use",KT="Shampoo",QT="Eye drops",XT="Eye lotion",JT="Eye bath",eN="Ointment",tN="Eye ointment",nN="Ear drops",rN="Suspension for internal use",aN="Suspension for external use",iN="Herbal mixture",oN="Tea",sN="Enteric-coated capsules",lN="As is",uN="Dermatology (solid) as is",cN="Powder as is",dN="Liquid as is",eae={1:kT,2:CT,3:IT,4:DT,5:TT,6:NT,7:OT,8:MT,9:PT,10:RT,11:AT,12:LT,13:FT,14:jT,15:VT,16:zT,17:BT,18:HT,19:qT,20:$T,21:UT,22:GT,23:WT,24:ZT,25:YT,26:KT,27:QT,28:XT,29:JT,30:eN,31:tN,32:nN,33:rN,34:aN,40:iN,41:oN,71:sN,90:lN,91:uN,92:cN,93:dN},hN={};oe(hN,{1:()=>pN,10:()=>xN,11:()=>EN,12:()=>SN,13:()=>kN,14:()=>CN,15:()=>IN,16:()=>DN,17:()=>TN,18:()=>NN,19:()=>ON,2:()=>mN,20:()=>MN,21:()=>PN,22:()=>RN,23:()=>AN,24:()=>LN,25:()=>FN,26:()=>jN,27:()=>VN,28:()=>zN,29:()=>BN,3:()=>fN,30:()=>HN,31:()=>qN,32:()=>$N,33:()=>UN,34:()=>GN,4:()=>gN,40:()=>WN,41:()=>ZN,5:()=>vN,6:()=>bN,7:()=>yN,71:()=>YN,8:()=>_N,9:()=>wN,90:()=>KN,91:()=>QN,92:()=>XN,93:()=>JN,default:()=>tae});var pN="Gélules",mN="Cachets / comprimés",fN="Crème",gN="Gel",vN="Pâte",bN="Pommade grasse",yN="Granulé",_N="Suppo adulte",wN="Suppo enfant",xN="Ovules vaginales",EN="Rectiole",SN="Poudre non-divisée usage interne",kN="Poudre non-divisée usage externe",CN="Inhalation",IN="Poudres à diviser usage interne",DN="Poudres à diviser usage externe",TN="Gouttes nasales",NN="Pommade nasale",ON="Sirop",MN="Solution usage interne",PN="Solution usage externe",RN="Gouttes usage interne",AN="Gouttes usage externe",LN="Emulsion usage interne",FN="Emulsion usage externe",jN="Shampooing",VN="Gouttes ophtalmiques",zN="Lotion ophtalmique",BN="Bain ophtalmique",HN="Pommade",qN="Pommade ophtalmique",$N="Gouttes auriculaires",UN="Suspension usage interne",GN="Suspension usage externe",WN="Mélange de plantes",ZN="Thé",YN="Gélules à enrobage entérique / Gélules entériques",KN="en tant que tel/telle",QN="Dermatologie (solide) en tant que telle",XN="Poudre en tant que telle ",JN="Solution en tant que telle ",tae={1:pN,2:mN,3:fN,4:gN,5:vN,6:bN,7:yN,8:_N,9:wN,10:xN,11:EN,12:SN,13:kN,14:CN,15:IN,16:DN,17:TN,18:NN,19:ON,20:MN,21:PN,22:RN,23:AN,24:LN,25:FN,26:jN,27:VN,28:zN,29:BN,30:HN,31:qN,32:$N,33:UN,34:GN,40:WN,41:ZN,71:YN,90:KN,91:QN,92:XN,93:JN},eO={};oe(eO,{1:()=>tO,10:()=>cO,11:()=>dO,12:()=>hO,13:()=>pO,14:()=>mO,15:()=>fO,16:()=>gO,17:()=>vO,18:()=>bO,19:()=>yO,2:()=>nO,20:()=>_O,21:()=>wO,22:()=>xO,23:()=>EO,24:()=>SO,25:()=>kO,26:()=>CO,27:()=>IO,28:()=>DO,29:()=>TO,3:()=>rO,30:()=>NO,31:()=>OO,32:()=>MO,33:()=>PO,34:()=>RO,4:()=>aO,40:()=>AO,41:()=>LO,5:()=>iO,6:()=>oO,7:()=>sO,71:()=>FO,8:()=>lO,9:()=>uO,90:()=>jO,91:()=>VO,92:()=>zO,93:()=>BO,default:()=>nae});var tO="Capsules",nO="Tabletten",rO="Creme",aO="Gel",iO="Pasta",oO="Vette zalf",sO="Granulaat",lO="Suppo volwassene",uO="Suppo kind",cO="Vaginale zetpillen / vaginale ovules",dO="Rektiool",hO="Niet-verdeeld poeder inwendig gebruik",pO="Niet-verdeeld poeder uitwendig gebruik",mO="Inhalatie",fO="Te verdelen poeders inwendig gebruik",gO="Te verdelen poeders uitwendig gebruik",vO="Neusdruppels",bO="Neuszalf",yO="Siroop",_O="Oplossing inwendig gebruik",wO="Oplossing uitwendig gebruik",xO="Druppels inwendig gebruik",EO="Druppels uitwendig gebruik",SO="Emulsie inwendig gebruik",kO="Emulsie uitwendig gebruik",CO="Shampoo",IO="Oogdruppels",DO="Ooglotion",TO="Oogbad",NO="Zalf",OO="Oogzalf",MO="Oordruppels",PO="Suspensie inwendig gebruik",RO="Suspensie uitwendig gebruik",AO="Kruidenmengsel",LO="Thee",FO="enterisch omhulde capsules",jO="Als dusdanig",VO="Als dusdanig dermatologie (vast)",zO="Als dusdanig poeder",BO="Als dusdanig vloeistof",nae={1:tO,2:nO,3:rO,4:aO,5:iO,6:oO,7:sO,8:lO,9:uO,10:cO,11:dO,12:hO,13:pO,14:mO,15:fO,16:gO,17:vO,18:bO,19:yO,20:_O,21:wO,22:xO,23:EO,24:SO,25:kO,26:CO,27:IO,28:DO,29:TO,30:NO,31:OO,32:MO,33:PO,34:RO,40:AO,41:LO,71:FO,90:jO,91:VO,92:zO,93:BO},rae={nl:eO,fr:hN,de:L2,en:ST},HO={};oe(HO,{close:()=>qO,default:()=>aae,downloadLeaflet:()=>$O,file:()=>UO,notSpecified:()=>GO,patient:()=>ZO,prescribedOn:()=>KO,prescriber:()=>YO,prescription:()=>WO});var qO="Schließen",$O="Download Packungsbeilage (pdf)",UO="feile",GO="Nicht angegeben",WO="Rezept",ZO="Patient",YO="Verordnende Person",KO="Drucken",aae={close:qO,downloadLeaflet:$O,file:UO,notSpecified:GO,prescription:WO,patient:ZO,prescriber:YO,prescribedOn:KO},QO={};oe(QO,{close:()=>XO,default:()=>iae,downloadLeaflet:()=>JO,file:()=>eM,notSpecified:()=>tM,patient:()=>rM,prescribedOn:()=>iM,prescriber:()=>aM,prescription:()=>nM});var XO="Close",JO="Download leaflet (pdf)",eM="file",tM="Not specified",nM="Prescription",rM="Patient",aM="Prescriber",iM="Prescribed on",iae={close:XO,downloadLeaflet:JO,file:eM,notSpecified:tM,prescription:nM,patient:rM,prescriber:aM,prescribedOn:iM},oM={};oe(oM,{close:()=>sM,default:()=>oae,downloadLeaflet:()=>lM,file:()=>uM,notSpecified:()=>cM,patient:()=>hM,prescribedOn:()=>mM,prescriber:()=>pM,prescription:()=>dM});var sM="Fermer",lM="Télécharger la notice (pdf)",uM="fichier",cM="Non spécifié",dM="Prescription",hM="Patient",pM="Prescripteur",mM="Prescrit le",oae={close:sM,downloadLeaflet:lM,file:uM,notSpecified:cM,prescription:dM,patient:hM,prescriber:pM,prescribedOn:mM},fM={};oe(fM,{close:()=>gM,default:()=>sae,downloadLeaflet:()=>vM,file:()=>bM,notSpecified:()=>yM,patient:()=>wM,prescribedOn:()=>EM,prescriber:()=>xM,prescription:()=>_M});var gM="Sluiten",vM="Download bijsluiter (pdf)",bM="bestand",yM="Niet gespecificeerd",_M="Voorschrift",wM="Patiënt",xM="Voorschrijver",EM="Voorgeschreven op",sae={close:gM,downloadLeaflet:vM,file:bM,notSpecified:yM,prescription:_M,patient:wM,prescriber:xM,prescribedOn:EM},lae={nl:fM,fr:oM,de:HO,en:QO},SM={};oe(SM,{afterbreakfast:()=>kM,afterdinner:()=>CM,afterlunch:()=>IM,aftermeal:()=>DM,afternoon:()=>TM,beforebreakfast:()=>NM,beforedinner:()=>OM,beforelunch:()=>MM,betweenbreakfastandlunch:()=>PM,betweendinnerandsleep:()=>RM,betweenlunchanddinner:()=>AM,betweenmeals:()=>LM,breakfast:()=>FM,default:()=>uae,dinner:()=>jM,duringbreakfast:()=>VM,duringdinner:()=>zM,duringlunch:()=>BM,evening:()=>HM,lunch:()=>qM,morning:()=>$M,night:()=>UM,thehourofsleep:()=>GM});var kM="nach dem Frühstück",CM="nach dem Abendessen",IM="nach dem Mittagessen",DM="nach dem Essen",TM="Nachmittag",NM="vor dem Frühstück",OM="vor dem Abendessen",MM="vor dem Mittagessen",PM="zwischen Frühstück und Mittagessen",RM="zwischen Abendessen und Nachtruhe",AM="zwischen Mittagessen und Abendessen",LM="zwischen den Mahlzeiten",FM="Frühstück",jM="Abendessen",VM="zum Frühstück",zM="zum Abendessen",BM="zum Mittagessen",HM="Abend",qM="Mittagessen",$M="Vormittag",UM="Nacht",GM="Nachtruhe",uae={afterbreakfast:kM,afterdinner:CM,afterlunch:IM,aftermeal:DM,afternoon:TM,beforebreakfast:NM,beforedinner:OM,beforelunch:MM,betweenbreakfastandlunch:PM,betweendinnerandsleep:RM,betweenlunchanddinner:AM,betweenmeals:LM,breakfast:FM,dinner:jM,duringbreakfast:VM,duringdinner:zM,duringlunch:BM,evening:HM,lunch:qM,morning:$M,night:UM,thehourofsleep:GM},WM={};oe(WM,{afterbreakfast:()=>ZM,afterdinner:()=>YM,afterlunch:()=>KM,aftermeal:()=>QM,afternoon:()=>XM,beforebreakfast:()=>JM,beforedinner:()=>eP,beforelunch:()=>tP,betweenbreakfastandlunch:()=>nP,betweendinnerandsleep:()=>rP,betweenlunchanddinner:()=>aP,betweenmeals:()=>iP,breakfast:()=>oP,default:()=>cae,dinner:()=>sP,duringbreakfast:()=>lP,duringdinner:()=>uP,duringlunch:()=>cP,evening:()=>dP,lunch:()=>hP,morning:()=>pP,night:()=>mP,thehourofsleep:()=>fP});var ZM="after breakfast",YM="after dinner",KM="after lunch",QM="after meal",XM="afternoon",JM="before breakfast",eP="before dinner",tP="before lunch",nP="between breakfast and lunch",rP="between dinner and the hour of sleep",aP="between lunch and dinner",iP="between meals",oP="breakfast",sP="dinner",lP="during breakfast",uP="during dinner",cP="during lunch",dP="evening",hP="lunch",pP="morning",mP="night",fP="the hour of sleep",cae={afterbreakfast:ZM,afterdinner:YM,afterlunch:KM,aftermeal:QM,afternoon:XM,beforebreakfast:JM,beforedinner:eP,beforelunch:tP,betweenbreakfastandlunch:nP,betweendinnerandsleep:rP,betweenlunchanddinner:aP,betweenmeals:iP,breakfast:oP,dinner:sP,duringbreakfast:lP,duringdinner:uP,duringlunch:cP,evening:dP,lunch:hP,morning:pP,night:mP,thehourofsleep:fP},gP={};oe(gP,{afterbreakfast:()=>vP,afterdinner:()=>bP,afterlunch:()=>yP,aftermeal:()=>_P,afternoon:()=>wP,beforebreakfast:()=>xP,beforedinner:()=>EP,beforelunch:()=>SP,betweenbreakfastandlunch:()=>kP,betweendinnerandsleep:()=>CP,betweenlunchanddinner:()=>IP,betweenmeals:()=>DP,breakfast:()=>TP,default:()=>dae,dinner:()=>NP,duringbreakfast:()=>OP,duringdinner:()=>MP,duringlunch:()=>PP,evening:()=>RP,lunch:()=>AP,morning:()=>LP,night:()=>FP,thehourofsleep:()=>jP});var vP="après le petit-déjeuner",bP="après le repas du soir",yP="après le repas du midi",_P="après le repas",wP="après-midi",xP="avant le petit-déjeuner",EP="avant le repas du soir",SP="avant le repas du midi",kP="entre le petit-déjeuner et le repas du midi",CP="entre le repas du soir et l’heure du coucher",IP="entre le repas du midi et le repas du soir",DP="entre les repas",TP="petit-déjeuner",NP="repas du soir",OP="pendant le petit-déjeuner",MP="pendant le repas du soir",PP="pendant le repas du midi",RP="soir",AP="repas du midi",LP="matin",FP="nuit",jP="heure du coucher",dae={afterbreakfast:vP,afterdinner:bP,afterlunch:yP,aftermeal:_P,afternoon:wP,beforebreakfast:xP,beforedinner:EP,beforelunch:SP,betweenbreakfastandlunch:kP,betweendinnerandsleep:CP,betweenlunchanddinner:IP,betweenmeals:DP,breakfast:TP,dinner:NP,duringbreakfast:OP,duringdinner:MP,duringlunch:PP,evening:RP,lunch:AP,morning:LP,night:FP,thehourofsleep:jP},VP={};oe(VP,{afterbreakfast:()=>zP,afterdinner:()=>BP,afterlunch:()=>HP,aftermeal:()=>qP,afternoon:()=>$P,beforebreakfast:()=>UP,beforedinner:()=>GP,beforelunch:()=>WP,betweenbreakfastandlunch:()=>ZP,betweendinnerandsleep:()=>YP,betweenlunchanddinner:()=>KP,betweenmeals:()=>QP,breakfast:()=>XP,default:()=>hae,dinner:()=>JP,duringbreakfast:()=>eR,duringdinner:()=>tR,duringlunch:()=>nR,evening:()=>rR,lunch:()=>aR,morning:()=>iR,night:()=>oR,thehourofsleep:()=>sR});var zP="na het ontbijt",BP="na het avondmaal",HP="na het middagmaal",qP="na de maaltijd",$P="namiddag",UP="voor het ontbijt",GP="voor het avondmaal",WP="voor het middagmaal",ZP="tussen het ontbijt en het middagmaal",YP="tussen het avondmaal en het slapen gaan",KP="tussen het middagmaal en het avondmaal",QP="tussen de maaltijden",XP="ontbijt",JP="avondmaal",eR="tijdens het ontbijt",tR="tijdens het avondmaal",nR="tijdens het middagmaal",rR="'s avonds",aR="middagmaal",iR="'s ochtends",oR="'s nachts",sR="voor het slapen gaan",hae={afterbreakfast:zP,afterdinner:BP,afterlunch:HP,aftermeal:qP,afternoon:$P,beforebreakfast:UP,beforedinner:GP,beforelunch:WP,betweenbreakfastandlunch:ZP,betweendinnerandsleep:YP,betweenlunchanddinner:KP,betweenmeals:QP,breakfast:XP,dinner:JP,duringbreakfast:eR,duringdinner:tR,duringlunch:nR,evening:rR,lunch:aR,morning:iR,night:oR,thehourofsleep:sR},pae={nl:VP,fr:gP,de:SM,en:WM},lR={};oe(lR,{day:()=>uR,default:()=>mae,during:()=>hR,on:()=>dR,week:()=>cR});var uR="Tag",cR="Woche",dR="am",hR="für",mae={day:uR,week:cR,on:dR,during:hR},pR={};oe(pR,{day:()=>mR,default:()=>fae,during:()=>vR,on:()=>gR,week:()=>fR});var mR="day",fR="week",gR="on",vR="during",fae={day:mR,week:fR,on:gR,during:vR},bR={};oe(bR,{day:()=>yR,default:()=>gae,during:()=>xR,on:()=>wR,week:()=>_R});var yR="jour",_R="semaine",wR="le",xR="durant",gae={day:yR,week:_R,on:wR,during:xR},ER={};oe(ER,{day:()=>SR,default:()=>vae,during:()=>IR,on:()=>CR,week:()=>kR});var SR="dag",kR="week",CR="op",IR="gedurende",vae={day:SR,week:kR,on:CR,during:IR},bae={nl:ER,fr:bR,de:lR,en:pR},DR={};oe(DR,{a:()=>TR,d:()=>MR,default:()=>yae,hr:()=>PR,min:()=>RR,mo:()=>NR,ms:()=>LR,ns:()=>jR,s:()=>AR,us:()=>FR,wk:()=>OR});var TR="{count} {count, plural, one{Jahr} other{Jahre}}",NR="{count} {count, plural, one{Monat} other{Monate}}",OR="{count} {count, plural, one{Woche} other{Wochen}}",MR="{count} {count, plural, one{Tag} other{Tage}}",PR="{count} {count, plural, one{Stunde} other{Stunden}}",RR="{count} {count, plural, one{Minute} other{Minuten}}",AR="{count} {count, plural, one{Sekunde} other{Sekunden}} ",LR="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",FR="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",jR="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",yae={a:TR,mo:NR,wk:OR,d:MR,hr:PR,min:RR,s:AR,ms:LR,us:FR,ns:jR},VR={};oe(VR,{a:()=>zR,d:()=>qR,default:()=>_ae,hr:()=>$R,min:()=>UR,mo:()=>BR,ms:()=>WR,ns:()=>YR,s:()=>GR,us:()=>ZR,wk:()=>HR});var zR="{count} {count, plural, one{year} other{years}}",BR="{count} {count, plural, one{month} other{months}}",HR="{count} {count, plural, one{week} other{weeks}}",qR="{count} {count, plural, one{day} other{days}}",$R="{count} {count, plural, one{hour} other{hours}}",UR="{count} {count, plural, one{minute} other{minutes}}",GR="{count} {count, plural, one{second} other{seconds}}",WR="{count} {count, plural, one{millisecond} other{millisecondes}}",ZR="{count} {count, plural, one{microsecond} other{microsecondes}}",YR="{count} {count, plural, one{nanosecond} other{nanosecondes}}",_ae={a:zR,mo:BR,wk:HR,d:qR,hr:$R,min:UR,s:GR,ms:WR,us:ZR,ns:YR},KR={};oe(KR,{a:()=>QR,d:()=>eA,default:()=>wae,hr:()=>tA,min:()=>nA,mo:()=>XR,ms:()=>aA,ns:()=>oA,s:()=>rA,us:()=>iA,wk:()=>JR});var QR="{count} {count, plural, one{année} other{années}}",XR="{count} {count, plural, one{mois} other{mois}}",JR="{count} {count, plural, one{semaine} other{semaines}}",eA="{count} {count, plural, one{jour} other{jours}}",tA="{count} {count, plural, one{heure} other{heures}}",nA="{count} {count, plural, one{minute} other{minutes}}",rA="{count} {count, plural, one{seconde} other{secondes}}",aA="{count} {count, plural, one{milliseconde} other{millisecondes}}",iA="{count} {count, plural, one{microseconde} other{microsecondes}}",oA="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",wae={a:QR,mo:XR,wk:JR,d:eA,hr:tA,min:nA,s:rA,ms:aA,us:iA,ns:oA},sA={};oe(sA,{a:()=>lA,d:()=>dA,default:()=>xae,hr:()=>hA,min:()=>pA,mo:()=>uA,ms:()=>fA,ns:()=>vA,s:()=>mA,us:()=>gA,wk:()=>cA});var lA="{count} {count, plural, one{jaar} other{jaren}}",uA="{count} {count, plural, one{maand} other{maanden}}",cA="{count} {count, plural, one{week} other{weken}}",dA="{count} {count, plural, one{dag} other{dagen}}",hA="{count} {count, plural, one{uur} other{uren}}",pA="{count} {count, plural, one{minuut} other{minuten}}",mA="{count} {count, plural, one{seconde} other{seconden}}",fA="{count} {count, plural, one{milliseconde} other{milliseconden}}",gA="{count} {count, plural, one{microseconde} other{microseconden}}",vA="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",xae={a:lA,mo:uA,wk:cA,d:dA,hr:hA,min:pA,s:mA,ms:fA,us:gA,ns:vA},Eae={nl:sA,fr:KR,de:DR,en:VR},bA={};oe(bA,{"%":()=>yA,"%vv":()=>DL,"%wv":()=>TL,"%ww":()=>NL,"1000/mm3":()=>$A,amp:()=>_A,atptreatment:()=>SF,bag:()=>wA,bitperminute:()=>OL,bol:()=>ML,bot:()=>PL,box:()=>xA,c:()=>cF,can:()=>RL,cap:()=>AL,cc:()=>LL,cm:()=>FL,cmm:()=>UA,cnt:()=>dF,ctg:()=>uL,ctr:()=>jL,daily:()=>uF,day:()=>GA,default:()=>Sae,degree:()=>qA,dis:()=>KA,drm:()=>hF,fl:()=>EA,fld:()=>QA,flo:()=>XA,ftc:()=>JA,fts:()=>eL,"g/dl":()=>SA,gal:()=>cL,gm:()=>kA,goutte:()=>lL,gr:()=>VL,hour:()=>sL,in:()=>zL,inc:()=>BL,jar:()=>HL,kg:()=>CA,"kg/m2":()=>IA,kit:()=>qL,l:()=>DA,lb:()=>TA,lm:()=>pF,loz:()=>sF,mcg:()=>NA,mcl:()=>OA,mcm:()=>dL,mcn:()=>$L,meq:()=>MA,mg:()=>PA,"mg/dl":()=>RA,"mg/l":()=>AA,"mg/m2":()=>LA,"mg/ml":()=>FA,mgper100ml:()=>pL,mic:()=>UL,mil:()=>GL,millisecond:()=>oL,min:()=>WL,minute:()=>tL,mis:()=>mF,ml:()=>jA,"ml/min":()=>VA,"ml/min/1.73m2":()=>iF,mm:()=>nL,"mm/h":()=>rL,mmhg:()=>aL,mmo:()=>ZL,mol:()=>zA,month:()=>YA,nl:()=>YL,nmg:()=>fF,nmo:()=>gF,ns:()=>_L,ondemand:()=>hL,oz:()=>BA,pel:()=>KL,pg:()=>yL,pkg:()=>QL,pnu:()=>vF,ppm:()=>HA,pt:()=>XL,qs:()=>JL,qt:()=>eF,sap:()=>kF,sat:()=>bF,second:()=>iL,shock:()=>oF,spoon:()=>WA,spr:()=>mL,sqc:()=>tF,stp:()=>yF,sup:()=>wL,syr:()=>gL,tab:()=>xL,tbl:()=>EL,tes:()=>SL,ton:()=>IL,tpn:()=>vL,trc:()=>_F,tro:()=>lF,tsp:()=>CL,tub:()=>bL,umg:()=>nF,unt:()=>kL,vil:()=>fL,vpr:()=>wF,waf:()=>xF,week:()=>ZA,x:()=>EF,ydl:()=>rF,yds:()=>aF});var yA="%",_A="{count, plural, one{Glühbirn} other{Glühbirnen}}",wA="Beutel",xA="schachteln",EA="fl",SA="g/dl",kA="g",CA="kg",IA="kg/m²",DA="l",TA="lb",NA="µg",OA="µl",MA="meq",PA="mg",RA="mg/dl",AA="mg/l",LA="mg/m²",FA="mg/ml",jA="ml",VA="ml/min",zA="mol",BA="oz",HA="ppm",qA="°",$A="1000/mm³",UA="mm³",GA="{count, plural, one{Tag} other{Tage}}",WA="Löffel",ZA="{count, plural, one{Woche} other{Wochen}}",YA="{count, plural, one{Monat} other{Monate}}",KA="{count, plural, one{Platte} other{Platten}}",QA="fl dr",XA="fl oz",JA="cu ft",eL="sq ft",tL="{count, plural, one{Minute} other{Minuten}}",nL="mm",rL="mm/h",aL="mmHg",iL="{count, plural, one{Sekunde} other{Sekunden}}",oL="{count, plural, one{Millisekunde} other{Millisekunden}}",sL="{count, plural, one{Stunde} other{Stunden}}",lL="{count, plural, one{Tropf} other{Tropfen}}",uL="{count, plural, one{Kartusche} other{Kartuschen}}",cL="gal",dL="mmol",hL="auf Antrag",pL="mg/100mL",mL="{count, plural, one{Sprühe} other{Sprühen}}",fL="{count, plural, one{Phiole} other{Phiolen}}",gL="{count, plural, one{Spritze} other{Spritzen}}",vL="Tampon",bL="{count, plural, one{Rohr} other{Rohre}}",yL="pg",_L="nicht spezifiziert",wL="{count, plural, one{Zäpfch} other{Zäpfchen}}",xL="{count, plural, one{Tablette} other{Tabletten}}",EL="Esslöffel",SL="Test",kL="{count, plural, one{Einheit} other{Einheiten}}",CL="teelöffel",IL="ton",DL="% v/v",TL="% w/v",NL="% w/w",OL="Schläge pro Minute",ML="Bolus",PL="{count, plural, one{Flasche} other{Fläschchen}}",RL="Dose",AL="{count, plural, one{Kapsel} other{Kapseln}}",LL="cm3",FL="cm",jL="Halter",VL="Körnchen",zL="in",BL="in²",HL="Glas",qL="Kitt",$L="Micron",UL="µCi",GL="mCi",WL="minim",ZL="μmol",YL="normal",KL="{count, plural, one{Pille} other{Pillen}}",QL="{count, plural, one{Paket} other{Pakete}}",XL="Pinte",JL="ausreichende Menge",eF="qt",tF="cm²",nF="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",rF="yd",aF="yd²",iF="mL/min/1.73m²",oF="{count, plural, one{Schock} other{Schocks}}",sF="{count, plural, one{Pastille} other{Pastillen}}",lF="{count, plural, one{Pastille} other{Pastillen}}",uF="täglich",cF="homöopathische Verdünnung (Centesimal 1/100)",dF="cnt",hF="Fass",pF="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",mF="verschiedene",fF="ng",gF="nmol",vF="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",bF="gesättigt",yF="Strip",_F="Spur",wF="Therapieschema abhängig",xF="{count, plural, one{Oblate} other{Oblaten}}",EF="homöopathische Verdünnung (dezimal 1/10)",SF="anzahl der antitachykardie-stimulationsbehandlungen",kF="Kumulativer sap wert",Sae={"%":yA,amp:_A,bag:wA,box:xA,fl:EA,"g/dl":SA,gm:kA,kg:CA,"kg/m2":IA,l:DA,lb:TA,mcg:NA,mcl:OA,meq:MA,mg:PA,"mg/dl":RA,"mg/l":AA,"mg/m2":LA,"mg/ml":FA,ml:jA,"ml/min":VA,mol:zA,oz:BA,ppm:HA,degree:qA,"1000/mm3":$A,cmm:UA,day:GA,spoon:WA,week:ZA,month:YA,dis:KA,fld:QA,flo:XA,ftc:JA,fts:eL,minute:tL,mm:nL,"mm/h":rL,mmhg:aL,second:iL,millisecond:oL,hour:sL,goutte:lL,ctg:uL,gal:cL,mcm:dL,ondemand:hL,mgper100ml:pL,spr:mL,vil:fL,syr:gL,tpn:vL,tub:bL,pg:yL,ns:_L,sup:wL,tab:xL,tbl:EL,tes:SL,unt:kL,tsp:CL,ton:IL,"%vv":DL,"%wv":TL,"%ww":NL,bitperminute:OL,bol:ML,bot:PL,can:RL,cap:AL,cc:LL,cm:FL,ctr:jL,gr:VL,in:zL,inc:BL,jar:HL,kit:qL,mcn:$L,mic:UL,mil:GL,min:WL,mmo:ZL,nl:YL,pel:KL,pkg:QL,pt:XL,qs:JL,qt:eF,sqc:tF,umg:nF,ydl:rF,yds:aF,"ml/min/1.73m2":iF,shock:oF,loz:sF,tro:lF,daily:uF,c:cF,cnt:dF,drm:hF,lm:pF,mis:mF,nmg:fF,nmo:gF,pnu:vF,sat:bF,stp:yF,trc:_F,vpr:wF,waf:xF,x:EF,atptreatment:SF,sap:kF},CF={};oe(CF,{"%":()=>IF,"%vv":()=>DF,"%wv":()=>TF,"%ww":()=>NF,"1000/mm3":()=>OF,amp:()=>MF,atptreatment:()=>PF,bag:()=>RF,bitperminute:()=>AF,bol:()=>LF,bot:()=>FF,box:()=>jF,c:()=>VF,can:()=>zF,cap:()=>BF,cc:()=>HF,cm:()=>qF,cmm:()=>$F,cnt:()=>UF,ctg:()=>GF,ctr:()=>WF,daily:()=>ZF,day:()=>YF,default:()=>kae,degree:()=>KF,dis:()=>QF,drm:()=>XF,fl:()=>JF,fld:()=>ej,flo:()=>tj,ftc:()=>nj,fts:()=>rj,"g/dl":()=>aj,gal:()=>ij,gm:()=>oj,goutte:()=>sj,gr:()=>lj,hour:()=>uj,in:()=>cj,inc:()=>dj,jar:()=>hj,kg:()=>pj,"kg/m2":()=>mj,kit:()=>fj,l:()=>gj,lb:()=>vj,lm:()=>bj,loz:()=>yj,mcg:()=>_j,mcl:()=>wj,mcm:()=>xj,mcn:()=>Ej,meq:()=>Sj,mg:()=>kj,"mg/dl":()=>Cj,"mg/l":()=>Ij,"mg/m2":()=>Dj,"mg/ml":()=>Tj,mgper100ml:()=>Nj,mic:()=>Oj,mil:()=>Mj,millisecond:()=>Pj,min:()=>Rj,minute:()=>Aj,mis:()=>Lj,ml:()=>Fj,"ml/min":()=>jj,"ml/min/1.73m2":()=>Vj,mm:()=>zj,"mm/h":()=>Bj,mmhg:()=>Hj,mmo:()=>qj,mol:()=>$j,month:()=>Uj,nl:()=>Gj,nmg:()=>Wj,nmo:()=>Zj,ns:()=>Yj,ondemand:()=>Kj,oz:()=>Qj,pel:()=>Xj,pg:()=>Jj,pkg:()=>e3,pnu:()=>t3,ppm:()=>n3,pt:()=>r3,qs:()=>a3,qt:()=>P3,sap:()=>i3,sat:()=>o3,second:()=>s3,shock:()=>l3,spoon:()=>u3,spr:()=>c3,sqc:()=>d3,stp:()=>h3,sup:()=>p3,syr:()=>m3,tab:()=>f3,tbl:()=>g3,tes:()=>v3,ton:()=>b3,tpn:()=>y3,trc:()=>_3,tro:()=>w3,tsp:()=>x3,tub:()=>E3,umg:()=>S3,unt:()=>k3,vil:()=>C3,vpr:()=>I3,waf:()=>D3,week:()=>T3,x:()=>N3,ydl:()=>O3,yds:()=>M3});var IF="%",DF="% v/v",TF="% w/v",NF="% w/w",OF="1000/mm³",MF="{count, plural, one{ampule} other{ampules}}",PF="Number of treatments by anti-tachycardia pacing",RF="{count, plural, one{bag} other{bags}}",AF="{count, plural, one{bit per minute} other{bits per minute}}",LF="bolus",FF="{count, plural, one{bottle} other{bottles}}",jF="{count, plural, one{box} other{boxes}}",VF="homeopathic dilution (centesimal 1/100)",zF="{count, plural, one{can} other{cans}}",BF="{count, plural, one{capsule} other{capsules}}",HF="cm³",qF="cm",$F="mm³",UF="cnt",GF="{count, plural, one{cartridge} other{cartridges}}",WF="{count, plural, one{container} other{containers}}",ZF="daily",YF="{count, plural, one{day} other{days}}",KF="°",QF="{count, plural, one{disk} other{disks}}",XF="drum",JF="{count, plural, one{fluid} other{fluids}}",ej="fl dr",tj="{count, plural, one{fluid ounce} other{fluid ounces}}",nj="cu ft",rj="sq ft",aj="g/dl",ij="{count, plural, one{gallon} other{gallons}}",oj="g",sj="{count, plural, one{drop} other{drops}}",lj="{count, plural, one{grain} other{grains}}",uj="{count, plural, one{hour} other{hours}}",cj="{count, plural, one{inch} other{inches}}",dj="in²",hj="{count, plural, one{jar} other{jars}}",pj="kg",mj="kg/m²",fj="kit",gj="{count, plural, one{liter} other{liters}}",vj="{count, plural, one{pound} other{pounds}}",bj="homeopathic dilution (fifty millesimal 1/50,000)",yj="{count, plural, one{lozenge} other{lozenges}}",_j="µg",wj="µl",xj="mmol",Ej="micron",Sj="milliequivalent",kj="mg",Cj="mg/dl",Ij="mg/l",Dj="mg/m²",Tj="mg/ml",Nj="mg/100mL",Oj="µCi",Mj="mCi",Pj="{count, plural, one{millisecond} other{milliseconds}}",Rj="minim",Aj="{count, plural, one{minute} other{minutes}}",Lj="miscellaneous",Fj="{count, plural, one{milliliter} other{milliliters}}",jj="ml/min",Vj="mL/min/1.73m²",zj="mm",Bj="mm/h",Hj="mmHg",qj="μmol",$j="mol",Uj="{count, plural, one{month} other{months}}",Gj="normal",Wj="ng",Zj="nmol",Yj="not stated",Kj="on demand",Qj="{count, plural, one{ounce} other{ounces}}",Xj="{count, plural, one{pellet} other{pellets}}",Jj="pg",e3="{count, plural, one{package} other{packages}}",t3="{count, plural, one{protein unit} other{protein unit}}",n3="ppm",r3="{count, plural, one{pint} other{pints}}",a3="quantity sufficient",i3="Cumulative sap value",o3="saturated",s3="{count, plural, one{second} other{seconds}}",l3="shock",u3="{count, plural, one{spoon} other{spoons}}",c3="{count, plural, one{spray} other{sprays}}",d3="cm²",h3="{count, plural, one{strip} other{strips}}",p3="{count, plural, one{suppository} other{suppositories}}",m3="{count, plural, one{syrynge} other{syrynges}}",f3="{count, plural, one{tablet} other{tablets}}",g3="{count, plural, one{tablespoon} other{tablespoons}}",v3="{count, plural, one{test} other{tests}}",b3="{count, plural, one{ton} other{tons}}",y3="{count, plural, one{tampon} other{tampons}}",_3="{count, plural, one{trace} other{traces}}",w3="{count, plural, one{troche} other{troches}}",x3="{count, plural, one{teaspoon} other{teaspoons}}",E3="{count, plural, one{tube} other{tubes}}",S3="UNITS PER MILLIGRAM",k3="{count, plural, one{unit} other{units}}",C3="{count, plural, one{vial} other{vials}}",I3="varies per regimen",D3="{count, plural, one{wafer} other{wafers}}",T3="{count, plural, one{week} other{weeks}}",N3="homeopathic dilution (decimal 1/10)",O3="yd",M3="yd²",P3="qt",kae={"%":IF,"%vv":DF,"%wv":TF,"%ww":NF,"1000/mm3":OF,amp:MF,atptreatment:PF,bag:RF,bitperminute:AF,bol:LF,bot:FF,box:jF,c:VF,can:zF,cap:BF,cc:HF,cm:qF,cmm:$F,cnt:UF,ctg:GF,ctr:WF,daily:ZF,day:YF,degree:KF,dis:QF,drm:XF,fl:JF,fld:ej,flo:tj,ftc:nj,fts:rj,"g/dl":aj,gal:ij,gm:oj,goutte:sj,gr:lj,hour:uj,in:cj,inc:dj,jar:hj,kg:pj,"kg/m2":mj,kit:fj,l:gj,lb:vj,lm:bj,loz:yj,mcg:_j,mcl:wj,mcm:xj,mcn:Ej,meq:Sj,mg:kj,"mg/dl":Cj,"mg/l":Ij,"mg/m2":Dj,"mg/ml":Tj,mgper100ml:Nj,mic:Oj,mil:Mj,millisecond:Pj,min:Rj,minute:Aj,mis:Lj,ml:Fj,"ml/min":jj,"ml/min/1.73m2":Vj,mm:zj,"mm/h":Bj,mmhg:Hj,mmo:qj,mol:$j,month:Uj,nl:Gj,nmg:Wj,nmo:Zj,ns:Yj,ondemand:Kj,oz:Qj,pel:Xj,pg:Jj,pkg:e3,pnu:t3,ppm:n3,pt:r3,qs:a3,sap:i3,sat:o3,second:s3,shock:l3,spoon:u3,spr:c3,sqc:d3,stp:h3,sup:p3,syr:m3,tab:f3,tbl:g3,tes:v3,ton:b3,tpn:y3,trc:_3,tro:w3,tsp:x3,tub:E3,umg:S3,unt:k3,vil:C3,vpr:I3,waf:D3,week:T3,x:N3,ydl:O3,yds:M3,qt:P3},R3={};oe(R3,{"%":()=>A3,"%vv":()=>$V,"%wv":()=>UV,"%ww":()=>GV,"1000/mm3":()=>oV,amp:()=>L3,atptreatment:()=>zz,bag:()=>F3,bitperminute:()=>WV,bol:()=>ZV,bot:()=>YV,box:()=>j3,c:()=>Cz,can:()=>KV,cap:()=>QV,cc:()=>XV,cm:()=>JV,cmm:()=>sV,cnt:()=>Iz,ctg:()=>kV,ctr:()=>ez,daily:()=>kz,day:()=>lV,default:()=>Cae,degree:()=>iV,dis:()=>hV,drm:()=>Dz,fl:()=>V3,fld:()=>pV,flo:()=>mV,ftc:()=>fV,fts:()=>gV,"g/dl":()=>z3,gal:()=>CV,gm:()=>B3,goutte:()=>SV,gr:()=>tz,hour:()=>EV,in:()=>nz,inc:()=>rz,jar:()=>az,kg:()=>H3,"kg/m2":()=>q3,kit:()=>iz,l:()=>$3,lb:()=>U3,lm:()=>Tz,loz:()=>Ez,mcg:()=>G3,mcl:()=>W3,mcm:()=>IV,mcn:()=>oz,meq:()=>Z3,mg:()=>Y3,"mg/dl":()=>K3,"mg/l":()=>Q3,"mg/m2":()=>X3,"mg/ml":()=>J3,mgper100ml:()=>TV,mic:()=>sz,mil:()=>lz,millisecond:()=>xV,min:()=>uz,minute:()=>vV,mis:()=>Nz,ml:()=>eV,"ml/min":()=>tV,"ml/min/1.73m2":()=>wz,mm:()=>bV,"mm/h":()=>yV,mmhg:()=>_V,mmo:()=>cz,mol:()=>nV,month:()=>dV,nl:()=>dz,nmg:()=>Oz,nmo:()=>Mz,ns:()=>LV,ondemand:()=>DV,oz:()=>rV,pel:()=>hz,pg:()=>AV,pkg:()=>pz,pnu:()=>Pz,ppm:()=>aV,pt:()=>mz,qs:()=>fz,qt:()=>gz,sap:()=>Bz,sat:()=>Rz,second:()=>wV,shock:()=>xz,spoon:()=>uV,spr:()=>NV,sqc:()=>vz,stp:()=>Az,sup:()=>FV,syr:()=>MV,tab:()=>jV,tbl:()=>VV,tes:()=>zV,ton:()=>qV,tpn:()=>PV,trc:()=>Lz,tro:()=>Sz,tsp:()=>HV,tub:()=>RV,umg:()=>bz,unt:()=>BV,vil:()=>OV,vpr:()=>Fz,waf:()=>jz,week:()=>cV,x:()=>Vz,ydl:()=>yz,yds:()=>_z});var A3="%",L3="{count, plural, one{ampoule} other{ampoules}}",F3="{count, plural, one{sac} other{sacs}}",j3="{count, plural, one{vaporisateur} other{vaporisateurs}}",V3="fl",z3="g/dl",B3="g",H3="kg",q3="kg/m²",$3="l",U3="lb",G3="µg",W3="µl",Z3="milli-equivalent",Y3="mg",K3="mg/dl",Q3="mg/l",X3="mg/m²",J3="mg/ml",eV="ml",tV="ml/min",nV="mol",rV="oz",aV="ppm",iV="°",oV="1000/mm³",sV="mm³",lV="{count, plural, one{jour(s)} other{jours}}",uV="{count, plural, one{cuillère} other{cuillères}}",cV="{count, plural, one{semaine} other{semaines}}",dV="mois",hV="{count, plural, one{disque} other{disques}}",pV="fl dr",mV="fl oz",fV="cu ft",gV="sq ft",vV="{count, plural, one{minute} other{minutes}}",bV="mm",yV="mm/h",_V="mmHg",wV="{count, plural, one{seconde} other{secondes}}",xV="{count, plural, one{milliseconde} other{millisecondes}}",EV="{count, plural, one{heure} other{heures}}",SV="{count, plural, one{goutte} other{gouttes}}",kV="{count, plural, one{cartouche} other{cartouches}}",CV="gal",IV="mmol",DV="sur demande",TV="mg/100mL",NV="spray",OV="{count, plural, one{fiole} other{fioles}}",MV="{count, plural, one{seringue} other{seringues}}",PV="{count, plural, one{tampon} other{tampons}}",RV="{count, plural, one{tube} other{tubes}}",AV="pg",LV="non spécifié",FV="{count, plural, one{suppositoire} other{suppositoires}}",jV="{count, plural, one{tablette} other{tablettes}}",VV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",zV="{count, plural, one{test} other{tests}}",BV="{count, plural, one{unité} other{unités}}",HV="{count, plural, one{cuillère à café} other{cuillères à café}}",qV="{count, plural, one{ton} other{tons}}",$V="% v/v",UV="% w/v",GV="% w/w",WV="{count, plural, one{battement par minute} other{battements par minute}}",ZV="{count, plural, one{bolus} other{bolus}}",YV="{count, plural, one{bouteille} other{bouteilles}}",KV="{count, plural, one{canette} other{canettes}}",QV="{count, plural, one{capsule} other{capsules}}",XV="cm3",JV="cm",ez="{count, plural, one{conteneur} other{conteneurs}}",tz="{count, plural, one{granule} other{granules}}",nz="in",rz="in²",az="pot",iz="{count, plural, one{kit} other{kits}}",oz="micron",sz="µCi",lz="mCi",uz="minim",cz="μmol",dz="normal",hz="{count, plural, one{pilule} other{pilules}}",pz="{count, plural, one{paquet} other{paquets}}",mz="pinte",fz="quantité suffisante",gz="qt",vz="cm²",bz="{count, plural, one{unité / mg} other{unités / mg}}",yz="yd",_z="yd²",wz="mL/min/1.73m²",xz="choc",Ez="{count, plural, one{pastille} other{pastilles}}",Sz="{count, plural, one{pastille} other{pastilles}}",kz="journalier",Cz="dilution homéopathique (centésimal 1/100)",Iz="cnt",Dz="fût",Tz="dilution homéopathique (50 millisimaux au ratio 1:50,000)",Nz="divers",Oz="ng",Mz="nmol",Pz="{count, plural, one{unité protéique} other{unités protéiques}}",Rz="saturé",Az="strip",Lz="trace",Fz="dépendant du schéma thérapeutique",jz="{count, plural, one{hostie} other{hosties}}",Vz="dilution homéopathique (décimal 1/10)",zz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",Bz="Valeur sap cumulative",Cae={"%":A3,amp:L3,bag:F3,box:j3,fl:V3,"g/dl":z3,gm:B3,kg:H3,"kg/m2":q3,l:$3,lb:U3,mcg:G3,mcl:W3,meq:Z3,mg:Y3,"mg/dl":K3,"mg/l":Q3,"mg/m2":X3,"mg/ml":J3,ml:eV,"ml/min":tV,mol:nV,oz:rV,ppm:aV,degree:iV,"1000/mm3":oV,cmm:sV,day:lV,spoon:uV,week:cV,month:dV,dis:hV,fld:pV,flo:mV,ftc:fV,fts:gV,minute:vV,mm:bV,"mm/h":yV,mmhg:_V,second:wV,millisecond:xV,hour:EV,goutte:SV,ctg:kV,gal:CV,mcm:IV,ondemand:DV,mgper100ml:TV,spr:NV,vil:OV,syr:MV,tpn:PV,tub:RV,pg:AV,ns:LV,sup:FV,tab:jV,tbl:VV,tes:zV,unt:BV,tsp:HV,ton:qV,"%vv":$V,"%wv":UV,"%ww":GV,bitperminute:WV,bol:ZV,bot:YV,can:KV,cap:QV,cc:XV,cm:JV,ctr:ez,gr:tz,in:nz,inc:rz,jar:az,kit:iz,mcn:oz,mic:sz,mil:lz,min:uz,mmo:cz,nl:dz,pel:hz,pkg:pz,pt:mz,qs:fz,qt:gz,sqc:vz,umg:bz,ydl:yz,yds:_z,"ml/min/1.73m2":wz,shock:xz,loz:Ez,tro:Sz,daily:kz,c:Cz,cnt:Iz,drm:Dz,lm:Tz,mis:Nz,nmg:Oz,nmo:Mz,pnu:Pz,sat:Rz,stp:Az,trc:Lz,vpr:Fz,waf:jz,x:Vz,atptreatment:zz,sap:Bz},Hz={};oe(Hz,{"%":()=>qz,"%vv":()=>XB,"%wv":()=>JB,"%ww":()=>e5,"1000/mm3":()=>mB,amp:()=>$z,atptreatment:()=>Z5,bag:()=>Uz,bitperminute:()=>t5,bol:()=>n5,bot:()=>r5,box:()=>Gz,c:()=>R5,can:()=>a5,cap:()=>i5,cc:()=>o5,cm:()=>s5,cmm:()=>fB,cnt:()=>A5,ctg:()=>PB,ctr:()=>l5,daily:()=>P5,day:()=>gB,default:()=>Iae,degree:()=>pB,dis:()=>_B,drm:()=>L5,fl:()=>Wz,fld:()=>wB,flo:()=>xB,ftc:()=>EB,fts:()=>SB,"g/dl":()=>Zz,gal:()=>RB,gm:()=>Yz,goutte:()=>MB,gr:()=>u5,hour:()=>OB,in:()=>c5,inc:()=>d5,jar:()=>h5,kg:()=>Kz,"kg/m2":()=>Qz,kit:()=>p5,l:()=>Xz,lb:()=>Jz,lm:()=>F5,loz:()=>O5,mcg:()=>eB,mcl:()=>tB,mcm:()=>AB,mcn:()=>m5,meq:()=>nB,mg:()=>rB,"mg/dl":()=>aB,"mg/l":()=>iB,"mg/m2":()=>oB,"mg/ml":()=>sB,mgper100ml:()=>FB,mic:()=>f5,mil:()=>g5,millisecond:()=>NB,min:()=>v5,minute:()=>kB,mis:()=>j5,ml:()=>lB,"ml/min":()=>uB,"ml/min/1.73m2":()=>T5,mm:()=>CB,"mm/h":()=>IB,mmhg:()=>DB,mmo:()=>b5,mol:()=>cB,month:()=>yB,nl:()=>y5,nmg:()=>V5,nmo:()=>z5,ns:()=>$B,ondemand:()=>LB,oz:()=>dB,pel:()=>_5,pg:()=>qB,pkg:()=>w5,pnu:()=>B5,ppm:()=>hB,pt:()=>x5,qs:()=>E5,qt:()=>S5,sap:()=>Y5,sat:()=>H5,second:()=>TB,shock:()=>N5,spoon:()=>vB,spr:()=>jB,sqc:()=>k5,stp:()=>q5,sup:()=>UB,syr:()=>zB,tab:()=>GB,tbl:()=>WB,tes:()=>ZB,ton:()=>QB,tpn:()=>BB,trc:()=>$5,tro:()=>M5,tsp:()=>KB,tub:()=>HB,umg:()=>C5,unt:()=>YB,vil:()=>VB,vpr:()=>U5,waf:()=>G5,week:()=>bB,x:()=>W5,ydl:()=>I5,yds:()=>D5});var qz="%",$z="{count, plural, one{ampule} other{ampullen}}",Uz="{count, plural, one{zak} other{zakken}}",Gz="{count, plural, one{verstuiver} other{verstuivers}}",Wz="fl",Zz="g/dl",Yz="g",Kz="kg",Qz="kg/m²",Xz="l",Jz="lb",eB="µg",tB="µl",nB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",rB="mg",aB="mg/dl",iB="mg/l",oB="mg/m²",sB="mg/ml",lB="ml",uB="ml/min",cB="mol",dB="oz",hB="ppm",pB="°",mB="1000/mm³",fB="mm³",gB="{count, plural, one{dag} other{dagen}}",vB="{count, plural, one{lepel} other{lepels}}",bB="{count, plural, one{week} other{weken}}",yB="{count, plural, one{maand} other{maanden}}",_B="{count, plural, one{schijf} other{schijven}}",wB="fl dr",xB="fl oz",EB="cu ft",SB="sq ft",kB="{count, plural, one{minuut} other{minuten}}",CB="mm",IB="mm/h",DB="mmHg",TB="{count, plural, one{seconde} other{seconden}}",NB="{count, plural, one{milliseconde} other{milliseconden}}",OB="{count, plural, one{uur} other{uren}}",MB="{count, plural, one{druppel} other{druppels}}",PB="{count, plural, one{patroon} other{patronen}}",RB="gal",AB="mmol",LB="op aanvraag",FB="mg/100mL",jB="{count, plural, one{spray} other{sprays}}",VB="{count, plural, one{flesje} other{flesjes}}",zB="{count, plural, one{spuit} other{spuiten}}",BB="{count, plural, one{tampon} other{tampons}}",HB="{count, plural, one{buis} other{buizen}}",qB="pg",$B="niet gespecificeerd",UB="{count, plural, one{zetpil} other{zetpillen}}",GB="{count, plural, one{tablet} other{tabletten}}",WB="{count, plural, one{eetlepel} other{eetlepels}}",ZB="{count, plural, one{test} other{tests}}",YB="{count, plural, one{eenheid} other{eenheden}}",KB="{count, plural, one{theelepel} other{theelepels}}",QB="{count, plural, one{ton} other{tonnen}}",XB="% v/v",JB="% w/v",e5="% w/w",t5="{count, plural, one{slag per minuut} other{slagen per minuut}}",n5="bolus",r5="{count, plural, one{fles} other{flessen}}",a5="{count, plural, one{blikje} other{blikjes}}",i5="{count, plural, one{capsule} other{capsules}}",o5="cm3",s5="cm",l5="{count, plural, one{houder} other{houders}}",u5="{count, plural, one{korrel} other{korrels}}",c5="in",d5="in²",h5="{count, plural, one{pot} other{potten}}",p5="{count, plural, one{kit} other{kits}}",m5="micron",f5="µCi",g5="mCi",v5="minim",b5="μmol",y5="normaal",_5="{count, plural, one{pil} other{pillen}}",w5="{count, plural, one{pakket} other{pakketten}}",x5="{count, plural, one{pint} other{pinten}}",E5="voldoende hoeveelheid",S5="qt",k5="cm²",C5="{count, plural, one{eenheid / mg} other{eenheden / mg}}",I5="yd",D5="yd²",T5="mL/min/1.73m²",N5="{count, plural, one{schok} other{schokken}}",O5="{count, plural, one{zuigtablet} other{zuigtabletten}}",M5="{count, plural, one{zuigtablet} other{zuigtabletten}}",P5="dagelijks",R5="homeopathische verdunning (centesimal 1/100)",A5="cnt",L5="vat",F5="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",j5="diverse",V5="ng",z5="nmol",B5="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",H5="verzadigd",q5="{count, plural, one{strip} other{strips}}",$5="{count, plural, one{spoor} other{sporen}}",U5="behandelingsschema-afhankelijk",G5="{count, plural, one{ouwel} other{ouwels}}",W5="homeopathische verdunning (decimaal 1/10)",Z5="aantal anti-tachycardie-stimulatiebehandelingen",Y5="Cumulatieve sap waarde",Iae={"%":qz,amp:$z,bag:Uz,box:Gz,fl:Wz,"g/dl":Zz,gm:Yz,kg:Kz,"kg/m2":Qz,l:Xz,lb:Jz,mcg:eB,mcl:tB,meq:nB,mg:rB,"mg/dl":aB,"mg/l":iB,"mg/m2":oB,"mg/ml":sB,ml:lB,"ml/min":uB,mol:cB,oz:dB,ppm:hB,degree:pB,"1000/mm3":mB,cmm:fB,day:gB,spoon:vB,week:bB,month:yB,dis:_B,fld:wB,flo:xB,ftc:EB,fts:SB,minute:kB,mm:CB,"mm/h":IB,mmhg:DB,second:TB,millisecond:NB,hour:OB,goutte:MB,ctg:PB,gal:RB,mcm:AB,ondemand:LB,mgper100ml:FB,spr:jB,vil:VB,syr:zB,tpn:BB,tub:HB,pg:qB,ns:$B,sup:UB,tab:GB,tbl:WB,tes:ZB,unt:YB,tsp:KB,ton:QB,"%vv":XB,"%wv":JB,"%ww":e5,bitperminute:t5,bol:n5,bot:r5,can:a5,cap:i5,cc:o5,cm:s5,ctr:l5,gr:u5,in:c5,inc:d5,jar:h5,kit:p5,mcn:m5,mic:f5,mil:g5,min:v5,mmo:b5,nl:y5,pel:_5,pkg:w5,pt:x5,qs:E5,qt:S5,sqc:k5,umg:C5,ydl:I5,yds:D5,"ml/min/1.73m2":T5,shock:N5,loz:O5,tro:M5,daily:P5,c:R5,cnt:A5,drm:L5,lm:F5,mis:j5,nmg:V5,nmo:z5,pnu:B5,sat:H5,stp:q5,trc:$5,vpr:U5,waf:G5,x:W5,atptreatment:Z5,sap:Y5},Dae={nl:Hz,fr:R3,de:bA,en:CF},K5={};oe(K5,{collapsed:()=>t4,default:()=>Tae,expanded:()=>e4,header:()=>Q5,patient:()=>X5,professional:()=>J5});var Q5="Ausgegebene Medikamente?",X5={part1:"Diese Übersicht zeigt die Arzneimittel, die Ihnen in den <strong>letzten 12 Monaten</strong> abgegeben wurden.",part2:"Die Liste kann <strong>unvollständig</strong> sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat.",part3:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für Sie bestimmt</strong> sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen.",part4:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu <strong>Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung.</strong>"},J5={part1:"Die Liste kann <strong>unvollständig</strong>: , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden.",part2:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für diesen Patienten bestimmt</strong> sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."},e4="Information erweitern",t4="Information einklappen",Tae={header:Q5,patient:X5,professional:J5,expanded:e4,collapsed:t4},n4={};oe(n4,{collapsed:()=>s4,default:()=>Nae,expanded:()=>o4,header:()=>r4,patient:()=>a4,professional:()=>i4});var r4="How to interpret the list?",a4={part1:"This overview shows the medications that have been dispensed to you over the <strong>past 12 months.</strong>",part2:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part3:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time.",part4:"If in doubt, always consult your doctor or pharmacist. This information is provided <strong>for informational purposes and is not a substitute for professional medical advice.</strong>"},i4={part1:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part2:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time."},o4="Expand information",s4="Collapse information",Nae={header:r4,patient:a4,professional:i4,expanded:o4,collapsed:s4},l4={};oe(l4,{collapsed:()=>p4,default:()=>Oae,expanded:()=>h4,header:()=>u4,patient:()=>c4,professional:()=>d4});var u4="Comment interpréter la liste?",c4={part1:"Cette liste reprend les médicaments qui vous ont été remis au cours des <strong>12 derniers mois.</strong>",part2:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien.",part3:"La liste peut contenir des médicaments <strong>qui ne vous concernent pas.</strong> Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres.",part4:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes <strong>à titre informatif et ne remplacent pas un avis médical professionnel.</strong>"},d4={part1:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés.",part2:"La liste peut contenir des médicaments <strong>qui ne concernent pas ce patient.</strong> C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."},h4="Développer l’information",p4="Réduire l'information",Oae={header:u4,patient:c4,professional:d4,expanded:h4,collapsed:p4},m4={};oe(m4,{collapsed:()=>y4,default:()=>Mae,expanded:()=>b4,header:()=>f4,patient:()=>g4,professional:()=>v4});var f4="Hoe de lijst interpreteren?",g4={part1:"Dit overzicht toont de geneesmiddelen die in de <strong>afgelopen 12 maanden</strong> voor u zijn afgeleverd.",part2:"Het is mogelijk dat de lijst <strong>onvolledig</strong> is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering.",part3:"De lijst kan geneesmiddelen bevatten die <strong>niet voor u bestemd</strong> zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment.",part4:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor <strong>doeleinden en zijn geen vervanging voor professioneel medisch advies.</strong>"},v4={part1:"Het is mogelijk dat de lijst <strong>onvolledig</strong>: is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden.",part2:"De lijst kan geneesmiddelen bevatten die <strong>niet voor deze patiënt bestemd</strong> zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."},b4="Informatie uitklappen",y4="Informatie inklappen",Mae={header:f4,patient:g4,professional:v4,expanded:b4,collapsed:y4},Pae={nl:m4,fr:l4,de:K5,en:n4},_4={};oe(_4,{default:()=>Rae,headers:()=>w4,magisterialPreparation:()=>x4,noContent:()=>E4});var w4={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},x4="Verschreibungurarzneimittel",E4="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Rae={headers:w4,magisterialPreparation:x4,noContent:E4},S4={};oe(S4,{default:()=>Aae,headers:()=>k4,magisterialPreparation:()=>C4,noContent:()=>I4});var k4={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},C4="Magistral preparation",I4="There is no delivered medication found for this patient.",Aae={headers:k4,magisterialPreparation:C4,noContent:I4},D4={};oe(D4,{default:()=>Lae,headers:()=>T4,magisterialPreparation:()=>N4,noContent:()=>O4});var T4={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},N4="Préparation magistrale",O4="Aucun médicament délivré n'a été retrouvé pour ce patient.",Lae={headers:T4,magisterialPreparation:N4,noContent:O4},M4={};oe(M4,{default:()=>Fae,headers:()=>P4,magisterialPreparation:()=>R4,noContent:()=>A4});var P4={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},R4="Magistrale bereiding",A4="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Fae={headers:P4,magisterialPreparation:R4,noContent:A4},jae={nl:M4,fr:D4,de:_4,en:S4},L4={};oe(L4,{composition:()=>F4,default:()=>Vae,"delivered-by":()=>q4,"delivery-date":()=>H4,dguid:()=>V4,"is-prescribed":()=>z4,leaflet:()=>K4,"magisterial-preparation":()=>Y4,medication:()=>X4,"no-pharmacy":()=>W4,noDetails:()=>J4,package:()=>Q4,patient:()=>Z4,posologie:()=>j4,quantity:()=>B4,"return-delivery-date":()=>U4,"returned-by":()=>G4,"returned-quantity":()=>$4});var F4="Zusammensetzung",j4="Dosierung",V4="ID Ausgabe",z4={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},B4="Gelieferte Menge",H4="Lieferdatum",q4="Geliefert von",$4="Zurückgenommene Menge",U4="Rücknahme am",G4="Rücknahme durch",W4="Apotheke mit LIKIV-Erkennungsnummer",Z4="Patient",Y4="Verschreibungurarzneimittel",K4="Packungsbeilage",Q4="{count, plural, one{Verpackung} other{Verpackungen}}",X4="Arzneimittel",J4="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Vae={composition:F4,posologie:j4,dguid:V4,"is-prescribed":z4,quantity:B4,"delivery-date":H4,"delivered-by":q4,"returned-quantity":$4,"return-delivery-date":U4,"returned-by":G4,"no-pharmacy":W4,patient:Z4,"magisterial-preparation":Y4,leaflet:K4,package:Q4,medication:X4,noDetails:J4},e9={};oe(e9,{composition:()=>t9,default:()=>zae,"delivered-by":()=>n9,"delivery-date":()=>r9,dguid:()=>a9,"is-prescribed":()=>i9,leaflet:()=>o9,"magisterial-preparation":()=>s9,medication:()=>l9,"no-pharmacy":()=>u9,noDetails:()=>c9,package:()=>d9,patient:()=>h9,posologie:()=>p9,quantity:()=>m9,"return-delivery-date":()=>v9,"returned-by":()=>b9,"returned-quantity":()=>g9,title:()=>f9});var t9="Composition",n9="Dispensed by",r9="Date dispensed",a9="Dispensing ID",i9={no:"No",title:"Was prescribed",yes:"Yes"},o9="Package leaflet",s9="Compounded preparation",l9="Medication",u9="Pharmacy with NIHDI number",c9="The requested information has been deleted or doesn't exist.",d9="{count, plural, one{package} other{packages}}",h9="Patient",p9="Dosage",m9="Dispensed quality",f9="Detail of the dispensed medication",g9="Returned quantity",v9="Return on",b9="Return by",zae={composition:t9,"delivered-by":n9,"delivery-date":r9,dguid:a9,"is-prescribed":i9,leaflet:o9,"magisterial-preparation":s9,medication:l9,"no-pharmacy":u9,noDetails:c9,package:d9,patient:h9,posologie:p9,quantity:m9,title:f9,"returned-quantity":g9,"return-delivery-date":v9,"returned-by":b9},y9={};oe(y9,{composition:()=>_9,default:()=>Bae,"delivered-by":()=>C9,"delivery-date":()=>k9,dguid:()=>x9,"is-prescribed":()=>E9,leaflet:()=>P9,"magisterial-preparation":()=>M9,medication:()=>A9,"no-pharmacy":()=>N9,noDetails:()=>L9,package:()=>R9,patient:()=>O9,posologie:()=>w9,quantity:()=>S9,"return-delivery-date":()=>D9,"returned-by":()=>T9,"returned-quantity":()=>I9});var _9="Composition",w9="Posologie",x9="ID délivrance",E9={title:"A été prescrit",yes:"Oui",no:"Non"},S9="Quantité délivrée",k9="Date de délivrance",C9="Délivré par",I9="Quantité retournée",D9="Retour le",T9="Retour par",N9="Pharmacie avec numéro INAMI",O9="Patient",M9="Préparation magistrale",P9="Notice d'information",R9="{count, plural, one{emballage} other{emballages}}",A9="Médicament",L9="La prescription demandée a été supprimée ou n'existe pas.",Bae={composition:_9,posologie:w9,dguid:x9,"is-prescribed":E9,quantity:S9,"delivery-date":k9,"delivered-by":C9,"returned-quantity":I9,"return-delivery-date":D9,"returned-by":T9,"no-pharmacy":N9,patient:O9,"magisterial-preparation":M9,leaflet:P9,package:R9,medication:A9,noDetails:L9},F9={};oe(F9,{composition:()=>j9,default:()=>Hae,"delivered-by":()=>$9,"delivery-date":()=>q9,dguid:()=>z9,"is-prescribed":()=>B9,leaflet:()=>Q9,"magisterial-preparation":()=>K9,medication:()=>J9,"no-pharmacy":()=>Z9,noDetails:()=>eH,package:()=>X9,patient:()=>Y9,posologie:()=>V9,quantity:()=>H9,"return-delivery-date":()=>G9,"returned-by":()=>W9,"returned-quantity":()=>U9});var j9="Samenstelling",V9="Posologie",z9="ID aflevering",B9={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},H9="Afgeleverde hoeveelheid",q9="Datum afgeleverd",$9="Afgeleverd door",U9="Teruggenomen hoeveelheid",G9="Terugname op",W9="Terugname door",Z9="Apotheek met RIZIV-nummer",Y9="Patiënt",K9="Magistrale bereiding",Q9="Bijsluiter",X9="{count, plural, one{verpakking} other{verpakkingen}}",J9="Geneesmiddel(en)",eH="Het gevraagde voorschrift is verwijderd of bestaat niet.",Hae={composition:j9,posologie:V9,dguid:z9,"is-prescribed":B9,quantity:H9,"delivery-date":q9,"delivered-by":$9,"returned-quantity":U9,"return-delivery-date":G9,"returned-by":W9,"no-pharmacy":Z9,patient:Y9,"magisterial-preparation":K9,leaflet:Q9,package:X9,medication:J9,noDetails:eH},qae={nl:F9,fr:y9,de:L4,en:e9},$ae=class extends zo{getTranslation(e){return it({commons:Yt(se({},lae[e]),{units:Dae[e],galenicFormCodes:rae[e],timeUnits:Eae[e],administrationUnits:Hre[e],periods:pae[e],days:Wre[e],posology:bae[e],errors:Xre[e]}),deliveredMedicationsList:jae[e],deliveredMedicationsDisclaimer:Pae[e],deliveredMedicationDetails:qae[e]})}},Uae=[Ore,aQ({defaultLanguage:"fr",loader:{provide:zo,useClass:$ae},compiler:{provide:Ho,useClass:Are}})],tH=(()=>{const t=class t{constructor(){this.http=C(Si)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Gae={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Xi.CNK},name:[{value:"Novyra 50 mg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 comprimé le matin"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Xi.CNK},name:[{value:"Meldiora 10 ml"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-06-30T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 goutte dans chaque narine 3x/j"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Xi.CNK},name:[{value:"Cymelune 200 µg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"2 inhalations si nécessaire (max 4/j)"}]}],isPrescribed:!0}]},nH=(()=>{const t=class t{constructor(){this.demoService=C(Kne)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Gae)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),rH=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Wae=(e,t)=>e.getEnvironmentVariable("env")===Pr.DEMO?t.get(nH):t.get(tH),Zae={provide:rH,useFactory:Wae,deps:[Ii,ot]},Uf=(()=>{const t=class t extends Y1{constructor(n,a){super(n.getServices(),vo.DELIVERED_MEDICATIONS,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,vo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=C(rH),this.authServiceSelector=C(ci),this.deliveredMedicationsStateSubject$=new Dd({status:Ka.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return wt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),a=this.deliveredMedicationsApiService.get(n);return Bq(a)})}getDeliveredMedications(n=!0){return wt(this,null,function*(){return Qne(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(te(ru),te(ci))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),Yae=(()=>{const t=class t{constructor(){this.authService=C(ci).getInstance(),this.templateRef=C(va),this.viewContainer=C(wi),this.cdRef=C(Ei)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(n){return new(n||t)},t.ɵdir=Lt({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),aH={"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(aH);var Kae=aH,iH={"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(iH);var Qae=iH,fn=function(e,t,r,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 r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Ra,Ui,aa,Xae=class{constructor(...e){Ra.set(this,new Map),Ui.set(this,new Map),aa.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),fn(this,aa,"f").has(r)||fn(this,aa,"f").set(r,new Set);let a=fn(this,aa,"f").get(r),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),i&&fn(this,Ui,"f").set(r,o),i=!1,l)continue;let c=fn(this,Ra,"f").get(o);if(c&&c!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${c} -> ${o}". Pass \`force=true\` to override this definition.`);fn(this,Ra,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:fn(this,Ra,"f").get(r)??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&&fn(this,Ui,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:fn(this,aa,"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 fn(this,aa,"f").values())Object.freeze(e);return this}_getTestState(){return{types:fn(this,Ra,"f"),extensions:fn(this,Ui,"f")}}};Ra=new WeakMap,Ui=new WeakMap,aa=new WeakMap;var Jae=Xae;new Jae(Qae,Kae)._freeze();var eie=(()=>{const t=class t{transform(n){return nre(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"fullname",type:t,pure:!0});let e=t;return e})(),tie=(()=>{const t=class t{constructor(){this.ingredientLabelService=C(are),this.translate=C(kr),this.destroyRef=C(_a),this.cd=C(Ei),this.translate.onLangChange.pipe(X1(this.destroyRef)).subscribe(()=>{this.transformIngredientLabel(),this.cd.markForCheck()})}transform(n){return n!==this.ingredient&&(this.ingredient=n,this.transformIngredientLabel()),this.translation}transformIngredientLabel(){this.translation=this.ingredient?this.ingredientLabelService.transform(this.ingredient):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),nie=(()=>{const t=class t{constructor(){this.translate=C(kr)}transform(n){return J1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"translateValue",type:t,pure:!0});let e=t;return e})(),rie=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Ea({name:"absolute",type:t,pure:!0});let e=t;return e})();ug(Z7());var ws;function aie(){if(ws===void 0&&(ws=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(ws=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return ws}function Vi(e){var t;return((t=aie())==null?void 0:t.createHTML(e))||e}function Gf(e){return Error(`Unable to find icon with the name "${e}"`)}function iie(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Wf(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Zf(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var ta=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},oie=(()=>{const t=class t{constructor(n,a,i,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=i}addSvgIcon(n,a,i){return this.addSvgIconInNamespace("",n,a,i)}addSvgIconLiteral(n,a,i){return this.addSvgIconLiteralInNamespace("",n,a,i)}addSvgIconInNamespace(n,a,i,o){return this._addSvgIconConfig(n,a,new ta(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(sn.HTML,i);if(!l)throw Zf(i);let c=Vi(l);return this._addSvgIconConfig(n,a,new ta("",c,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,i){return this._addSvgIconSetConfig(n,new ta(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(sn.HTML,a);if(!o)throw Zf(a);let l=Vi(o);return this._addSvgIconSetConfig(n,new ta("",l,i))}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(sn.RESOURCE_URL,n);if(!a)throw Wf(n);let i=this._cachedIconsByUrl.get(a);return i?it(xs(i)):this._loadSvgIconFromConfig(new ta(n,null)).pipe(mu(o=>this._cachedIconsByUrl.set(a,o)),Mt(o=>xs(o)))}getNamedSvgIcon(n,a=""){let i=Yf(a,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):Qg(Gf(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?it(xs(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Mt(a=>xs(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return it(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Pd(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(sn.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),it(null)})));return nv(o).pipe(Mt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw Gf(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let i=a.length-1;i>=0;i--){let o=a[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),c=this._extractSvgIconFromSet(l,n,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(mu(a=>n.svgText=a),Mt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?it(null):this._fetchIcon(n).pipe(mu(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,i){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,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let c=this._svgElementFromString(Vi("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,i)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let i=a.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let a=this._svgElementFromString(Vi("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:c}=i[o];l!=="id"&&a.setAttribute(l,c)}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:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw iie();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(sn.RESOURCE_URL,a);if(!l)throw Wf(a);let c=this._inProgressUrlFetches.get(l);if(c)return c;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Mt(d=>Vi(d)),iv(()=>this._inProgressUrlFetches.delete(l)),ov());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(Yf(n,a),i),this}_addSvgIconSetConfig(n,a){let i=this._iconSetConfigs.get(n);return i?i.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 i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](a,n);if(o)return sie(o)?new ta(o.url,null,o.options):new ta(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(te(Si,8),te(Iy),te(Le,8),te(Rn))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xs(e){return e.cloneNode(!0)}function Yf(e,t){return e+":"+t}function sie(e){return!!(e.url&&e.options)}var lie=["*"],uie=new K("MAT_ICON_DEFAULT_OPTIONS"),cie=new K("mat-icon-location",{providedIn:"root",factory:die});function die(){let e=C(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var oH=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],hie=oH.map(e=>`[${e}]`).join(", "),pie=/^url\(['"]?#(.*?)['"]?\)$/,sH=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(oie));s(this,"_location",C(cie));s(this,"_errorHandler",C(Rn));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",un.EMPTY);let n=C(new PU("aria-hidden"),{optional:!0}),a=C(uie,{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 i=n.childNodes[a];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),a.forEach(i=>n.classList.add(i)),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((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(hie),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)oH.forEach(l=>{let c=a[o],u=c.getAttribute(l),d=u?u.match(pie):null;if(d){let m=i.get(c);m||(m=[],i.set(c,m)),m.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,i]=this._splitIconName(n);a&&(this._svgNamespace=a),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,a).pipe(Qt(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(Ln("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),Wl(a.color?"mat-"+a.color:""),Pn("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",Hi],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:lie,decls:1,vars:0,template:function(n,a){n&1&&(xi(),Zn(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}
|
|
37
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),mie=(()=>{const t=class t{constructor(){this.leaflet=Ue.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&(re(0,"a",0),Zt(1,"mat-icon",1),be(2),De(3,"translate"),ne()),n&2&&(xt("href",a.leaflet(),V0),Q(2),cn(" ",Me(3,2,"commons.downloadLeaflet")," "))},dependencies:[Jh,zX,sH,ki],encapsulation:2});let e=t;return e})(),fie=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(Jy)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&(re(0,"h2",0),be(1),De(2,"translate"),ne(),re(3,"mat-dialog-content")(4,"p")(5,"span"),be(6),De(7,"translate"),ne()()(),re(8,"mat-dialog-actions")(9,"button",1),be(10),De(11,"translate"),ne()()),n&2&&(Q(),Ge(Me(2,4,"commons.errors.action-not-authorized-title")),Q(5),Ge(Me(7,6,"commons.errors."+a.vidisErrorCode)),Q(3),xt("mat-dialog-close",!1),Q(),cn(" ",Me(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[s1,t1,r1,i1,a1,Jh,nu,ki],encapsulation:2});let e=t;return e})(),gie=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&(re(0,"h2",0),be(1),De(2,"translate"),ne(),re(3,"mat-dialog-content")(4,"p")(5,"span"),be(6),De(7,"translate"),ne()(),re(8,"p")(9,"span"),be(10),De(11,"translate"),ne(),re(12,"a",1),De(13,"translate"),be(14),De(15,"translate"),ne(),be(16,"."),ne()(),re(17,"mat-dialog-actions")(18,"button",2),be(19),De(20,"translate"),ne(),re(21,"button",3),be(22),De(23,"translate"),ne()()),n&2&&(Q(),Ge(Me(2,9,"commons.errors.report-message-title")),Q(5),Ge(Me(7,11,"commons.errors.report-message-explanation")),Q(4),Ge(Me(11,13,"commons.errors.report-message-content")),Q(2),xt("href",Me(13,15,"commons.errors.report-message-link"),V0),Q(2),Ge(Me(15,17,"commons.errors.report-message-term-use")),Q(4),xt("mat-dialog-close",!0),Q(),cn(" ",Me(20,19,"commons.errors.report-message-report-button")," "),Q(2),xt("mat-dialog-close",!1),Q(),cn(" ",Me(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[s1,t1,r1,i1,a1,Jh,nu,ki],encapsulation:2});let e=t;return e})(),vie=(()=>{const t=class t{reportError(n){return it({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bie=(()=>{const t=class t{constructor(){this.http=C(Si),this.authService=C(ci).getInstance(),this.apiUrl=C(Ii).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Ji.userType]:la.getUserType({isProfessional:this.authService.isProfessional}),[Ji.clientType]:K1()?la.clientType.mobileApp:la.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yie=(()=>{const t=class t{constructor(){this.config=C(Ii),this.injector=C(ot),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(vie):this.injector.get(bie)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Kf(e,t,r){let n=H1(),a=xie(e,r.timeZone,r.locale??n.locale);return"formatToParts"in a?_ie(a,t):wie(a,t)}function _ie(e,t){let r=e.formatToParts(t);for(let n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function wie(e,t){let r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function xie(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Eie(e,t){let r=Die(t);return"formatToParts"in r?kie(r,e):Cie(r,e)}var Sie={year:0,month:1,day:2,hour:3,minute:4,second:5};function kie(e,t){try{let r=e.formatToParts(t),n=[];for(let a=0;a<r.length;a++){let i=Sie[r[a].type];i!==void 0&&(n[i]=parseInt(r[a].value,10))}return n}catch(r){if(r instanceof RangeError)return[NaN];throw r}}function Cie(e,t){let r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);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 ac={},Qf=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")),Iie=Qf==="06/25/2014, 00:00:00"||Qf==="06/25/2014 00:00:00";function Die(e){return ac[e]||(ac[e]=Iie?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"})),ac[e]}function lH(e,t,r,n,a,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,r),l.setUTCHours(n,a,i,o),l}var Xf=36e5,Tie=6e4,ic={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function uH(e,t,r){if(!e)return 0;let n=ic.timezoneZ.exec(e);if(n)return 0;let a,i;if(n=ic.timezoneHH.exec(e),n)return a=parseInt(n[1],10),Jf(a)?-(a*Xf):NaN;if(n=ic.timezoneHHMM.exec(e),n){a=parseInt(n[2],10);let o=parseInt(n[3],10);return Jf(a,o)?(i=Math.abs(a)*Xf+o*Tie,n[1]==="+"?-i:i):NaN}if(Mie(e)){t=new Date(t||Date.now());let o=r?t:Nie(t),l=_d(o,e);return-(r?l:Oie(t,l,e))}return NaN}function Nie(e){return lH(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function _d(e,t){let r=Eie(e,t),n=lH(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),a=e.getTime(),i=a%1e3;return a-=i>=0?i:1e3+i,n-a}function Oie(e,t,r){let n=e.getTime()-t,a=_d(new Date(n),r);if(t===a)return t;n-=a-t;let i=_d(new Date(n),r);return a===i?a:Math.max(a,i)}function Jf(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var eg={};function Mie(e){if(eg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),eg[e]=!0,!0}catch{return!1}}var Pie=60*1e3,Rie={X:function(e,t,r){let n=oc(r.timeZone,e);if(n===0)return"Z";switch(t){case"X":return tg(n);case"XXXX":case"XX":return Aa(n);case"XXXXX":case"XXX":default:return Aa(n,":")}},x:function(e,t,r){let n=oc(r.timeZone,e);switch(t){case"x":return tg(n);case"xxxx":case"xx":return Aa(n);case"xxxxx":case"xxx":default:return Aa(n,":")}},O:function(e,t,r){let n=oc(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Aie(n,":");case"OOOO":default:return"GMT"+Aa(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return Kf("short",e,r);case"zzzz":default:return Kf("long",e,r)}}};function oc(e,t){let r=e?uH(e,t,!0)/Pie:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function xl(e,t){let r=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function Aa(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=xl(Math.floor(n/60),2),i=xl(Math.floor(n%60),2);return r+a+t+i}function tg(e,t){return e%60===0?(e>0?"-":"+")+xl(Math.abs(e)/60,2):Aa(e,t)}function Aie(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+xl(i,2)}function ng(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 Lie=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,sc=36e5,rg=6e4,Fie=2,Wt={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:Lie};function jie(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 r=t.additionalDigits==null?Fie:Number(t.additionalDigits);if(r!==2&&r!==1&&r!==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=Vie(e),{year:a,restDateString:i}=zie(n.date,r),o=Bie(i,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),c=0,u;if(n.time&&(c=Hie(n.time),c===null||isNaN(c)))return new Date(NaN);if(n.timeZone||t.timeZone){if(u=uH(n.timeZone||t.timeZone,new Date(l+c)),isNaN(u))return new Date(NaN)}else u=ng(new Date(l+c)),u=ng(new Date(l+c+u));return new Date(l+c+u)}else return new Date(NaN)}function Vie(e){let t={},r=Wt.dateTimePattern.exec(e),n;if(r?(t.date=r[1],n=r[3]):(r=Wt.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){let a=Wt.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function zie(e,t){if(e){let r=Wt.YYY[t],n=Wt.YYYYY[t],a=Wt.YYYY.exec(e)||n.exec(e);if(a){let i=a[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(a=Wt.YY.exec(e)||r.exec(e),a){let i=a[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function Bie(e,t){if(t===null)return null;let r,n,a;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let i=Wt.MM.exec(e);if(i)return r=new Date(0),n=parseInt(i[1],10)-1,ig(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(i=Wt.DDD.exec(e),i){r=new Date(0);let o=parseInt(i[1],10);return Uie(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(i=Wt.MMDD.exec(e),i){r=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return ig(t,n,o)?(r.setUTCFullYear(t,n,o),r):new Date(NaN)}if(i=Wt.Www.exec(e),i)return a=parseInt(i[1],10)-1,og(a)?ag(t,a):new Date(NaN);if(i=Wt.WwwD.exec(e),i){a=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return og(a,o)?ag(t,a,o):new Date(NaN)}return null}function Hie(e){let t,r,n=Wt.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),lc(t)?t%24*sc:NaN;if(n=Wt.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),lc(t,r)?t%24*sc+r*rg:NaN;if(n=Wt.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return lc(t,r,a)?t%24*sc+r*rg+a*1e3:NaN}return null}function ag(e,t,r){t=t||0,r=r||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=n.getUTCDay()||7,i=t*7+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}var qie=[31,28,31,30,31,30,31,31,30,31,30,31],$ie=[31,29,31,30,31,30,31,31,30,31,30,31];function cH(e){return e%400===0||e%4===0&&e%100!==0}function ig(e,t,r){if(t<0||t>11)return!1;if(r!=null){if(r<1)return!1;let n=cH(e);if(n&&r>$ie[t]||!n&&r>qie[t])return!1}return!0}function Uie(e,t){if(t<1)return!1;let r=cH(e);return!(r&&t>366||!r&&t>365)}function og(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function lc(e,t,r){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||r!=null&&(r<0||r>=60))}var Gie=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Wie(e,t,r={}){t=String(t);let n=t.match(Gie);if(n){let a=jie(r.originalDate||e,r);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),c=i[l-1]==="'",u=i.replace(o,"'"+Rie[o[0]](a,o,r)+"'");return c?u.substring(0,l-1)+u.substring(l+1):u},t)}return B1(e,t,r)}var Zie=(()=>{const t=class t extends Bne{constructor(){super(...arguments),this.version=bd,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=C(ci),this.translateService=C(kr),this.webComponentConfig=C(Ii),this.injector=C(ot),this.servicesStore=C(ru),this.matDialog=C(tu),this.destroyRef=C(_a),this.errorServiceSelector=C(yie),this.snackbarService=C(t_),this.extraRequiredFields=this.defaultExtraRequiredFields}onInitialized(){return wt(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=>wt(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)===vr.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===vr.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(gie,{data:{error:n}}).beforeClosed().pipe(mr(a=>a),X1(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let a={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:i=>{i.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(fie,{data:n})}formatDateWithZone(){return Wie(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})(),t.ɵcmp=rt({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[En],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),Yie=["*"];function Kie(e,t){e&1&&Vo(0)}function Qie(e,t){if(e&1&&(re(0,"div",3),Be(1,Kie,1,0,"ng-container",5),ne()),e&2){Ee();let r=Yl(5);Q(),xt("ngTemplateOutlet",r)}}function Xie(e,t){e&1&&Vo(0)}function Jie(e,t){if(e&1){let r=Zl();re(0,"div",6),Sa("click",function(){Br(r);let n=Ee();return Hr(n.toggleExpanded())})("keydown.enter",function(){Br(r);let n=Ee();return Hr(n.toggleExpanded())})("keydown.space",function(){Br(r);let n=Ee();return Hr(n.toggleExpanded())}),Be(1,Xie,1,0,"ng-container",5),ne()}if(e&2){let r=Ee(),n=Yl(5);Ln("aria-label",r.currentExpandIconAriaLabel()),Q(),xt("ngTemplateOutlet",n)}}function eoe(e,t){e&1&&Vo(0)}function toe(e,t){if(e&1&&Be(0,eoe,1,0,"ng-container",5),e&2){Ee();let r=Yl(7);xt("ngTemplateOutlet",r)}}function noe(e,t){if(e&1&&(re(0,"h2"),be(1),ne()),e&2){let r=Ee(3);Q(),Ge(r.alertTitle())}}function roe(e,t){if(e&1&&(re(0,"p"),be(1),ne()),e&2){let r=Ee(3);Q(),Ge(r.alertSubtitle())}}function aoe(e,t){if(e&1&&(re(0,"div"),Be(1,noe,2,1,"h2")(2,roe,2,1,"p"),ne()),e&2){let r=Ee(2);Q(),ht(r.alertTitle()?1:-1),Q(),ht(r.alertSubtitle()?2:-1)}}function ioe(e,t){e&1&&Vo(0)}function ooe(e,t){if(e&1&&Be(0,ioe,1,0,"ng-container",5),e&2){Ee(2);let r=Yl(7);xt("ngTemplateOutlet",r)}}function soe(e,t){if(e&1){let r=Zl();re(0,"mat-icon",11),Sa("click",function(){Br(r);let n=Ee(2);return Hr(n.onCloseButtonClick())})("keydown.enter",function(){Br(r);let n=Ee(2);return Hr(n.onCloseButtonClick())})("keydown.space",function(){Br(r);let n=Ee(2);return Hr(n.onCloseButtonClick())}),ne()}if(e&2){let r=Ee(2);Ln("aria-label",r.closeButtonAriaLabel())}}function loe(e,t){if(e&1&&Zt(0,"mat-icon",10),e&2){let r=Ee(2);xt("fontIcon",r.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function uoe(e,t){if(e&1&&(Zt(0,"mat-icon",7),re(1,"div",8),Be(2,aoe,3,2,"div")(3,ooe,1,1,"ng-container"),ne(),Be(4,soe,1,1,"mat-icon",9)(5,loe,1,1,"mat-icon",10)),e&2){let r=Ee();xt("fontIcon",r.fontIcon()),Q(2),ht(r.alertTitle()||r.alertSubtitle()?2:r.dismissMode()!=="expandable"?3:-1),Q(2),ht(r.dismissMode()==="closable"?4:r.dismissMode()==="expandable"?5:-1)}}function coe(e,t){if(e&1){let r=Zl();re(0,"button",14),Sa("click",function(){Br(r);let n=Ee(2);return Hr(n.onActionButtonClicked())}),be(1),ne()}if(e&2){let r=Ee(2);xt("disabled",r.buttonDisabled()),Q(),cn(" ",r.buttonLabel()," ")}}function doe(e,t){if(e&1&&(re(0,"span",12),Zn(1),ne(),Be(2,coe,2,2,"button",13)),e&2){let r=Ee();Q(2),ht(r.actionButton()?2:-1)}}var hoe=(()=>{const t=class t{constructor(){s(this,"usage",Ue("info"));s(this,"backgroundColor",Ue("color"));s(this,"alertTitle",Ue());s(this,"alertSubtitle",Ue());s(this,"actionButton",Ue(!1));s(this,"buttonDisabled",Ue(!1));s(this,"buttonLabel",Ue());s(this,"dismissMode",Ue("pinned"));s(this,"closeButtonAriaLabel",Ue(""));s(this,"startExpanded",Ue(!1));s(this,"expandedButtonAriaLabel",Ue(""));s(this,"collapsedButtonAriaLabel",Ue(""));s(this,"closeButtonClicked",Jp());s(this,"actionButtonClicked",Jp());s(this,"expanded",QZ(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Ha(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",Ha(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",Ha(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Ha(()=>({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",rt({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:Yie,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&&(xi(),re(0,"div",2),Be(1,Qie,2,1,"div",3)(2,Jie,2,2,"div",4)(3,toe,1,1,"ng-container"),ne(),Be(4,uoe,6,3,"ng-template",null,0,Im)(6,doe,3,1,"ng-template",null,1,Im)),n&2&&(Wl(a.usage()),Pn("white",a.backgroundColor()==="white"),Q(),ht(a.dismissMode()!=="expandable"?1:2),Q(2),ht(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[ay,BY,sH,nu],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 poe(e,t){if(e&1&&(re(0,"mh-alert",0),De(1,"translate"),re(2,"div",1),be(3),De(4,"translate"),ne()()),e&2){let r=Ee();xt("alertTitle",Me(1,2,"commons.errors.data-not-available-title")),Q(3),Ge(Me(4,4,"commons.errors."+r.error().code))}}var moe=(()=>{const t=class t{constructor(){this.error=Ue.required(),this.vidisErrorGroup=vr}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({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&&Be(0,poe,5,6,"mh-alert",0),n&2&&ht(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[ki,hoe],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})(),foe=e=>({count:e});function goe(e,t){e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne()),e&2&&(Q(),Ge(Me(2,1,"deliveredMedicationDetails.leaflet")))}function voe(e,t){if(e&1&&(re(0,"span",2),Zt(1,"vidis-download-link",5),ne()),e&2){let r=Ee(3);Q(),xt("leaflet",r.leafletUrl())}}function boe(e,t){e&1&&Be(0,goe,3,3,"span",3)(1,voe,2,1,"span",4)}function yoe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"translateValue"),ne(),Be(6,boe,2,0)),e&2){let r=Ee();Q(),Ge(Me(2,3,"deliveredMedicationDetails.medication")),Q(3),Ge(Me(5,5,r.item().medication.name)),Q(2),ht(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function _oe(e,t){if(e&1&&(be(0),De(1,"ingredientLabel")),e&2){let r=t.$implicit;cn(" ",Me(1,1,r)," ")}}function woe(e,t){if(e&1&&(re(0,"span",1)(1,"strong"),be(2),De(3,"translate"),ne()(),re(4,"span",2),Ph(5,_oe,2,3,null,null,Lb),ne()),e&2){let r=Ee();Q(2),Ge(Me(3,1,"deliveredMedicationsList.magisterialPreparation")),Q(3),Rh(r.item().medication.ingredients)}}function xoe(e,t){if(e&1&&(re(0,"li"),be(1),De(2,"translateValue"),ne()),e&2){let r=t.$implicit;Q(),cn(" ",Me(2,1,r.texts)," ")}}function Eoe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2)(4,"ul"),Ph(5,xoe,3,3,"li",null,Lb),ne()()),e&2){let r=Ee();Q(),Ge(Me(2,1,"deliveredMedicationDetails.posologie")),Q(4),Rh(r.item().dosageInstructions)}}function Soe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"date"),ne()),e&2){let r=Ee(),n=Ee();Q(),Ge(Me(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),Q(3),Ge(Ub(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function koe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"absolute"),De(6,"absolute"),De(7,"translate"),ne(),Be(8,Soe,6,7),re(9,"span",1),be(10),De(11,"translate"),ne()),e&2){let r=t,n=Ee();Q(),Ge(Me(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),Q(3),Lh("",Me(5,7,r)," ",Ub(7,11,"deliveredMedicationDetails.package",kZ(16,foe,Me(6,9,r))),""),Q(4),ht(n.displayAllDetails()?8:-1),Q(2),Ge(Me(11,14,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function Coe(e,t){if(e&1&&(be(0),De(1,"translateValue"),Zt(2,"br"),be(3)),e&2){let r=Ee();cn(" ",Me(1,2,t)," "),Q(3),cn(" ",r.item().pharmacy.nihdi," ")}}function Ioe(e,t){if(e&1&&(be(0),De(1,"translate")),e&2){let r=Ee();Lh(" ",Me(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function Doe(e,t){if(e&1&&(re(0,"span",1),be(1),De(2,"translate"),ne(),re(3,"span",2),be(4),De(5,"fullname"),ne()),e&2){let r=Ee();Q(),Ge(Me(2,2,"deliveredMedicationDetails.patient")),Q(3),Ge(Me(5,4,r.item().person))}}var Toe=(()=>{const t=class t{constructor(){this.translate=C(kr),this.leafletService=C(ire),this.leafletUrl=KU(""),this.item=Ue.required(),this.displayAllDetails=Ue(!1),this.isProfessional=Ue.required(),this.identifierType=Xi}ngOnInit(){this.displayAllDetails()&&this.item().medication.identifier&&this.item().medication.identifier.type===this.identifierType.CNK&&this.updateLeafletUrl()}updateLeafletUrl(){this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value).pipe(Qt(1)).subscribe({next:n=>{this.leafletUrl.set(n)},error:n=>{console.error("Error fetching leaflet URL:",n),this.leafletUrl.set("")}})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],[3,"leaflet"]],template:function(n,a){if(n&1&&(re(0,"span",0),Be(1,yoe,7,7)(2,woe,7,3)(3,Eoe,7,3),re(4,"span",1),be(5),De(6,"translate"),ne(),re(7,"span",2),be(8),De(9,"translate"),ne(),Be(10,koe,12,18),re(11,"span",2),Be(12,Coe,4,4)(13,Ioe,2,4),ne(),Be(14,Doe,6,6),re(15,"span",1),be(16),De(17,"translate"),ne(),re(18,"span",2),be(19),ne()()),n&2){let i,o,l;Q(),ht(a.item().medication.name?1:2),Q(2),ht((i=a.item().dosageInstructions)!=null&&i.length?3:-1),Q(2),Ge(Me(6,9,"deliveredMedicationDetails.is-prescribed.title")),Q(3),Ge(Me(9,11,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),Q(2),ht((o=(o=a.item().medication.quantity)==null?null:o.value)?10:-1,o),Q(2),ht((l=(l=a.item().pharmacy)==null?null:l.name)?12:13,l),Q(2),ht(a.displayAllDetails()&&!a.isProfessional()?14:-1),Q(2),Ge(Me(17,13,"deliveredMedicationDetails.dguid")),Q(3),Ge(a.item().dguid)}},dependencies:[ki,nie,tie,KY,eie,rie,Yae,mie],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}.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%] ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"]});let e=t;return e})(),Noe=["*"],Ooe=new K("MAT_CARD_CONFIG"),Moe=(()=>{const t=class t{constructor(){s(this,"appearance");let n=C(Ooe,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",rt({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&Pn("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Noe,decls:1,vars:0,template:function(n,a){n&1&&(xi(),Zn(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
38
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Poe=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Lt({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Roe=["*"],Aoe=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function Loe(e,t){e&1&&Zn(0)}function Foe(e,t){if(e&1&&(re(0,"div",0),Be(1,Loe,1,0),ne()),e&2){let r=Ee(),n=Cm(0),a=Cm(1);xt("ngClass",CZ(5,Aoe,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),Ln("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),Q(),ht(n==="custom-content"?1:-1)}}var dH=new K("ngx-skeleton-loader.config"),joe=(()=>{var t;const r=class r{constructor(){Ip(this,t);var a,i,o,l,c,u;Dp(this,t,C(dH,{optional:!0})),this.count=Ue(((a=dr(this,t))==null?void 0:a.count)||1,{transform:Zb}),this.loadingText=Ue(((i=dr(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Ue(((o=dr(this,t))==null?void 0:o.appearance)||"line"),this.animation=Ue(((l=dr(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Ue(((c=dr(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Ue(((u=dr(this,t))==null?void 0:u.theme)||null),this.items=Ha(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&qZ(),[...Array(d)].map((m,b)=>b)}),this.styles=Ha(()=>{var m,b,g;let d=this.theme();return(b=(m=dr(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?se(se({},(g=dr(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,r.ɵfac=function(a){return new(a||r)},r.ɵcmp=rt({type:r,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:Roe,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,i){a&1&&(xi(),Bb(0)(1),Ph(2,Foe,2,11,"div",0,eZ)),a&2&&(km(i.appearance()),Q(),km(i.animation()),Q(),Rh(i.items()))},dependencies:[VY,zY],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=r;return e})(),Voe=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:dH,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=rn({type:t}),t.ɵinj=en({imports:[ay]});let e=t;return e})(),zoe=()=>({width:"40%",height:"20px"});function Boe(e,t){e&1&&Zt(0,"ngx-skeleton-loader",0),e&2&&xt("theme",SZ(1,zoe))}function Hoe(e,t){if(e&1&&Zt(0,"vidis-delivered-medication-details-row",1),e&2){let r=Ee();xt("item",r.item())("displayAllDetails",!0)("isProfessional",r.isProfessional())}}function qoe(e,t){e&1&&(re(0,"div",2)(1,"h3"),be(2),De(3,"translate"),ne()()),e&2&&(Q(2),Ge(Me(3,1,"deliveredMedicationDetails.noDetails")))}var $oe=(()=>{const t=class t{constructor(){this.item=Ue.required(),this.isLoading=Ue.required(),this.isProfessional=Ue.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=rt({type:t,selectors:[["vidis-delivered-medication-details-card"]],inputs:{item:[1,"item"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:5,vars:1,consts:[["count","8","appearance","line",3,"theme"],[3,"item","displayAllDetails","isProfessional"],[1,"center"]],template:function(n,a){n&1&&(re(0,"mat-card")(1,"mat-card-content"),Be(2,Boe,1,2,"ngx-skeleton-loader",0)(3,Hoe,1,3,"vidis-delivered-medication-details-row",1)(4,qoe,4,3,"div",2),ne()()),n&2&&(Q(2),ht(a.isLoading()?2:a.item()?3:4))},dependencies:[Moe,Poe,ki,Voe,joe,Toe],encapsulation:2});let e=t;return e})();function Uoe(e,t){e&1&&(re(0,"div"),be(1,"Component not properly initialized!"),ne())}function Goe(e,t){if(e&1&&Zt(0,"vidis-status-message",0),e&2){let r=Ee();xt("error",r.error)}}function Woe(e,t){if(e&1&&Zt(0,"vidis-delivered-medication-details-card",1),e&2){let r=Ee(),n=Ee(2);xt("item",r.data)("isLoading",r.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function Zoe(e,t){if(e&1&&Be(0,Goe,1,1,"vidis-status-message",0)(1,Woe,1,3,"vidis-delivered-medication-details-card",1),e&2){let r=Ee(2);ht(t.status===r.loadingStatus.ERROR?0:1)}}function Yoe(e,t){if(e&1&&(Be(0,Zoe,2,1),De(1,"async")),e&2){let r,n=Ee();ht((r=Me(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var Koe=(()=>{const t=class t extends Zie{constructor(){super(...arguments),this.extraRequiredFields=[...this.defaultExtraRequiredFields,"dguid"],this.loadingStatus=Ka}fetchData(n){return wt(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(!1)})}injectService(){this.deliveredMedicationsService=this.injector.get(Uf),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$.pipe(Mt(n=>{var a;return Yt(se({},n),{data:(a=n.data)==null?void 0:a.items.find(i=>i.dguid===this.dguid)})})),this.deliveredMedicationsState$.subscribe(n=>{this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=$t(t)))(a||t)}})(),t.ɵcmp=rt({type:t,selectors:[["ng-component"]],inputs:{dguid:"dguid"},features:[EZ([Uf,tH,nH,Zae]),En],decls:2,vars:1,consts:[[3,"error"],[3,"item","isLoading","isProfessional"]],template:function(n,a){n&1&&Be(0,Uoe,2,0,"div")(1,Yoe,2,3),n&2&&ht(a.isCorrectlySetup()?1:0)},dependencies:[GY,$oe,moe],encapsulation:2,changeDetection:0});let e=t;return e})();fK({providers:[Uae]}).then(e=>{let t=cY(Koe,{injector:e.injector});customElements.define("vidis-delivered-medication-detail",t)}).catch(e=>console.error(e));
|